The Timer Manager provides support for timer facilities.
More...
|
file | timer.h |
| This header file defines the Timer Manager API.
|
|
|
rtems_status_code | rtems_timer_cancel (rtems_id id) |
| % More...
|
|
rtems_status_code | rtems_timer_create (rtems_name name, rtems_id *id) |
| % More...
|
|
rtems_status_code | rtems_timer_delete (rtems_id id) |
| % More...
|
|
rtems_status_code | rtems_timer_fire_after (rtems_id id, rtems_interval ticks, rtems_timer_service_routine_entry routine, void *user_data) |
| % More...
|
|
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) |
| % More...
|
|
rtems_status_code | rtems_timer_get_information (rtems_id id, rtems_timer_information *the_info) |
| % More...
|
|
rtems_status_code | rtems_timer_ident (rtems_name name, rtems_id *id) |
| Identifies a timer object by the specified object name. More...
|
|
rtems_status_code | rtems_timer_initiate_server (rtems_task_priority priority, size_t stack_size, rtems_attribute attribute_set) |
| % More...
|
|
rtems_status_code | rtems_timer_reset (rtems_id id) |
| % More...
|
|
rtems_status_code | rtems_timer_server_fire_after (rtems_id id, rtems_interval ticks, rtems_timer_service_routine_entry routine, void *user_data) |
| % More...
|
|
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) |
| % More...
|
|
The Timer Manager provides support for timer facilities.
◆ Timer_Classes
%
Enumerator |
---|
TIMER_DORMANT | %
|
TIMER_INTERVAL | %
|
TIMER_INTERVAL_ON_TASK | %
|
TIMER_TIME_OF_DAY | %
|
TIMER_TIME_OF_DAY_ON_TASK | %
|
Definition at line 120 of file timer.h.
◆ rtems_timer_cancel()
◆ rtems_timer_create()
◆ rtems_timer_delete()
◆ rtems_timer_fire_after()
%
- Parameters
-
id | % |
ticks | % |
routine | % |
user_data | % |
Definition at line 23 of file timerfireafter.c.
◆ rtems_timer_fire_when()
%
- Parameters
-
id | % |
wall_time | % |
routine | % |
user_data | % |
◆ rtems_timer_get_information()
◆ rtems_timer_ident()
Identifies a timer object by the specified object name.
This directive obtains the timer identifier associated with the timer name specified in name
.
If the timer name is not unique, then the timer identifier will match the first timer with that name in the search order. However, this timer identifier is not guaranteed to correspond to the desired timer. The timer identifier is used with other timer related directives to access the timer.
The objects are searched from lowest to the highest index. Only the local node is searched.
- Parameters
-
| name | is the object name to look up. |
[out] | id | is the pointer to an object identifier variable. The object identifier of an object with the specified name will be stored in this variable, in case of a successful operation. |
- Return values
-
Definition at line 44 of file timerident.c.
◆ rtems_timer_initiate_server()
%
- Parameters
-
priority | % |
stack_size | % |
attribute_set | % |
◆ rtems_timer_reset()
◆ rtems_timer_server_fire_after()
%
- Parameters
-
id | % |
ticks | % |
routine | % |
user_data | % |
◆ rtems_timer_server_fire_when()
%
- Parameters
-
id | % |
wall_time | % |
routine | % |
user_data | % |