Watchdog Timer Constant Register (Wdtc - 0Xe000 0004); Watchdog Feed Register (Wdfeed - 0Xe000 0008); Watchdog Timer Value Register (Wdtv - 0Xe000 000C); Block Diagram - Philips LPC214 Series User Manual

Table of Contents

Advertisement

Philips Semiconductors
Volume 1
Table 283: Watchdog Mode register (WDMOD - address 0xE000 0000) bit description
Bit
0
1
2
3
7:4

20.4.2 Watchdog Timer Constant register (WDTC - 0xE000 0004)

The WDTC register determines the time-out value. Every time a feed sequence occurs the
WDTC content is reloaded in to the watchdog timer. It's a 32-bit register with 8 LSB set to
1 on reset. Writing values below 0xFF will cause 0xFF to be loaded to the WDTC. Thus
the minimum time-out interval is T
Table 284: Watchdog Timer Constant register (WDTC - address 0xE000 0004) bit description
Bit
31:0

20.4.3 Watchdog Feed register (WDFEED - 0xE000 0008)

Writing 0xAA followed by 0x55 to this register will reload the watchdog timer to the WDTC
value. This operation will also start the watchdog if it is enabled via the WDMOD register.
Setting the WDEN bit in the WDMOD register is not sufficient to enable the watchdog. A
valid feed sequence must first be completed before the Watchdog is capable of generating
an interrupt/reset. Until then, the watchdog will ignore feed errors. Once 0xAA is written to
the WDFEED register the next operation in the Watchdog register space should be a
WRITE (0x55) to the WDFFED register otherwise the watchdog is triggered. The
interrupt/reset will be generated during the second PCLK following an incorrect access to
a watchdog timer register during a feed sequence.
Table 285: Watchdog Feed register (WDFEED - address 0xE000 0008) bit description
Bit
7:0

20.4.4 Watchdog Timer Value register (WDTV - 0xE000 000C)

The WDTV register is used to read the current value of watchdog timer.
Table 286: Watchdog Timer Value register (WDTV - address 0xE000 000C) bit description
Bit
31:0

20.5 Block diagram

The block diagram of the Watchdog is shown below in the
User manual
Symbol
Description
WDEN
WDEN Watchdog interrupt Enable bit (Set Only).
WDRESET WDRESET Watchdog Reset Enable bit (Set Only).
WDTOF
WDTOF Watchdog Time-Out Flag.
WDINT
WDINT Watchdog interrupt Flag (Read Only).
-
Reserved, user software should not write ones to reserved
bits. The value read from a reserved bit is not defined.
Symbol
Description
Count
Watchdog time-out interval.
Symbol
Description
Feed
Feed value should be 0xAA followed by 0x55.
Symbol
Description
Count
Counter timer value.
Rev. 01 — 15 August 2005
× 256 × 4.
PCLK
UM10139
Chapter 20: WDT
Reset value
0
0
0 (Only after
external reset)
0
NA
Reset value
0x0000 00FF
Reset value
NA
Reset value
0x0000 00FF
Figure
64.
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
289

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lpc2148Lpc2141Lpc2142Lpc2144Lpc2146

Table of Contents