/* Do actual message reading from the message object.  */
IFX_STATIC void IfxMultican_MsgObj_doReadMessage(Ifx_CAN_MO *hwObj, IfxMultican_Message *msg)
/* Do actual message reading from the message object.  */
IFX_STATIC void IfxMultican_MsgObj_doReadMessage(Ifx_CAN_MO *hwObj, IfxMultican_Message *msg)
{
    IfxMultican_MsgObj_clearStatusFlag(hwObj, IfxMultican_MsgObjStatusFlag_newData);
    msg->data[0] = hwObj->DATAL.U;
    msg->data[1] = hwObj->DATAH.U;
    msg->lengthCode = IfxMultican_MsgObj_getDataLengthCode(hwObj);
    msg->id = IfxMultican_MsgObj_getMessageId(hwObj);
}