Expand description
I2S (inter-IC Sound) communication using SPI peripherals
This module is only available if the i2s
feature is enabled.
Note: while F413 and F423 have full duplex i2s capability, this mode is not yet availalble for
these chips because their I2S2EXT
and I2S3EXT
peripherals are missing from their package
access crate.
Re-exports§
pub extern crate stm32_i2s_v12x;
Structs§
- DualI2s
- A wrapper around a SPI and a I2SEXT object and pins for full duplex I2S operation
- Dual
I2sDma Target I
: The DualI2sPeripheral controlled by the I2sCore.PART
:Main
orExt
. The part of DualI2sPeripheral controlled by I2sCore.MS
:Master
orSlave
. The role of the I2sCore. Only aMain
I2sCore can be Master.DIR
:Transmit
orReceive
. Communication direction.STD
: I2S standard, egPhilips
- I2s
- An I2s wrapper around an SPI object and pins
Traits§
- Dual
I2sDma Target Ext - Dual
I2sExt - Trait to build an
DualI2s
object from SPI peripheral, a I2SEXT peripheral, pins and clocks - Dual
Instance - Trait for SPI peripheral that have an extension for full duplex i2s capability.
- I2sExt
- Trait to build an
I2s
object from SPI peripheral, pins and clocks - I2sFreq
- Trait to get I2s frequency at SPI peripheral input.
- Instance
- Trait for SPI peripheral with i2s capability.