Module stm32l0x1_hal::gpio[][src]

General Purpose Input / Output

This module was written with only the STM32L011K4 (on the NUCLEO board) on-hand. Future refinements to expand to other packages is TODO.

Structs

A

GPIO

AF0
AF1
AF2
AF3
AF4
AF5
AF6
AF7
AF8
AF9
AF10
AF11
AF12
AF13
AF14
AF15
AFRH

Opaque AFRH register

AFRL

Opaque AFRL register

B

GPIO

BRR

Opaque BRR register

C

GPIO

Floating

Floating input (type state)

Input

Input mode (type state)

Led

Generic LED

MODER

Opaque MODER register

OSPEEDR

Opaque OSPEEDR register

OTYPER

Opaque OTYPER register

OpenDrain

Open drain output (type state)

Output

Output mode (type state)

PA0

Specific Pin

PA1

Specific Pin

PA2

Specific Pin

PA3

Specific Pin

PA4

Specific Pin

PA5

Specific Pin

PA6

Specific Pin

PA7

Specific Pin

PA8

Specific Pin

PA9

Specific Pin

PA10

Specific Pin

PA11

Specific Pin

PA12

Specific Pin

PA13

Specific Pin

PA14

Specific Pin

PA15

Specific Pin

PB0

Specific Pin

PB1

Specific Pin

PB2

Specific Pin

PB3

Specific Pin

PB4

Specific Pin

PB5

Specific Pin

PB6

Specific Pin

PB7

Specific Pin

PB8

Specific Pin

PB9

Specific Pin

PB10

Specific Pin

PB11

Specific Pin

PB12

Specific Pin

PB13

Specific Pin

PB14

Specific Pin

PB15

Specific Pin

PC0

Specific Pin

PC1

Specific Pin

PC2

Specific Pin

PC3

Specific Pin

PC4

Specific Pin

PC5

Specific Pin

PC6

Specific Pin

PC7

Specific Pin

PC8

Specific Pin

PC9

Specific Pin

PC10

Specific Pin

PC11

Specific Pin

PC12

Specific Pin

PC13

Specific Pin

PC14

Specific Pin

PC15

Specific Pin

PUPDR

Opaque PUPDR register

PullDown

Pulled down input (type state)

PullUp

Pulled up input (type state)

PushPull

Push pull output (type state)

Enums

PinSpeed

Traits

AltFun

Alternate Function Trait Implemented only for corresponding structs.

InputMode

Input Mode Trait Implemented only for corresponding structs.

OutputMode

Output Mode Trait Implemented only for corresponding structs.