iLLD_TC29x  1.0
IfxEray.c File Reference

ERAY basic functionality. More...

#include "IfxEray.h"

Go to the source code of this file.

Functions

uint16 IfxEray_calcHeaderCrc (uint8 payloadLength, uint16 frameId, boolean startupFrameIndicator, boolean syncFrameIndicator)
 Calculate and returns the CRC for frame. More...
 
boolean IfxEray_changePocState (Ifx_ERAY *eray, IfxEray_PocCommand pocCommand)
 Changes the Commmunication Controller state. More...
 
void IfxEray_clearAllFlags (Ifx_ERAY *eray)
 Clears all the error flags. More...
 
void IfxEray_enableInterruptLines (Ifx_ERAY *eray)
 Enables all the Interrupt lines. More...
 
void IfxEray_readData (Ifx_ERAY *eray, uint32 *data, uint8 payloadLength)
 Reads the received data from output registers. More...
 
void IfxEray_readFrame (Ifx_ERAY *eray, IfxEray_ReceivedHeader *header, uint32 *data, Ifx_SizeT maxPayloadLength)
 Reads header and data from output buffers. More...
 
void IfxEray_resetModule (Ifx_ERAY *eray)
 Resets the ERAY kernel. More...
 
void IfxEray_setMessageBufferInterruptDestination (Ifx_ERAY *eray, uint8 messageBuffer, uint8 messageBufferDestination)
 Selects between MBSC0 and MBSC1 interrupt destination. More...
 
void IfxEray_setNewDataInterruptDestination (Ifx_ERAY *eray, uint8 ndat, uint8 ndatDestination)
 Selects between NDAT0 and NDAT1 interrupt destination. More...
 
void IfxEray_setPocReady (Ifx_ERAY *eray)
 Sets the POC state to Ready state. More...
 
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...
 
void IfxEray_writeData (Ifx_ERAY *eray, const uint32 *data, uint8 payloadLength)
 Writes data section of a frame to input data registers. More...
 

Detailed Description

ERAY basic functionality.

Version
iLLD_1_0_0_11_0
                            IMPORTANT NOTICE

Infineon Technologies AG (Infineon) is supplying this file for use exclusively with Infineon's microcontroller products. This file can be freely distributed within development tools that are supporting such microcontroller products.

THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. INFINEON SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.

Definition in file IfxEray.c.