|
ChibiOS/RT
2.5.1 |
|
Kernel related info.
Functions | |
| void | _idle_thread (void *p) |
| This function implements the idle thread infinite loop. | |
Kernel version | |
| #define | CH_KERNEL_MAJOR 2 |
| Kernel version major number. | |
| #define | CH_KERNEL_MINOR 5 |
| Kernel version minor number. | |
| #define | CH_KERNEL_PATCH 1 |
| Kernel version patch number. | |
Common constants | |
| #define | FALSE 0 |
| Generic 'false' boolean constant. | |
| #define | TRUE (!FALSE) |
| Generic 'true' boolean constant. | |
| #define | CH_SUCCESS FALSE |
| Generic success constant. | |
| #define | CH_FAILED TRUE |
| Generic failure constant. | |
Defines | |
| #define | _CHIBIOS_RT_ |
| ChibiOS/RT identification macro. | |
| #define | CH_KERNEL_VERSION "2.5.1unstable" |
| Kernel version string. | |
| void _idle_thread | ( | void * | p | ) |
This function implements the idle thread infinite loop.
The function puts the processor in the lowest power mode capable to serve interrupts.
The priority is internally set to the minimum system value so that this thread is executed only if there are no other ready threads in the system.
| [in] | p | the thread parameter, unused in this scenario |
Definition at line 54 of file chsys.c.
References chRegSetThreadName, IDLE_LOOP_HOOK, port_wait_for_interrupt, and TRUE.
Referenced by chSysInit().
| #define CH_KERNEL_VERSION "2.5.1unstable" |
| #define FALSE 0 |
Generic 'false' boolean constant.
Definition at line 72 of file ch.h.
Referenced by chMtxTryLockS(), and chThdExitS().
| #define TRUE (!FALSE) |
Generic 'true' boolean constant.
Definition at line 79 of file ch.h.
Referenced by _idle_thread(), chHeapFree(), chIQReadTimeout(), chMtxTryLockS(), chOQWriteTimeout(), and port_halt().
| #define CH_SUCCESS FALSE |