[][src]Trait avr_hal_generic::spi::SpiOps

pub trait SpiOps<H, SCLK, MOSI, MISO, CS> {
    pub fn raw_setup(&mut self, settings: &Settings);
pub fn raw_release(&mut self);
pub fn raw_check_iflag(&self) -> bool;
pub fn raw_read(&self) -> u8;
pub fn raw_write(&mut self, byte: u8); }

Internal trait for low-level SPI peripherals

This trait defines the common interface for all SPI peripheral variants. It is used as an intermediate abstraction ontop of which the Spi API is built. Prefer using the Spi API instead of this trait.

Required methods

pub fn raw_setup(&mut self, settings: &Settings)[src]

pub fn raw_release(&mut self)[src]

pub fn raw_check_iflag(&self) -> bool[src]

pub fn raw_read(&self) -> u8[src]

pub fn raw_write(&mut self, byte: u8)[src]

Loading content...

Implementors

Loading content...