RTEMS CPU Kit with SuperCore  4.11.3
Data Structures | Macros | Typedefs | Enumerations | Functions
timer.h File Reference
#include <rtems/rtems/attr.h>
#include <rtems/rtems/status.h>
#include <rtems/rtems/types.h>
Include dependency graph for timer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Timer_Control
 The following records define the control block used to manage each timer. More...
 
struct  rtems_timer_information
 This is the structure filled in by the timer get information service. More...
 

Macros

#define RTEMS_TIMER_SERVER_DEFAULT_PRIORITY   (uint32_t) -1
 This is the default value for the priority of the Timer Server. More...
 

Typedefs

typedef void rtems_timer_service_routine
 The following types define a pointer to a timer service routine.
 
typedef rtems_timer_service_routine(* rtems_timer_service_routine_entry) (rtems_id, void *)
 This type defines the type used to manage and indirectly invoke Timer Service Routines (TSRs). More...
 

Enumerations

enum  Timer_Classes {
  TIMER_INTERVAL, TIMER_INTERVAL_ON_TASK, TIMER_TIME_OF_DAY, TIMER_TIME_OF_DAY_ON_TASK,
  TIMER_DORMANT
}
 The following enumerated type details the classes to which a timer may belong. More...
 

Functions

rtems_status_code rtems_timer_create (rtems_name name, rtems_id *id)
 RTEMS Create Timer. More...
 
rtems_status_code rtems_timer_ident (rtems_name name, rtems_id *id)
 RTEMS Timer Name to Id. More...
 
rtems_status_code rtems_timer_cancel (rtems_id id)
 rtems_timer_cancel More...
 
rtems_status_code rtems_timer_delete (rtems_id id)
 RTEMS Delete Timer. More...
 
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. More...
 
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. 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)
 RTEMS Timer Fire When. 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)
 RTEMS Timer Server Fire When Directive. More...
 
rtems_status_code rtems_timer_reset (rtems_id id)
 RTEMS Timer Reset. More...
 
rtems_status_code rtems_timer_initiate_server (uint32_t priority, uint32_t stack_size, rtems_attribute attribute_set)
 rtems_timer_initiate_server More...
 
rtems_status_code rtems_timer_get_information (rtems_id id, rtems_timer_information *the_info)
 RTEMS Get Timer Information. More...