iLLD_TC27xD  1.0
Message Objects
Collaboration diagram for Message Objects:

Functions

IFX_INLINE void IfxMultican_MsgObj_clearDataRegisters (Ifx_CAN_MO *hwObj)
 Sets priority class of message object. More...
 
IFX_INLINE void IfxMultican_MsgObj_clearFifoGatewayPointers (Ifx_CAN_MO *hwObj)
 Clears the FIFO/GateWay pointers of a message object. More...
 
IFX_INLINE void IfxMultican_MsgObj_clearRxPending (Ifx_CAN_MO *hwObj)
 Clear the RX pending flag of a message object. More...
 
IFX_INLINE void IfxMultican_MsgObj_clearTxPending (Ifx_CAN_MO *hwObj)
 Clear the TX pending flag of a message object. More...
 
IFX_INLINE IfxMultican_MsgObjId IfxMultican_MsgObj_getBottomObjectPointer (Ifx_CAN_MO *hwObj)
 Gets bottom object pointer of the base message object. More...
 
IFX_INLINE
IfxMultican_DataLengthCode 
IfxMultican_MsgObj_getDataLengthCode (Ifx_CAN_MO *hwObj)
 Gets data length code of a message object. More...
 
IFX_INLINE uint32 IfxMultican_MsgObj_getMessageId (Ifx_CAN_MO *hwObj)
 Gets message identifier of message object. More...
 
IFX_INLINE IfxMultican_MsgObjId IfxMultican_MsgObj_getNextObjectPointer (Ifx_CAN_MO *hwObj)
 Returns next object pointer (PNEXT) of the current message object. More...
 
IFX_INLINE Ifx_CAN_MO * IfxMultican_MsgObj_getPointer (Ifx_CAN *mcan, IfxMultican_MsgObjId msgObjId)
 Get base address of a message object register. More...
 
IFX_INLINE boolean IfxMultican_MsgObj_isExtendedFrame (Ifx_CAN_MO *hwObj)
 Get the message object status. More...
 
IFX_INLINE boolean IfxMultican_MsgObj_isRxPending (Ifx_CAN_MO *hwObj)
 Returns the RX pending flag of a message object. More...
 
IFX_INLINE boolean IfxMultican_MsgObj_isTransmitRequested (Ifx_CAN_MO *hwObj)
 Returns the TX Request flag of a message object. More...
 
IFX_INLINE boolean IfxMultican_MsgObj_isTxPending (Ifx_CAN_MO *hwObj)
 Returns the TX pending flag of a message object. More...
 
IFX_INLINE void IfxMultican_MsgObj_setAcceptanceMask (Ifx_CAN_MO *hwObj, uint32 mask, boolean extendedFrame)
 Sets acceptance mask for the message identifier. More...
 
IFX_INLINE void IfxMultican_MsgObj_setBitRateSwitch (Ifx_CAN_MO *hwObj, boolean enabled)
 Enable / Disable bit rate switch of a message object. More...
 
IFX_INLINE void IfxMultican_MsgObj_setBottomObjectPointer (Ifx_CAN_MO *hwObj, sint32 objNumber)
 Sets bottom object pointer of the base message object. More...
 
IFX_INLINE void IfxMultican_MsgObj_setCurrentObjectPointer (Ifx_CAN_MO *hwObj, sint32 objNumber)
 Sets bottom current pointer of the base message object. More...
 
IFX_INLINE void IfxMultican_MsgObj_setDataCopy (Ifx_CAN_MO *hwObj, boolean enabled)
 Enable / Disable data copy of a gateway source message object. More...
 
IFX_INLINE void IfxMultican_MsgObj_setDataLengthCode (Ifx_CAN_MO *hwObj, IfxMultican_DataLengthCode code)
 Sets data length code of a message object. More...
 
IFX_INLINE void IfxMultican_MsgObj_setDataLengthCodeCopy (Ifx_CAN_MO *hwObj, boolean enabled)
 Enable / Disable data length code copy of a gateway source message object. More...
 
IFX_INLINE void IfxMultican_MsgObj_setExtendedDataLength (Ifx_CAN_MO *hwObj, boolean enabled)
 Enable / Disable extended data length of a message object. More...
 
IFX_INLINE void IfxMultican_MsgObj_setGatewayDataFrameSend (Ifx_CAN_MO *hwObj, boolean enabled)
 Enable / Disable gateway data frame send of a gateway source message object which in turn sets the TXRQ of the gateway deatination object. More...
 
IFX_INLINE void IfxMultican_MsgObj_setIdentifierCopy (Ifx_CAN_MO *hwObj, boolean enabled)
 Enable / Disable identifier copy of a gateway source message object. More...
 
IFX_INLINE void IfxMultican_MsgObj_setIdentifierExtension (Ifx_CAN_MO *hwObj, boolean extension)
 Sets identifier extension of message object. More...
 
IFX_INLINE void IfxMultican_MsgObj_setMatchingId (Ifx_CAN_MO *hwObj, boolean matchingId)
 Sets acceptance mask for the message IDE bit. More...
 
IFX_INLINE void IfxMultican_MsgObj_setMessageId (Ifx_CAN_MO *hwObj, uint32 messageId, boolean extendedFrame)
 Sets message identifier of message object. More...
 
IFX_INLINE void IfxMultican_MsgObj_setMessageMode (Ifx_CAN_MO *hwObj, IfxMultican_MsgObjMode mode)
 Sets the message mode of a message object. More...
 
IFX_INLINE void IfxMultican_MsgObj_setMessagePendingNumber (Ifx_CAN_MO *hwObj, IfxMultican_MsgObjId messageNumber)
 Sets message pending number that selects the bit position of the bit in the Message Pending Register
that is set upon a message object n receive/transmit interrupt. More...
 
IFX_INLINE void IfxMultican_MsgObj_setOverflowInterrupt (Ifx_CAN_MO *hwObj, boolean enabled)
 Enable / Disable overflow interrupt of a message object. More...
 
IFX_INLINE void IfxMultican_MsgObj_setPriorityClass (Ifx_CAN_MO *hwObj, IfxMultican_Priority priority)
 Sets priority class of message object. More...
 
IFX_INLINE void IfxMultican_MsgObj_setReceiveInterrupt (Ifx_CAN_MO *hwObj, boolean enabled)
 Enable / Disable receive interrupt of a message object. More...
 
IFX_INLINE void IfxMultican_MsgObj_setReceiveInterruptNodePointer (Ifx_CAN_MO *hwObj, IfxMultican_SrcId srcId)
 Sets receive interrupt node pointer of message object. More...
 
IFX_INLINE void IfxMultican_MsgObj_setRemoteMonitoring (Ifx_CAN_MO *hwObj, boolean enabled)
 Enable / Disable transmit object remote monitoring of a message object. More...
 
IFX_INLINE void IfxMultican_MsgObj_setSelectObjectPointer (Ifx_CAN_MO *hwObj, sint32 objNumber)
 Sets bottom object select pointer of the base message object. More...
 
IFX_INLINE void IfxMultican_MsgObj_setSingleDataTransfer (Ifx_CAN_MO *hwObj, boolean enabled)
 Enable / Disable single data transfer of a message object. More...
 
IFX_INLINE void IfxMultican_MsgObj_setSingleTransmitTrial (Ifx_CAN_MO *hwObj, boolean enabled)
 Enable / Disable single transmit trial of a message object. More...
 
IFX_INLINE void IfxMultican_MsgObj_setTopObjectPointer (Ifx_CAN_MO *hwObj, sint32 objNumber)
 Sets top object pointer of the base message object. More...
 
IFX_INLINE void IfxMultican_MsgObj_setTransmitInterrupt (Ifx_CAN_MO *hwObj, boolean enabled)
 Enable / Disable transmit interrupt of a message object. More...
 
IFX_INLINE void IfxMultican_MsgObj_setTransmitInterruptNodePointer (Ifx_CAN_MO *hwObj, IfxMultican_SrcId srcId)
 Sets transmit interrupt node pointer of message object. More...
 
IFX_EXTERN boolean IfxMultican_MsgObj_cancelSend (Ifx_CAN_MO *hwObj)
 Cancel pending TX request by invalidating the request, only when frame transmission has not been started. More...
 
IFX_EXTERN void IfxMultican_MsgObj_clearStatusFlag (Ifx_CAN_MO *hwObj, IfxMultican_MsgObjStatusFlag flag)
 Clears the selected status flag of a message object. More...
 
IFX_EXTERN void IfxMultican_MsgObj_deinit (Ifx_CAN *mcan, IfxMultican_MsgObjId msgObjId)
 Reset the message object
Append the message object to the end of idle list and reset message object registers. More...
 
IFX_EXTERN IfxMultican_MsgObjId IfxMultican_MsgObj_getPendingId (Ifx_CAN *mcan, IfxMultican_MsgObjGroup msgObjGroup)
 Get message object ID which has TX/RX pending flag from a message object group. More...
 
IFX_EXTERN IfxMultican_MsgObjStat IfxMultican_MsgObj_getStatus (Ifx_CAN_MO *hwObj)
 Get the message object status. More...
 
IFX_EXTERN boolean IfxMultican_MsgObj_getStatusFlag (Ifx_CAN_MO *hwObj, IfxMultican_MsgObjStatusFlag flag)
 Gets the status of the selected status flag of a message object. More...
 
IFX_EXTERN IfxMultican_Status IfxMultican_MsgObj_readLongFrame (Ifx_CAN *mcan, IfxMultican_MsgObjId msgObjId, IfxMultican_Message *msg, uint32 *data)
 Read a received CAN long frame. More...
 
IFX_EXTERN IfxMultican_Status IfxMultican_MsgObj_readMessage (Ifx_CAN_MO *hwObj, IfxMultican_Message *msg)
 Read a received CAN message. More...
 
IFX_EXTERN IfxMultican_Status IfxMultican_MsgObj_sendLongFrame (Ifx_CAN *mcan, IfxMultican_MsgObjId msgObjId, IfxMultican_Message *msg, uint32 *data)
 Send a CAN Long frame message. More...
 
IFX_EXTERN IfxMultican_Status IfxMultican_MsgObj_sendMessage (Ifx_CAN_MO *hwObj, const IfxMultican_Message *msg)
 Send a CAN message. More...
 
IFX_EXTERN void IfxMultican_MsgObj_setFilter (Ifx_CAN_MO *hwObj, boolean extend, uint32 id, uint32 accMask)
 Set message object filter. More...
 
IFX_EXTERN void IfxMultican_MsgObj_setStatusFlag (Ifx_CAN_MO *hwObj, IfxMultican_MsgObjStatusFlag flag)
 Sets the selected status flag of a message object. More...
 

Detailed Description

Function Documentation

IFX_EXTERN boolean IfxMultican_MsgObj_cancelSend ( Ifx_CAN_MO *  hwObj)

Cancel pending TX request by invalidating the request, only when frame transmission has not been started.

Parameters
hwObjPointer to CAN message object registers
Returns
TRUE if cancellation was successfully executed

Definition at line 55 of file IfxMultican.c.

Referenced by IfxMultican_Can_MsgObj_cancelSend().

IFX_INLINE void IfxMultican_MsgObj_clearDataRegisters ( Ifx_CAN_MO *  hwObj)

Sets priority class of message object.

Parameters
hwObjPointer to CAN message object registers
Returns
None

Definition at line 1081 of file IfxMultican.h.

Referenced by IfxMultican_Can_MsgObj_init().

IFX_INLINE void IfxMultican_MsgObj_clearFifoGatewayPointers ( Ifx_CAN_MO *  hwObj)

Clears the FIFO/GateWay pointers of a message object.

Parameters
hwObjPointer to CAN message object registers
Returns
None

Definition at line 1088 of file IfxMultican.h.

Referenced by IfxMultican_Can_MsgObj_init().

IFX_INLINE void IfxMultican_MsgObj_clearRxPending ( Ifx_CAN_MO *  hwObj)

Clear the RX pending flag of a message object.

Parameters
hwObjPointer to CAN message object registers
Returns
None

Definition at line 1094 of file IfxMultican.h.

Referenced by IfxMultican_Can_MsgObj_clearRxPending(), and IfxMultican_Can_MsgObj_readMessage().

IFX_EXTERN void IfxMultican_MsgObj_clearStatusFlag ( Ifx_CAN_MO *  hwObj,
IfxMultican_MsgObjStatusFlag  flag 
)

Clears the selected status flag of a message object.

Parameters
hwObjPointer to CAN message object registers
flagMessage Object status flag
Returns
None

Definition at line 75 of file IfxMultican.c.

Referenced by IfxMultican_Can_MsgObj_init(), IfxMultican_MsgObj_clearRxPending(), IfxMultican_MsgObj_clearTxPending(), IfxMultican_MsgObj_readLongFrame(), IfxMultican_MsgObj_readMessage(), IfxMultican_MsgObj_sendLongFrame(), and IfxMultican_MsgObj_sendMessage().

IFX_INLINE void IfxMultican_MsgObj_clearTxPending ( Ifx_CAN_MO *  hwObj)

Clear the TX pending flag of a message object.

Parameters
hwObjPointer to CAN message object registers
Returns
None

Definition at line 1100 of file IfxMultican.h.

Referenced by IfxMultican_Can_MsgObj_clearTxPending().

IFX_EXTERN void IfxMultican_MsgObj_deinit ( Ifx_CAN *  mcan,
IfxMultican_MsgObjId  msgObjId 
)

Reset the message object
Append the message object to the end of idle list and reset message object registers.

Parameters
mcanSpecifies the CAN module
msgObjIdSpecifies the message object index. Range = [0, IFXMULTICAN_NUM_MESSAGE_OBJECTS - 1]
Returns
None

Definition at line 85 of file IfxMultican.c.

Referenced by IfxMultican_Can_initModule(), IfxMultican_Can_MsgObj_deinit(), and IfxMultican_deinit().

IFX_INLINE IfxMultican_MsgObjId IfxMultican_MsgObj_getBottomObjectPointer ( Ifx_CAN_MO *  hwObj)

Gets bottom object pointer of the base message object.

Parameters
hwObjPointer to CAN message object registers
Returns
Bottom message object number

Definition at line 1106 of file IfxMultican.h.

Referenced by IfxMultican_Can_MsgObj_readMessage(), and IfxMultican_Can_MsgObj_sendMessage().

IFX_INLINE IfxMultican_DataLengthCode IfxMultican_MsgObj_getDataLengthCode ( Ifx_CAN_MO *  hwObj)

Gets data length code of a message object.

Parameters
hwObjPointer to CAN message object registers
Returns
CAN frame data length code

Definition at line 1112 of file IfxMultican.h.

IFX_INLINE uint32 IfxMultican_MsgObj_getMessageId ( Ifx_CAN_MO *  hwObj)

Gets message identifier of message object.

Parameters
hwObjPointer to CAN message object registers
Returns
messageId

Definition at line 1118 of file IfxMultican.h.

IFX_INLINE IfxMultican_MsgObjId IfxMultican_MsgObj_getNextObjectPointer ( Ifx_CAN_MO *  hwObj)

Returns next object pointer (PNEXT) of the current message object.

Parameters
hwObjPointer to CAN message object registers
Returns
Next message object number

Definition at line 1126 of file IfxMultican.h.

IFX_EXTERN IfxMultican_MsgObjId IfxMultican_MsgObj_getPendingId ( Ifx_CAN *  mcan,
IfxMultican_MsgObjGroup  msgObjGroup 
)

Get message object ID which has TX/RX pending flag from a message object group.

Parameters
mcanSpecifies the CAN module
msgObjGroupMessage object group
Returns
Message object index

Definition at line 197 of file IfxMultican.c.

Referenced by IfxMultican_Can_MsgObj_getPendingId().

IFX_EXTERN IfxMultican_MsgObjStat IfxMultican_MsgObj_getStatus ( Ifx_CAN_MO *  hwObj)

Get the message object status.

Parameters
hwObjPointer to CAN message object registers
Returns
IfxMultican_MsgObjStat bitfield

Definition at line 212 of file IfxMultican.c.

Referenced by IfxMultican_Can_MsgObj_getStatus(), IfxMultican_MsgObj_isRxPending(), IfxMultican_MsgObj_isTransmitRequested(), and IfxMultican_MsgObj_isTxPending().

IFX_EXTERN boolean IfxMultican_MsgObj_getStatusFlag ( Ifx_CAN_MO *  hwObj,
IfxMultican_MsgObjStatusFlag  flag 
)

Gets the status of the selected status flag of a message object.

Parameters
hwObjPointer to CAN message object registers
flagMessage Object status flag
Returns
Status (TRUE / FALSE)

Definition at line 222 of file IfxMultican.c.

IFX_INLINE boolean IfxMultican_MsgObj_isExtendedFrame ( Ifx_CAN_MO *  hwObj)

Get the message object status.

Parameters
hwObjPointer to CAN message object registers
Returns
Extended frame: True Standard frame: False

Definition at line 1138 of file IfxMultican.h.

Referenced by IfxMultican_MsgObj_sendLongFrame(), and IfxMultican_MsgObj_sendMessage().

IFX_INLINE boolean IfxMultican_MsgObj_isRxPending ( Ifx_CAN_MO *  hwObj)

Returns the RX pending flag of a message object.

Parameters
hwObjPointer to CAN message object registers
Returns
TRUE of the RX pending flag of a message object is set

Definition at line 1144 of file IfxMultican.h.

Referenced by IfxMultican_Can_MsgObj_isRxPending().

IFX_INLINE boolean IfxMultican_MsgObj_isTransmitRequested ( Ifx_CAN_MO *  hwObj)

Returns the TX Request flag of a message object.

Parameters
hwObjPointer to CAN message object registers
Returns
TRUE of the TX Request flag of a message object is set

Definition at line 1151 of file IfxMultican.h.

Referenced by IfxMultican_Can_MsgObj_isTransmitRequested().

IFX_INLINE boolean IfxMultican_MsgObj_isTxPending ( Ifx_CAN_MO *  hwObj)

Returns the TX pending flag of a message object.

Parameters
hwObjPointer to CAN message object registers
Returns
TRUE of the TX pending flag of a message object is set

Definition at line 1158 of file IfxMultican.h.

Referenced by IfxMultican_Can_MsgObj_isTxPending().

IFX_EXTERN IfxMultican_Status IfxMultican_MsgObj_readLongFrame ( Ifx_CAN *  mcan,
IfxMultican_MsgObjId  msgObjId,
IfxMultican_Message msg,
uint32 data 
)

Read a received CAN long frame.

Parameters
mcanSpecifies the CAN module
msgObjIdSpecifies the message object index. Range = [0, IFXMULTICAN_NUM_MESSAGE_OBJECTS - 1]
msgThe message which should be initialized
dataPointer to data (in words)
Returns
IfxMultican_Status_newData: if the operation was successful
IfxMultican_Status_newDataButMessageLost: if the one message lost and last new data is retrieved successfully
IfxMultican_Status_messageLost: if the message lost and new data is not yet ready
IfxMultican_Status_receiveEmpty: if no message is been received

Definition at line 230 of file IfxMultican.c.

Referenced by IfxMultican_Can_MsgObj_readLongFrame().

IFX_EXTERN IfxMultican_Status IfxMultican_MsgObj_readMessage ( Ifx_CAN_MO *  hwObj,
IfxMultican_Message msg 
)

Read a received CAN message.

Parameters
hwObjPointer to CAN message object registers
msgThis parameter is filled in by the function with the received message. Also when reading is not successful.
Returns
IfxMultican_Status_newData: if the operation was successful
IfxMultican_Status_newDataButMessageLost: if the one message lost and last new data is retrieved successfully
IfxMultican_Status_messageLost: if the message lost and new data is not yet ready
IfxMultican_Status_receiveEmpty: if no message is been received

Definition at line 292 of file IfxMultican.c.

Referenced by IfxMultican_Can_MsgObj_readMessage().

IFX_EXTERN IfxMultican_Status IfxMultican_MsgObj_sendLongFrame ( Ifx_CAN *  mcan,
IfxMultican_MsgObjId  msgObjId,
IfxMultican_Message msg,
uint32 data 
)

Send a CAN Long frame message.

Parameters
mcanSpecifies the CAN module
msgObjIdSpecifies the message object index. Range = [0, IFXMULTICAN_NUM_MESSAGE_OBJECTS - 1]
msgThe message which should be initialized
dataPointer to data (in words)
Returns
IfxMultican_Status_ok: if the operation was successful IfxMultican_Status_notSentBusy: if the operation was unsuccessful due to hardware is busy

Definition at line 344 of file IfxMultican.c.

Referenced by IfxMultican_Can_MsgObj_sendLongFrame().

IFX_EXTERN IfxMultican_Status IfxMultican_MsgObj_sendMessage ( Ifx_CAN_MO *  hwObj,
const IfxMultican_Message msg 
)

Send a CAN message.

Parameters
hwObjPointer to CAN message object registers
msgSpecifies the message to be send
Returns
IfxMultican_Status_ok: if the operation was successful IfxMultican_Status_notSentBusy: if the operation was unsuccessful due to hardware is busy

Definition at line 464 of file IfxMultican.c.

Referenced by IfxMultican_Can_MsgObj_sendMessage().

IFX_INLINE void IfxMultican_MsgObj_setAcceptanceMask ( Ifx_CAN_MO *  hwObj,
uint32  mask,
boolean  extendedFrame 
)

Sets acceptance mask for the message identifier.

Parameters
hwObjPointer to CAN message object registers
maskAcceptance Mask for the message identifier
extendedFrameExtended frame enabled / disabled
Returns
None

Definition at line 1165 of file IfxMultican.h.

Referenced by IfxMultican_Can_MsgObj_init().

IFX_INLINE void IfxMultican_MsgObj_setBitRateSwitch ( Ifx_CAN_MO *  hwObj,
boolean  enabled 
)

Enable / Disable bit rate switch of a message object.

Parameters
hwObjPointer to CAN message object registers
enabledEnable / disable choice
Returns
None

Definition at line 1171 of file IfxMultican.h.

Referenced by IfxMultican_Can_MsgObj_init(), and IfxMultican_MsgObj_sendLongFrame().

IFX_INLINE void IfxMultican_MsgObj_setBottomObjectPointer ( Ifx_CAN_MO *  hwObj,
sint32  objNumber 
)

Sets bottom object pointer of the base message object.

Parameters
hwObjPointer to CAN message object registers
objNumberBottom message object number
Returns
None

Definition at line 1177 of file IfxMultican.h.

Referenced by IfxMultican_Can_MsgObj_init().

IFX_INLINE void IfxMultican_MsgObj_setCurrentObjectPointer ( Ifx_CAN_MO *  hwObj,
sint32  objNumber 
)

Sets bottom current pointer of the base message object.

Parameters
hwObjPointer to CAN message object registers
objNumberCurrent message object number
Returns
None

Definition at line 1183 of file IfxMultican.h.

Referenced by IfxMultican_Can_MsgObj_init().

IFX_INLINE void IfxMultican_MsgObj_setDataCopy ( Ifx_CAN_MO *  hwObj,
boolean  enabled 
)

Enable / Disable data copy of a gateway source message object.

Parameters
hwObjPointer to CAN message object registers
enabledEnable / disable choice
Returns
None

Definition at line 1189 of file IfxMultican.h.

Referenced by IfxMultican_Can_MsgObj_init().

IFX_INLINE void IfxMultican_MsgObj_setDataLengthCode ( Ifx_CAN_MO *  hwObj,
IfxMultican_DataLengthCode  code 
)

Sets data length code of a message object.

Parameters
hwObjPointer to CAN message object registers
codeCAN frame data length code
Returns
None

Definition at line 1195 of file IfxMultican.h.

Referenced by IfxMultican_Can_MsgObj_init(), IfxMultican_MsgObj_sendLongFrame(), and IfxMultican_MsgObj_sendMessage().

IFX_INLINE void IfxMultican_MsgObj_setDataLengthCodeCopy ( Ifx_CAN_MO *  hwObj,
boolean  enabled 
)

Enable / Disable data length code copy of a gateway source message object.

Parameters
hwObjPointer to CAN message object registers
enabledEnable / disable choice
Returns
None

Definition at line 1201 of file IfxMultican.h.

Referenced by IfxMultican_Can_MsgObj_init().

IFX_INLINE void IfxMultican_MsgObj_setExtendedDataLength ( Ifx_CAN_MO *  hwObj,
boolean  enabled 
)

Enable / Disable extended data length of a message object.

Parameters
hwObjPointer to CAN message object registers
enabledEnable / disable choice
Returns
None

Definition at line 1207 of file IfxMultican.h.

Referenced by IfxMultican_Can_MsgObj_init().

IFX_EXTERN void IfxMultican_MsgObj_setFilter ( Ifx_CAN_MO *  hwObj,
boolean  extend,
uint32  id,
uint32  accMask 
)

Set message object filter.

Parameters
hwObjPointer to CAN message object registers
extendTRUE/FALSE : extended ID
idID
accMaskacceptance mask
Returns
None

Definition at line 512 of file IfxMultican.c.

IFX_INLINE void IfxMultican_MsgObj_setGatewayDataFrameSend ( Ifx_CAN_MO *  hwObj,
boolean  enabled 
)

Enable / Disable gateway data frame send of a gateway source message object which in turn sets the TXRQ of the gateway deatination object.

Parameters
hwObjPointer to CAN message object registers
enabledEnable / disable choice
Returns
None

Definition at line 1213 of file IfxMultican.h.

Referenced by IfxMultican_Can_MsgObj_init().

IFX_INLINE void IfxMultican_MsgObj_setIdentifierCopy ( Ifx_CAN_MO *  hwObj,
boolean  enabled 
)

Enable / Disable identifier copy of a gateway source message object.

Parameters
hwObjPointer to CAN message object registers
enabledEnable / disable choice
Returns
None

Definition at line 1219 of file IfxMultican.h.

Referenced by IfxMultican_Can_MsgObj_init().

IFX_INLINE void IfxMultican_MsgObj_setIdentifierExtension ( Ifx_CAN_MO *  hwObj,
boolean  extension 
)

Sets identifier extension of message object.

Parameters
hwObjPointer to CAN message object registers
extensionAcceptance Mask for the message IDE bit
Returns
None

Definition at line 1225 of file IfxMultican.h.

Referenced by IfxMultican_Can_MsgObj_init().

IFX_INLINE void IfxMultican_MsgObj_setMatchingId ( Ifx_CAN_MO *  hwObj,
boolean  matchingId 
)

Sets acceptance mask for the message IDE bit.

Parameters
hwObjPointer to CAN message object registers
matchingIdAcceptance Mask for the message IDE bit
Returns
None

Definition at line 1231 of file IfxMultican.h.

Referenced by IfxMultican_Can_MsgObj_init().

IFX_INLINE void IfxMultican_MsgObj_setMessageId ( Ifx_CAN_MO *  hwObj,
uint32  messageId,
boolean  extendedFrame 
)

Sets message identifier of message object.

Parameters
hwObjPointer to CAN message object registers
messageIdCAN Identifier of message object
extendedFrameExtended frame enabled / disabled
Returns
None

Definition at line 1237 of file IfxMultican.h.

Referenced by IfxMultican_Can_MsgObj_init(), IfxMultican_MsgObj_sendLongFrame(), and IfxMultican_MsgObj_sendMessage().

IFX_INLINE void IfxMultican_MsgObj_setMessageMode ( Ifx_CAN_MO *  hwObj,
IfxMultican_MsgObjMode  mode 
)

Sets the message mode of a message object.

Parameters
hwObjPointer to CAN message object registers
modeCAN Message Object Mode
Returns
None

Definition at line 1243 of file IfxMultican.h.

Referenced by IfxMultican_Can_MsgObj_init().

IFX_INLINE void IfxMultican_MsgObj_setMessagePendingNumber ( Ifx_CAN_MO *  hwObj,
IfxMultican_MsgObjId  messageNumber 
)

Sets message pending number that selects the bit position of the bit in the Message Pending Register
that is set upon a message object n receive/transmit interrupt.

Parameters
hwObjPointer to CAN message object registers
messageNumberMessage pending number
Returns
None

Definition at line 1249 of file IfxMultican.h.

Referenced by IfxMultican_Can_MsgObj_init().

IFX_INLINE void IfxMultican_MsgObj_setOverflowInterrupt ( Ifx_CAN_MO *  hwObj,
boolean  enabled 
)

Enable / Disable overflow interrupt of a message object.

Parameters
hwObjPointer to CAN message object registers
enabledEnable / disable choice
Returns
None

Definition at line 1255 of file IfxMultican.h.

IFX_INLINE void IfxMultican_MsgObj_setPriorityClass ( Ifx_CAN_MO *  hwObj,
IfxMultican_Priority  priority 
)

Sets priority class of message object.

Parameters
hwObjPointer to CAN message object registers
priorityOne of the priority classes 0, 1, 2, 3 to message object n
Returns
None

Definition at line 1261 of file IfxMultican.h.

Referenced by IfxMultican_Can_MsgObj_init().

IFX_INLINE void IfxMultican_MsgObj_setReceiveInterrupt ( Ifx_CAN_MO *  hwObj,
boolean  enabled 
)

Enable / Disable receive interrupt of a message object.

Parameters
hwObjPointer to CAN message object registers
enabledEnable / disable choice
Returns
None

Definition at line 1267 of file IfxMultican.h.

Referenced by IfxMultican_Can_MsgObj_init().

IFX_INLINE void IfxMultican_MsgObj_setReceiveInterruptNodePointer ( Ifx_CAN_MO *  hwObj,
IfxMultican_SrcId  srcId 
)

Sets receive interrupt node pointer of message object.

Parameters
hwObjPointer to CAN message object registers
srcIdService request ID
Returns
None

Definition at line 1273 of file IfxMultican.h.

Referenced by IfxMultican_Can_MsgObj_init().

IFX_INLINE void IfxMultican_MsgObj_setRemoteMonitoring ( Ifx_CAN_MO *  hwObj,
boolean  enabled 
)

Enable / Disable transmit object remote monitoring of a message object.

Parameters
hwObjPointer to CAN message object registers
enabledEnable / disable choice
Returns
None

Definition at line 1279 of file IfxMultican.h.

Referenced by IfxMultican_Can_MsgObj_init().

IFX_INLINE void IfxMultican_MsgObj_setSelectObjectPointer ( Ifx_CAN_MO *  hwObj,
sint32  objNumber 
)

Sets bottom object select pointer of the base message object.

Parameters
hwObjPointer to CAN message object registers
objNumberSelect message object number
Returns
None

Definition at line 1285 of file IfxMultican.h.

Referenced by IfxMultican_Can_MsgObj_init().

IFX_INLINE void IfxMultican_MsgObj_setSingleDataTransfer ( Ifx_CAN_MO *  hwObj,
boolean  enabled 
)

Enable / Disable single data transfer of a message object.

Parameters
hwObjPointer to CAN message object registers
enabledEnable / disable choice
Returns
None

Definition at line 1291 of file IfxMultican.h.

Referenced by IfxMultican_Can_MsgObj_init().

IFX_INLINE void IfxMultican_MsgObj_setSingleTransmitTrial ( Ifx_CAN_MO *  hwObj,
boolean  enabled 
)

Enable / Disable single transmit trial of a message object.

Parameters
hwObjPointer to CAN message object registers
enabledEnable / disable choice
Returns
None

Definition at line 1297 of file IfxMultican.h.

Referenced by IfxMultican_Can_MsgObj_init().

IFX_EXTERN void IfxMultican_MsgObj_setStatusFlag ( Ifx_CAN_MO *  hwObj,
IfxMultican_MsgObjStatusFlag  flag 
)

Sets the selected status flag of a message object.

Parameters
hwObjPointer to CAN message object registers
flagMessage Object status flag
Returns
None

Definition at line 529 of file IfxMultican.c.

Referenced by IfxMultican_Can_MsgObj_init(), IfxMultican_Can_MsgObj_sendMessage(), IfxMultican_MsgObj_sendLongFrame(), and IfxMultican_MsgObj_sendMessage().

IFX_INLINE void IfxMultican_MsgObj_setTopObjectPointer ( Ifx_CAN_MO *  hwObj,
sint32  objNumber 
)

Sets top object pointer of the base message object.

Parameters
hwObjPointer to CAN message object registers
objNumberTop message object number
Returns
None

Definition at line 1303 of file IfxMultican.h.

Referenced by IfxMultican_Can_MsgObj_init().

IFX_INLINE void IfxMultican_MsgObj_setTransmitInterrupt ( Ifx_CAN_MO *  hwObj,
boolean  enabled 
)

Enable / Disable transmit interrupt of a message object.

Parameters
hwObjPointer to CAN message object registers
enabledEnable / disable choice
Returns
None

Definition at line 1309 of file IfxMultican.h.

Referenced by IfxMultican_Can_MsgObj_init().

IFX_INLINE void IfxMultican_MsgObj_setTransmitInterruptNodePointer ( Ifx_CAN_MO *  hwObj,
IfxMultican_SrcId  srcId 
)

Sets transmit interrupt node pointer of message object.

Parameters
hwObjPointer to CAN message object registers
srcIdService request ID
Returns
None

Definition at line 1315 of file IfxMultican.h.

Referenced by IfxMultican_Can_MsgObj_init().