Crate stm32_i2s_v12x[][src]

This library supports I2S communication for SPI version 1.2 (on STM32F1, STM32F2, STM32F4, STM32L0, and STM32L1 microcontrollers).

This library is normally used with a HAL library that provides a type that implements Instance. An I2s object can be created around the Instance object and used for I2S.

Modules

format

I2S frame formats

Structs

I2s

Interface to an SPI peripheral in I2S mode

InitMode

Marker for initialization mode

MasterConfig

Configuration for master mode

ReceiveMode

Marker for receive mode

RegisterBlock

Register block

SlaveConfig

Configuration for slave mode

TransmitMode

Marker for transmit mode

Enums

Channel

The channel associated with a sample

Event

Events with associated interrupts that can be enabled

MasterClock

Master clock enable flag

Polarity

Clock polarity

ReceiveError

Errors that can occur when receiving

TransmitError

Errors that can occur when transmitting

Traits

ActiveMode

A mode in which the I2S is configured and may be enabled (transmit or receive)

Instance

An SPI peripheral instance that can be used for I2C communication