Module nucleo_f401re::hal::digital::v2

source ·
Expand description

Digital I/O

Version 2 / fallible traits. Infallible implementations should set Error to !.

Modules

If you can read and write the output state, a pin is toggleable by software.

Enums

Digital output pin state

Traits

Single digital input pin
Single pin that can switch from input to output mode, and vice-versa.
Single digital push-pull output pin
Push-pull output pin that can read its output state
Output pin that can be toggled