ChibiOS
19.1.4
|
![]() |
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.
Macros | |
#define | _CHIBIOS_RT_ |
ChibiOS/RT identification macro. More... | |
#define | CH_KERNEL_STABLE 1 |
Stable release flag. More... | |
ChibiOS/RT version identification | |
#define | CH_KERNEL_VERSION "6.0.4" |
Kernel version string. More... | |
#define | CH_KERNEL_MAJOR 6 |
Kernel version major number. More... | |
#define | CH_KERNEL_MINOR 0 |
Kernel version minor number. More... | |
#define | CH_KERNEL_PATCH 4 |
Kernel version patch number. More... | |
Constants for configuration options | |
#define | FALSE 0 |
Generic 'false' preprocessor boolean constant. More... | |
#define | TRUE 1 |
Generic 'true' preprocessor boolean constant. More... | |
Functions | |
void | chSysHalt (const char *reason) |
Halts the system. More... | |
#define _CHIBIOS_RT_ |
ChibiOS/RT identification macro.
Definition at line 37 of file rt/include/ch.h.
#define CH_KERNEL_STABLE 1 |
Stable release flag.
Definition at line 42 of file rt/include/ch.h.
#define CH_KERNEL_VERSION "6.0.4" |
Kernel version string.
Definition at line 51 of file rt/include/ch.h.
#define CH_KERNEL_MAJOR 6 |
Kernel version major number.
Definition at line 56 of file rt/include/ch.h.
#define CH_KERNEL_MINOR 0 |
Kernel version minor number.
Definition at line 61 of file rt/include/ch.h.
#define CH_KERNEL_PATCH 4 |
Kernel version patch number.
Definition at line 66 of file rt/include/ch.h.
#define FALSE 0 |
Generic 'false' preprocessor boolean constant.
Definition at line 77 of file rt/include/ch.h.
Referenced by acc_reset_sensivity(), chvprintf(), comp_reset_sensivity(), gyro_reset_sensivity(), l3gd20Start(), lis302dlStart(), lis3dshStart(), lis3mdlStart(), lsm303agrStart(), lsm303dlhcStart(), lsm6ds0Start(), and lsm6dslStart().
#define TRUE 1 |
Generic 'true' preprocessor boolean constant.
Definition at line 85 of file rt/include/ch.h.
Referenced by chvprintf().
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.
[in] | reason | pointer to an error string |
Definition at line 198 of file chsys.c.
References _trace_halt(), ch, CH_CFG_SYSTEM_HALT_HOOK, ch_system::dbg, nil_system::dbg_panic_msg, ch_system_debug::panic_msg, and port_disable().
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().