Skip to main content

Module gpio

Module gpio 

Source
Expand description

GPIO

Pin can be configured as:

  • Floating Input
  • PullUp Input
  • PullDown Input
  • Analog Input
  • OpenDrain Output
  • PushPull Output
  • Alternate Function (input or output)

Power On: Floating Input except for some Alternate Function

Structs§

AfType
Bundle of mode/cnf/pull settings for an alternate-function pin.
AnyPin
Flex
GPIO flexible pin.
Input
GPIO input driver.
Output
GPIO output driver.
OutputOpenDrain
GPIO output open-drain driver.

Enums§

AFType
Level
OutputType
GPIO output type
Pull
Pull setting for an input.
Speed
Speed, for output mode

Traits§

Pin