iLLD_TC27xC  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, boolean extendedFrame)
 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_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 1301 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 1308 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 1314 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_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 1320 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_MO_COUNT - 1]
Returns
None

Definition at line 86 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 1326 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 1332 of file IfxMultican.h.

IFX_INLINE uint32 IfxMultican_MsgObj_getMessageId ( Ifx_CAN_MO *  hwObj,
boolean  extendedFrame 
)

Gets message identifier of message object.

Parameters
hwObjPointer to CAN message object registers
extendedFrameExtended frame enabled / disabled
Returns
messageId

Definition at line 1338 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 1344 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 200 of file IfxMultican.c.

Referenced by IfxMultican_Can_MsgObj_getPendingId().

IFX_INLINE Ifx_CAN_MO * IfxMultican_MsgObj_getPointer ( Ifx_CAN *  mcan,
IfxMultican_MsgObjId  msgObjId 
)
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 215 of file IfxMultican.c.

Referenced by IfxMultican_Can_MsgObj_getStatus(), IfxMultican_MsgObj_isRxPending(), 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 225 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 1356 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 1362 of file IfxMultican.h.

Referenced by IfxMultican_Can_MsgObj_isRxPending().

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 1369 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_MO_COUNT - 1]
msgThe message which should be initialized
dataPointer to data (in words)
Returns
IfxMultican_Status_noError: if the operation was successful
IfxMultican_Status_messageLost: if the message lost and new data is not yet ready
IfxMultican_Status_newDataButMessageLost: if the one message lost and last new data is retrieved successfully

Definition at line 233 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_noError: if the operation was successful
IfxMultican_Status_messageLost: if the message lost and new data is not yet ready
IfxMultican_Status_newDataButMessageLost: if the one message lost and last new data is retrieved successfully

Definition at line 273 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_MO_COUNT - 1]
msgThe message which should be initialized
dataPointer to data (in words)
Returns
IfxMultican_Status_noError: if the operation was successful IfxMultican_Status_notSentBusy: if the operation was unsuccessful due to hardware is busy

Definition at line 305 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_noError: if the operation was successful IfxMultican_Status_notSentBusy: if the operation was unsuccessful due to hardware is busy

Definition at line 427 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 1376 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 1382 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 1388 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 1394 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 1400 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 1406 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 1412 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 1418 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 475 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 1424 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 1430 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 1436 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 1442 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 1448 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 1454 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 1460 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 1466 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 1472 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 1478 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 1484 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 1490 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 1496 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 1502 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 1508 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 492 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 1514 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 1520 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 1526 of file IfxMultican.h.

Referenced by IfxMultican_Can_MsgObj_init().