Struct nrf52832_hal::gpio::p0::Parts

source ·
pub struct Parts {
Show 32 fields pub p0_00: P0_00<Disconnected>, pub p0_01: P0_01<Disconnected>, pub p0_02: P0_02<Disconnected>, pub p0_03: P0_03<Disconnected>, pub p0_04: P0_04<Disconnected>, pub p0_05: P0_05<Disconnected>, pub p0_06: P0_06<Disconnected>, pub p0_07: P0_07<Disconnected>, pub p0_08: P0_08<Disconnected>, pub p0_09: P0_09<Disconnected>, pub p0_10: P0_10<Disconnected>, pub p0_11: P0_11<Disconnected>, pub p0_12: P0_12<Disconnected>, pub p0_13: P0_13<Disconnected>, pub p0_14: P0_14<Disconnected>, pub p0_15: P0_15<Disconnected>, pub p0_16: P0_16<Disconnected>, pub p0_17: P0_17<Disconnected>, pub p0_18: P0_18<Disconnected>, pub p0_19: P0_19<Disconnected>, pub p0_20: P0_20<Disconnected>, pub p0_21: P0_21<Disconnected>, pub p0_22: P0_22<Disconnected>, pub p0_23: P0_23<Disconnected>, pub p0_24: P0_24<Disconnected>, pub p0_25: P0_25<Disconnected>, pub p0_26: P0_26<Disconnected>, pub p0_27: P0_27<Disconnected>, pub p0_28: P0_28<Disconnected>, pub p0_29: P0_29<Disconnected>, pub p0_30: P0_30<Disconnected>, pub p0_31: P0_31<Disconnected>,
}
Expand description

GPIO parts

Fields§

§p0_00: P0_00<Disconnected>

Pin

§p0_01: P0_01<Disconnected>

Pin

§p0_02: P0_02<Disconnected>

Pin

§p0_03: P0_03<Disconnected>

Pin

§p0_04: P0_04<Disconnected>

Pin

§p0_05: P0_05<Disconnected>

Pin

§p0_06: P0_06<Disconnected>

Pin

§p0_07: P0_07<Disconnected>

Pin

§p0_08: P0_08<Disconnected>

Pin

§p0_09: P0_09<Disconnected>

Pin

§p0_10: P0_10<Disconnected>

Pin

§p0_11: P0_11<Disconnected>

Pin

§p0_12: P0_12<Disconnected>

Pin

§p0_13: P0_13<Disconnected>

Pin

§p0_14: P0_14<Disconnected>

Pin

§p0_15: P0_15<Disconnected>

Pin

§p0_16: P0_16<Disconnected>

Pin

§p0_17: P0_17<Disconnected>

Pin

§p0_18: P0_18<Disconnected>

Pin

§p0_19: P0_19<Disconnected>

Pin

§p0_20: P0_20<Disconnected>

Pin

§p0_21: P0_21<Disconnected>

Pin

§p0_22: P0_22<Disconnected>

Pin

§p0_23: P0_23<Disconnected>

Pin

§p0_24: P0_24<Disconnected>

Pin

§p0_25: P0_25<Disconnected>

Pin

§p0_26: P0_26<Disconnected>

Pin

§p0_27: P0_27<Disconnected>

Pin

§p0_28: P0_28<Disconnected>

Pin

§p0_29: P0_29<Disconnected>

Pin

§p0_30: P0_30<Disconnected>

Pin

§p0_31: P0_31<Disconnected>

Pin

Implementations§

source§

impl Parts

source

pub fn new(_gpio: P0) -> Parts

Auto Trait Implementations§

§

impl Freeze for Parts

§

impl RefUnwindSafe for Parts

§

impl Send for Parts

§

impl Sync for Parts

§

impl Unpin for Parts

§

impl UnwindSafe for Parts

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Az for T

source§

fn az<Dst>(self) -> Dst
where T: Cast<Dst>,

Casts the value.
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Src, Dst> CastFrom<Src> for Dst
where Src: Cast<Dst>,

source§

fn cast_from(src: Src) -> Dst

Casts the value.
source§

impl<T> CheckedAs for T

source§

fn checked_as<Dst>(self) -> Option<Dst>
where T: CheckedCast<Dst>,

Casts the value.
source§

impl<Src, Dst> CheckedCastFrom<Src> for Dst
where Src: CheckedCast<Dst>,

source§

fn checked_cast_from(src: Src) -> Option<Dst>

Casts the value.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<Src, Dst> LosslessTryInto<Dst> for Src
where Dst: LosslessTryFrom<Src>,

source§

fn lossless_try_into(self) -> Option<Dst>

Performs the conversion.
source§

impl<Src, Dst> LossyInto<Dst> for Src
where Dst: LossyFrom<Src>,

source§

fn lossy_into(self) -> Dst

Performs the conversion.
source§

impl<T> OverflowingAs for T

source§

fn overflowing_as<Dst>(self) -> (Dst, bool)
where T: OverflowingCast<Dst>,

Casts the value.
source§

impl<Src, Dst> OverflowingCastFrom<Src> for Dst
where Src: OverflowingCast<Dst>,

source§

fn overflowing_cast_from(src: Src) -> (Dst, bool)

Casts the value.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SaturatingAs for T

source§

fn saturating_as<Dst>(self) -> Dst
where T: SaturatingCast<Dst>,

Casts the value.
source§

impl<Src, Dst> SaturatingCastFrom<Src> for Dst
where Src: SaturatingCast<Dst>,

source§

fn saturating_cast_from(src: Src) -> Dst

Casts the value.
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> UnwrappedAs for T

source§

fn unwrapped_as<Dst>(self) -> Dst
where T: UnwrappedCast<Dst>,

Casts the value.
source§

impl<Src, Dst> UnwrappedCastFrom<Src> for Dst
where Src: UnwrappedCast<Dst>,

source§

fn unwrapped_cast_from(src: Src) -> Dst

Casts the value.
source§

impl<T> WrappingAs for T

source§

fn wrapping_as<Dst>(self) -> Dst
where T: WrappingCast<Dst>,

Casts the value.
source§

impl<Src, Dst> WrappingCastFrom<Src> for Dst
where Src: WrappingCast<Dst>,

source§

fn wrapping_cast_from(src: Src) -> Dst

Casts the value.