Trait stm32f7xx_hal::spi::Instance [−][src]
pub trait Instance {
fn configure<Word>(&self, br: u8, cpol: bool, cpha: bool)
where
Word: SupportedWordSize;
fn read<Word>(&self) -> Result<Word, Error>
where
Word: SupportedWordSize;
fn send<Word>(&self, word: Word) -> Result<(), Error>
where
Word: SupportedWordSize;
fn dr_address(&self) -> u32;
}
Expand description
Implemented for all instances of the SPI peripheral
Users of this crate should not implement this trait.