Module keypad::mock_hal[][src]

Mock types that implement the embeddded-hal traits without using any real hardware.

They're used for writing example code that will run on non-embedded targets.

Based on the stm32f103xx_hal implementation by Jorge Aparicio.

Modules

gpioa

A module containing a mock port of GPIO pins.

Structs

Floating

Floating input marker

GPIOA

A struct representing a mock port of GPIO pins.

Input

Input mode marker

OpenDrain

Open drain output marker

Output

Output mode marker

PullUp

Pulled up input marker

PushPull

Push/pull output marker

Traits

GpioExt

Extension trait to split a mock GPIO peripheral into independent pins