2.1.3.2 DIAG_WWDT_GetRSTFRCopy()
uint8_t DIAG_WWDT_GetRSTFRCopy (void )
Returns the copy/backup of the RSTFR. Call in main after performing the DIAG_WWDT_Startup diagnostic to ensure that the reset reason is handled by the application. This is required because the DIAG_WWDT_Startup diagnostic clears the RSTFR register.
None. |
Copy of RSTFR register or DIAG_RSTFR_COPY_INVALID if the backup in SRAM has been corrupted. |