71x_type.h
资源名称:str711USB.rar [点击查看]
上传用户:yyyd609
上传日期:2022-07-18
资源大小:183k
文件大小:2k
源码类别:
微处理器开发
开发平台:
C/C++
- /******************** (C) COPYRIGHT 2003 STMicroelectronics ********************
- ********************************************************************************
- * File Name : 71x_type.h
- * Author : MCD Application Team
- * Date First Issued : 05/16/2003
- * Description : Common data types
- ********************************************************************************
- * History:
- * 01/01/2004 : V1.2
- * 14/07/2004 : V1.3
- *******************************************************************************/
- #ifndef _71x_type_H
- #define _71x_type_H
- typedef unsigned long u32;
- typedef unsigned short u16;
- typedef unsigned char u8;
- typedef signed long s32;
- typedef signed short s16;
- typedef signed char s8;
- typedef volatile unsigned long vu32;
- typedef volatile unsigned short vu16;
- typedef volatile unsigned char vu8;
- typedef volatile signed long vs32;
- typedef volatile signed short vs16;
- typedef volatile signed char vs8;
- /*===================================================================*/
- typedef enum { FALSE = 0, TRUE = !FALSE } bool;
- /*===================================================================*/
- typedef enum { RESET = 0, SET = !RESET } FlagStatus;
- /*===================================================================*/
- typedef enum { DISABLE = 0, ENABLE = !DISABLE} FunctionalState;
- /*===================================================================*/
- typedef enum { INDIRECT = 0, DIRECT = !INDIRECT} RegisterAccess;
- /*===================================================================*/
- #endif /* _71x_type_H */
- /******************* (C) COPYRIGHT 2003 STMicroelectronics *****END OF FILE****/