Parts

Struct Parts 

Source
pub struct Parts {
Show 22 fields pub afrh: Afr<H8, 'E'>, pub afrl: Afr<L8, 'E'>, pub moder: MODER<'E'>, pub otyper: OTYPER<'E'>, pub ospeedr: OSPEEDR<'E'>, pub pupdr: PUPDR<'E'>, pub pe0: PE0<Analog>, pub pe1: PE1<Analog>, pub pe2: PE2<Analog>, pub pe3: PE3<Analog>, pub pe4: PE4<Analog>, pub pe5: PE5<Analog>, pub pe6: PE6<Analog>, pub pe7: PE7<Analog>, pub pe8: PE8<Analog>, pub pe9: PE9<Analog>, pub pe10: PE10<Analog>, pub pe11: PE11<Analog>, pub pe12: PE12<Analog>, pub pe13: PE13<Analog>, pub pe14: PE14<Analog>, pub pe15: PE15<Analog>,
}
Expand description

GPIO parts

Fields§

§afrh: Afr<H8, 'E'>

Opaque AFRH register

§afrl: Afr<L8, 'E'>

Opaque AFRL register

§moder: MODER<'E'>

Opaque MODER register

§otyper: OTYPER<'E'>

Opaque OTYPER register

§ospeedr: OSPEEDR<'E'>

Opaque OSPEEDR register

§pupdr: PUPDR<'E'>

Opaque PUPDR register

§pe0: PE0<Analog>

Pin

§pe1: PE1<Analog>

Pin

§pe2: PE2<Analog>

Pin

§pe3: PE3<Analog>

Pin

§pe4: PE4<Analog>

Pin

§pe5: PE5<Analog>

Pin

§pe6: PE6<Analog>

Pin

§pe7: PE7<Analog>

Pin

§pe8: PE8<Analog>

Pin

§pe9: PE9<Analog>

Pin

§pe10: PE10<Analog>

Pin

§pe11: PE11<Analog>

Pin

§pe12: PE12<Analog>

Pin

§pe13: PE13<Analog>

Pin

§pe14: PE14<Analog>

Pin

§pe15: PE15<Analog>

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