Skip to main content

WriteFrame

Trait WriteFrame 

Source
pub trait WriteFrame {
    // Required method
    fn write(&mut self, frame: Frame);
}
Expand description

Serial Interface abstraction for the wm8731 generic driver.

Required Methods§

Source

fn write(&mut self, frame: Frame)

Implementors§

Source§

impl<I2C> WriteFrame for I2CInterface<I2C>
where I2C: Write,

Source§

impl<SPI, CS> WriteFrame for SPIInterfaceU8<SPI, CS>
where SPI: Write<u8>, CS: OutputPin,

Source§

impl<SPI, CS> WriteFrame for SPIInterfaceU16<SPI, CS>
where SPI: Write<u16>, CS: OutputPin,