iLLD_TC27xD  1.0
Watchdog Operative functions
Collaboration diagram for Watchdog Operative functions:

Functions

IFX_INLINE uint16 IfxScuWdt_getCpuWatchdogPasswordInline (Ifx_SCU_WDTCPU *watchdog)
 SCUWDT Inline API to fetch current password of CPU Watchdog module. More...
 
IFX_INLINE boolean IfxScuWdt_getSafetyWatchdogEndInit (void)
 SCUWDT API to fetch current endinit of Safety/System Watchdog module. More...
 
IFX_INLINE uint16 IfxScuWdt_getSafetyWatchdogPasswordInline (void)
 SCUWDT Inline API to fetch current password of Safety Watchdog module. More...
 
IFX_EXTERN void IfxScuWdt_changeCpuWatchdogPassword (uint16 password, uint16 newPassword)
 SCUWDT API to change CPU Watchdog password. More...
 
IFX_EXTERN void IfxScuWdt_changeCpuWatchdogReload (uint16 password, uint16 reload)
 SCUWDT API to change CPU Watchdog timer reload value. More...
 
IFX_EXTERN void IfxScuWdt_changeSafetyWatchdogPassword (uint16 password, uint16 newPassword)
 SCUWDT API to change Safety Watchdog password. More...
 
IFX_EXTERN void IfxScuWdt_changeSafetyWatchdogReload (uint16 password, uint16 reload)
 SCUWDT API to change Safety Watchdog timer reload value. More...
 
IFX_EXTERN void IfxScuWdt_disableCpuWatchdog (uint16 password)
 SCUWDT API to disable CPU Watchdog functionality. More...
 
IFX_EXTERN void IfxScuWdt_disableSafetyWatchdog (uint16 password)
 SCUWDT API to disable Safety Watchdog functionality. More...
 
IFX_EXTERN void IfxScuWdt_enableCpuWatchdog (uint16 password)
 SCUWDT API to enable CPU Watchdog functionality. More...
 
IFX_EXTERN void IfxScuWdt_enableSafetyWatchdog (uint16 password)
 SCUWDT API to enable Safety Watchdog functionality. More...
 
IFX_EXTERN uint16 IfxScuWdt_getCpuWatchdogPassword (void)
 SCUWDT API to fetch current password of CPU Watchdog module. More...
 
IFX_EXTERN uint16 IfxScuWdt_getSafetyWatchdogPassword (void)
 SCUWDT API to fetch current password of Safety Watchdog module. More...
 
IFX_EXTERN void IfxScuWdt_serviceCpuWatchdog (uint16 password)
 SCUWDT API to service CPU Watchdog functionality. More...
 
IFX_EXTERN void IfxScuWdt_serviceSafetyWatchdog (uint16 password)
 SCUWDT API to service Safety Watchdog functionality. More...
 

Detailed Description

Function Documentation

IFX_EXTERN void IfxScuWdt_changeCpuWatchdogPassword ( uint16  password,
uint16  newPassword 
)

SCUWDT API to change CPU Watchdog password.

This API will change password to new one for the corresponding to CPU WDT Hardware module. User need to have the old password stored locally in the caller function, (use IfxScuWdt_getCpuWatchdogPassword).

Parameters
passwordExisting (Application specific) password for the Watchdog module.
newPasswordApplication specific new password to be changed for the Watchdog module.
Returns
None

Definition at line 45 of file IfxScuWdt.c.

IFX_EXTERN void IfxScuWdt_changeCpuWatchdogReload ( uint16  password,
uint16  reload 
)

SCUWDT API to change CPU Watchdog timer reload value.

This API will change Watchdog timer reload value to new one for CPU WDT Hardware module. The Watchdog timers will be reloaded with this value after every serice of Watchdog. User need to have the password stored locally in the caller function, (use IfxScuWdt_getCpuWatchdogPassword).

Parameters
passwordExisting (Application specific) password for the Watchdog module.
reloadReload value for the timer.
Returns
None

Definition at line 76 of file IfxScuWdt.c.

IFX_EXTERN void IfxScuWdt_changeSafetyWatchdogPassword ( uint16  password,
uint16  newPassword 
)

SCUWDT API to change Safety Watchdog password.

This API will change password to new one for the corresponding to Safety WDT Hardware module. User need to have the old password stored locally in the caller function, (use IfxScuWdt_getSafetyWatchdogPassword).

Parameters
passwordExisting (Application specific) password for the Watchdog module.
newPasswordApplication specific new password to be changed for the Watchdog module.
Returns
None

Definition at line 109 of file IfxScuWdt.c.

IFX_EXTERN void IfxScuWdt_changeSafetyWatchdogReload ( uint16  password,
uint16  reload 
)

SCUWDT API to change Safety Watchdog timer reload value.

This API will change Watchdog timer reload value to new one for Safety WDT Hardware module. The Watchdog timers will be reloaded with this value after every serice of Watchdog. User need to have the password stored locally in the caller function, (use IfxScuWdt_getSafetyWatchdogPassword).

Parameters
passwordExisting (Application specific) password for the Watchdog module.
reloadReload value for the timer.
Returns
None

Definition at line 140 of file IfxScuWdt.c.

IFX_EXTERN void IfxScuWdt_disableCpuWatchdog ( uint16  password)

SCUWDT API to disable CPU Watchdog functionality.

This API will disable Watchdog functionality of CPU WDT Hardware module. The Watchdog timers will stop counting after this API call. User need to have the password stored locally in the caller function, (use IfxScuWdt_getCpuWatchdogPassword).

Parameters
passwordExisting (Application specific) password for the Watchdog module.
Returns
None

Definition at line 184 of file IfxScuWdt.c.

Referenced by _Core0_start().

IFX_EXTERN void IfxScuWdt_disableSafetyWatchdog ( uint16  password)

SCUWDT API to disable Safety Watchdog functionality.

This API will disable Watchdog functionality of Safety WDT Hardware module. The Watchdog timers will stop counting after this API call. User need to have the password stored locally in the caller function, (use IfxScuWdt_getSafetyWatchdogPassword).

Parameters
passwordExisting (Application specific) password for the Watchdog module.
Returns
None

Definition at line 196 of file IfxScuWdt.c.

Referenced by _Core0_start().

IFX_EXTERN void IfxScuWdt_enableCpuWatchdog ( uint16  password)

SCUWDT API to enable CPU Watchdog functionality.

This API will enable Watchdog functionality of CPU WDT Hardware module. The Watchdog timers need to be serviced periodically after this API call. User need to have the password stored locally in the caller function, (use IfxScuWdt_getCpuWatchdogPassword).

Parameters
passwordExisting (Application specific) password for the Watchdog module.
Returns
None

Definition at line 204 of file IfxScuWdt.c.

Referenced by _Core0_start().

IFX_EXTERN void IfxScuWdt_enableSafetyWatchdog ( uint16  password)

SCUWDT API to enable Safety Watchdog functionality.

This API will enable Watchdog functionality of Safety WDT Hardware module. The Watchdog timers need to be serviced periodically after this API call. User need to have the password stored locally in the caller function, (use IfxScuWdt_getSafetyWatchdogPassword).

Parameters
passwordExisting (Application specific) password for the Watchdog module.
Returns
None

Definition at line 216 of file IfxScuWdt.c.

Referenced by _Core0_start().

IFX_EXTERN uint16 IfxScuWdt_getCpuWatchdogPassword ( void  )

SCUWDT API to fetch current password of CPU Watchdog module.

This API will fetch current Watchdog password for CPU WDT Hardware module. password is needed to be passed with most of the WDT APIs. Normally this API can be used to store the password locally in the caller function or store the password globally in a global variable at the application memory.

Returns
password Existing (Application specific) password for the Watchdog module.

Definition at line 224 of file IfxScuWdt.c.

Referenced by IfxAsclin_Asc_disableModule(), IfxAsclin_enableModule(), IfxAsclin_Lin_disableModule(), IfxAsclin_resetModule(), IfxAsclin_setSleepMode(), IfxAsclin_Spi_disableModule(), IfxCcu6_enableModule(), IfxCcu6_resetModule(), IfxCcu6_setSleepMode(), IfxCif_resetModule(), IfxCif_setModuleStateRequest(), IfxCpu_invalidateProgramCache(), IfxCpu_setCoreMode(), IfxDma_setSleepMode(), IfxDsadc_Dsadc_initModule(), IfxDsadc_resetModule(), IfxDsadc_setSleepMode(), IfxEray_Eray_initModule(), IfxEray_setSleepMode(), IfxEth_enableModule(), IfxEth_resetModule(), IfxFce_Crc_initCrc(), IfxFce_Crc_initModule(), IfxFce_resetModule(), IfxGpt12_enableModule(), IfxGpt12_resetModule(), IfxGpt12_setSleepMode(), IfxGtm_Cmu_setClkFrequency(), IfxGtm_Cmu_setEclkFrequency(), IfxGtm_Cmu_setGclkFrequency(), IfxGtm_disable(), IfxGtm_enable(), IfxHssl_enableHsctModule(), IfxHssl_enableHsslModule(), IfxHssl_Hssl_initHsctModule(), IfxHssl_resetHsctKernel(), IfxHssl_resetHsslKernel(), IfxHssl_setHsctSleepMode(), IfxHssl_setHsslSleepMode(), IfxI2c_disableModule(), IfxI2c_enableModule(), IfxI2c_resetModule(), IfxI2c_setBaudrate(), IfxIom_Iom_initModule(), IfxIom_resetModule(), IfxIom_setSleepMode(), IfxMsc_clearReset(), IfxMsc_Msc_initModule(), IfxMsc_resetModule(), IfxMsc_setSleepMode(), IfxMultican_Can_initModule(), IfxMultican_deinit(), IfxMultican_resetModule(), IfxMultican_setSleepMode(), IfxPort_resetESR(), IfxPort_setESR(), IfxPort_setGroupPadDriver(), IfxPort_setPinMode(), IfxPort_setPinModeLvdsHigh(), IfxPort_setPinModeLvdsMedium(), IfxPort_setPinPadDriver(), IfxPsi5_Psi5_initChannel(), IfxPsi5_Psi5_initModule(), IfxPsi5_setRxInput(), IfxPsi5s_Psi5s_initChannel(), IfxPsi5s_Psi5s_initModule(), IfxPsi5s_resetModule(), IfxPsi5s_setSleepMode(), IfxQspi_resetModule(), IfxQspi_SpiMaster_initModule(), IfxQspi_SpiSlave_initModule(), IfxScuCcu_init(), IfxScuCcu_initErayPll(), IfxScuCcu_setSpbFrequency(), IfxScuCcu_switchToBackupClock(), IfxSent_resetModule(), IfxSent_Sent_deInitModule(), IfxSent_Sent_initModule(), IfxSent_setSleepMode(), IfxStm_resetModule(), IfxStm_setSleepMode(), IfxVadc_disableModule(), IfxVadc_enableGroupSync(), IfxVadc_enableModule(), IfxVadc_resetKernel(), and IfxVadc_setSleepMode().

IFX_INLINE uint16 IfxScuWdt_getCpuWatchdogPasswordInline ( Ifx_SCU_WDTCPU *  watchdog)

SCUWDT Inline API to fetch current password of CPU Watchdog module.

This API will fetch current Watchdog password for CPU WDT Hardware module. password is needed to be passed with most of the WDT APIs. Normally this API can be used to store the password locally in the caller function or store the password globally in a global variable at the application memory. This API is only meant to be used with startup routines where function call is not possible.

Parameters
watchdogpointer to the watchdog register map of CPU WDT hardware instance
Returns
password Existing (Application specific) password for the Watchdog module.

Definition at line 443 of file IfxScuWdt.h.

Referenced by _Core0_start(), _Core1_start(), _Core2_start(), IfxCpu_enableSegmentSpecificDataAccessCacheability(), IfxCpu_enableSegmentSpecificInstructionAccessCacheability(), IfxCpu_setDataCache(), IfxCpu_setProgramCache(), and IfxScuWdt_getCpuWatchdogPassword().

IFX_INLINE boolean IfxScuWdt_getSafetyWatchdogEndInit ( void  )

SCUWDT API to fetch current endinit of Safety/System Watchdog module.

Returns
Endinit status for the Safety Watchdog module.

Definition at line 457 of file IfxScuWdt.h.

Referenced by IfxMtu_clearSram(), IfxMtu_runCheckerBoardTest(), IfxMtu_runMarchUTest(), IfxMtu_runNonDestructiveInversionTest(), and IfxMtu_writeSramAddress().

IFX_EXTERN uint16 IfxScuWdt_getSafetyWatchdogPassword ( void  )

SCUWDT API to fetch current password of Safety Watchdog module.

This API will fetch current Watchdog password for Safety WDT Hardware module. password is needed to be passed with most of the WDT APIs. Normally this API can be used to store the password locally in the caller function or store the password globally in a global variable at the application memory.

Returns
password Existing (Application specific) password for the Watchdog module.

Definition at line 230 of file IfxScuWdt.c.

Referenced by _Core0_start(), IfxCpu_setCoreMode(), IfxEray_Eray_initModule(), IfxMtu_clearSram(), IfxMtu_runCheckerBoardTest(), IfxMtu_runMarchUTest(), IfxMtu_runNonDestructiveInversionTest(), IfxMtu_writeSramAddress(), IfxScuCcu_init(), IfxScuCcu_initErayPll(), IfxScuCcu_setCpuFrequency(), IfxScuCcu_setGtmFrequency(), IfxScuCcu_setPll2ErayFrequency(), IfxScuCcu_setPll2Frequency(), IfxScuCcu_setSpbFrequency(), IfxScuCcu_setSriFrequency(), IfxScuCcu_switchToBackupClock(), IfxVadc_disableAccess(), and IfxVadc_enableAccess().

IFX_INLINE uint16 IfxScuWdt_getSafetyWatchdogPasswordInline ( void  )

SCUWDT Inline API to fetch current password of Safety Watchdog module.

This API will fetch current Watchdog password for Safety WDT Hardware module. password is needed to be passed with most of the WDT APIs. Normally this API can be used to store the password locally in the caller function or store the password globally in a global variable at the application memory. This API is only meant to be used with startup routines where function call is not possible.

Returns
password Existing (Application specific) password for the Watchdog module.

Definition at line 463 of file IfxScuWdt.h.

Referenced by IfxScuWdt_getSafetyWatchdogPassword().

IFX_EXTERN void IfxScuWdt_serviceCpuWatchdog ( uint16  password)

SCUWDT API to service CPU Watchdog functionality.

This API will service Watchdog functionality corresponding to CPU WDT Hardware module. User need to use this API call periodically. This API results in reloading of the Watchdog Timer. User need to have the password stored locally in the caller function, (use IfxScuWdt_getCpuWatchdogPassword).

Parameters
passwordExisting (Application specific) password for the Watchdog module.
Returns
None

Definition at line 383 of file IfxScuWdt.c.

IFX_EXTERN void IfxScuWdt_serviceSafetyWatchdog ( uint16  password)

SCUWDT API to service Safety Watchdog functionality.

This API will service Watchdog functionality corresponding to Safety WDT Hardware module. User need to use this API call periodically. This API results in reloading of the Watchdog Timer. User need to have the password stored locally in the caller function, (use IfxScuWdt_getSafetyWatchdogPassword).

Parameters
passwordExisting (Application specific) password for the Watchdog module.
Returns
None

Definition at line 389 of file IfxScuWdt.c.