iLLD_TC27xD  1.0
Status Functions
Collaboration diagram for Status Functions:

Functions

IFX_INLINE Ifx_ERAY_FSR IfxEray_getFifoStatus (Ifx_ERAY *eray)
 Gets the FIFO status. More...
 
IFX_INLINE boolean IfxEray_getInputBufferBusyHostStatus (Ifx_ERAY *eray)
 Gets the Input Buffer Host Busy status. More...
 
IFX_INLINE uint8 IfxEray_getInputBufferBusyShadowStatus (Ifx_ERAY *eray)
 Gets the Input Buffer Shadow status. More...
 
IFX_INLINE uint8 IfxEray_getOutputBuffer (Ifx_ERAY *eray)
 Gets the output buffer index. More...
 
IFX_INLINE boolean IfxEray_getOutputBufferBusyShadowStatus (Ifx_ERAY *eray)
 Gets the Output Buffer Shadow status. More...
 
IFX_INLINE IfxEray_PocState IfxEray_getPocState (Ifx_ERAY *eray)
 Gets the current POC state. More...
 
IFX_INLINE IfxEray_WakeupChannel IfxEray_getWakeupPatternReceivedChannel (Ifx_ERAY *eray)
 Gets the received wakeup pattern channel. More...
 
IFX_INLINE void IfxEray_waitForPocState (Ifx_ERAY *eray, IfxEray_PocState pocState)
 Waits until the controller enters required POC state. More...
 
IFX_EXTERN boolean IfxEray_changePocState (Ifx_ERAY *eray, IfxEray_PocCommand pocCommand)
 Changes the Commmunication Controller state. More...
 
IFX_EXTERN void IfxEray_setPocReady (Ifx_ERAY *eray)
 Sets the POC state to Ready state. More...
 

Detailed Description

Function Documentation

IFX_EXTERN boolean IfxEray_changePocState ( Ifx_ERAY *  eray,
IfxEray_PocCommand  pocCommand 
)

Changes the Commmunication Controller state.

Parameters
eraypointer to ERAY module registers.
pocCommandPOC command which triggers the Controller state.
Returns
TRUE if command accepted otherwise FALSE.

Definition at line 80 of file IfxEray.c.

Referenced by IfxEray_Eray_allowColdStart(), IfxEray_Eray_changePocState(), IfxEray_Eray_Node_init(), IfxEray_Eray_setPocAllSlots(), IfxEray_Eray_startCommunication(), IfxEray_Eray_wakeUpChannel(), and IfxEray_Eray_wakeUpCluster().

IFX_INLINE Ifx_ERAY_FSR IfxEray_getFifoStatus ( Ifx_ERAY *  eray)

Gets the FIFO status.

Parameters
eraypointer to ERAY module registers.
Returns
FIFO status.

Definition at line 1176 of file IfxEray.h.

Referenced by IfxEray_Eray_receiveFifoFrame().

IFX_INLINE boolean IfxEray_getInputBufferBusyHostStatus ( Ifx_ERAY *  eray)

Gets the Input Buffer Host Busy status.

Parameters
eraypointer to ERAY module registers.
Returns
TRUE if Host is Busy otherwise FALSE.

Definition at line 1184 of file IfxEray.h.

Referenced by IfxEray_Eray_transmitFrame(), and IfxEray_setSlot().

IFX_INLINE uint8 IfxEray_getInputBufferBusyShadowStatus ( Ifx_ERAY *  eray)

Gets the Input Buffer Shadow status.

Parameters
eraypointer to ERAY module registers.
Returns
TRUE if busy otherwise FALSE

Definition at line 1190 of file IfxEray.h.

Referenced by IfxEray_Eray_transmitFrame(), and IfxEray_setSlot().

IFX_INLINE uint8 IfxEray_getOutputBuffer ( Ifx_ERAY *  eray)

Gets the output buffer index.

Parameters
eraypointer to ERAY module registers.
Returns
output buffer index.

Definition at line 1260 of file IfxEray.h.

Referenced by IfxEray_Eray_receiveFifoFrame(), and IfxEray_Eray_receiveFrame().

IFX_INLINE boolean IfxEray_getOutputBufferBusyShadowStatus ( Ifx_ERAY *  eray)

Gets the Output Buffer Shadow status.

Parameters
eraypointer to ERAY module registers.
Returns
TRUE if busy otherwise FALSE

Definition at line 1266 of file IfxEray.h.

Referenced by IfxEray_Eray_receiveFifoFrame(), and IfxEray_Eray_receiveFrame().

IFX_INLINE IfxEray_PocState IfxEray_getPocState ( Ifx_ERAY *  eray)

Gets the current POC state.

Parameters
eraypointer to ERAY module registers.
Returns
current POC state.

Definition at line 1278 of file IfxEray.h.

Referenced by IfxEray_Eray_getPocState(), and IfxEray_Eray_Node_init().

IFX_INLINE IfxEray_WakeupChannel IfxEray_getWakeupPatternReceivedChannel ( Ifx_ERAY *  eray)

Gets the received wakeup pattern channel.

Parameters
eraypointer to ERAY module registers.
Returns
received wakeup pattern channel.

Definition at line 1304 of file IfxEray.h.

Referenced by IfxEray_Eray_getWakeupPatternReceivedChannel().

IFX_EXTERN void IfxEray_setPocReady ( Ifx_ERAY *  eray)

Sets the POC state to Ready state.

Parameters
eraypointer to ERAY module registers.
Returns
None

Definition at line 220 of file IfxEray.c.

Referenced by IfxEray_Eray_Node_init(), and IfxEray_Eray_wakeUpChannel().

IFX_INLINE void IfxEray_waitForPocState ( Ifx_ERAY *  eray,
IfxEray_PocState  pocState 
)

Waits until the controller enters required POC state.

Parameters
eraypointer to ERAY module registers.
pocStatePOC state upto which controller waits.
Returns
None

Definition at line 1704 of file IfxEray.h.

Referenced by IfxEray_Eray_Node_init().