iLLD_TC27xD
1.0
|
Functions | |
IFX_INLINE void | IfxEray_receiveData (Ifx_ERAY *eray, boolean dataReceived) |
requests to receive data from message buffer. More... | |
IFX_INLINE void | IfxEray_sendData (Ifx_ERAY *eray, boolean dataTransfered) |
sets the bit to send data in frame. More... | |
IFX_EXTERN uint16 | IfxEray_calcHeaderCrc (uint8 payloadLength, uint16 frameId, boolean startupFrameIndicator, boolean syncFrameIndicator) |
Calculate and returns the CRC for frame. More... | |
IFX_EXTERN void | IfxEray_readData (Ifx_ERAY *eray, uint32 *data, uint8 payloadLength) |
Reads the received data from output registers. More... | |
IFX_EXTERN void | IfxEray_readFrame (Ifx_ERAY *eray, IfxEray_ReceivedHeader *header, uint32 *data, Ifx_SizeT maxPayloadLength) |
Reads header and data from output buffers. More... | |
IFX_EXTERN void | IfxEray_setSlot (Ifx_ERAY *eray, const IfxEray_Header *header, const uint32 *data, const IfxEray_SlotConfig *slotConfig) |
Writes header and data to Input buffers and set the slots. More... | |
IFX_EXTERN void | IfxEray_writeData (Ifx_ERAY *eray, const uint32 *data, uint8 payloadLength) |
Writes data section of a frame to input data registers. More... | |
IFX_EXTERN uint16 IfxEray_calcHeaderCrc | ( | uint8 | payloadLength, |
uint16 | frameId, | ||
boolean | startupFrameIndicator, | ||
boolean | syncFrameIndicator | ||
) |
Calculate and returns the CRC for frame.
payloadLength | payload length configured for frame. |
frameId | slot id |
startupFrameIndicator | whether startup frame is indicated or not. |
syncFrameIndicator | whether sync frame is indicated or not. |
Definition at line 35 of file IfxEray.c.
Referenced by IfxEray_setSlot().
IFX_EXTERN void IfxEray_readData | ( | Ifx_ERAY * | eray, |
uint32 * | data, | ||
uint8 | payloadLength | ||
) |
Reads the received data from output registers.
eray | pointer to ERAY module registers. |
data | pointer to received data buffer. |
payloadLength | payload length received in a frame. |
Definition at line 132 of file IfxEray.c.
Referenced by IfxEray_Eray_readData(), and IfxEray_readFrame().
IFX_EXTERN void IfxEray_readFrame | ( | Ifx_ERAY * | eray, |
IfxEray_ReceivedHeader * | header, | ||
uint32 * | data, | ||
Ifx_SizeT | maxPayloadLength | ||
) |
Reads header and data from output buffers.
eray | pointer to ERAY module registers. |
header | header received in a frame. |
data | data received in a frame. |
maxPayloadLength | maximum payload length received in a frame. |
Definition at line 147 of file IfxEray.c.
Referenced by IfxEray_Eray_readFrame().
IFX_INLINE void IfxEray_receiveData | ( | Ifx_ERAY * | eray, |
boolean | dataReceived | ||
) |
requests to receive data from message buffer.
eray | pointer to ERAY module registers. |
dataReceived | whether data to be received or not. |
Definition at line 1350 of file IfxEray.h.
Referenced by IfxEray_Eray_receiveFifoFrame(), and IfxEray_Eray_receiveFrame().
IFX_INLINE void IfxEray_sendData | ( | Ifx_ERAY * | eray, |
boolean | dataTransfered | ||
) |
sets the bit to send data in frame.
eray | pointer to ERAY module registers. |
dataTransfered | whether data transfered or not. |
Definition at line 1362 of file IfxEray.h.
Referenced by IfxEray_Eray_transmitFrame().
IFX_EXTERN void IfxEray_setSlot | ( | Ifx_ERAY * | eray, |
const IfxEray_Header * | header, | ||
const uint32 * | data, | ||
const IfxEray_SlotConfig * | slotConfig | ||
) |
Writes header and data to Input buffers and set the slots.
eray | pointer to ERAY module registers. |
header | Header section of message buffer. |
data | data section of message buffer. |
slotConfig | pointer slot allocation configuration structure. |
Definition at line 233 of file IfxEray.c.
Referenced by IfxEray_Eray_bufferReconfig().
IFX_EXTERN void IfxEray_writeData | ( | Ifx_ERAY * | eray, |
const uint32 * | data, | ||
uint8 | payloadLength | ||
) |
Writes data section of a frame to input data registers.
eray | pointer to ERAY module registers. |
data | data segment in a frame. |
payloadLength | payload length configured for slot buffer. |
Definition at line 286 of file IfxEray.c.
Referenced by IfxEray_Eray_writeData(), and IfxEray_setSlot().