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.
26 lines
497 B
26 lines
497 B
|
|
#ifndef ZGFLAG
|
|
#define ZGFLAG
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#define ZCLEAR_BIT(val, bit) (val &= ~(1 << bit))
|
|
#define ZSET_BIT(val, bit) (val |= (1 << bit))
|
|
|
|
extern bool gInitErrorFlag;
|
|
extern bool gEnableReportFlag;
|
|
|
|
void gBoardFlagSetResetFlag();
|
|
void gBoardFlagClearResetFlag();
|
|
bool gBoardFlagGetResetFlag();
|
|
|
|
bool gBoardFlagGetEnablePeriodLogFlag();
|
|
void gBoardFlagSetEnablePeriodLogFlag(bool enable);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|