RTEMS
Classes | Macros | Typedefs | Enumerations | Functions
timer.h File Reference

This header file defines the Timer Manager API. More...

#include <stddef.h>
#include <rtems/rtems/attr.h>
#include <rtems/rtems/status.h>
#include <rtems/rtems/tasks.h>
#include <rtems/rtems/types.h>
#include <rtems/score/watchdogticks.h>

Go to the source code of this file.

Classes

struct  rtems_timer_information
 % More...
 

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   ( (rtems_task_priority) -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
}
 % More...
 

Functions

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...
 

Detailed Description

This header file defines the Timer Manager API.

Definition in file timer.h.