Enum driver_pal::hal::HalOutputPin[][src]

pub enum HalOutputPin {
    Linux(SysfsPin),
    Cp2130(OutputPin),
    None,
}
Expand description

Output pin hal wrapper

Variants

Linux(SysfsPin)

Tuple Fields of Linux

0: SysfsPin
Cp2130(OutputPin)

Tuple Fields of Cp2130

0: OutputPin
None

Trait Implementations

Error type

Drives the pin high Read more

Drives the pin low Read more

Drives the pin high or low depending on the provided value Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.