16.38 diag_wdt_simple_timer.c File Reference

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

Includes

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

Functions

Table 16-71. diag_simple_wdt_status_tDIAG_WDT_SimpleTimer_GetStatus (void)
Parameters
void
Returns
diag_simple_wdt_status_t DIAG_WDT_SIMPLE_PASS, DIAG_WDT_SIMPLE_FAIL
Table 16-72. diag_RSTFR_backup_status_tDIAG_WDT_SimpleTimer_GetRSTFRCopy (uint8_t *store_RSTFR_copy_p)
Parameters

[in] store_RSTFR_copy_p

uint8_t *

Returns
diag_RSTFR_backup_status_t DIAG_RSTFR_BACKUP_OK, DIAG_RSTFR_BACKUP_ERROR
Table 16-73. voidconfigure_TCA_for_time_taking (void)
Parameters
void
Returns
void None
Table 16-74. voidrestart_TCA (void)
Parameters
void
Returns
void None
Table 16-75. voidwatchdog_delay (uint16_t delay_counter)
Parameters
delay_counter uint16_t
Returns
None
Table 16-76. voidtear_down (void)
Parameters
void
Returns
void None
Table 16-77. voidDIAG_WDT_SimpleTimer (void)
Parameters
void
Returns
void See DIAG_WDT_SimpleTimer_GetStatus()