RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Functions | Variables
timercreate.c File Reference

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

#include <rtems/rtems/timerimpl.h>
#include <rtems/rtems/clockimpl.h>
#include <rtems/rtems/status.h>
#include <rtems/rtems/support.h>
#include <rtems/score/assert.h>
#include <rtems/score/chainimpl.h>
#include <rtems/score/thread.h>
#include <rtems/score/todimpl.h>
#include <rtems/score/watchdogimpl.h>
#include <rtems/sysinit.h>

Functions

 RTEMS_STATIC_ASSERT (PER_CPU_WATCHDOG_REALTIME==TIMER_CLASS_BIT_TIME_OF_DAY, TIMER_CLASS_BIT_TIME_OF_DAY)
 
void _Timer_Routine_adaptor (Watchdog_Control *the_watchdog)
 
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)
 
rtems_status_code rtems_timer_create (rtems_name name, rtems_id *id)
 Creates a timer.
 
 RTEMS_SYSINIT_ITEM (_Timer_Manager_initialization, RTEMS_SYSINIT_CLASSIC_TIMER, RTEMS_SYSINIT_ORDER_MIDDLE)
 

Variables

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

Detailed Description

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.