RTEMS
Classes | Typedefs | Functions | Variables
timerimpl.h File Reference

Classic Timer Implementation. More...

#include <rtems/rtems/timerdata.h>
#include <rtems/score/objectimpl.h>
#include <rtems/score/thread.h>
#include <rtems/score/watchdogimpl.h>

Go to the source code of this file.

Classes

struct  Timer_server_Control
 

Typedefs

typedef struct Timer_server_Control Timer_server_Control
 

Functions

static __inline__ Timer_Control_Timer_Allocate (void)
 Timer_Allocate. More...
 
static __inline__ void _Timer_Free (Timer_Control *the_timer)
 Timer_Free. More...
 
static __inline__ Timer_Control_Timer_Get (Objects_Id id, ISR_lock_Context *lock_context)
 
static __inline__ Per_CPU_Control_Timer_Acquire_critical (Timer_Control *the_timer, ISR_lock_Context *lock_context)
 
static __inline__ void _Timer_Release (Per_CPU_Control *cpu, ISR_lock_Context *lock_context)
 
static __inline__ bool _Timer_Is_interval_class (Timer_Classes the_class)
 
static __inline__ bool _Timer_Is_on_task_class (Timer_Classes the_class)
 
static __inline__ Per_CPU_Watchdog_index _Timer_Watchdog_header_index (Timer_Classes the_class)
 
static __inline__ Watchdog_Interval _Timer_Get_CPU_ticks (const Per_CPU_Control *cpu)
 
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)
 
static __inline__ void _Timer_server_Acquire_critical (Timer_server_Control *timer_server, ISR_lock_Context *lock_context)
 
static __inline__ void _Timer_server_Release_critical (Timer_server_Control *timer_server, ISR_lock_Context *lock_context)
 

Variables

Timer_server_Control *volatile _Timer_server
 Pointer to default timer server control block. More...
 

Detailed Description

Classic Timer Implementation.

Definition in file timerimpl.h.