Transmission While Transmitter is Idle
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:
Figure - CAN transmission while transmitter is idle
- 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.