Struct stm32_metapac::gpio::regs::Afr
#[repr(transparent)]pub struct Afr(pub u32);
Expand description
GPIO alternate function register. This contains an array of 8 fields, which correspond to pins 0-7 of the port (for AFRL) or pins 8-15 of the port (for AFRH).
Tuple Fieldsยง
ยง0: u32
Implementationsยง
Trait Implementationsยง
impl Copy for Afr
impl Eq for Afr
impl StructuralEq for Afr
impl StructuralPartialEq for Afr
Auto Trait Implementationsยง
impl RefUnwindSafe for Afr
impl Send for Afr
impl Sync for Afr
impl Unpin for Afr
impl UnwindSafe for Afr
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