Expand description
Serial Peripheral Interface (SPI) abstraction layer.
SpiBuswraps a configured HAL SPI instance with 8-bit words.ChipSelectis an active-low GPIO output wrappr for manual CS control.
Structs§
- Chip
Select - Manual chip-select line, active-low, generic over any GPIO pin.
- NoChip
Select - Stub chip-select for when no SPI connection is used.
Panics if
select()ordeselect()is ever called. - SpiBus
- Wrapper around an enabled HAL SPI instance (8-bit words).
Traits§
- CsControl
- Trait for chip-select control, allowing real pins or a no-op stub.