ChibiOS/RT  5.1.0
chsys.c File Reference

System related code. More...

#include "ch.h"

Go to the source code of this file.

Functions

 THD_WORKING_AREA (ch_idle_thread_wa, PORT_IDLE_THREAD_STACK_SIZE)
 Idle thread working area. More...
 
static void _idle_thread (void *p)
 This function implements the idle thread infinite loop. More...
 
void chSysInit (void)
 ChibiOS/RT initialization. More...
 
void chSysHalt (const char *reason)
 Halts the system. More...
 
bool chSysIntegrityCheckI (unsigned testmask)
 System integrity check. More...
 
void chSysTimerHandlerI (void)
 Handles time ticks for round robin preemption and timer increments. More...
 
syssts_t chSysGetStatusAndLockX (void)
 Returns the execution status and enters a critical zone. More...
 
void chSysRestoreStatusX (syssts_t sts)
 Restores the specified execution status and leaves a critical zone. More...
 
bool chSysIsCounterWithinX (rtcnt_t cnt, rtcnt_t start, rtcnt_t end)
 Realtime window test. More...
 
void chSysPolledDelayX (rtcnt_t cycles)
 Polled delay. More...
 

Detailed Description

System related code.

Definition in file chsys.c.