FU68xx_5_Type.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /**
  2. * @file FU6522_Type.h
  3. * @version V1.0.0
  4. * @author FortiorTech Hardware Team
  5. * @date 2021-07-15 20:54:16
  6. * @brief This file contains ...
  7. *
  8. * @copyright Copyright(C) 2022, Fortior Technology Co., Ltd. All rights reserved.
  9. */
  10. #ifndef __FU6522_TYPE_H__
  11. #define __FU6522_TYPE_H__
  12. // Include external header file.
  13. #include <ctype.h>
  14. #include <stdbool.h>
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18. #define _I volatile const //< Defines 'read only' permissions
  19. #define _O volatile //< Defines 'write only' permissions
  20. #define _IO volatile //< Defines 'read&write' permissions
  21. //#define bool bit
  22. //#define false (0)
  23. //#define true (!false)
  24. typedef unsigned char uint8;
  25. typedef unsigned short uint16;
  26. typedef unsigned long uint32;
  27. typedef long int32;
  28. typedef short int16;
  29. typedef char int8;
  30. typedef enum{DISABLE = 0, ENABLE} ebool;
  31. //typedef enum{false = 0, true} bool;
  32. #ifdef __cplusplus
  33. }
  34. #endif
  35. #endif //__FU6522_TYPE_H__
  36. /*** (C) Copyright 2022 Fortior Technology Co., Ltd. ***/