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 pd0: PD0<Input>, pub pd1: PD1<Input>, pub pd2: PD2<Input>, pub pd3: PD3<Input>, pub pd4: PD4<Input>, pub pd5: PD5<Input>, pub pd6: PD6<Input>, pub pd7: PD7<Input>, pub pd8: PD8<Input>, pub pd9: PD9<Input>, pub pd10: PD10<Input>, pub pd11: PD11<Input>, pub pd12: PD12<Input>, pub pd13: PD13<Input>, pub pd14: PD14<Input>, pub pd15: PD15<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

§pd0: PD0<Input>

Pin PD0

§pd1: PD1<Input>

Pin PD1

§pd2: PD2<Input>

Pin PD2

§pd3: PD3<Input>

Pin PD3

§pd4: PD4<Input>

Pin PD4

§pd5: PD5<Input>

Pin PD5

§pd6: PD6<Input>

Pin PD6

§pd7: PD7<Input>

Pin PD7

§pd8: PD8<Input>

Pin PD8

§pd9: PD9<Input>

Pin PD9

§pd10: PD10<Input>

Pin PD10

§pd11: PD11<Input>

Pin PD11

§pd12: PD12<Input>

Pin PD12

§pd13: PD13<Input>

Pin PD13

§pd14: PD14<Input>

Pin PD14

§pd15: PD15<Input>

Pin PD15

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.