R_RTOS  0.1
DistributedRealTimeOperatingSystemfortheARMCortexMArchitecture
R_RTOS_scheduler.c File Reference
#include "MKL05Z4.h"
#include "R_RTOS_inc.h"
#include "R_RTOS_scheduler.h"
#include "R_RTOS_task.h"
#include "R_RTOS_BitMagic.h"

Functions

RetCode tsk_rmvTskActvTskLst (PTskTCB const tsk)
 Delete a Task from the active task list. More...
 
RetCode tsk_insrtTskActvTskLst (PTskTCB const tsk)
 Insert a task into the active task list. More...
 
void os_INIT_Scheduler (void)
 Initialize the Scheduler mechanism. More...
 
void os_SCHEDULE (void)
 Schedules the next ready task according to its priority. More...
 

Variables

PTskTCB pIDLETsk
 Constant pointer to the IDLE Task's tskTCB. More...
 
volatile PTskTCB p_cur_tsk_tcb = NULL
 Pointer to currently running task's tskTCB. More...
 
volatile PTskTCB p_nxt_tsk_tcb = NULL
 Pointer to task's tskTCB, which is scheduled to run next. More...
 
volatile BitsOSFlags gOS_FLAGS
 Flags used for maintaining the OS. More...
 

Detailed Description