You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
403 B

12 months ago
11 months ago
12 months ago
11 months ago
12 months ago
  1. #ifndef ZGFLAG
  2. #define ZGFLAG
  3. #include <stdbool.h>
  4. #include <stdint.h>
  5. #ifdef __cplusplus
  6. extern "C" {
  7. #endif
  8. #define ZCLEAR_BIT(val, bit) (val &= ~(1 << bit))
  9. #define ZSET_BIT(val, bit) (val |= (1 << bit))
  10. extern bool gInitErrorFlag;
  11. extern bool gEnableReportFlag;
  12. void gBoardFlagSetResetFlag();
  13. void gBoardFlagClearResetFlag();
  14. bool gBoardFlagGetResetFlag();
  15. #ifdef __cplusplus
  16. }
  17. #endif
  18. #endif