Struct Parts

Source
pub struct Parts {
Show 18 fields pub afrh: AFRH, pub afrl: AFRL, pub moder: MODER, pub otyper: OTYPER, pub pupdr: PUPDR, pub pa0: PA0<Input<Floating>>, pub pa1: PA1<Input<Floating>>, pub pa2: PA2<Input<Floating>>, pub pa3: PA3<Input<Floating>>, pub pa4: PA4<Input<Floating>>, pub pa5: PA5<Input<Floating>>, pub pa6: PA6<Input<Floating>>, pub pa7: PA7<Input<Floating>>, pub pa8: PA8<Input<Floating>>, pub pa9: PA9<Input<Floating>>, pub pa10: PA10<Input<Floating>>, pub pa11: PA11<Input<Floating>>, pub pa12: PA12<Input<Floating>>,
}
Expand description

GPIO parts

Fields§

§afrh: AFRH

Opaque AFRH register

§afrl: AFRL

Opaque AFRL register

§moder: MODER

Opaque MODER register

§otyper: OTYPER

Opaque OTYPER register

§pupdr: PUPDR

Opaque PUPDR register

§pa0: PA0<Input<Floating>>

Pin

§pa1: PA1<Input<Floating>>

Pin

§pa2: PA2<Input<Floating>>

Pin

§pa3: PA3<Input<Floating>>

Pin

§pa4: PA4<Input<Floating>>

Pin

§pa5: PA5<Input<Floating>>

Pin

§pa6: PA6<Input<Floating>>

Pin

§pa7: PA7<Input<Floating>>

Pin

§pa8: PA8<Input<Floating>>

Pin

§pa9: PA9<Input<Floating>>

Pin

§pa10: PA10<Input<Floating>>

Pin

§pa11: PA11<Input<Floating>>

Pin

§pa12: PA12<Input<Floating>>

Pin

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> 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<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<T> Same for T

Source§

type Output = T

Should always be Self
Source§

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

Source§

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>,

Source§

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.