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 pb0: PB0<Input>,
pub pb1: PB1<Input>,
pub pb2: PB2<Input>,
pub pb3: PB3<AF0<PushPull>>,
pub pb4: PB4<AF0<PushPull>>,
pub pb5: PB5<Input>,
pub pb6: PB6<Input>,
pub pb7: PB7<Input>,
pub pb8: PB8<Input>,
pub pb9: PB9<Input>,
pub pb10: PB10<Input>,
pub pb11: PB11<Input>,
pub pb12: PB12<Input>,
pub pb13: PB13<Input>,
pub pb14: PB14<Input>,
pub pb15: PB15<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
pb0: PB0<Input>
Pin PB0
pb1: PB1<Input>
Pin PB1
pb2: PB2<Input>
Pin PB2
pb3: PB3<AF0<PushPull>>
Pin PB3
pb4: PB4<AF0<PushPull>>
Pin PB4
pb5: PB5<Input>
Pin PB5
pb6: PB6<Input>
Pin PB6
pb7: PB7<Input>
Pin PB7
pb8: PB8<Input>
Pin PB8
pb9: PB9<Input>
Pin PB9
pb10: PB10<Input>
Pin PB10
pb11: PB11<Input>
Pin PB11
pb12: PB12<Input>
Pin PB12
pb13: PB13<Input>
Pin PB13
pb14: PB14<Input>
Pin PB14
pb15: PB15<Input>
Pin PB15
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more