Crate embedded_controls
source ·Expand description
Embedded controls library is based on switch-hal
that allows to handle primitive controls like DebounceInput,
Encoder.
Controls are updating by timestamps
that passed to update and return event
or error.
Macros
Create a config for
DebouncedInput.Create a config for
Encoder.Structs
Concrete implementation of debounced input.
Concrete implementation of encoder.
Enums
The event result of update
DebouncedInput.The event result of update
Encoder.Traits
Represents a control, such as debounced input, button, encoder and etc.
Represents a config for
DebouncedInput.Represents an elapsed timer that used for configs.
Represents a config for
Encoder.