Expand description
Define a common interface trait and implement so that other code can be bus agnostic
Implementations of the trait for a variate of buses, currently I2C and a proto for SPI
Note that this code will end up in its own crate but it is easer to develop in the same crate as a peripheral for now.
Structs§
- I2CPeripheral
- The I2C Implementation of the Interface trait
- SPIPeripheral
- A struct to implement the Interface trait
Enums§
Traits§
- Interface
- This Trait allows all the other Bus agnostic code to interface with a common bus independent api