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