ChibiOS/RT  5.1.0
Version Numbers and Identification
Collaboration diagram for Version Numbers and Identification:

Detailed Description

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   "5.1.0"
 Kernel version string. More...
 
#define CH_KERNEL_MAJOR   5
 Kernel version major number. More...
 
#define CH_KERNEL_MINOR   1
 Kernel version minor number. More...
 
#define CH_KERNEL_PATCH   0
 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...
 

Macro Definition Documentation

#define _CHIBIOS_RT_

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   "5.1.0"

Kernel version string.

Definition at line 51 of file ch.h.

#define CH_KERNEL_MAJOR   5

Kernel version major number.

Definition at line 56 of file ch.h.

#define CH_KERNEL_MINOR   1

Kernel version minor number.

Definition at line 61 of file ch.h.

#define CH_KERNEL_PATCH   0

Kernel version patch number.

Definition at line 66 of file ch.h.

#define FALSE   0

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.

#define TRUE   1

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.

Function Documentation

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]reasonpointer 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().

Here is the call graph for this function: