ChibiOS  21.6.0
chtypes.h File Reference

Template port system types. More...

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

Go to the source code of this file.

Macros

#define PORT_DOES_NOT_PROVIDE_TYPES
 This port does not define OS-related types. More...
 
#define ROMCONST   CC_ROMCONST
 ROM constant modifier. More...
 
#define NOINLINE   CC_NO_INLINE
 Makes functions not inlineable. More...
 
#define ALIGNED_VAR(n)   CC_ALIGN_DATA(n)
 Memory alignment enforcement for variables. More...
 
#define SIZEOF_PTR   PORT_ARCH_SIZEOF_DATA_PTR
 Size of a pointer. More...
 
Architecture data constraints
#define PORT_ARCH_SIZEOF_DATA_PTR   4
 
#define PORT_ARCH_SIZEOF_CODE_PTR   4
 
#define PORT_ARCH_REGISTERS_WIDTH   32
 
#define PORT_ARCH_REVERSE_ORDER   1
 

Typedefs

Port types
typedef uint32_t port_rtcnt_t
 Realtime counter. More...
 
typedef uint64_t port_rttime_t
 Realtime accumulator. More...
 
typedef uint32_t port_syssts_t
 System status word. More...
 
typedef uint64_t port_stkalign_t
 Type of stack and memory alignment enforcement. More...
 

Detailed Description

Template port system types.

Definition in file chtypes.h.