SPRUHZ7K August 2015 – April 2024 AM5706 , AM5708 , AM5716 , AM5718 , AM5718-HIREL
Table 22-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 |