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

Detailed Description

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.

Function Documentation

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.

Parameters:
[in]pthe 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 Documentation

#define _CHIBIOS_RT_

ChibiOS/RT identification macro.

Definition at line 38 of file ch.h.

#define CH_KERNEL_VERSION   "2.5.1unstable"

Kernel version string.

Definition at line 43 of file ch.h.

#define CH_KERNEL_MAJOR   2

Kernel version major number.

Definition at line 52 of file ch.h.

#define CH_KERNEL_MINOR   5

Kernel version minor number.

Definition at line 57 of file ch.h.

#define CH_KERNEL_PATCH   1

Kernel version patch number.

Definition at line 62 of file ch.h.

#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

Generic success constant.

This constant is functionally equivalent to FALSE but more readable, it can be used as return value of all those functions returning a bool_t as a status indicator.

Definition at line 89 of file ch.h.

#define CH_FAILED   TRUE

Generic failure constant.

This constant is functionally equivalent to TRUE but more readable, it can be used as return value of all those functions returning a bool_t as a status indicator.

Definition at line 99 of file ch.h.