Can_Write see check hw state,but it has send message .
Can_MainFunction_Write see polling only, am I getting this right?
解決済! 解決策の投稿を見る。
Hi,
yes, you are right.
Can_Write checks TX MB if it is free to send data, if yes fills TX MB with data and transmit is initiated.
Can_MainFunction_Write performs the polling of TX confirmation when CAN_TX_PROCESSING is set to POLLING. It checks MB flag if message was transmitted successfully or not, if yes updates driver variable and calls TXconfirmation.
BR, Petr
Hi,
yes, you are right.
Can_Write checks TX MB if it is free to send data, if yes fills TX MB with data and transmit is initiated.
Can_MainFunction_Write performs the polling of TX confirmation when CAN_TX_PROCESSING is set to POLLING. It checks MB flag if message was transmitted successfully or not, if yes updates driver variable and calls TXconfirmation.
BR, Petr