Struct Parts

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

GPIO parts

Fields§

§afrh: AFRH

Opaque AFRH register

§afrl: AFRL

Opaque AFRL register

§moder: MODER

Opaque MODER register

§ospeedr: OSPEEDR

Opaque OSPEEDR register

§otyper: OTYPER

Opaque OTYPER register

§pupdr: PUPDR

Opaque PUPDR register

§pa0: PA0<Input>

Pin PA0

§pa1: PA1<Input>

Pin PA1

§pa2: PA2<Input>

Pin PA2

§pa3: PA3<Input>

Pin PA3

§pa4: PA4<Input>

Pin PA4

§pa5: PA5<Input>

Pin PA5

§pa6: PA6<Input>

Pin PA6

§pa7: PA7<Input>

Pin PA7

§pa8: PA8<Input>

Pin PA8

§pa9: PA9<Input>

Pin PA9

§pa10: PA10<Input>

Pin PA10

§pa11: PA11<Input>

Pin PA11

§pa12: PA12<Input>

Pin PA12

§pa13: PA13<AF0<PushPull>>

Pin PA13

§pa14: PA14<AF0<PushPull>>

Pin PA14

§pa15: PA15<AF0<PushPull>>

Pin PA15

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.