Struct nrf51_hal::gpio::gpio::PIN14 [] [src]

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

Pin

Methods

impl<MODE> PIN14<MODE>
[src]

[src]

Configures the pin to operate as a floating input pin

[src]

Configures the pin to operate as a open drain input pin

[src]

Configures the pin to operate as a pulled down input pin

[src]

Configures the pin to operate as a pulled up input pin

[src]

Configures the pin to operate as an open drain output pin

[src]

Configures the pin to operate as an push pull output pin

impl PIN14<Output<OpenDrain>>
[src]

[src]

Enables / disables the internal pull up

impl<MODE> PIN14<Output<MODE>>
[src]

[src]

Erases the pin number from the type

This is useful when you want to collect the pins into an array where you need all the elements to have the same type

impl<MODE> PIN14<Input<MODE>>
[src]

[src]

Erases the pin number from the type

This is useful when you want to collect the pins into an array where you need all the elements to have the same type

Trait Implementations

impl<MODE> OutputPin for PIN14<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 PIN14<Input<MODE>>
[src]

[src]

Is the input pin high?

[src]

Is the input pin low?

Auto Trait Implementations

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

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