c语言 int8_t int16_t int 32_t s8 s16 等数据类型

Modified on: Mon, 18 Mar 2019 20:06:38 +0800 热度: 3,234 度
/*!< Signed integer types  */
typedef   signed char     int8_t;
typedef   signed short    int16_t;
typedef   signed long     int32_t;
 
/*!< Unsigned integer types  */
typedef unsigned char     uint8_t;  
typedef unsigned short    uint16_t;
typedef unsigned long     uint32_t;
 
 
/*!< STM8Lx Standard Peripheral Library old types (maintained for legacy purpose) */
 
typedef int32_t  s32;
typedef int16_t s16;
typedef int8_t  s8;
 
typedef uint32_t  u32; 
typedef uint16_t u16;

添加新评论