Crate embedded_controls

Source
Expand description

Embedded controls library is based on switch-hal that allows to handle primitive controls like DebounceInput, Encoder.

Modules§

macros

Macros§

debounced_input_config
Create a config for DebouncedInput.
encoder_config
Create a config for Encoder.

Structs§

DebouncedInput
Concrete implementation of debounced input.
Encoder
Concrete implementation of encoder.

Enums§

DebouncedInputEvent
The event result of update DebouncedInput.
EncoderEvent
The event result of update Encoder.
Error
Controls errors container.

Traits§

Control
Represents a control, such as debounced input, button, encoder and etc.
DebouncedInputConfig
Represents a config for DebouncedInput.
EncoderConfig
Represents a config for Encoder.