编码规则-用centos_(linux)搭建服务器的详细教程

时间:2024-06-29 08:13:21
【文件属性】:

文件名称:编码规则-用centos_(linux)搭建服务器的详细教程

文件大小:3.86MB

文件格式:PDF

更新时间:2024-06-29 08:13:21

STM32 固件库

1.3 编码规则 本章节描述了固态函书库的编码规则。 1.3.1 变量 固态函数库定义了 24 个变量类型,他们的类型和大小是固定的。在文件 stm32f10x_type.h 中我们定义了这 些变量: typedef signed long s32; typedef signed short s16; typedef signed char s8; typedef signed long const sc32; /* Read Only */ typedef signed short const sc16; /* Read Only */ typedef signed char const sc8; /* Read Only */ typedef volatile signed long vs32; typedef volatile signed short vs16; typedef volatile signed char vs8; typedef volatile signed long const vsc32; /* Read Only */ typedef volatile signed short const vsc16; /* Read Only */ typedef volatile signed char const vsc8; /* Read Only */ typedef unsigned long u32; typedef unsigned short u16; typedef unsigned char u8; typedef unsigned long const uc32; /* Read Only */ typedef unsigned short const uc16; /* Read Only */ typedef unsigned char const uc8; /* Read Only */ typedef volatile unsigned long vu32; typedef volatile unsigned short vu16; typedef volatile unsigned char vu8; typedef volatile unsigned long const vuc32; /* Read Only */ typedef volatile unsigned short const vuc16; /* Read Only */ typedef volatile unsigned char const vuc8; /* Read Only */ 1.3.2 布尔型 在文件 stm32f10x_type.h 中,布尔形变量被定义如下: typedef enum {


网友评论