Watchdog Timer
25
Watchdog Timer
25.1
Introduction
The watchdog timer API provides a set of functions for using the watchdog timer module. Functions
are provided to deal with the watchdog timer interrupts, and to handle status and configuration of
the watchdog timer.
The watchdog timer module’s function is to prevent system hangs. The watchdog timer module
consists of a 32-bit down counter, a programmable load register, interrupt generation logic, and a
locking register. Once the watchdog timer has been configured, the lock register can be written to
prevent the timer configuration from being inadvertently altered.
The watchdog timer can be configured to generate an interrupt to the processor upon its first time-
out, and to generate a reset signal upon its second timeout. The watchdog timer module generates
the first timeout signal when the 32-bit counter reaches the zero state after being enabled; en-
abling the counter also enables the watchdog timer interrupt. After the first timeout event, the 32-bit
counter is reloaded with the value of the watchdog timer load register, and the timer resumes count-
ing down from that value. If the timer counts down to its zero state again before the first timeout
interrupt is cleared, and the reset signal has been enabled, the watchdog timer asserts its reset
signal to the system. If the interrupt is cleared before the 32-bit counter reaches its second timeout,
the 32-bit counter is loaded with the value in the load register, and counting resumes from that
value. If the load register is written with a new value while the watchdog timer counter is counting,
then the counter is loaded with the new value and continues counting.
25.2
Functions
Functions
void
(uint32_t ui32Base)
void
(uint32_t ui32Base)
void
(uint32_t ui32Base)
uint32_t
(uint32_t ui32Base, bool bMasked)
void
(uint32_t ui32Base, uint32_t ui32Type)
void
(uint32_t ui32Base)
bool
(uint32_t ui32Base)
uint32_t
(uint32_t ui32Base)
void
(uint32_t ui32Base, uint32_t ui32LoadVal)
void
(uint32_t ui32Base)
void
(uint32_t ui32Base)
bool
(uint32_t ui32Base)
void
(uint32_t ui32Base)
void
(uint32_t ui32Base)
April 8, 2013
341
Содержание Tiva TM4C123GH6PM
Страница 26: ...Boot Loader 26 April 8 2013...
Страница 68: ...Controller Area Network CAN 68 April 8 2013...
Страница 122: ...Hibernation Module 122 April 8 2013...
Страница 136: ...Inter Integrated Circuit I2C 136 April 8 2013...
Страница 152: ...Memory Protection Unit MPU 152 April 8 2013...
Страница 174: ...Pulse Width Modulator PWM Returns None 174 April 8 2013...
Страница 196: ...Synchronous Serial Interface SSI 196 April 8 2013...
Страница 222: ...System Control 222 April 8 2013...
Страница 270: ...UART 270 April 8 2013...
Страница 296: ...uDMA Controller 296 April 8 2013...
Страница 351: ...April 8 2013 351...