Registers
The abbreviations given in Column Access are explained in Section Access Types for Registers .
Base Address:
IWDG_REG : 0x41008C00
WDG0_REG : 0x41008D00
WDG2_REG : 0x41008D80
WDG1_REG_S : 0x51008D40
Name |
Address offset |
Access |
Description |
|---|---|---|---|
000h |
R/W |
||
004h |
R/W |
||
008h |
R/W |
||
00Ch |
R/W |
||
010h |
R/W |
REG_WDG_MKEYR
Name: WDG Magic Key register
Size: 32
Address offset: 000h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:16 |
RSVD |
R |
- |
Reserved |
15:0 |
MKEY |
R/W |
0h |
|
REG_WDG_CR
Name: WDG Control regsietr
Size: 32
Address offset: 004h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31 |
RVU |
R |
0h |
Watchdog counter update by reload command |
30 |
EVU |
R |
0h |
Watchdog early interrupt function update |
29:25 |
RSVD |
R |
- |
Reserved |
24 |
LPEN |
R/W |
1h |
Low power enable
|
23:18 |
RSVD |
R |
- |
Reserved |
17 |
EIC |
R/W |
0h |
Write ‘1’ clear the early interrupt |
16 |
EIE |
R/W |
0h |
Watchdog early interrupt enable |
15:0 |
EICNT |
R/W |
0h |
Early interrupt trigger threshold |
REG_WDG_RLR
Name: WDG Relaod register
Size: 32
Address offset: 008h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:24 |
RSVD |
R |
- |
Reserved |
23:16 |
PRER |
R/W |
63h |
Prescaler counter, configuration only allowed before WDG enable IWDG: 0x63 System WDG: 0x1F |
15:0 |
RELOAD |
R/W |
FFFh |
Reload value for watchdog counter |
REG_WDG_WINR
Name: WDG Window Register
Size: 32
Address offset: 00Ch
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:16 |
RSVD |
R |
- |
Reserved |
15:0 |
WINDOW |
R/W |
FFFFh |
Watchdog feed protect window register |
REG_IWDG_DUMMY
Name: WDG Dummy Register
Size: 32
Address offset: 010h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:16 |
RSVD |
R |
- |
Reserved |
15:0 |
DUMMY |
R/W |
0xFF |
Reserved for HW |
Base Address:
WDG0_REG : 0x4100CC00
WDG1_REG : 0x4101F000
WDG2_REG : 0x4101F040
WDG3_REG : 0x4101F080
WDG4_REG : 0x4101F0C0
Name |
Address offset |
Access |
Description |
|---|---|---|---|
000h |
R/W |
||
004h |
R/W |
||
008h |
R/W |
||
00Ch |
R/W |
||
010h |
R/W |
REG_WDG_MKEYR
Name: WDG Magic Key Register
Size: 32
Address offset: 000h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:16 |
RSVD |
R |
- |
Reserved |
15:0 |
MKEY |
R/W |
0h |
|
REG_WDG_CR
Name: WDG Control Regsietr
Size: 32
Address offset: 004h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31 |
RVU |
R |
0h |
Watchdog counter update by reload command |
30 |
EVU |
R |
0h |
Watchdog early interrupt function update |
29:25 |
RSVD |
R |
- |
Reserved |
24 |
LPEN |
R/W |
0h |
Low power enable
|
23:18 |
RSVD |
R |
- |
Reserved |
17 |
EIC |
R/W |
0h |
Write ‘1’ clear the early interrupt |
16 |
EIE |
R/W |
0h |
Watchdog early interrupt enable |
15:0 |
EICNT |
R/W |
0h |
Early interrupt trigger threshold |
REG_WDG_RLR
Name: WDG Reload Register
Size: 32
Address offset: 008h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:24 |
RSVD |
R |
- |
Reserved |
23:16 |
PRER |
R/W |
63h |
Prescaler counter, configuration only allowed before watchdog enable WDG: 0x63 System WDG: 0x1F |
15:0 |
RELOAD |
R/W |
FFFh |
Reload value for watchdog counter |
REG_WDG_WINR
Name: WDG Window Register
Size: 32
Address offset: 00Ch
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:16 |
RSVD |
R |
- |
Reserved |
15:0 |
WINDOW |
R/W |
FFFFh |
Watchdog feed protect window register |
REG_IWDG_DUMMY
Name: Dummy Register
Size: 32
Address offset: 010h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:16 |
RSVD |
R |
- |
Reserved |
15:0 |
DUMMY |
R/W |
00FFh |
Hardware dummy |
REGISTER_CONTENTS=RTL8720E
REGISTER_CONTENTS=RTL8720E
REGISTER_CONTENTS=RTL8720E
Base Address:
WDG0_REG : 0x42008400
WDG2_REG : 0x41000440
WDG4_REG : 0x410004C0
WDG1_REG_S : 0x51000400
WDG3_REG_S : 0x51000480
Name |
Address offset |
Access |
Description |
|---|---|---|---|
000h |
R/W |
||
004h |
R/W |
||
008h |
R/W |
||
00Ch |
R/W |
REG_WDG_MKEYR
Name: WDG Magic Key register
Size: 32
Address offset: 000h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:16 |
RSVD |
R |
- |
Reserved |
15:0 |
MKEY |
R/W |
0h |
|
REG_WDG_CR
Name: WDG Control regsietr
Size: 32
Address offset: 004h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31 |
RVU |
R |
0h |
Watchdog counter update by reload command |
30 |
EVU |
R |
0h |
Watchdog early interrupt function update |
29:25 |
RSVD |
R |
- |
Reserved |
24 |
LPEN |
R/W |
0h |
Low power enable
|
23:18 |
RSVD |
R |
- |
Reserved |
17 |
EIC |
R/W |
0h |
Write ‘1’ clear the early interrupt |
16 |
EIE |
R/W |
0h |
Watchdog early interrupt enable |
15:0 |
EICNT |
R/W |
0h |
Early interrupt trigger threshold |
REG_WDG_RLR
Name: WDG Relaod register
Size: 32
Address offset: 008h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:24 |
RSVD |
R |
- |
Reserved |
23:16 |
PRER |
R/W |
63h |
Prescaler counter, configuration only allowed before wdg enable WDG: 0x63 System wdg: 0x1F |
15:0 |
RELOAD |
R/W |
FFFh |
Reload value for watchdog counter |
REG_WDG_WINR
Name: WDG Window Register
Size: 32
Address offset: 00Ch
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:16 |
RSVD |
R |
- |
Reserved |
15:0 |
WINDOW |
R/W |
FFFFh |
Watchdog feed protect window register |
Base Address:
IWDG_REG : 0x4080AC00
WDG0_REG : 0x4080AD00
WDG2_REG : 0x4080AD80
WDG1_REG_S : 0x5080AD40
Name |
Address offset |
Access |
Description |
|---|---|---|---|
000h |
R/W |
||
004h |
R/W |
||
008h |
R/W |
||
00Ch |
R/W |
||
010h |
R/W |
REG_WDG_MKEYR
Name: WDG Magic Key register
Size: 32
Address offset: 000h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:16 |
RSVD |
R |
- |
Reserved |
15:0 |
MKEY |
R/W |
0h |
|
REG_WDG_CR
Name: WDG Control regsietr
Size: 32
Address offset: 004h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31 |
RVU |
R |
0h |
Watchdog counter update by reload command |
30 |
EVU |
R |
0h |
Watchdog early interrupt function update |
29:25 |
RSVD |
R |
- |
Reserved |
24 |
LPEN |
R/W |
1h |
Low power enable
|
23:18 |
RSVD |
R |
- |
Reserved |
17 |
EIC |
R/W |
0h |
Write ‘1’ clear the early interrupt |
16 |
EIE |
R/W |
0h |
Watchdog early interrupt enable |
15:0 |
EICNT |
R/W |
0h |
Early interrupt trigger threshold |
REG_WDG_RLR
Name: WDG Relaod register
Size: 32
Address offset: 008h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:24 |
RSVD |
R |
- |
Reserved |
23:16 |
PRER |
R/W |
63h |
Prescaler counter, configuration only allowed before wdg enable WDG: 0x63 System wdg: 0x1F |
15:0 |
RELOAD |
R/W |
FFFFh |
Reload value for watchdog counter Default : 64s (x100k) |
REG_WDG_WINR
Name: WDG Window Register
Size: 32
Address offset: 00Ch
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:16 |
RSVD |
R |
- |
Reserved |
15:0 |
WINDOW |
R/W |
FFFFh |
Watchdog feed protect window register |
REG_IWDG_DUMMY
Name: Wdg Dummy Register
Size: 32
Address offset: 010h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:16 |
RSVD |
R |
- |
Reserved |
15:0 |
DUMMY |
R/W |
0xFF |
Rsvd for hw |
Base Address:
IWDG_REG : 0x40801C00
WDG0_REG : 0x40801D00
WDG2_REG : 0x40801D80
WDG1_REG_S : 0x50801D40
Name |
Address offset |
Access |
Description |
|---|---|---|---|
000h |
R/W |
||
004h |
R/W |
||
008h |
R/W |
||
00Ch |
R/W |
||
010h |
R/W |
REG_WDG_MKEYR
Name: WDG Magic Key register
Size: 32
Address offset: 000h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:16 |
RSVD |
R |
- |
Reserved |
15:0 |
MKEY |
R/W |
0h |
|
REG_WDG_CR
Name: WDG Control regsietr
Size: 32
Address offset: 004h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31 |
RVU |
R |
0h |
Watchdog counter update by reload command |
30 |
EVU |
R |
0h |
Watchdog early interrupt function update |
29:25 |
RSVD |
R |
- |
Reserved |
24 |
LPEN |
R/W |
1h |
Low power enable
|
23:18 |
RSVD |
R |
- |
Reserved |
17 |
EIC |
R/W |
0h |
Write ‘1’ clear the early interrupt |
16 |
EIE |
R/W |
0h |
Watchdog early interrupt enable |
15:0 |
EICNT |
R/W |
0h |
Early interrupt trigger threshold |
REG_WDG_RLR
Name: WDG Relaod register
Size: 32
Address offset: 008h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:24 |
RSVD |
R |
- |
Reserved |
23:16 |
PRER |
R/W |
63h |
Prescaler counter, configuration only allowed before wdg enable WDG: 0x63 System wdg: 0x1F |
15:0 |
RELOAD |
R/W |
FFFFh |
Reload value for watchdog counter Default : 64s (x100k) |
REG_WDG_WINR
Name: WDG Window Register
Size: 32
Address offset: 00Ch
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:16 |
RSVD |
R |
- |
Reserved |
15:0 |
WINDOW |
R/W |
FFFFh |
Watchdog feed protect window register |
REG_IWDG_DUMMY
Name: Wdg Dummy Register
Size: 32
Address offset: 010h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:16 |
RSVD |
R |
- |
Reserved |
15:0 |
DUMMY |
R/W |
0xFF |
Rsvd for hw |
Base Address:
AON_REG : 0x40220000
AON_NS_REG : 0x40210000
Name |
Address offset |
Monitored CPU |
|---|---|---|
AON_REG + 0xC8 |
KM4 (NP) |
|
AON_NS_REG + 0x34 |
KM0 |
|
AON_REG + 0xE4 |
CA32 |
|
AON_NS_REG + 0x30 |
KM4 (VP) |
REG_AON_WDT_TIMER
Name: AON WDT Timer register (AON_WDT_TIMER, FW_WDT_TIMER, AP_WDT_TIMER, MP_WDT_TIMER)
Size: 32
Read/write access: R/W
Note
AON_WDT_TIMER, FW_WDT_TIMER, AP_WDT_TIMER and MP_WDT_TIMER share the same bit layout. WDT_CLR_EN (bit 18) is only available in AON_WDT_TIMER and is reserved in the other three registers.
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:30 |
RSVD |
R |
- |
Reserved |
29:20 |
PRE_SCALER |
R/W |
0h |
Pre-scaler factor The real pre-scaler is {PRE_SCALER, 6’h3F} |
19 |
WDT_RST_TRIG |
R/W |
0h |
Write 1 to trigger an AON WDT reset. Cleared by hardware |
18 |
WDT_CLR_EN |
R/W |
0h |
Write 1 to enable hardware to disable the AON WDT Only available in AON_WDT_TIMER, reserved in the other AON WDT registers |
17 |
WDT_CLR |
R/W1P |
0h |
Write 1 to clear the counter. Cleared by hardware |
16:1 |
CNT |
R/W |
FFFh |
WDT counter value |
0 |
WDT_EN |
R/W |
1h |
Write 1 to enable the AON WDT |
The timeout period is calculated as CNT × (PRE_SCALER + 1) × 64 / 100 kHz. With PRE_SCALER = 0, the maximum timeout is about 41.9 seconds.