pub trait I2s: Stream {
// Required methods
fn configure(&mut self, config: &I2sConfig) -> Result<()>;
fn get_config(&self) -> Option<I2sConfig>;
}
Expand description
I2S device interface
This trait defines the operations for I2S (Inter-IC Sound) devices, supporting both transmission and reception of audio data.
Required Methods§
Sourcefn get_config(&self) -> Option<I2sConfig>
fn get_config(&self) -> Option<I2sConfig>
Get current I2S configuration