[][src]Module atsam4_hal::gpio

General Purpose Input / Output

Structs

Floating

Floating Input

Input

Represents a pin configured for input. The MODE type is typically one of Floating, PullDown or PullUp.

OpenDrain

Open drain output

Output

Represents a pin configured for output. The MODE type is typically one of PushPull, or OpenDrain.

Pa0
Pa1
Pa2
Pa3
Pa4
Pa5
Pa6
Pa7
Pa8
Pa9
Pa10
Pa11
Pa12
Pa13
Pa14
Pa15
Pa16
Pa17
Pa18
Pa19
Pa20
Pa21
Pa22
Pa23
Pa24
Pa25
Pa26
Pa27
Pa28
Pa29
Pa30
Pa31
Pb0
Pb1
Pb2
Pb3
Pb4
Pb5
Pb6
Pb7
Pb8
Pb9
Pb10
Pb11
Pb12
Pb13
Pb14
Pc0
Pc1
Pc2
Pc3
Pc4
Pc5
Pc6
Pc7
Pc8
Pc9
Pc10
Pc11
Pc12
Pc13
Pc14
Pc15
Pc16
Pc17
Pc18
Pc19
Pc20
Pc21
Pc22
Pc23
Pc24
Pc25
Pc26
Pc27
Pc28
Pc29
Pc30
Pc31
Pd0
Pd1
Pd2
Pd3
Pd4
Pd5
Pd6
Pd7
Pd8
Pd9
Pd10
Pd11
Pd12
Pd13
Pd14
Pd15
Pd16
Pd17
Pd18
Pd19
Pd20
Pd21
Pd22
Pd23
Pd24
Pd25
Pd26
Pd27
Pd28
Pd29
Pd30
Pd31
Pe0
Pe1
Pe2
Pe3
Pe4
Pe5
PfA

Peripheral Function A

PfB

Peripheral Function B

PfC

Peripheral Function C

PfD

Peripheral Function D

Pins

Holds the GPIO broken out pin instances (consumes the Ports object)

Ports
PullDown

Pulled down Input

PullUp

Pulled up Input

PushPull

Totem Pole aka Push-Pull

Traits

GpioExt

The GpioExt trait allows splitting the PORT hardware into its constituent pin parts.