Struct esp8266_hal::spi::SPI1Master [−][src]
pub struct SPI1Master { /* fields omitted */ }
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SPI1Master
impl Send for SPI1Master
impl !Sync for SPI1Master
impl Unpin for SPI1Master
impl UnwindSafe for SPI1Master
Blanket Implementations
Mutably borrows from an owned value. Read more
type Error = <S as FullDuplex<W>>::Error
type Error = <S as FullDuplex<W>>::Error
Error type
pub fn transfer(
&mut self,
words: &'w mut [W]
) -> Result<&'w [W], <S as FullDuplex<W>>::Error>
pub fn transfer(
&mut self,
words: &'w mut [W]
) -> Result<&'w [W], <S as FullDuplex<W>>::Error>
Sends words
to the slave. Returns the words
received from the slave