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 pe0: PE0<Input>, pub pe1: PE1<Input>, pub pe2: PE2<Input>, pub pe3: PE3<Input>, pub pe4: PE4<Input>, pub pe5: PE5<Input>, pub pe6: PE6<Input>, pub pe7: PE7<Input>, pub pe8: PE8<Input>, pub pe9: PE9<Input>, pub pe10: PE10<Input>, pub pe11: PE11<Input>, pub pe12: PE12<Input>, pub pe13: PE13<Input>, pub pe14: PE14<Input>, pub pe15: PE15<Input>,
}
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

§pe0: PE0<Input>

Pin PE0

§pe1: PE1<Input>

Pin PE1

§pe2: PE2<Input>

Pin PE2

§pe3: PE3<Input>

Pin PE3

§pe4: PE4<Input>

Pin PE4

§pe5: PE5<Input>

Pin PE5

§pe6: PE6<Input>

Pin PE6

§pe7: PE7<Input>

Pin PE7

§pe8: PE8<Input>

Pin PE8

§pe9: PE9<Input>

Pin PE9

§pe10: PE10<Input>

Pin PE10

§pe11: PE11<Input>

Pin PE11

§pe12: PE12<Input>

Pin PE12

§pe13: PE13<Input>

Pin PE13

§pe14: PE14<Input>

Pin PE14

§pe15: PE15<Input>

Pin PE15

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.