If a task or function wants to transmit a CAN frame by calling the function CanBusWrite()
while the configured CAN transmitter is idle, the following steps will be performed:
- The function
CanBusWrite()
uses the low-level device driver functionWrite()
will be used to copy the CAN frame to the CAN controller and enable the transmit complete interrupt.