Datasheet
Writing to WDTLOAD does not clear an active interrupt. An interrupt must be specifically cleared
by writing to the Watchdog Interrupt Clear (WDTICR) register.
The Watchdog module interrupt and reset generation can be enabled or disabled as required. When
the interrupt is re-enabled, the 32-bit counter is preloaded with the load register value and not its
last state.
10.3 Initialization and Configuration
To use the WDT, its peripheral clock must be enabled by setting the WDT bit in the RCGC0 register.
The Watchdog Timer is configured using the following sequence:
1. Load the WDTLOAD register with the desired timer load value.
2. If the Watchdog is configured to trigger system resets, set the RESEN bit in the WDTCTL register.
3. Set the INTEN bit in the WDTCTL register to enable the Watchdog and lock the control register.
If software requires that all of the watchdog registers are locked, the Watchdog Timer module can
be fully locked by writing any value to the WDTLOCK register. To unlock the Watchdog Timer, write
a value of 0x1ACC.E551.
10.4 Register Map
Table 10-1 on page 375 lists the Watchdog registers. The offset listed is a hexadecimal increment
to the register’s address, relative to the Watchdog Timer base address of 0x4000.0000.
Table 10-1. Watchdog Timer Register Map
See
page
DescriptionResetTypeNameOffset
377Watchdog Load0xFFFF.FFFFR/WWDTLOAD0x000
378Watchdog Value0xFFFF.FFFFROWDTVALUE0x004
379Watchdog Control0x0000.0000R/WWDTCTL0x008
380Watchdog Interrupt Clear-WOWDTICR0x00C
381Watchdog Raw Interrupt Status0x0000.0000ROWDTRIS0x010
382Watchdog Masked Interrupt Status0x0000.0000ROWDTMIS0x014
383Watchdog Test0x0000.0000R/WWDTTEST0x418
384Watchdog Lock0x0000.0000R/WWDTLOCK0xC00
385Watchdog Peripheral Identification 40x0000.0000ROWDTPeriphID40xFD0
386Watchdog Peripheral Identification 50x0000.0000ROWDTPeriphID50xFD4
387Watchdog Peripheral Identification 60x0000.0000ROWDTPeriphID60xFD8
388Watchdog Peripheral Identification 70x0000.0000ROWDTPeriphID70xFDC
389Watchdog Peripheral Identification 00x0000.0005ROWDTPeriphID00xFE0
390Watchdog Peripheral Identification 10x0000.0018ROWDTPeriphID10xFE4
391Watchdog Peripheral Identification 20x0000.0018ROWDTPeriphID20xFE8
375June 18, 2012
Texas Instruments-Production Data
Stellaris
®
LM3S8962 Microcontroller
NRND: Not recommended for new designs.