STM32G0 MCAL
0.0.1
Tiny MCAL for educational purpose.
Loading...
Searching...
No Matches
Platform_Types.h
Go to the documentation of this file.
1
10
#ifndef PLATFORM_TYPES_H
11
#define PLATFORM_TYPES_H
12
13
#include <stdbool.h>
14
22
#define CPU_TYPE_8 8
23
#define CPU_TYPE_16 16
24
#define CPU_TYPE_32 32
25
#define CPU_TYPE_64 64
27
28
37
#define MSB_FIRST 0
38
#define LSB_FIRST 1
40
41
49
#define HIGH_BYTE_FIRST 0
50
#define LOW_BYTE_FIRST 1
52
53
63
#define CPU_TYPE CPU_TYPE_32
64
#define CPU_BIT_ORDER LSB_FIRST
65
#define CPU_BYTE_ORDER LOW_BYTE_FIRST
67
75
#ifndef TRUE
76
#define TRUE 1
77
#endif
78
79
#ifndef FALSE
80
#define FALSE 0
81
#endif
83
93
typedef
bool
boolean
;
94
typedef
unsigned
char
uint8
;
96
typedef
unsigned
short
uint16
;
98
typedef
unsigned
int
uint32
;
100
typedef
unsigned
long
long
uint64
;
103
104
112
typedef
signed
char
sint8
;
114
typedef
signed
short
sint16
;
116
typedef
signed
int
sint32
;
118
typedef
signed
long
long
sint64
;
121
122
130
typedef
unsigned
long
uint8_least
;
132
typedef
unsigned
long
uint16_least
;
134
typedef
unsigned
long
uint32_least
;
137
138
146
typedef
signed
long
sint8_least
;
148
typedef
signed
long
sint16_least
;
150
typedef
signed
long
sint32_least
;
153
154
162
typedef
float
float32
;
164
typedef
double
float64
;
167
168
176
typedef
void
*
VoidPtr
;
178
typedef
const
void
*
ConstVoidPtr
;
181
182
183
#endif
/* PLATFORM_TYPES_H */
sint32
signed int sint32
Definition
Platform_Types.h:116
uint16
unsigned short uint16
Definition
Platform_Types.h:96
uint32
unsigned int uint32
Definition
Platform_Types.h:98
ConstVoidPtr
const void * ConstVoidPtr
Definition
Platform_Types.h:178
sint8
signed char sint8
Definition
Platform_Types.h:112
float64
double float64
Definition
Platform_Types.h:164
uint64
unsigned long long uint64
Definition
Platform_Types.h:100
VoidPtr
void * VoidPtr
Definition
Platform_Types.h:176
sint16
signed short sint16
Definition
Platform_Types.h:114
sint16_least
signed long sint16_least
Definition
Platform_Types.h:148
float32
float float32
Definition
Platform_Types.h:162
uint8_least
unsigned long uint8_least
Definition
Platform_Types.h:130
sint8_least
signed long sint8_least
Definition
Platform_Types.h:146
sint64
signed long long sint64
Definition
Platform_Types.h:118
uint8
unsigned char uint8
Definition
Platform_Types.h:94
uint32_least
unsigned long uint32_least
Definition
Platform_Types.h:134
sint32_least
signed long sint32_least
Definition
Platform_Types.h:150
boolean
bool boolean
Definition
Platform_Types.h:93
uint16_least
unsigned long uint16_least
Definition
Platform_Types.h:132
autosar
mcal
Platform_Types.h
Generated by
1.13.0