#ifndef __TYPEDEF_H
|
#define __TYPEDEF_H
|
|
|
|
#define TYPEDEF_H_MAJOR_VERSION 1
|
#define TYPEDEF_H_MINOR_VERSION 0
|
#define TYPEDEF_H_PATCH_VERSION 2
|
|
|
|
#ifdef __cplusplus
|
#define __I volatile /*!< Defines 'read only' permissions */
|
#else
|
#define __I volatile const /*!< Defines 'read only' permissions */
|
#endif
|
#define __O volatile /*!< Defines 'write only' permissions */
|
#define __IO volatile /*!< Defines 'read / write' permissions */
|
|
/* following defines should be used for structure members */
|
#define __IM volatile const /*! Defines 'read only' structure member permissions */
|
#define __OM volatile /*! Defines 'write only' structure member permissions */
|
#define __IOM volatile /*! Defines 'read / write' structure member permissions */
|
|
#define bool _Bool
|
|
#ifndef _INT32_T_DECLARED
|
typedef signed int int32_t;
|
#define _INT32_T_DECLARED
|
#endif
|
|
#ifndef _UINT32_T_DECLARED
|
typedef unsigned int uint32_t;
|
#define _UINT32_T_DECLARED
|
#endif
|
|
typedef unsigned short uint16_t;
|
typedef signed short int16_t;
|
typedef unsigned char uint8_t;
|
typedef signed char int8_t;
|
typedef char char_t;
|
typedef bool bool_t;
|
typedef unsigned long long int uint64_t;
|
|
|
|
|
#endif
|