\n

WDT

Peripheral Memory Blocks

address_offset : 0x0 Bytes (0x0)
size : 0xC byte (0x0)
mem_usage : registers
protection :

Registers

WDT_CTL (CTL)

WDT_ALTCTL (ALTCTL)

WDT_RSTCNT (RSTCNT)


WDT_CTL (CTL)

WDT Control Register
address_offset : 0x0 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

WDT_CTL WDT_CTL read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 RSTCNT RSTEN RSTF IF WKEN WKF INTEN WDTEN TOUTSEL SYNC ICEDEBUG

RSTCNT : Reset WDT Up Counter (Write Protect) Note 1: This bit is write protected. Refer to the SYS_REGLCTL register. Note 2: This bit will be automatically cleared by hardware.
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

No effect

#1 : 1

Reset the internal 20-bit WDT up counter value

End of enumeration elements list.

RSTEN : WDT Time-out Reset Enable Bit (Write Protect) Setting this bit will enable the WDT time-out reset function If the WDT up counter value has not been cleared after the specific WDT reset delay period expires. Note: This bit is write protected. Refer to the SYS_REGLCTL register.
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

WDT time-out reset function Disabled

#1 : 1

WDT time-out reset function Enabled

End of enumeration elements list.

RSTF : WDT Time-out Reset Flag This bit indicates the system has been reset by WDT time-out reset or not. Note: This bit is cleared by writing 1 to it.
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

WDT time-out reset did not occur

#1 : 1

WDT time-out reset occurred

End of enumeration elements list.

IF : WDT Time-out Interrupt Flag This bit will set to 1 while WDT up counter value reaches the selected WDT time-out interval Note: This bit is cleared by writing 1 to it.
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

#0 : 0

WDT time-out interrupt did not occur

#1 : 1

WDT time-out interrupt occurred

End of enumeration elements list.

WKEN : WDT Time-out Wake-up Function Control (Write Protect) If this bit is set to 1, while WDT time-out interrupt flag IF (WDT_CTL[3]) is generated to 1 and interrupt enable bit INTEN (WDT_CTL[6]) is enabled, the WDT time-out interrupt signal will generate a wake-up trigger event to chip. Note 1: This bit is write protected. Refer to the SYS_REGLCTL register. Note 2: Chip can be woken up by WDT time-out interrupt signal generated only if WDT clock source is selected to 38.4 kHz internal low speed RC oscillator (LIRC) or LXT.
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

#0 : 0

Wake-up trigger event Disabled if WDT time-out interrupt signal generated

#1 : 1

Wake-up trigger event Enabled if WDT time-out interrupt signal generated

End of enumeration elements list.

WKF : WDT Time-out Wake-up Flag (Write Protect) This bit indicates the interrupt wake-up flag status of WDT Note 1: This bit is write protected. Refer to the SYS_REGLCTL register. Note 2: This bit is cleared by writing 1 to it.
bits : 5 - 5 (1 bit)
access : read-write

Enumeration:

#0 : 0

WDT does not cause chip wake-up

#1 : 1

Chip wake-up from Idle or Power-down mode if WDT time-out interrupt signal generated

End of enumeration elements list.

INTEN : WDT Time-out Interrupt Enable Bit (Write Protect) If this bit is enabled, the WDT time-out interrupt signal is generated and inform to CPU. Note: This bit is write protected. Refer to the SYS_REGLCTL register.
bits : 6 - 6 (1 bit)
access : read-write

Enumeration:

#0 : 0

WDT time-out interrupt Disabled

#1 : 1

WDT time-out interrupt Enabled

End of enumeration elements list.

WDTEN : WDT Enable Bit (Write Protect) Note 1: This bit is write protected. Refer to the SYS_REGLCTL register. Note 2: If CWDTEN[2:0] (combined by Config0[31] and Config0[4:3]) bits is not configured to 111, this bit is forced as 1 and user cannot change this bit to 0.
bits : 7 - 7 (1 bit)
access : read-write

Enumeration:

#0 : 0

WDT Disabled (This action will reset the internal up counter value)

#1 : 1

WDT Enabled

End of enumeration elements list.

TOUTSEL : WDT Time-out Interval Selection (Write Protect) These three bits select the time-out interval period for the WDT. Note: This bit is write protected. Refer to the SYS_REGLCTL register.
bits : 8 - 11 (4 bit)
access : read-write

Enumeration:

#0000 : 0

24 * WDT_CLK

#0001 : 1

26 * WDT_CLK

#0010 : 2

28 * WDT_CLK

#0011 : 3

210 * WDT_CLK

#0100 : 4

212 * WDT_CLK

#0101 : 5

214 * WDT_CLK

#0110 : 6

216 * WDT_CLK

#0111 : 7

218 * WDT_CLK

#1000 : 8

220 * WDT_CLK

End of enumeration elements list.

SYNC : WDT Enable Control SYNC Flag Indicator (Read Only) If user executes enable/disable WDTEN (WDT_CTL[7]), this flag can be indicated enable/disable WDTEN function is completed or not. Note: Performing enable or disable WDTEN bit needs 2 * WDT_CLK period to become active.
bits : 30 - 30 (1 bit)
access : read-only

Enumeration:

#0 : 0

Set WDTEN bit is completed

#1 : 1

Set WDTEN bit is synchronizing and not become active yet

End of enumeration elements list.

ICEDEBUG : ICE Debug Mode Acknowledge Disable Bit (Write Protect) WDT up counter will keep going no matter CPU is held by ICE or not. Note: This bit is write protected. Refer to the SYS_REGLCTL register.
bits : 31 - 31 (1 bit)
access : read-write

Enumeration:

#0 : 0

ICE debug mode acknowledgement affects WDT counting

#1 : 1

ICE debug mode acknowledgement Disabled

End of enumeration elements list.


WDT_ALTCTL (ALTCTL)

WDT Alternative Control Register
address_offset : 0x4 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

WDT_ALTCTL WDT_ALTCTL read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 RSTDSEL

RSTDSEL : WDT Reset Delay Selection (Write Protect) When WDT time-out happened, user has a time named WDT Reset Delay Period to clear WDT counter by setting RSTCNT (WDT_CTL[0]) to prevent WDT time-out reset happened. User can select a suitable setting of RSTDSEL for different WDT Reset Delay Period. Note 1: This bit is write protected. Refer to the SYS_REGLCTL register. Note 2: This register will be reset to 0 if WDT time-out reset happened.
bits : 0 - 1 (2 bit)
access : read-write

Enumeration:

#00 : 0

WDT Reset Delay Period is 1026 * WDT_CLK

#01 : 1

WDT Reset Delay Period is 130 * WDT_CLK

#10 : 2

WDT Reset Delay Period is 18 * WDT_CLK

#11 : 3

WDT Reset Delay Period is 3 * WDT_CLK

End of enumeration elements list.


WDT_RSTCNT (RSTCNT)

WDT Reset Counter Register
address_offset : 0x8 Bytes (0x0)
size : -1 bit
access : write-only
reset_value : 0x0
reset_Mask : 0x0

WDT_RSTCNT WDT_RSTCNT write-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 RSTCNT

RSTCNT : WDT Reset Counter Register Writing 0x00005AA5 to this field will reset the internal 20-bit WDT up counter value to 0. Note 1: Performing RSTCNT to reset counter needs 2 * WDT_CLK period to become active. Note 2: RSTCNT (WDT_CTL[0]) bit is a write protected bit. RSTCNT (WDT_RSTCNT[31:0]) bits are not write protected.
bits : 0 - 31 (32 bit)
access : write-only



Is something missing? Is something wrong? can you help correct it ? Please contact us at info@chipselect.org !

This website is sponsored by EmbeetleEmbeetle, an IDE designed from scratch for embedded software developers.