This header includes all the required kernel headers so it is the only kernel header you usually want to include in your application.
Kernel related info.
|
#define | FALSE 0 |
| Generic 'false' preprocessor boolean constant. More...
|
|
#define | TRUE 1 |
| Generic 'true' preprocessor boolean constant. More...
|
|
ChibiOS/RT identification macro.
Definition at line 37 of file ch.h.
#define CH_KERNEL_STABLE 1 |
Stable release flag.
Definition at line 42 of file ch.h.
#define CH_KERNEL_VERSION "6.0.3" |
Kernel version string.
Definition at line 51 of file ch.h.
#define CH_KERNEL_MAJOR 6 |
Kernel version major number.
Definition at line 56 of file ch.h.
#define CH_KERNEL_MINOR 0 |
Kernel version minor number.
Definition at line 61 of file ch.h.
#define CH_KERNEL_PATCH 3 |
Kernel version patch number.
Definition at line 66 of file ch.h.
Generic 'false' preprocessor boolean constant.
- Note
- It is meant to be used in configuration files as switch.
Definition at line 77 of file ch.h.
Generic 'true' preprocessor boolean constant.
- Note
- It is meant to be used in configuration files as switch.
Definition at line 85 of file ch.h.
void chSysHalt |
( |
const char * |
reason | ) |
|
Halts the system.
This function is invoked by the operating system when an unrecoverable error is detected, for example because a programming error in the application code that triggers an assertion while in debug mode.
- Note
- Can be invoked from any system state.
- Parameters
-
[in] | reason | pointer to an error string |
- Function Class:
- Special function, this function has special requirements see the notes.
Definition at line 198 of file chsys.c.
References _trace_halt(), ch, CH_CFG_SYSTEM_HALT_HOOK, ch_system::dbg, and ch_system_debug::panic_msg.
Referenced by _dbg_check_disable(), _dbg_check_enable(), _dbg_check_enter_isr(), _dbg_check_leave_isr(), _dbg_check_lock(), _dbg_check_lock_from_isr(), _dbg_check_suspend(), _dbg_check_unlock(), _dbg_check_unlock_from_isr(), chDbgCheckClassI(), and chDbgCheckClassS().