ChibiOS 21.11.4
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.
#define ROMCONST   CC_ROMCONST
 ROM constant modifier.
#define NOINLINE   CC_NO_INLINE
 Makes functions not inlineable.
#define ALIGNED_VAR(n)
 Memory alignment enforcement for variables.
#define SIZEOF_PTR   PORT_ARCH_SIZEOF_DATA_PTR
 Size of a pointer.
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.
typedef uint64_t port_rttime_t
 Realtime accumulator.
typedef uint32_t port_syssts_t
 System status word.
typedef uint64_t port_stkalign_t
 Type of stack and memory alignment enforcement.

Detailed Description

Template port system types.

Definition in file chtypes.h.