ChibiOS 21.11.4
chearly.h File Reference

Early forward types declarations header. More...

#include "chtypes.h"

Go to the source code of this file.

Macros

#define __CH_STRINGIFY(a)
 Utility to make the parameter a quoted string.
#define __CH_OFFSETOF(st, m)
 Structure field offset utility.
#define __CH_USED(x)
 Marks an expression result as used.
#define likely(x)
 Marks a boolean expression as likely true.
#define unlikely(x)
 Marks a boolean expression as likely false.
#define threadref(p)
 Safe cast of a queue pointer to a thread pointer.

Typedefs

typedef unsigned core_id_t
 Type of a core identifier.
typedef struct ch_thread thread_t
 Type of a thread structure.
typedef struct ch_os_instance os_instance_t
 Type of an OS instance structure.
Kernel types
typedef port_rtcnt_t rtcnt_t
typedef port_rttime_t rttime_t
typedef port_syssts_t syssts_t
typedef port_stkalign_t stkalign_t
typedef uint8_t tmode_t
typedef uint8_t tstate_t
typedef uint8_t trefs_t
typedef uint8_t tslices_t
typedef uint32_t tprio_t
typedef int32_t msg_t
typedef int32_t eventid_t
typedef uint32_t eventmask_t
typedef uint32_t eventflags_t
typedef int32_t cnt_t
typedef uint32_t ucnt_t

Functions

void chSysHalt (const char *reason)
 Halts the system.

Detailed Description

Early forward types declarations header.

Definition in file chearly.h.