/* When configured to generate an NMI, the watchdog interrupt must still be enabled with  */
void WatchdogIntTypeSet(uint32_t ui32Base, uint32_t ui32Type)
/* When configured to generate an NMI, the watchdog interrupt must still be enabled with  */
void WatchdogIntTypeSet(uint32_t ui32Base, uint32_t ui32Type)
{
    ASSERT((ui32Base == WATCHDOG0_BASE) || (ui32Base == WATCHDOG1_BASE));
    ASSERT((ui32Type == WATCHDOG_INT_TYPE_INT) ||
           (ui32Type == WATCHDOG_INT_TYPE_NMI));
    HWREG(ui32Base + WDT_O_CTL) = (HWREG(ui32Base + WDT_O_CTL) &
                                   ~WDT_CTL_INTTYPE) | ui32Type;
}