ChibiOS  19.1.4
chtypes.h File Reference

System types template. More...

#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>

Go to the source code of this file.

Macros

#define ROMCONST   const
 ROM constant modifier. More...
 
#define NOINLINE   __attribute__((noinline))
 Makes functions not inlineable. More...
 
#define PORT_THD_FUNCTION(tname, arg)   void tname(void *arg)
 Optimized thread function declaration macro. More...
 
#define PACKED_VAR   __attribute__((packed))
 Packed variable specifier. More...
 
#define ALIGNED_VAR(n)   __attribute__((aligned(n)))
 Memory alignment enforcement for variables. More...
 
#define SIZEOF_PTR   4
 Size of a pointer. More...
 
#define REVERSE_ORDER   1
 True if alignment is low-high in current architecture. More...
 

Typedefs

Kernel types
typedef uint32_t rtcnt_t
 
typedef uint64_t rttime_t
 
typedef uint32_t syssts_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
 

Detailed Description

System types template.

Definition in file chtypes.h.