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. 1.stdint.h

Enums

The following is an UML Test State diagram for SW_WDT_WINDOWED_TIMER_STARTUP_TEST_01: .

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_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_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_RSTFR_BACKUP_OK= 0

DIAG_RSTFR_BACKUP_ERROR= 1

Functions

Table 1. voidDIAG_WDT_WindowedTimer (void).
Parameters
void
Returns
void See DIAG_WDT_WindowedTimer_GetStatus()
Table 2. 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 3. 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