Add a watchdog timer of 10 seconds when using scratch ROM
This commit is contained in:
13
src/ec/it5570e/include/ec/etwd.h
Normal file
13
src/ec/it5570e/include/ec/etwd.h
Normal file
@ -0,0 +1,13 @@
|
||||
#ifndef _EC_ECWD_H
|
||||
#define _EC_ECWD_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
volatile uint8_t __xdata __at(0x1F01) ETWCFG;
|
||||
volatile uint8_t __xdata __at(0x1F02) ET1PSR;
|
||||
volatile uint8_t __xdata __at(0x1F04) ET1CNTLLR;
|
||||
volatile uint8_t __xdata __at(0x1F06) EWDCNTLLR;
|
||||
volatile uint8_t __xdata __at(0x1F07) EWDKEYR;
|
||||
volatile uint8_t __xdata __at(0x1F09) EWDCNTLHR;
|
||||
|
||||
#endif // _EC_ECWD_H
|
13
src/ec/it8587e/include/ec/etwd.h
Normal file
13
src/ec/it8587e/include/ec/etwd.h
Normal file
@ -0,0 +1,13 @@
|
||||
#ifndef _EC_ECWD_H
|
||||
#define _EC_ECWD_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
volatile uint8_t __xdata __at(0x1F01) ETWCFG;
|
||||
volatile uint8_t __xdata __at(0x1F02) ET1PSR;
|
||||
volatile uint8_t __xdata __at(0x1F04) ET1CNTLLR;
|
||||
volatile uint8_t __xdata __at(0x1F06) EWDCNTLLR;
|
||||
volatile uint8_t __xdata __at(0x1F07) EWDKEYR;
|
||||
volatile uint8_t __xdata __at(0x1F09) EWDCNTLHR;
|
||||
|
||||
#endif // _EC_ECWD_H
|
Reference in New Issue
Block a user