STM32f10x_type.h文件--变量类型
来源:互联网 发布:中国水果进出口数据 编辑:程序博客网 时间:2024/06/05 06:47
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __STM32F10x_TYPE_H
#define __STM32F10x_TYPE_H
/* Includes ------------------------------------------------------------------*/
/* Exported types ------------------------------------------------------------*/
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 */
typedef enum {FALSE = 0, TRUE = !FALSE} bool;
typedef enum {RESET = 0, SET = !RESET} FlagStatus, ITStatus;
typedef enum {DISABLE = 0, ENABLE = !DISABLE} FunctionalState;
#define IS_FUNCTIONAL_STATE(STATE) (((STATE) == DISABLE) || ((STATE) == ENABLE))
typedef enum {ERROR = 0, SUCCESS = !ERROR} ErrorStatus;
#define U8_MAX ((u8)255)
#define S8_MAX ((s8)127)
#define S8_MIN ((s8)-128)
#define U16_MAX ((u16)65535u)
#define S16_MAX ((s16)32767)
#define S16_MIN ((s16)-32768)
#define U32_MAX ((u32)4294967295uL)
#define S32_MAX ((s32)2147483647)
#define S32_MIN ((s32)-2147483648)
/* Exported constants --------------------------------------------------------*/
/* Exported macro ------------------------------------------------------------*/
/* Exported functions ------------------------------------------------------- */
#endif /* __STM32F10x_TYPE_H */
- STM32f10x_type.h文件--变量类型
- STM32 stm32f10x_type.h简略翻译
- stm32中stm32f10x_type.h(固件3.0以前)、stm32f10x.h(固件3.0以后)、stdint.h文件的关系
- keil报错:stm32f10x_type.h:error:256:invalid invalid redeclaration of type
- ***stm32f10x_type.h(23): error: #256: invalid redeclaration of type name "s32" 原因+解决方案
- Cocos中在.h文件定义的指针类型变量不实例化会在析构时出现问题
- 如何处理.H头文件中的变量
- 变量一般不要定义在.h文件中
- coco2d-x CCDirector.h文件中变量m_pNotificationNode
- 变量一般不要定义在.h文件中
- 变量一般不要定义在.h文件中
- tree类型题目需要用到的头文件tree.h
- 变量类型
- 变量类型
- 变量类型
- 变量类型
- 变量类型
- 变量类型
- javascript获得鼠标的绝对位置
- 5套人民币你全见过吗
- js计算时间差
- MySQL与Oracle数据类型转换
- 80 个ORACLE常用函数总结
- STM32f10x_type.h文件--变量类型
- Appfuse dwr实现
- 分享
- 【组图】看过之后爆笑5分钟
- db2 常用命令
- JavaScript FAQ(二十四)—— 声音
- [转载]ArcGIS Server中的各种服务
- VB.NET转化成C#
- visual2008 代码中增加版权声明模板