RTEMS 6.1-rc1
Files | Data Structures | Macros | Typedefs | Functions | Variables
Timer Manager

This group contains the Timer Manager implementation. More...

Files

file  timer.h
 This header file provides the Timer Manager API.
 
file  timerdata.h
 This header file provides data structures used by the implementation and the Application Configuration to define _Timer_Information.
 
file  timerimpl.h
 This header file provides the implementation interfaces of the Timer Manager.
 
file  rtemstimer.c
 This source file contains a definition of the _Timer_Information with zero objects.
 
file  timercancel.c
 This source file contains the implementation of rtems_timer_cancel().
 
file  timercreate.c
 This source file contains the definition of _Timer_server and the implementation of _Timer_Routine_adaptor(), _Timer_Fire(), _Timer_Fire_after(), _Timer_Fire_when(), _Timer_Cancel(), and the Timer Manager system initialization.
 
file  timerdelete.c
 This source file contains the implementation of rtems_timer_delete().
 
file  timerfireafter.c
 This source file contains the implementation of rtems_timer_fire_after().
 
file  timerfirewhen.c
 This source file contains the implementation of rtems_timer_fire_when().
 
file  timergetinfo.c
 This source file contains the implementation of rtems_timer_get_information().
 
file  timerident.c
 This source file contains the implementation of rtems_timer_ident().
 
file  timerreset.c
 This source file contains the implementation of rtems_timer_reset().
 
file  timerserver.c
 This source file contains the implementation of rtems_timer_initiate_server().
 
file  timerserverfireafter.c
 This source file contains the implementation of rtems_timer_server_fire_after().
 
file  timerserverfirewhen.c
 This source file contains the implementation of rtems_timer_server_fire_when().
 

Data Structures

struct  Timer_Control
 
struct  Timer_server_Control
 

Macros

#define TIMER_INFORMATION_DEFINE(max)
 Macro to define the objects information for the Classic Timer objects. More...
 

Typedefs

typedef struct Timer_server_Control Timer_server_Control
 

Functions

rtems_status_code _Timer_Fire (rtems_id id, rtems_interval interval, rtems_timer_service_routine_entry routine, void *user_data, Timer_Classes the_class, Watchdog_Service_routine_entry adaptor)
 
rtems_status_code _Timer_Fire_after (rtems_id id, rtems_interval ticks, rtems_timer_service_routine_entry routine, void *user_data, Timer_Classes the_class, Watchdog_Service_routine_entry adaptor)
 
rtems_status_code _Timer_Fire_when (rtems_id id, const rtems_time_of_day *wall_time, rtems_timer_service_routine_entry routine, void *user_data, Timer_Classes the_class, Watchdog_Service_routine_entry adaptor)
 
void _Timer_Cancel (Per_CPU_Control *cpu, Timer_Control *the_timer)
 
void _Timer_Routine_adaptor (Watchdog_Control *the_watchdog)
 
void _Timer_server_Routine_adaptor (Watchdog_Control *the_watchdog)
 

Variables

Objects_Information _Timer_Information
 The Classic Timer objects information.
 
Timer_server_Control *volatile _Timer_server
 Pointer to default timer server control block. More...
 

Detailed Description

This group contains the Timer Manager implementation.

Macro Definition Documentation

◆ TIMER_INFORMATION_DEFINE

#define TIMER_INFORMATION_DEFINE (   max)
Value:
_Timer, \
OBJECTS_CLASSIC_API, \
OBJECTS_RTEMS_TIMERS, \
max, \
NULL \
)
#define OBJECTS_NO_STRING_NAME
Constant for the object information string name length to indicate that this object class has no stri...
Definition: objectdata.h:123
#define OBJECTS_INFORMATION_DEFINE(name, api, cls, type, max, nl, ex)
Statically initializes an objects information.
Definition: objectdata.h:449
#define NULL
Requests a GPIO pin group configuration.
Definition: xil_types.h:54
Definition: timerdata.h:61

Macro to define the objects information for the Classic Timer objects.

This macro should only be used by <rtems/confdefs.h>.

Parameters
maxThe configured object maximum (the OBJECTS_UNLIMITED_OBJECTS flag may be set).

Variable Documentation

◆ _Timer_server

Timer_server_Control* volatile _Timer_server
extern

Pointer to default timer server control block.

This value is NULL when the default timer server is not initialized.