Parts

Struct Parts 

Source
pub struct Parts {
Show 22 fields pub afrh: Afr<H8, 'B'>, pub afrl: Afr<L8, 'B'>, pub moder: MODER<'B'>, pub otyper: OTYPER<'B'>, pub ospeedr: OSPEEDR<'B'>, pub pupdr: PUPDR<'B'>, pub pb0: PB0<Analog>, pub pb1: PB1<Analog>, pub pb2: PB2<Analog>, pub pb3: PB3<Debugger>, pub pb4: PB4<Debugger>, pub pb5: PB5<Analog>, pub pb6: PB6<Analog>, pub pb7: PB7<Analog>, pub pb8: PB8<Analog>, pub pb9: PB9<Analog>, pub pb10: PB10<Analog>, pub pb11: PB11<Analog>, pub pb12: PB12<Analog>, pub pb13: PB13<Analog>, pub pb14: PB14<Analog>, pub pb15: PB15<Analog>,
}
Expand description

GPIO parts

Fields§

§afrh: Afr<H8, 'B'>

Opaque AFRH register

§afrl: Afr<L8, 'B'>

Opaque AFRL register

§moder: MODER<'B'>

Opaque MODER register

§otyper: OTYPER<'B'>

Opaque OTYPER register

§ospeedr: OSPEEDR<'B'>

Opaque OSPEEDR register

§pupdr: PUPDR<'B'>

Opaque PUPDR register

§pb0: PB0<Analog>

Pin

§pb1: PB1<Analog>

Pin

§pb2: PB2<Analog>

Pin

§pb3: PB3<Debugger>

Pin

§pb4: PB4<Debugger>

Pin

§pb5: PB5<Analog>

Pin

§pb6: PB6<Analog>

Pin

§pb7: PB7<Analog>

Pin

§pb8: PB8<Analog>

Pin

§pb9: PB9<Analog>

Pin

§pb10: PB10<Analog>

Pin

§pb11: PB11<Analog>

Pin

§pb12: PB12<Analog>

Pin

§pb13: PB13<Analog>

Pin

§pb14: PB14<Analog>

Pin

§pb15: PB15<Analog>

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.