Trait stm32h7xx_hal::traits::i2s::FullDuplex [−][src]
Full duplex
Associated Types
Loading content...Required methods
fn try_read(&mut self) -> Result<(Word, Word), Self::Error>
[src]
Reads the left word and right word available.
The order is in the result is (left_word, right_word)
fn try_send(
&mut self,
left_word: Word,
right_word: Word
) -> Result<(), Self::Error>
[src]
&mut self,
left_word: Word,
right_word: Word
) -> Result<(), Self::Error>
Sends a left word and a right word to the slave.
Implementors
impl FullDuplex<u32> for Sai<SAI1, I2S>
[src]
type Error = I2SError
fn try_read(&mut self) -> Result<(u32, u32), Self::Error>
[src]
fn try_send(
&mut self,
left_word: u32,
right_word: u32
) -> Result<(), Self::Error>
[src]
&mut self,
left_word: u32,
right_word: u32
) -> Result<(), Self::Error>
impl FullDuplex<u32> for Sai<SAI2, I2S>
[src]
type Error = I2SError
fn try_read(&mut self) -> Result<(u32, u32), Self::Error>
[src]
fn try_send(
&mut self,
left_word: u32,
right_word: u32
) -> Result<(), Self::Error>
[src]
&mut self,
left_word: u32,
right_word: u32
) -> Result<(), Self::Error>
impl FullDuplex<u32> for Sai<SAI3, I2S>
[src]
type Error = I2SError
fn try_read(&mut self) -> Result<(u32, u32), Self::Error>
[src]
fn try_send(
&mut self,
left_word: u32,
right_word: u32
) -> Result<(), Self::Error>
[src]
&mut self,
left_word: u32,
right_word: u32
) -> Result<(), Self::Error>