Watchdog Timer
Parameters:
ui32Base is the base address of the watchdog timer module.
bMasked is false if the raw interrupt status is required and true if the masked interrupt status
is required.
Description:
This returns the interrupt status for the watchdog timer module. Either the raw interrupt status
or the status of interrupt that is allowed to reflect to the processor can be returned.
Returns:
Returns the current interrupt status, where a 1 indicates that the watchdog interrupt is active,
and a 0 indicates that it is not active.
25.2.1.5 ROM_WatchdogIntTypeSet
Sets the type of interrupt generated by the watchdog.
Prototype:
void
ROM_WatchdogIntTypeSet(uint32_t ui32Base,
uint32_t ui32Type)
ROM Location:
ROM_APITABLE is an array of pointers located at 0x0100.0010.
ROM_WATCHDOGTABLE is an array of pointers located at ROM_APITABLE[12].
ROM_WatchdogIntTypeSet is a function pointer located at ROM_WATCHDOGTABLE[15].
Parameters:
ui32Base is the base address of the watchdog timer module.
ui32Type is the type of interrupt to generate.
Description:
This function sets the type of interrupt that is generated if the watchdog timer expires. ui32Type
can be either WATCHDOG_INT_TYPE_INT to generate a standard interrupt (the default) or
WATCHDOG_INT_TYPE_NMI to generate a non-maskable interrupt (NMI).
When configured to generate an NMI, the watchdog interrupt must still be enabled with
ROM_WatchdogIntEnable(), and it must still be cleared inside the NMI handler with
ROM_WatchdogIntClear().
Returns:
None.
25.2.1.6 ROM_WatchdogLock
Enables the watchdog timer lock mechanism.
Prototype:
void
ROM_WatchdogLock(uint32_t ui32Base)
344 April 8, 2013