[][src]Struct nrf52832_hal::nrf52_hal_common::gpio::p0::P0_30

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

Methods

impl<MODE> P0_30<MODE>
[src]

Convert the pin to be a floating input

Convert the pin to bepin a push-pull output with normal drive

Convert the pin to be an open-drain output

This method currently does not support configuring an internal pull-up or pull-down resistor.

Degrade to a generic pin struct, which can be used with peripherals

Trait Implementations

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

Is the input pin high?

Is the input pin low?

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

Set the output as high

Set the output as low

impl<MODE> StatefulOutputPin for P0_30<Output<MODE>>
[src]

Is the output pin set as high?

Is the output pin set as low?

Auto Trait Implementations

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

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

Blanket Implementations

impl<T> From for T
[src]

Performs the conversion.

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T, U> Into for T where
    U: From<T>, 
[src]

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut for T where
    T: ?Sized
[src]

Mutably borrows from an owned value. Read more

impl<T> Any for T where
    T: 'static + ?Sized
[src]

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more