Modules§
Structs§
- Active
High - Zero sized struct for signaling to Switch that it is active high
- Active
Low - Zero sized struct for signaling to Switch that it is active low
- Switch
- Concrete implementation for InputSwitch and OutputSwitch
Traits§
- Input
Switch - Represents an input switch, such as a button or a switch
- Into
Switch - Convenience functions for converting InputPin and OutputPin to a Switch.
- Output
Switch - Represents an output switch, such as a LED “switch” or transitor
- Stateful
Output Switch - Checks current switch state
- Toggleable
Output Switch - Toggles the switch from it’s current state to it’s opposite state.