Module embedded_hal_vcd::pins

source ·
Expand description

Atomic pin types

This module provides implementations of atomic pin types that can be used by any embedded_hal implementation that use Input- or OutputPins.

As atomic types these pins use primitive atomic types, so that these pins can be shared safely between threads. Especially useful for integration testing.

Structs

A digital pin state which can be safely shared between threads.
A mutable input pin that can be safely shared between threads.
A mutable output pin in open drain configuration that can be safely shared between threads.
A mutable output pin that can be safely shared between threads.

Enums

A digital pin state.