diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-11-08 11:07:57 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-11-12 13:25:40 +0100 |
commit | e1b7c18839a633162d0bcfbfb2e97a5eda49d14d (patch) | |
tree | 24b1b65cfc882bbc49506a0bb03249cae389a9f1 /cpukit/include/rtems/rtems/timer.h | |
parent | rtems: Move internal structures to tasksdata.h (diff) | |
download | rtems-e1b7c18839a633162d0bcfbfb2e97a5eda49d14d.tar.bz2 |
rtems: Move internal structures to timerdata.h
Update #3598.
Diffstat (limited to '')
-rw-r--r-- | cpukit/include/rtems/rtems/timer.h | 54 |
1 files changed, 5 insertions, 49 deletions
diff --git a/cpukit/include/rtems/rtems/timer.h b/cpukit/include/rtems/rtems/timer.h index 032c49525a..cc21b2bcd9 100644 --- a/cpukit/include/rtems/rtems/timer.h +++ b/cpukit/include/rtems/rtems/timer.h @@ -1,30 +1,9 @@ /** - * @file rtems/rtems/timer.h - * - * @defgroup ClassicTimer Timers - * - * @ingroup ClassicRTEMS - * @brief Instantiate RTEMS Timer Data - * - * This include file contains all the constants, structures, and - * prototypes associated with the Timer Manager. This manager provides - * facilities to configure, initiate, cancel, and delete timers which will - * fire at specified intervals of time. - * - * Directives provided are: - * - * - create a timer - * - get an ID of a timer - * - delete a timer - * - set timer to fire in context of clock tick - * - after a number of ticks have passed - * - when a specified date and time has been reached - * - initiate the timer server task - * - set timer to fire in context of the timer server task - * - after a number of ticks have passed - * - when a specified date and time has been reached - * - reset a timer - * - cancel a time + * @file + * + * @ingroup ClassicTimer + * + * @brief Classic Timer Manager API */ /* @@ -125,29 +104,6 @@ typedef rtems_timer_service_routine ( *rtems_timer_service_routine_entry )( ); /** - * The following records define the control block used to manage - * each timer. - */ -typedef struct { - /** This field is the object management portion of a Timer instance. */ - Objects_Control Object; - /** This field is the Watchdog instance which will be the scheduled. */ - Watchdog_Control Ticker; - /** This field indicates what type of timer this currently is. */ - Timer_Classes the_class; - /** This field is the timer service routine. */ - rtems_timer_service_routine_entry routine; - /** This field is the timer service routine user data. */ - void *user_data; - /** This field is the timer interval in ticks or seconds. */ - Watchdog_Interval initial; - /** This field is the timer start time point in ticks. */ - Watchdog_Interval start_time; - /** This field is the timer stop time point in ticks. */ - Watchdog_Interval stop_time; -} Timer_Control; - -/** * @brief RTEMS Create Timer * * This routine implements the rtems_timer_create directive. The |