14.35 diag_wdt_simple_timer.h File Reference
This file contains APIs to test WDT in Simple-Timer Mode using Indirect Time-Slot Monitoring method.
Includes
- stdint.h
Enums
The following is an UML Test State diagram forSimple Watchdog Timer test: .
This enum has the valid status for the WDT test.
This enum is used to show if the backup of the RSTFR register is valid.
- diag_simple_wdt_fsm_state_t
- DIAG_WDT_SIMPLE_FSM_FAULT= 0
-
0 - is assigned to WDT Test State in case of faults
- DIAG_WDT_SIMPLE_FSM_TEST= 1
-
1 - is assigned to WDT Test State to perform WDT Simple Timer Test
- DIAG_WDT_SIMPLE_FSM_OK= 2
-
2 - is assigned to WDT Test State on error-free execution of
- diag_simple_wdt_status_t
- DIAG_WDT_SIMPLE_PASS= 0
-
0 - indicates that the WDT functionality is error-free
- DIAG_WDT_SIMPLE_FAIL= 1
-
1 - indicates that WDT functionality has failed
- diag_RSTFR_backup_status_t
- DIAG_RSTFR_BACKUP_OK= 0
-
0 - indicates that the backed up RSTFR register is not corrupted
- DIAG_RSTFR_BACKUP_ERROR= 1
-
1 - indicates that the backed up RSTFR register is corrupted
Functions
Parameters |
| ||
Returns |
|
Parameters |
| ||
Returns |
|
Parameters |
| ||
Returns |
|