#ifndef __STM32F10x_TYPE_H
#define __STM32F10x_TYPE_H
typedef signed long
typedef signed short s16;
typedef signed char
typedef signed long
typedef signed short const sc16;
typedef signed char
typedef volatile signed long
typedef volatile signed short vs16;
typedef volatile signed char
typedef volatile signed long
typedef volatile signed short const vsc16;
typedef volatile signed char
typedef unsigned long
typedef unsigned short u16;
typedef unsigned char
typedef unsigned long
typedef unsigned short const uc16;
typedef unsigned char
typedef volatile unsigned long
typedef volatile unsigned short vu16;
typedef volatile unsigned char
typedef volatile unsigned long
typedef volatile unsigned short const vuc16;
typedef volatile unsigned char
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
#define S8_MAX
#define S8_MIN
#define U16_MAX
#define S16_MAX
#define S16_MIN
#define U32_MAX
#define S32_MAX
#define S32_MIN
#endif