\n

WDT

Peripheral Memory Blocks

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

Registers

WDT_CTL (CTL)

WDT_INTEN (INTEN)

WDT_STATUS (STATUS)


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 WKEN WDTEN WTIS WTRDSEL DBGEN

RSTCNT : Reset Watchdog TimerCounter (Write Protect)\nPlease refer to open lock sequence to program it.\nSetting this bit will reset the Watchdog timer counter.\nNote: This bit will be auto cleared after 1 PCLK clock cycle.
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

No effect

#1 : 1

Reset the contents of the Watchdog timer

End of enumeration elements list.

RSTEN : Watchdog Timer Reset Function EnableBit (Write Protect)\nPlease refer to open lock sequence to program it.\nSetting this bit will enable the Watchdog timer reset function.
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

Watchdog timer reset function Disabled

#1 : 1

Watchdog timer reset function Enabled

End of enumeration elements list.

WKEN : Watchdog Timer Wake-up Function EnableBit(Write Protect)\nPlease refer to open lock sequence to program it.
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

Watchdog timer Wake-up CPU function Disabled

#1 : 1

Wake-up function Enabled so that Watchdog timer time-out can wake up CPU from Power-down mode

End of enumeration elements list.

WDTEN : Watchdog Timer EnableBit(Write Protect)\nPlease refer to open lock sequence to program it.
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

#0 : 0

Watchdog timer Disabled (this action will reset the internal counter)

#1 : 1

Watchdog timer Enabled

End of enumeration elements list.

WTIS : Watchdog Timer Interval Selection(Write Protect)\nPlease refer to open lock sequence to program it.\nThe three bits select the time-out interval for the Watchdog timer. This count is free running counter.\nPlease refer toTable6.111.
bits : 4 - 6 (3 bit)
access : read-write

WTRDSEL : Watchdog Timer Reset Delay Selection\nWhen watchdog time-out happened, software has a time named watchdog reset delay period to clear watchdog timer to prevent watchdog reset happened. Software can select a suitable value of watchdog reset delay period for different watchdog time-out period.\nNote: This bit will be reset if watchdog reset happened
bits : 8 - 9 (2 bit)
access : read-write

Enumeration:

#00 : 0

Watchdog reset delay period is 1026 watchdog clock

#01 : 1

Watchdog reset delay period is 130 watchdog clock

#10 : 2

Watchdog reset delay period is 18 watchdog clock

#11 : 3

Watchdog reset delay period is 3 watchdog clock

End of enumeration elements list.

DBGEN : WDT Debug Mode Enable Control (Write Protect)
bits : 31 - 31 (1 bit)
access : read-write

Enumeration:

#0 : 0

WDT stopped counting if system is in Debug mode

#1 : 1

WDT still counted even system is in Debug mode

End of enumeration elements list.


WDT_INTEN (INTEN)

Watchdog Timer Interrupt Enable Register
address_offset : 0x4 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

WDT_INTEN WDT_INTEN 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 WDTIEN

WDTIEN : Watchdog Timer Time-out Interrupt EnableBit
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Watchdog timer time-out interrupt Disabled

#1 : 1

Watchdog timer time-out interrupt Enabled

End of enumeration elements list.


WDT_STATUS (STATUS)

Watchdog Timer Status Register
address_offset : 0x8 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

WDT_STATUS WDT_STATUS 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 WDTIF RSTF WKF

WDTIF : Watchdog Timer Time-out Interrupt StatusFlag If the Watchdog timer time-out interrupt is enabled, then the hardware will set this bit to indicate that the Watchdog timer time-out interrupt has occurred. If the Watchdog timer time-out interrupt is not enabled, then this bit indicates that a time-out period has elapsed. Note:This bit is read only, but can be cleared by writing 1 to it.
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Watchdog timer time-out interrupt did not occur

#1 : 1

Watchdog timer time-out interrupt occurred

End of enumeration elements list.

RSTF : Watchdog Timer Reset StatusFlag 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 read only, but can be cleared by writing 1 to it.
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

Watchdog timer reset did not occur

#1 : 1

Watchdog timer reset occurred

End of enumeration elements list.

WKF : Watchdog Timer Wake-up StatusFlag If Watchdog timer causes system to wake up from Power-down mode, this bit will be set to 1. It must be cleared by software with a write 1 to this bit. Note1: When system in Power-down mode and watchdog time-out, hardware will set WKF and WDTIF. Note2: After one engine clock, this bit can be cleared by writing 1 to it
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

Watchdog timer does not cause system wake-up

#1 : 1

Wake system up from Power-down mode by Watchdog time-out

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.