Skip to content

Commit da5b83e

Browse files
committed
etwd: Add all registers from datasheets
Signed-off-by: Tim Crawford <[email protected]>
1 parent face381 commit da5b83e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/ec/ite/include/ec/etwd.h

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,24 @@
77

88
volatile uint8_t __xdata __at(0x1F01) ETWCFG;
99
volatile uint8_t __xdata __at(0x1F02) ET1PSR;
10+
#if CONFIG_EC_ITE_IT8587E
11+
volatile uint8_t __xdata __at(0x1F03) ET1CNTLHR;
12+
#endif
1013
volatile uint8_t __xdata __at(0x1F04) ET1CNTLLR;
14+
volatile uint8_t __xdata __at(0x1F05) ETWCTRL;
1115
volatile uint8_t __xdata __at(0x1F06) EWDCNTLLR;
1216
volatile uint8_t __xdata __at(0x1F07) EWDKEYR;
1317
volatile uint8_t __xdata __at(0x1F09) EWDCNTLHR;
18+
volatile uint8_t __xdata __at(0x1F0A) ET2PSR;
19+
volatile uint8_t __xdata __at(0x1F0B) ET2CNTLHR;
20+
volatile uint8_t __xdata __at(0x1F0C) ET2CNTLLR;
21+
volatile uint8_t __xdata __at(0x1F0E) ET2CNTLH2R;
22+
#if CONFIG_EC_ITE_IT5570E || CONFIG_EC_ITE_IT5571E
23+
volatile uint8_t __xdata __at(0x1F10) ET3PSR;
24+
volatile uint8_t __xdata __at(0x1F11) ET3CNTLHR;
25+
volatile uint8_t __xdata __at(0x1F12) ET3CNTLLR;
26+
volatile uint8_t __xdata __at(0x1F13) ET3CNTLH2R;
27+
volatile uint8_t __xdata __at(0x1F16) ET4CNTLLR;
28+
#endif
1429

1530
#endif // _EC_ECWD_H

0 commit comments

Comments
 (0)