\n

WDT

Peripheral Memory Blocks

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

Registers

WDT_CTL (CTL)


WDT_CTL (CTL)

Watchdog Timer 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

RSTCNT : Clear Watchdog Timer Set this bit will clear the Watchdog timer. Note: This bit will auto clear after few clock cycles
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Writing 0 to this bit has no effect

#1 : 1

Reset the contents of the Watchdog timer

End of enumeration elements list.

RSTEN : Watchdog Timer Reset Enable Setting this bit will enable the Watchdog timer reset function. Note: This function cannot work with XTL32-based clock source.
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disable Watchdog timer reset function

#1 : 1

Enable Watchdog timer reset function

End of enumeration elements list.

RSTF : Watchdog Timer Reset Flag When the Watchdog timer initiates a reset, the hardware will set this bit. This flag can be read by software to determine the source of reset. Software is responsible to clear it manually by writing 1 to it. If RSTEN is disabled, then the Watchdog timer has no effect on this bit. Note: This bit is cleared by writing 1 to this bit.
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

Watchdog timer reset has not occurred

#1 : 1

Watchdog timer reset has occurred

End of enumeration elements list.

IF : Watchdog Timer Interrupt Flag If the Watchdog timer interrupt is enabled, then the hardware will set this bit to indicate that the Watchdog timer interrupt has occurred. If the Watchdog timer interrupt is not enabled, then this bit indicates that a timeout period has elapsed. Note: This bit is cleared by writing 1 to this bit.
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

#0 : 0

Watchdog timer interrupt has not occurred

#1 : 1

Watchdog timer interrupt has occurred

End of enumeration elements list.

WKEN : WDT Time-Out Wake-Up Function Control 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.
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disable WDT Wakeup CPU function

#1 : 1

Enable the Wakeup function that WDT timeout can wake up CPU from power-down mode

End of enumeration elements list.

WKF : WDT Time-Out Wake-Up Flag If WDT causes CPU wake up from sleep or power-down mode, this bit will be set to high. Note: This bit is cleared by writing 1 to it.
bits : 5 - 5 (1 bit)
access : read-write

Enumeration:

#0 : 0

WDT does not cause CPU wake-up

#1 : 1

CPU wakes up from sleep or power-down mode by WDT time-out interrupt

End of enumeration elements list.

INTEN : Watchdog Time-Out Interrupt Enable
bits : 6 - 6 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disable the WDT time-out interrupt

#1 : 1

Enable the WDT time-out interrupt

End of enumeration elements list.

WDTEN : Watchdog Timer Enable
bits : 7 - 7 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disable the WDT(Watchdog timer) (This action will reset the internal counter)

#1 : 1

Enable the WDT(Watchdog timer)

End of enumeration elements list.

TOUTSEL : Watchdog Timer Interval Select These three bits select the timeout interval for the Watchdog timer, a watchdog reset will occur 1024 clock cycles later if Watchdog timer is not reset. The WDT interrupt timeout is given by: Where WDT_CLK is the period of the Watchdog Timer clock source.
bits : 8 - 10 (3 bit)
access : read-write

Enumeration:

#000 : 0

24 * WDT_CLK

#001 : 1

26 * WDT_CLK

#010 : 2

28 * WDT_CLK

#011 : 3

210 * WDT_CLK

#100 : 4

212 * WDT_CLK

#101 : 5

214 * WDT_CLK

#110 : 6

216 * WDT_CLK

#111 : 7

218 * WDT_CLK

End of enumeration elements list.



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.