Trait stm32f4xx_hal::can::CanExt

source ·
pub trait CanExt: Sized + Instance {
    // Required methods
    fn can(self, pins: (impl Into<Self::Tx>, impl Into<Self::Rx>)) -> Can<Self>;
    fn tx(self, tx_pin: impl Into<Self::Tx>) -> Can<Self>
       where NoPin: Into<Self::Rx>;
    fn rx(self, rx_pin: impl Into<Self::Rx>) -> Can<Self>
       where NoPin: Into<Self::Tx>;
}

Required Methods§

source

fn can(self, pins: (impl Into<Self::Tx>, impl Into<Self::Rx>)) -> Can<Self>

source

fn tx(self, tx_pin: impl Into<Self::Tx>) -> Can<Self>
where NoPin: Into<Self::Rx>,

source

fn rx(self, rx_pin: impl Into<Self::Rx>) -> Can<Self>
where NoPin: Into<Self::Tx>,

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<CAN: Instance> CanExt for CAN