[][src]Trait stm32f3xx_hal::can::Transmitter

pub trait Transmitter: Interface {
    pub fn transmit(
        &mut self,
        frame: &Self::Frame
    ) -> Result<Option<Self::Frame>, Error<Self::Error>>; }

A CAN interface that is able to transmit frames.

Required methods

pub fn transmit(
    &mut self,
    frame: &Self::Frame
) -> Result<Option<Self::Frame>, Error<Self::Error>>
[src]

Put a Frame in the transmit buffer (or a free mailbox).

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.

Loading content...

Implementors

impl Transmitter for CanTransmitter[src]

Loading content...