Expand description
Generic Two Wire Interface (I2C & SPI) driver support
Modules§
Structs§
- A TWI command. For simple writes and read, we can simply pass the driver a buffer (or set of buffers), which will then be transmitted/received-into with zero-copying. For more complex cases, it is possible to instead use a dynamic implementation of an object that implements the TwiTransaction trait.
- A TWI device address
Enums§
- Two-Wire Interface Mode
- TWI port speeds
- Identifies a particular source of TWI events, i.e. a particular hardware TWI device, at runtime.
Traits§
- Trait for devices which can act as a TWI master
- Trait for devices which can act as a TWI slave
Type Aliases§
- Callback called when a TWI command is completed