Solaris Software
Loading...
Searching...
No Matches
types.h File Reference

Portable integer types and SPI/storage configuration types for SPP. More...

#include <stdint.h>
#include <stdbool.h>
#include <stddef.h>
Include dependency graph for types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef uint8_t spp_uint8_t
typedef int8_t spp_int8_t
typedef uint16_t spp_uint16_t
typedef int16_t spp_int16_t
typedef uint32_t spp_uint32_t
typedef int32_t spp_int32_t
typedef uint64_t spp_uint64_t
typedef int64_t spp_int64_t
typedef float spp_float32_t
typedef bool spp_bool_t

Detailed Description

Portable integer types and SPI/storage configuration types for SPP.

Provides width-exact integer typedefs derived from <stdint.h> and <stdbool.h> so that SPP code is independent of compiler-specific type widths. Also defines configuration structs shared between the HAL interface and port implementations.

Naming conventions used in this file:

  • Portable base types: spp_<sign><width>t (lowercase snake)
  • Config struct types: SPP<Name>t (uppercase prefix, CamelCase)
  • Enum / constant values: K_SPP*

Definition in file types.h.

Typedef Documentation

◆ spp_uint8_t

typedef uint8_t spp_uint8_t

Unsigned 8-bit integer.

Definition at line 27 of file types.h.

◆ spp_int8_t

typedef int8_t spp_int8_t

Signed 8-bit integer.

Definition at line 28 of file types.h.

◆ spp_uint16_t

typedef uint16_t spp_uint16_t

Unsigned 16-bit integer.

Definition at line 29 of file types.h.

◆ spp_int16_t

typedef int16_t spp_int16_t

Signed 16-bit integer.

Definition at line 30 of file types.h.

◆ spp_uint32_t

typedef uint32_t spp_uint32_t

Unsigned 32-bit integer.

Definition at line 31 of file types.h.

◆ spp_int32_t

typedef int32_t spp_int32_t

Signed 32-bit integer.

Definition at line 32 of file types.h.

◆ spp_uint64_t

typedef uint64_t spp_uint64_t

Unsigned 64-bit integer.

Definition at line 33 of file types.h.

◆ spp_int64_t

typedef int64_t spp_int64_t

Signed 64-bit integer.

Definition at line 34 of file types.h.

◆ spp_float32_t

typedef float spp_float32_t

Single-precision float.

Definition at line 35 of file types.h.

◆ spp_bool_t

typedef bool spp_bool_t

Boolean type.

Definition at line 36 of file types.h.