R_RTOS  0.1
DistributedRealTimeOperatingSystemfortheARMCortexMArchitecture
R_RTOS_timer.h File Reference
#include "R_RTOS_inc.h"

Go to the source code of this file.

Macros

#define TMR_INVALID_TIME   (LifeTime)0xFFFFFFFFu
 Value for an invalid LifeTime.
 
#define TMR_PIT_DELAY   (uint32_t)0x3u
 Delay compensation between PIT and TPM timers. More...
 

Functions

RetCode tmr_INIT (void)
 Calibrate the PIT Timer periodically. More...
 
RetCode tmr_setTskTimer (PTskTCB tsk, TmrTime msToWait)
 Sets up a Timer for a task and queues it into the Timer queue according to its WaitTime relative to the current PIT value. More...
 
RetCode tmr_setSysTimer (SysFktID fktID, TmrTime msToWait, uint8_t periodicity)
 Sets up a Timer to call a SysFkt corresponding to the given SysFktID as soon as the timer expires. More...
 
void tmr_SysTimerElapsed (void)
 Function to be called as soon as a system Timer expires. More...
 
void tmr_TskTimerElapsed (void)
 Function to be called as soon as a task Timer expires. More...
 
RetCode tmr_GiveUpOnTMR (PTskTCB const tsk)
 Forces the deletion of a task's Timer from the Timer queue and adjusts the queue accordingly. More...
 

Detailed Description