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 pc0: PC0<Input>, pub pc1: PC1<Input>, pub pc2: PC2<Input>, pub pc3: PC3<Input>, pub pc4: PC4<Input>, pub pc5: PC5<Input>, pub pc6: PC6<Input>, pub pc7: PC7<Input>, pub pc8: PC8<Input>, pub pc9: PC9<Input>, pub pc10: PC10<Input>, pub pc11: PC11<Input>, pub pc12: PC12<Input>, pub pc13: PC13<Input>, pub pc14: PC14<Input>, pub pc15: PC15<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

§pc0: PC0<Input>

Pin PC0

§pc1: PC1<Input>

Pin PC1

§pc2: PC2<Input>

Pin PC2

§pc3: PC3<Input>

Pin PC3

§pc4: PC4<Input>

Pin PC4

§pc5: PC5<Input>

Pin PC5

§pc6: PC6<Input>

Pin PC6

§pc7: PC7<Input>

Pin PC7

§pc8: PC8<Input>

Pin PC8

§pc9: PC9<Input>

Pin PC9

§pc10: PC10<Input>

Pin PC10

§pc11: PC11<Input>

Pin PC11

§pc12: PC12<Input>

Pin PC12

§pc13: PC13<Input>

Pin PC13

§pc14: PC14<Input>

Pin PC14

§pc15: PC15<Input>

Pin PC15

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.