pub trait Transmitter: Interface { // Required method fn transmit( &mut self, frame: &Self::Frame, ) -> Result<Option<Self::Frame>, Self::Error>; }
A CAN interface that is able to transmit frames.
Put a Frame in the transmit buffer (or a free mailbox).
Frame
If the buffer is full, this function will try to replace a lower priority Frame and return it. This is to avoid the priority inversion problem.