RTEMS: cpukit/include/rtems/rtems/timer.h File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Data Structures | Macros | Typedefs | Enumerations | Functions
timer.h File Reference
API » Classic » Timers

Classic Timer Manager API. More...

`#include <rtems/rtems/attr.h>`
`#include <rtems/rtems/status.h>`
`#include <rtems/rtems/tasks.h>`
`#include <rtems/rtems/types.h>`

Go to the source code of this file.

## Data Structures
struct | rtems_timer_information

## Macros
#define | TIMER_CLASS_BIT_TIME_OF_DAY 0x1
#define | TIMER_CLASS_BIT_ON_TASK 0x2
#define | TIMER_CLASS_BIT_NOT_DORMANT 0x4
#define | RTEMS_TIMER_SERVER_DEFAULT_PRIORITY (uint32_t) -1

## Typedefs
typedef void | rtems_timer_service_routine
typedef rtems_timer_service_routine(* | rtems_timer_service_routine_entry) (rtems_id, void *)

## Enumerations
enum | Timer_Classes { TIMER_DORMANT , TIMER_INTERVAL = TIMER_CLASS_BIT_NOT_DORMANT , TIMER_INTERVAL_ON_TASK , TIMER_TIME_OF_DAY , TIMER_TIME_OF_DAY_ON_TASK }

## Functions
rtems_status_code | rtems_timer_create (rtems_name name, rtems_id *id)
| RTEMS Create Timer.
rtems_status_code | rtems_timer_ident (rtems_name name, rtems_id *id)
| RTEMS Timer Name to Id.
rtems_status_code | rtems_timer_cancel (rtems_id id)
| rtems_timer_cancel
rtems_status_code | rtems_timer_delete (rtems_id id)
| RTEMS Delete Timer.
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.
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.
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.
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.
rtems_status_code | rtems_timer_reset (rtems_id id)
| RTEMS Timer Reset.
rtems_status_code | rtems_timer_initiate_server (rtems_task_priority priority, size_t stack_size, rtems_attribute attribute_set)
| Initiates the timer server.
rtems_status_code | rtems_timer_get_information (rtems_id id, rtems_timer_information *the_info)
| RTEMS Get Timer Information.

## Detailed Description

Classic Timer Manager API.