RTEMS 6.3
Loading...
Searching...
No Matches
Timer Manager

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

Files

file  cpukit/include/rtems/rtems/timer.h
 This header file provides the Timer Manager API.
file  cpukit/include/rtems/rtems/timerdata.h
 This header file provides data structures used by the implementation and the Application Configuration to define _Timer_Information.
file  cpukit/include/rtems/rtems/timerimpl.h
 This header file provides the implementation interfaces of the Timer Manager.
file  cpukit/rtems/src/rtemstimer.c
 This source file contains a definition of the _Timer_Information with zero objects.
file  cpukit/rtems/src/timercancel.c
 This source file contains the implementation of rtems_timer_cancel().
file  cpukit/rtems/src/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  cpukit/rtems/src/timerdelete.c
 This source file contains the implementation of rtems_timer_delete().
file  cpukit/rtems/src/timerfireafter.c
 This source file contains the implementation of rtems_timer_fire_after().
file  cpukit/rtems/src/timerfirewhen.c
 This source file contains the implementation of rtems_timer_fire_when().
file  cpukit/rtems/src/timergetinfo.c
 This source file contains the implementation of rtems_timer_get_information().
file  cpukit/rtems/src/timerident.c
 This source file contains the implementation of rtems_timer_ident().
file  cpukit/rtems/src/timerreset.c
 This source file contains the implementation of rtems_timer_reset().
file  cpukit/rtems/src/timerserver.c
 This source file contains the implementation of rtems_timer_initiate_server().
file  cpukit/rtems/src/timerserverfireafter.c
 This source file contains the implementation of rtems_timer_server_fire_after().
file  cpukit/rtems/src/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.

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.

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