[−][src]Module embedded_platform::gpio
General input/output pins.
The InputPin
and OutputPin
traits define pins that can be read and written digitally
(i.e. either in a low or high state).
There are additionally various Into*
traits that allow users to re-configure pins to switch
between different modes of operation, e.g. IntoFloatingInputPin
turns a pin into an
InputPin
that does not employ any pull-up or pull-down resistors.
Modules
get | Defines futures for getting the value off of a GPIO pin. |
set | Defines futures for setting the value of a GPIO pin. |
Structs
NoConnect | A virtual pin that is not actually connected to a physical pin. |
Traits
InputPin | A pin that can be read from. |
InputPinExt | Extension functions for instances of |
IntoFloatingInputPin | A pin that can be turned into an |
IntoOpenDrainOutputPin | A pin that can be turned into an |
IntoPullDownInputPin | A pin that can be turned into an |
IntoPullUpInputPin | A pin that can be turned into an |
IntoPushPullOutputPin | A pin that can be turned into an |
OutputPin | A pin that can be written to. |
OutputPinExt | Extension functions for instances of |
Pin | A generic pin that can't be interacted with. |