Module i2s

Source
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
DualI2sDmaTarget
I: The DualI2sPeripheral controlled by the I2sCore.PART: Main or Ext. The part of DualI2sPeripheral controlled by I2sCore.MS: Master or Slave. The role of the I2sCore. Only a Main I2sCore can be Master.DIR : Transmit or Receive. Communication direction.STD: I2S standard, eg Philips
I2s
An I2s wrapper around an SPI object and pins

Traits§

DualI2sDmaTargetExt
DualI2sExt
Trait to build an DualI2s object from SPI peripheral, a I2SEXT peripheral, pins and clocks
DualInstance
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.

Type Aliases§

DualI2s2
DualI2s3
I2s2
I2s3
I2s4
I2s5
NoMasterClock
A placeholder for when the MCLK pin is not needed