Module switch_state

Source

Structs§

PressedOnHigh
Sets the switch behavior to be in pressed state when the pin is high
PressedOnLow
Sets the switch behavior to be in pressed state when the pin is is low

Traits§

PressedState
PressedState defines the switch behavior on pin raw values