FU6522_72_Type.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. #ifndef __FU6522_72_TYPE_H__
  2. #define __FU6522_72_TYPE_H__
  3. #include <ctype.h>
  4. #include <stdbool.h>
  5. #ifdef __cplusplus
  6. extern "C" {
  7. #endif
  8. #define _I volatile const //< Defines 'read only' permissions
  9. #define _O volatile //< Defines 'write only' permissions
  10. #define _IO volatile //< Defines 'read&write' permissions
  11. typedef unsigned char uint8;
  12. typedef unsigned short uint16;
  13. typedef unsigned long uint32;
  14. typedef long int32;
  15. typedef short int16;
  16. typedef char int8;
  17. typedef enum{DISABLE = 0, ENABLE} ebool;
  18. typedef unsigned char uint8_t;
  19. typedef unsigned short uint16_t;
  20. typedef unsigned long uint32_t;
  21. typedef long int32_t;
  22. typedef short int16_t;
  23. typedef char int8_t;
  24. #ifdef __cplusplus
  25. }
  26. #endif
  27. #endif