Trait embedded_controls::EncoderConfig
source · pub trait EncoderConfig: DebouncedInputConfig {
type Counts: AddAssign + Integer + Signed + Copy;
const COUNTS_DIV: Self::Counts;
}Expand description
Represents a config for Encoder.
Required Associated Types
Required Associated Constants
sourceconst COUNTS_DIV: Self::Counts
const COUNTS_DIV: Self::Counts
The number of counts to register one turn of the encoder.