STM32常用数据类型 u8、u16、u32

个人学习笔记 不做交流 


stdint.h 这里放着C语言的标准表达方式//第36行开始
typedef   signed  char         int8_t;  //  标准表达方式 signed char 被等同于 int8_t;
typedef   signed short int     int16_t;
typedef   signed  int          int32_t;//在32位环境里,int代表4个字节32位!!
typedef   signed __int64       int64_t;
 
typedef   unsigned char         uint8_t;
typedef   unsigned short int    uint16_t;
typedef   unsigned int          uint32_t;
typedef   unsigned  __int64     uint64_t;
 
stm32f10x.h 这个文件主要是为了兼容旧版本吧
typedef   uint32_t   u32;///32位
typedef   uint16_t   u16;///16位
typedef   uint8_t     u8;///8位

STM32中数据类型定义 U8 U16 32解释说明