Struct nrf51_hal::gpio::gpio::PIN [] [src]

pub struct PIN<MODE> { /* fields omitted */ }

Partially erased pin

Methods

impl<TYPE> PIN<TYPE>
[src]

[src]

Trait Implementations

impl<MODE> OutputPin for PIN<Output<MODE>>
[src]

[src]

Is the output pin high?

[src]

Is the output pin low?

[src]

Sets the pin high

[src]

Sets the pin low

impl<MODE> InputPin for PIN<Input<MODE>>
[src]

[src]

Is the input pin high?

[src]

Is the input pin low?

Auto Trait Implementations

impl<MODE> Send for PIN<MODE> where
    MODE: Send

impl<MODE> Sync for PIN<MODE> where
    MODE: Sync