Trait stm32f4xx_hal::can::CanExt
source · [−]pub trait CanExt: Sized + Instance {
fn can<TX, RX>(self, pins: (TX, RX)) -> Can<Self, (TX, RX)>
where
(TX, RX): Pins<Self>;
fn tx<TX>(self, tx_pin: TX) -> Can<Self, (TX, NoPin)>
where
(TX, NoPin): Pins<Self>;
fn rx<RX>(self, rx_pin: RX) -> Can<Self, (NoPin, RX)>
where
(NoPin, RX): Pins<Self>;
}