Trait drone_sx1276::conn::Conn [] [src]

pub trait Conn: Sized + Send + 'static {
    type Spi: Sized + Send + 'static;
    type SendErrorKind: Sized + Send + PartialEq + Eq + Debug + 'static;
    fn init(&self);
unsafe fn transfer(
        self,
        spi: Self::Spi,
        address: u8,
        count: usize,
        tx_buf: *const u8,
        rx_buf: *mut u8
    ) -> Box<Future<Item = (Self, Self::Spi), Error = SendError<Self>> + Send>; }

Generic Semtech SX1276/77/78/79.

Associated Types

The SPI interface.

Erroneous result of the future returned by send.

Required Methods

Initializes inner peripherals.

Makes SPI transaction.

Implementors