
51
#define GP3_PSWIDTH_1MS 0x01 // When select Pulse mode: 1 ms.
#define GP3_PSWIDTH_20MS
0x02 // When select Pulse mode: 20 ms.
#define GP3_PSWIDTH_100MS
0x03 // When select Pulse mode:100 ms.
//--------------------------------------------------------------------------------------------------------
#define WDT_TIMER_RANGE 0x37 // 0-255 (secord or minute program by
// WDT_UNIT)
#define WDT_CONFIGURATION
0x36 // Configure WDT Function
#define WDT_TIMEOUT_FLAG 0x40 // When watchdog timeout.this bit will be set
to 1.
#define WDT_ENABLE
0x20 // Enable watchdog timer
#define WDT_PULSE
0x10 // Configure WDT output mode
// 0:Level Mode
// 1:Pulse Mode
#define WDT_UNIT
0x08 // Watchdog unit select.
// 0:Select second.
// 1:Select minute.
#define WDT_LEVEL
0x04 // When select level output mode:
// 0:Level low
// 1:Level high
#define WDT_PSWIDTH_1MS 0x00 // When select Pulse mode: 1 ms.
#define WDT_PSWIDTH_20MS 0x01 // When select Pulse mode: 20 ms.
#define WDT_PSWIDTH_100MS 0x02 // When select Pulse mode: 100 ms.
#define WDT_PSWIDTH_4000MS 0x03 // When select Pulse mode: 4 s.
Содержание MI270AW
Страница 5: ...OCT 13 2009 2009...
Страница 8: ...3 Photo 1 2 1 3 1 2 3 Insert Unplug...
Страница 49: ......