R_RTOS  0.1
DistributedRealTimeOperatingSystemfortheARMCortexMArchitecture
R_RTOS_SysTickTMR.c File Reference
#include "PortFunc.h"
#include "R_RTOS_SysTickTMR.h"
#include "R_RTOS_memMngr.h"
#include "R_RTOS_scheduler.h"
#include "MKL05Z4.h"

Functions

void os_SCHEDULE (void)
 Schedules the next ready task according to its priority. More...
 
static RetCode sysTck_UpdateSysTckTMRs (SysTicks sysTcksDecr)
 Update the System Tick Timer slot array. More...
 
void SysTick_Handler (void)
 Service routine for SysTick events. More...
 
RetCode sysTck_INIT (void)
 Initialize the system tick timer. More...
 
RetCode sysTck_setSysTckTMR (const SysTicks sysTcksToWait, const SysTckEleType objType, const uint8_t objID)
 Set a system tick timer for an object specified by objType and objID. More...
 
SysTime sysTck_getSysTicks (void)
 Retrieve the currently passed global SysTicks since the timer was started. More...
 
SysTime sysTck_resetSysTicks (void)
 Reset the SysTick counter to zero. More...
 
SysTime sysTck_GetTimeSlice (void)
 Retrieve the current system tick time slice. More...
 
SysTime sysTck_SetTimeSlice (const SysTime newTimeSlice)
 Set a new system tick time slice. More...
 

Variables

SysFkt sys_SysFkt []
 System function array to hold various kinds of system functions. System functions can be referenced by their index in this array.
 
static volatile SysTime os_SysTicks
 Counts the number of SysTicks. More...
 
static volatile SysTime os_TimeSlice
 Current time slice in ms. More...
 
static volatile PSysTickTMR ar_PSysTickTMR [SYSTCK_AR_RES]
 System Tick Timer slot array. More...
 
static MemPoolID memPoolID_SysTckTMR
 MemoryPoolID for the System Tick Timer memory pool.
 

Detailed Description