Expand description
§Inter-Integrated Circuit (I2C) - Master mode
§Overview
In this mode, the I2C acts as master and initiates the I2C communication by generating a START condition. Note that only one master is allowed to occupy the bus to access one slave at the same time.
§Configuration
Each I2C Master controller is individually configurable, and the usual setting such as frequency, timeout, and SDA/SCL pins can easily be configured.
§Usage
The I2C driver implements a number of third-party traits, with the intention of making the HAL inter-compatible with various device drivers from the community, including the embedded-hal.
Structs§
Enums§
- Acknowledge
Check Failed Reason - I2C no acknowledge error reason.
- BusTimeout
- I2C SCL timeout period.
- Config
Error - I2C-specific configuration errors
- Error
- I2C-specific transmission errors
- Event
unstable
- Stability
- I2cAddress
- Representation of I2C address.
- Operation
- I2C operation.