Module atsam4_hal::gpio
source · Expand description
General Purpose Input / Output
Structs
- Extra Function
- Floating Input
- Represents a pin configured for input. The MODE type is typically one of
Floating
,PullDown
orPullUp
. - Open drain output
- Represents a pin configured for output. The MODE type is typically one of
PushPull
, orOpenDrain
. - Peripheral Function A
- Peripheral Function B
- Peripheral Function C
- Peripheral Function D
- Holds the GPIO broken out pin instances (consumes the Ports object)
- Pulled down Input
- Pulled up Input
- Totem Pole aka Push-Pull
- System Function
Enums
Traits
- The GpioExt trait allows splitting the PORT hardware into its constituent pin parts.