2.1.3.2 DIAG_WDT_GetRSTFRCopy()
uint8_t DIAG_WDT_GetRSTFRCopy (void )
Returns the copy/backup of the RSTFR (Reset Flag 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 RSTFR register or DIAG_RSTFR_COPY_INVALID if the backup in SRAM has been corrupted. |