14.36 diag_wdt_windowed_timer.c File Reference

This file contains APIs to test WDT in Windowed-Timer Mode using Indirect Time-Slot Monitoring method.

Includes

  1. xc.h
  2. diag_wdt_windowed_timer.h
  3. ../../diag_common/config/diag_config.h
  4. avr/wdt.h

Functions

Table 14-80. 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-81. 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
Table 14-82. voidconfigure_TCA_for_time_taking (void)
Parameters
void
Returns
void None
Table 14-83. voidrestart_TCA (void)
Parameters
void
Returns
void None
Table 14-84. voidwatchdog_delay (uint16_t delay_counter)
Parameters
delay_counter uint16_t
Returns
None
Table 14-85. voidtear_down (void)
Parameters
void
Returns
void None
Table 14-86. voidDIAG_WDT_WindowedTimer (void)
Parameters
void
Returns
void See DIAG_WDT_WindowedTimer_GetStatus()