SPRUIE9D May 2017 – May 2024 DRA74P , DRA75P , DRA76P , DRA77P
Table 24-72 lists the steps for initializing the watchdog timer module when the module is to be used for the first time.
Step | Register/Bit Field/Programming Model | Value |
---|---|---|
Execute software reset. | WDSC[1] SOFTRESET | 0x1 |
Wait until reset release? | WDSC[1] SOFTRESET | 0x0 |
Configure idle mode. | WDSC[4:3] IDLEMODE | 0x- |
Enable delay wakeup. | WIRQWAKEEN[1] DLY_WK_ENA | 0x1 |
Enable overflow wakeup. | WIRQWAKEEN[0] OVF_WK_ENA | 0x1 |
Enable delay interrupt. | WIRQENSET[1] ENABLE_DLY | 0x1 |
Enable overflow interrupt. | WIRQENSET[0] ENABLE_OVF | 0x1 |