2.1.3.2 DIAG_WDT_GetRSTFRCopy()
uint8_t DIAG_WDT_GetRSTFRCopy (void )
Returns the copy/backup of the RSTFR register.
This API should be called in main after performing the DIAG_WDT_Startup diagnostic to ensure that the reset reason is handled by the application. It is required because the DIAG_WDT_Startup diagnostic clears the RSTFR register.
| None. |
Copy of Reset Flag register (RSTFR) or DIAG_RSTFR_COPY_INVALID if the backup in SRAM has been corrupted. |
