RTEMS  5.1
Data Structures | 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.

Data Structures

struct  Timer_server_Control
 

Typedefs

typedef struct Timer_server_Control Timer_server_Control
 

Functions

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