或者在前面加:
typedef
signed
char
int8
//!<
signed
8
bit
integer
typedef
unsigned
char
uint8
//!<
unsigned
8
bit
integer
typedef
signed
short
int16
//!<
signed
16
bit
integer
typedef
unsigned
short
uint16
//!<
unsigned
16
bit
integer
typedef
signed
long
int32
//!<
signed
32
bit
integer
typedef
unsigned
long
uint32
//!<
unsigned
32
bit
integer
typedef
unsigned
char
bool
//!<
boolean
data
type
__IO就是volatileuint32_t就是32位无符号整形数。
这都是
ARM公司
无聊滴在CMSIS库里面定义的。
STM32
库1.x
2.x都没有这玩意,到了3.0以后引入了CMSIS就有了。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)