RTEMS  5.1
timerdata.h
Go to the documentation of this file.
1 
9 /*
10  * COPYRIGHT (c) 1989-2011.
11  * On-Line Applications Research Corporation (OAR).
12  *
13  * Copyright (c) 2009, 2016 embedded brains GmbH.
14  *
15  * The license and distribution terms for this file may be
16  * found in the file LICENSE in this distribution or at
17  * http://www.rtems.org/license/LICENSE.
18  */
19 
20 #ifndef _RTEMS_RTEMS_TIMERDATA_H
21 #define _RTEMS_RTEMS_TIMERDATA_H
22 
23 #include <rtems/rtems/timer.h>
24 #include <rtems/score/objectdata.h>
25 #include <rtems/score/watchdog.h>
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
41 typedef struct {
51  void *user_data;
59 
64 
74 #define TIMER_INFORMATION_DEFINE( max ) \
75  OBJECTS_INFORMATION_DEFINE( \
76  _Timer, \
77  OBJECTS_CLASSIC_API, \
78  OBJECTS_RTEMS_TIMERS, \
79  Timer_Control, \
80  max, \
81  OBJECTS_NO_STRING_NAME, \
82  NULL \
83  )
84 
87 #ifdef __cplusplus
88 }
89 #endif
90 
91 #endif
92 /* end of include file */
Definition: objectdata.h:39
uint32_t Watchdog_Interval
Type is used to specify the length of intervals.
Definition: watchdogticks.h:38
Watchdog_Interval stop_time
Definition: timerdata.h:57
Objects_Information _Timer_Information
The Classic Timer objects information.
The control block used to manage each watchdog timer.
Definition: watchdog.h:90
Objects_Control Object
Definition: timerdata.h:43
rtems_timer_service_routine_entry routine
Definition: timerdata.h:49
Object Handler Data Structures.
Watchdog_Control Ticker
Definition: timerdata.h:45
Timer_Classes
Definition: timer.h:56
The information structure used to manage each API class of objects.
Definition: objectdata.h:176
Constants and Structures Associated with Watchdog Timers.
void * user_data
Definition: timerdata.h:51
Classic Timer Manager API.
Watchdog_Interval start_time
Definition: timerdata.h:55
Timer_Classes the_class
Definition: timerdata.h:47
Definition: timerdata.h:41
Watchdog_Interval initial
Definition: timerdata.h:53
rtems_timer_service_routine(* rtems_timer_service_routine_entry)(rtems_id, void *)
Definition: timer.h:101