iLLD_TC27xD  1.0
Security Watchdog Functions
Collaboration diagram for Security Watchdog Functions:

Functions

IFX_INLINE uint16 IfxCif_getSecurityWatchdogCounterPredivider (void)
 Function to query the currently set watchdog predivider. More...
 
IFX_INLINE IfxCif_State IfxCif_getSecurityWatchdogEnableState (void)
 Function to query the enabled state of the watchdog unit. More...
 
IFX_INLINE void IfxCif_setSecurityWatchdogCounterPredivider (uint16 predivider)
 Function to set the watchdog predivider counter (A value of 0 means that the Watchdog Counters are increased with every CIF clock cycle. Every other value N leads to an increment at every N+1th cycle) More...
 
IFX_INLINE void IfxCif_setSecurityWatchdogEnableState (IfxCif_State enableState)
 Function to enable or disable the watchdog unit. More...
 
IFX_EXTERN void IfxCif_clearSecurityWatchdogInterrupt (IfxCif_SecurityWatchdogInterruptSources interruptSource)
 Function to clear an interrupt. More...
 
IFX_EXTERN
IfxCif_InterruptTriggeredState 
IfxCif_getMaskedSecurityWatchdogInterruptTriggeredState (IfxCif_SecurityWatchdogInterruptSources interruptSource)
 Function to get the masked state of an interrupt. More...
 
IFX_EXTERN
IfxCif_InterruptTriggeredState 
IfxCif_getRawSecurityWatchdogInterruptTriggeredState (IfxCif_SecurityWatchdogInterruptSources interruptSource)
 Function to get the raw state of an interrupt. More...
 
IFX_EXTERN IfxCif_State IfxCif_getSecurityWatchdogInterruptEnableState (IfxCif_SecurityWatchdogInterruptSources interruptSource)
 Function to query the enabled state of an interrupt. More...
 
IFX_EXTERN uint16 IfxCif_getSecurityWatchdogTimeout (IfxCif_ImageTiers tier, IfxCif_SecurityWatchdogTimeoutCounters timeoutCounter)
 Function to query the current value of a timeout counter of one tier. More...
 
IFX_EXTERN void IfxCif_resetSecurityWatchdogCounter (IfxCif_SecurityWatchdogCounters counter)
 Function to reset one watchdog counter. More...
 
IFX_EXTERN void IfxCif_setSecurityWatchdogInterruptEnableState (IfxCif_SecurityWatchdogInterruptSources interruptSource, IfxCif_State interruptEnableState)
 Function to enable or disable an interrupt. More...
 
IFX_EXTERN void IfxCif_setSecurityWatchdogInterruptRequestBit (IfxCif_SecurityWatchdogInterruptSources interruptSource)
 Function to set an interrupt request bit (does not necessarily trigger an interrupt) More...
 
IFX_EXTERN void IfxCif_setSecurityWatchdogTimeout (IfxCif_ImageTiers tier, IfxCif_SecurityWatchdogTimeoutCounters timeoutCounter, uint16 timeout)
 Function to set the timeout for a watchdog timeout counter of one tier. A value of 0 disables the timeout. More...
 

Detailed Description

Function Documentation

IFX_EXTERN void IfxCif_clearSecurityWatchdogInterrupt ( IfxCif_SecurityWatchdogInterruptSources  interruptSource)

Function to clear an interrupt.

Parameters
interruptSourceSource of the interrupt
Returns
None

Definition at line 250 of file IfxCif.c.

IFX_EXTERN IfxCif_InterruptTriggeredState IfxCif_getMaskedSecurityWatchdogInterruptTriggeredState ( IfxCif_SecurityWatchdogInterruptSources  interruptSource)

Function to get the masked state of an interrupt.

Parameters
interruptSourceSource of the interrupt
Returns
IfxCif_InterruptTriggeredState_Triggered if the interrupt request bit is set and the interrupt is enabled, IfxCif_InterruptTriggeredState_Triggered if the interrupt request bit is not set or the interrupt is disabled

Definition at line 1941 of file IfxCif.c.

IFX_EXTERN IfxCif_InterruptTriggeredState IfxCif_getRawSecurityWatchdogInterruptTriggeredState ( IfxCif_SecurityWatchdogInterruptSources  interruptSource)

Function to get the raw state of an interrupt.

Parameters
interruptSourceSource of the interrupt
Returns
IfxCif_InterruptTriggeredState_Triggered if the interrupt request bit is set, IfxCif_InterruptTriggeredState_NotTriggered if the interrupt request bit is not set

Definition at line 2436 of file IfxCif.c.

IFX_INLINE uint16 IfxCif_getSecurityWatchdogCounterPredivider ( void  )

Function to query the currently set watchdog predivider.

Returns
Currently set predivider

Definition at line 2696 of file IfxCif.h.

IFX_INLINE IfxCif_State IfxCif_getSecurityWatchdogEnableState ( void  )

Function to query the enabled state of the watchdog unit.

Returns
IfxCif_State_Enabled if the watchdog unit is enabled, IfxCif_State_Disabled if the watchdog unit is disabled

Definition at line 2702 of file IfxCif.h.

IFX_EXTERN IfxCif_State IfxCif_getSecurityWatchdogInterruptEnableState ( IfxCif_SecurityWatchdogInterruptSources  interruptSource)

Function to query the enabled state of an interrupt.

Parameters
interruptSourceSource of the interrupt
Returns
IfxCif_State_Enabled if the interrupt is enabled, IfxCif_State_Disabled if the interrupt is disabled

Definition at line 2465 of file IfxCif.c.

IFX_EXTERN uint16 IfxCif_getSecurityWatchdogTimeout ( IfxCif_ImageTiers  tier,
IfxCif_SecurityWatchdogTimeoutCounters  timeoutCounter 
)

Function to query the current value of a timeout counter of one tier.

Parameters
tierTier for which to query the timeout counter
timeoutCounterTimeout counter to query
Returns
Current timeout

Definition at line 2494 of file IfxCif.c.

IFX_EXTERN void IfxCif_resetSecurityWatchdogCounter ( IfxCif_SecurityWatchdogCounters  counter)

Function to reset one watchdog counter.

Parameters
counterCounter to reset
Returns
None

Definition at line 2680 of file IfxCif.c.

IFX_INLINE void IfxCif_setSecurityWatchdogCounterPredivider ( uint16  predivider)

Function to set the watchdog predivider counter (A value of 0 means that the Watchdog Counters are increased with every CIF clock cycle. Every other value N leads to an increment at every N+1th cycle)

Parameters
predividerPredivider to set
Returns
None

Definition at line 2995 of file IfxCif.h.

IFX_INLINE void IfxCif_setSecurityWatchdogEnableState ( IfxCif_State  enableState)

Function to enable or disable the watchdog unit.

Parameters
enableStateIfxCif_State_Enabled to enable the watchdog unit, IfxCif_State_Disabled to disable the watchdog unit
Returns
None

Definition at line 3001 of file IfxCif.h.

IFX_EXTERN void IfxCif_setSecurityWatchdogInterruptEnableState ( IfxCif_SecurityWatchdogInterruptSources  interruptSource,
IfxCif_State  interruptEnableState 
)

Function to enable or disable an interrupt.

Parameters
interruptSourceSource of the interrupt to enable or disable
interruptEnableStateIfxCif_State_Enabled to enable the interrupt, IfxCif_State_Disabled to disable the interrupt
Returns
None

Definition at line 3812 of file IfxCif.c.

IFX_EXTERN void IfxCif_setSecurityWatchdogInterruptRequestBit ( IfxCif_SecurityWatchdogInterruptSources  interruptSource)

Function to set an interrupt request bit (does not necessarily trigger an interrupt)

Parameters
interruptSourceSource of the interrupt
Returns
None

Definition at line 3837 of file IfxCif.c.

IFX_EXTERN void IfxCif_setSecurityWatchdogTimeout ( IfxCif_ImageTiers  tier,
IfxCif_SecurityWatchdogTimeoutCounters  timeoutCounter,
uint16  timeout 
)

Function to set the timeout for a watchdog timeout counter of one tier. A value of 0 disables the timeout.

Parameters
tierTier for which to set the timeout
timeoutCounterTimeout counter for which to set the timeout
timeoutTimeout to set
Returns
None

Definition at line 3862 of file IfxCif.c.