embassy-stm32

Crates

git

Versions

stm32f103t8

Flavors

Module i2c

Source
Expand description

Inter-Integrated-Circuit (I2C)

Re-exports§

pub use mode::Master;
pub use mode::MultiMaster;

Modules§

mode
I2C modes

Structs§

Config
I2C config
ErrorInterruptHandler
Error interrupt handler.
EventInterruptHandler
Event interrupt handler.
I2c
I2C driver.
OA2
The second Own Address register.
SlaveAddrConfig
Slave Configuration
SlaveCommand
The command kind to the slave from the master and the address that the slave matched

Enums§

AddrMask
Bits of the I2C OA2 register to mask out.
Address
An I2C address. Either 7 or 10 bit.
Error
I2C error.
OwnAddresses
The Own Address(es) of the I2C peripheral.
SendStatus
The status of the slave send operation
SlaveCommandKind
The command kind to the slave from the master

Traits§

Instance
Peripheral instance trait.
RxDma
RxDma DMA request trait
SclPin
SclPin pin trait
SdaPin
SdaPin pin trait
TxDma
TxDma DMA request trait