pub trait ChipSelectActivePolarity: Sealed {
const POLARITY: Polarity;
}
Expand description
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.
This trait is sealed and only implemented for ActiveLow
and
ActiveHigh
.
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.