14.37 diag_wdt_windowed_timer.h File Reference

This file contains API prototypes for Indirect Time-Slot Monitoring based WDT Test (Windowed-Timer Mode)

Includes

  1. stdint.h

Enums

The following is an UML Test State diagram for Windowed 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_windowed_wdt_fsm_state_t
DIAG_WDT_WINDOW_FSM_FAULT= 0

0 - is assigned to WDT Test State in case of faults

DIAG_WDT_WINDOW_FSM_1= 1

1 - is assigned to WDT Test State to perform WDT Windowed Timer Test

DIAG_WDT_WINDOW_FSM_2= 2

2 - is assigned to WDT Test State to perform WDT Windowed Timer Test in the closed part of the WDT counter window

DIAG_WDT_WINDOW_FSM_OK= 3

3 - is assigned to WDT Test State on error-free execution of

diag_windowed_wdt_status_t
DIAG_WDT_WINDOW_PASS= 0

0 - indicates that the WDT functionality is error-free

DIAG_WDT_WINDOW_FAIL= 1

1 - indicates that WDT functionality has failed

diag_wwdt_RSTFR_backup_status_t
DIAG_RSTFR_BACKUP_OK= 0

DIAG_RSTFR_BACKUP_ERROR= 1

Functions

Table 14-87. voidDIAG_WDT_WindowedTimer (void)
Parameters
void
Returns
void See DIAG_WDT_WindowedTimer_GetStatus()
Table 14-88. diag_windowed_wdt_status_tDIAG_WDT_WindowedTimer_GetStatus (void)
Parameters
void
Returns
diag_windowed_wdt_status_t DIAG_WDT_WINDOW_PASS, DIAG_WDT_WINDOW_FAIL
Table 14-89. diag_wwdt_RSTFR_backup_status_tDIAG_WDT_WindowedTimer_GetRSTFRCopy (uint8_t *store_RSTFR_copy_p)
Parameters

[in] store_RSTFR_copy_p

uint8_t *

Returns
diag_wwdt_RSTFR_backup_status_t DIAG_RSTFR_BACKUP_OK, DIAG_RSTFR_BACKUP_ERROR