Parts

Struct Parts 

Source
pub struct Parts {
Show 22 fields pub afrh: Afr<H8, 'A'>, pub afrl: Afr<L8, 'A'>, pub moder: MODER<'A'>, pub otyper: OTYPER<'A'>, pub ospeedr: OSPEEDR<'A'>, pub pupdr: PUPDR<'A'>, pub pa0: PA0<Analog>, pub pa1: PA1<Analog>, pub pa2: PA2<Analog>, pub pa3: PA3<Analog>, pub pa4: PA4<Analog>, pub pa5: PA5<Analog>, pub pa6: PA6<Analog>, pub pa7: PA7<Analog>, pub pa8: PA8<Analog>, pub pa9: PA9<Analog>, pub pa10: PA10<Analog>, pub pa11: PA11<Analog>, pub pa12: PA12<Analog>, pub pa13: PA13<Debugger>, pub pa14: PA14<Debugger>, pub pa15: PA15<Debugger>,
}
Expand description

GPIO parts

Fields§

§afrh: Afr<H8, 'A'>

Opaque AFRH register

§afrl: Afr<L8, 'A'>

Opaque AFRL register

§moder: MODER<'A'>

Opaque MODER register

§otyper: OTYPER<'A'>

Opaque OTYPER register

§ospeedr: OSPEEDR<'A'>

Opaque OSPEEDR register

§pupdr: PUPDR<'A'>

Opaque PUPDR register

§pa0: PA0<Analog>

Pin

§pa1: PA1<Analog>

Pin

§pa2: PA2<Analog>

Pin

§pa3: PA3<Analog>

Pin

§pa4: PA4<Analog>

Pin

§pa5: PA5<Analog>

Pin

§pa6: PA6<Analog>

Pin

§pa7: PA7<Analog>

Pin

§pa8: PA8<Analog>

Pin

§pa9: PA9<Analog>

Pin

§pa10: PA10<Analog>

Pin

§pa11: PA11<Analog>

Pin

§pa12: PA12<Analog>

Pin

§pa13: PA13<Debugger>

Pin

§pa14: PA14<Debugger>

Pin

§pa15: PA15<Debugger>

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.