atsamd_hal::gpio::pin

Trait InputConfig

Source
pub trait InputConfig: Sealed {
    const DYN: DynInput;
}
Expand description

Type-level enum for input configurations

The valid options are Floating, PullDown and PullUp. See the type-level enum documentation for more details on the pattern.

Required Associated Constants§

Source

const DYN: DynInput

Corresponding DynInput

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl InputConfig for Floating

Source§

const DYN: DynInput = DynInput::Floating

Source§

impl InputConfig for PullDown

Source§

const DYN: DynInput = DynInput::PullDown

Source§

impl InputConfig for PullUp

Source§

const DYN: DynInput = DynInput::PullUp