void CAN_CancelTransmit(uint_t8 Mailbox)
/* Cancel a CAN transmit initiates by CANTransmit */ uint_t8 MBNumber; CanTxMsg TxMessage; MBNumber = CAN_Transmit(&TxMessage); if (CAN_TransmitStatus(MBNumber) == CANTXPENDING) { CAN_CancelTransmit(MBNumber); }