iLLD_TC27xC
1.0
|
![]() |
IFX_INLINE boolean IfxMultican_Can_MsgObj_cancelSend | ( | IfxMultican_Can_MsgObj * | msgObj) |
Cancel pending TX request by invalidating the request
Only when frame transmission has not been started.
msgObj | pointer to the CAN message object handle |
Definition at line 1284 of file IfxMultican_Can.h.
IFX_INLINE void IfxMultican_Can_MsgObj_clearRxPending | ( | IfxMultican_Can_MsgObj * | msgObj) |
Clear the RX pending flag of a message object.
msgObj | pointer to the CAN message object handle |
Definition at line 1292 of file IfxMultican_Can.h.
IFX_INLINE void IfxMultican_Can_MsgObj_clearTxPending | ( | IfxMultican_Can_MsgObj * | msgObj) |
Clear the TX pending flag of a message object.
msgObj | pointer to the CAN message object handle |
Definition at line 1300 of file IfxMultican_Can.h.
IFX_INLINE void IfxMultican_Can_MsgObj_deinit | ( | IfxMultican_Can_MsgObj * | msgObj) |
Reset the message object
Append the message object to the end of idle list and reset message object registers.
msgObj | pointer to the CAN message object handle |
Definition at line 1308 of file IfxMultican_Can.h.
IFX_EXTERN void IfxMultican_Can_MsgObj_getConfig | ( | IfxMultican_Can_MsgObj * | msgObj, |
IfxMultican_Can_MsgObjConfig * | config | ||
) |
Get the actual message object configuration.
msgObj | pointer to the CAN message object handle |
config | Pointer to the RAM buffer. Filled by this function |
Definition at line 37 of file IfxMultican_Can.c.
IFX_INLINE IfxMultican_MsgObjId IfxMultican_Can_MsgObj_getPendingId | ( | IfxMultican_Can_MsgObj * | msgObj, |
IfxMultican_MsgObjGroup | msgObjGroup | ||
) |
Get message object ID which has TX/RX pending flag from a message object group.
msgObj | pointer to the CAN message object handle |
msgObjGroup | Message object group |
Definition at line 1314 of file IfxMultican_Can.h.
IFX_INLINE IfxMultican_MsgObjStat IfxMultican_Can_MsgObj_getStatus | ( | IfxMultican_Can_MsgObj * | msgObj) |
Get the message object status.
msgObj | pointer to the CAN message object handle |
Definition at line 1320 of file IfxMultican_Can.h.
IFX_EXTERN IfxMultican_Status IfxMultican_Can_MsgObj_init | ( | IfxMultican_Can_MsgObj * | msgObj, |
const IfxMultican_Can_MsgObjConfig * | config | ||
) |
Initialize the message object.
msgObj | pointer to the CAN message object handle |
config | pointer to the CAN message object configuration |
Definition at line 70 of file IfxMultican_Can.c.
IFX_EXTERN void IfxMultican_Can_MsgObj_initConfig | ( | IfxMultican_Can_MsgObjConfig * | config, |
IfxMultican_Can_Node * | node | ||
) |
Initialise message config with default values and the given parameters.
config | pointer to the CAN message object configuration |
node | pointer to the CAN node handle to which the message object should be assigned |
A coding example can be found in IfxMultican_Can_MsgObj_init
Definition at line 564 of file IfxMultican_Can.c.
IFX_EXTERN boolean IfxMultican_Can_MsgObj_isRxPending | ( | IfxMultican_Can_MsgObj * | msgObj) |
Returns the RX pending flag of a message object.
msgObj | pointer to the CAN message object handle |
Definition at line 603 of file IfxMultican_Can.c.
IFX_EXTERN boolean IfxMultican_Can_MsgObj_isTxPending | ( | IfxMultican_Can_MsgObj * | msgObj) |
Returns the TX pending flag of a message object.
msgObj | pointer to the CAN message object handle |
Definition at line 618 of file IfxMultican_Can.c.
IFX_INLINE IfxMultican_Status IfxMultican_Can_MsgObj_readLongFrame | ( | IfxMultican_Can_MsgObj * | msgObj, |
IfxMultican_Message * | msg, | ||
uint32 * | data | ||
) |
Read a received CAN message.
msgObj | pointer to the CAN message object handle |
msg | This parameter is filled in by the function with the received message. Also when reading is not successful |
data | Pointer to data (in words) |
Definition at line 1328 of file IfxMultican_Can.h.
IFX_EXTERN IfxMultican_Status IfxMultican_Can_MsgObj_readMessage | ( | IfxMultican_Can_MsgObj * | msgObj, |
IfxMultican_Message * | msg | ||
) |
Read a received CAN message.
msgObj | pointer to the CAN message object handle |
msg | This parameter is filled in by the function with the received message. Also when reading is not successful |
Definition at line 635 of file IfxMultican_Can.c.
IFX_INLINE IfxMultican_Status IfxMultican_Can_MsgObj_sendLongFrame | ( | IfxMultican_Can_MsgObj * | msgObj, |
IfxMultican_Message * | msg, | ||
uint32 * | data | ||
) |
Read a received CAN message.
msgObj | pointer to the CAN message object handle |
msg | This parameter is filled in by the function with the received message. Also when reading is not successful |
data | Pointer to data (in words) |
Definition at line 1334 of file IfxMultican_Can.h.
IFX_EXTERN IfxMultican_Status IfxMultican_Can_MsgObj_sendMessage | ( | IfxMultican_Can_MsgObj * | msgObj, |
const IfxMultican_Message * | msg | ||
) |
Send a CAN message.
msgObj | pointer to the CAN message object handle |
msg | Specifies the msg to be send |
Definition at line 675 of file IfxMultican_Can.c.