diff options
author | raywu <raywu@aaeon.com.tw> | 2018-11-23 15:15:07 +0800 |
---|---|---|
committer | raywu <raywu@aaeon.com.tw> | 2018-11-23 15:15:07 +0800 |
commit | 16d9c6b8f5a95724f70ad3af0dbed5cccd57b6ec (patch) | |
tree | 5115f55b9689f9f44c4b97dff6ca2885aa2b7c71 /Board/IO/F81866/F81866.SD | |
parent | d09773e153cb6725d6e124c6dc42f5ea4b73348b (diff) | |
download | zprj-16d9c6b8f5a95724f70ad3af0dbed5cccd57b6ec.tar.xz |
DW01 - Support WDT Function
Diffstat (limited to 'Board/IO/F81866/F81866.SD')
-rw-r--r-- | Board/IO/F81866/F81866.SD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Board/IO/F81866/F81866.SD b/Board/IO/F81866/F81866.SD index 440861f..d48621d 100644 --- a/Board/IO/F81866/F81866.SD +++ b/Board/IO/F81866/F81866.SD @@ -150,8 +150,38 @@ UINT8 F81866LptGpioConfiguration7xLevel[8]; UINT8 F81866LptGpioConfiguration8x[8]; // GPIO8x UINT8 F81866LptGpioConfiguration8xLevel[8]; + + UINT8 F81866WdtEnable ; + UINT8 F81866WdtTimer ; #endif //SETUP_DATA_DEFINITION +#if defined(VFRCOMPILE) && !defined(CONTROLS_ARE_DEFINED) +#define CONTROL_DEFINITION +#endif + +#ifdef CONTROL_DEFINITION + + #define CHECKBOX_F81866_WDT_ENABLE\ + checkbox varid = SETUP_DATA.F81866WdtEnable,\ + prompt = STRING_TOKEN(STR_F81866_WDT_ENABLE),\ + help = STRING_TOKEN(STR_F81866_WDT_ENABLE),\ + flags = 1 | MANUFACTURING | RESET_REQUIRED,\ + key = 0,\ + endcheckbox; + + #define NUMERIC_F81866_WDT_TIMER\ + numeric varid = SETUP_DATA.F81866WdtTimer,\ + prompt = STRING_TOKEN(STR_F81866_WDT_TIMER),\ + help = STRING_TOKEN(STR_F81866_WDT_TIMER),\ + flags = 0 | RESET_REQUIRED,\ + minimum = 0,\ + maximum = 255,\ + step = 1,\ + default = 16,\ + endnumeric; + +#endif //#ifdef CONTROL_DEFINITION + //------------------------------------------------------------------------- //Select Top level menu itmem (forset) for you pages //------------------------------------------------------------------------- |