20 #ifndef _RTEMS_RTEMS_TIMER_H 21 #define _RTEMS_RTEMS_TIMER_H 46 #define TIMER_CLASS_BIT_TIME_OF_DAY 0x1 48 #define TIMER_CLASS_BIT_ON_TASK 0x2 50 #define TIMER_CLASS_BIT_NOT_DORMANT 0x4 73 TIMER_CLASS_BIT_NOT_DORMANT | TIMER_CLASS_BIT_ON_TASK,
80 TIMER_CLASS_BIT_NOT_DORMANT | TIMER_CLASS_BIT_TIME_OF_DAY,
87 TIMER_CLASS_BIT_NOT_DORMANT | TIMER_CLASS_BIT_TIME_OF_DAY |
88 TIMER_CLASS_BIT_ON_TASK
299 #define RTEMS_TIMER_SERVER_DEFAULT_PRIORITY (uint32_t) -1
uint32_t rtems_attribute
Definition: attr.h:41
rtems_status_code rtems_timer_cancel(rtems_id id)
rtems_timer_cancel
Definition: timercancel.c:19
Watchdog_Interval rtems_interval
Used to manage and manipulate intervals specified by clock ticks.
Definition: types.h:127
uint32_t rtems_name
Classic API object name type.
Definition: types.h:77
rtems_status_code rtems_timer_fire_after(rtems_id id, rtems_interval ticks, rtems_timer_service_routine_entry routine, void *user_data)
RTEMS Timer Fire After.
Definition: timerfireafter.c:23
rtems_status_code rtems_timer_delete(rtems_id id)
RTEMS Delete Timer.
Definition: timerdelete.c:23
rtems_status_code rtems_timer_server_fire_when(rtems_id id, rtems_time_of_day *wall_time, rtems_timer_service_routine_entry routine, void *user_data)
RTEMS Timer Server Fire When Directive.
Definition: timerserverfirewhen.c:23
rtems_status_code rtems_timer_create(rtems_name name, rtems_id *id)
RTEMS Create Timer.
Definition: timercreate.c:185
Data structure to manage and manipulate calendar time.
Definition: types.h:141
rtems_status_code
Classic API Status.
Definition: status.h:43
rtems_status_code rtems_timer_ident(rtems_name name, rtems_id *id)
RTEMS Timer Name to Id.
Definition: timerident.c:27
rtems_status_code rtems_timer_reset(rtems_id id)
RTEMS Timer Reset.
Definition: timerreset.c:23
rtems_status_code rtems_timer_fire_when(rtems_id id, rtems_time_of_day *wall_time, rtems_timer_service_routine_entry routine, void *user_data)
RTEMS Timer Fire When.
Definition: timerfirewhen.c:23
rtems_status_code rtems_timer_get_information(rtems_id id, rtems_timer_information *the_info)
RTEMS Get Timer Information.
Definition: timergetinfo.c:23
rtems_status_code rtems_timer_server_fire_after(rtems_id id, rtems_interval ticks, rtems_timer_service_routine_entry routine, void *user_data)
RTEMS Timer Server Fire After.
Definition: timerserverfireafter.c:23
rtems_status_code rtems_timer_initiate_server(rtems_task_priority priority, size_t stack_size, rtems_attribute attribute_set)
Initiates the timer server.
Definition: timerserver.c:224
Classic Task Manager API.
Timer_Classes
Definition: timer.h:56
uint32_t Watchdog_Interval
Type is used to specify the length of intervals.
Definition: watchdogticks.h:36
Objects_Id rtems_id
Used to manage and manipulate RTEMS object identifiers.
Definition: types.h:83
rtems_timer_service_routine(* rtems_timer_service_routine_entry)(rtems_id, void *)
Definition: timer.h:101
void rtems_timer_service_routine
Definition: timer.h:94
uint32_t rtems_task_priority
Definition: tasks.h:54