Expand description
Utility types for modeling chip select pins in a SpiMaster
implementation.
Structs§
- Chip
Select Polar - A convenience wrapper type around
Output
GPIO pins that implementsIntoChipSelect
for bothActiveLow
andActiveHigh
.
Enums§
- Active
High - Marks a peripheral as requiring or controller as supporting active high chip select pins.
- Active
Low - Marks a peripheral as requiring or controller as supporting active low chip select pins.
- Polarity
- Represents the Polarity of a chip-select pin (i.e. whether high or low indicates the peripheral is active).
Traits§
- Chip
Select Active Polarity - Marker trait indicating whether a peripheral requires active high or low
polarity as well as whether a
SpiMaster
implementation can support either or both polarities. - Into
Chip Select - A type that can be converted to the appropriate type for
SpiMaster::ChipSelect
for a particularPOLARITY
.