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 StructuralPartialEq for Afr
Auto Trait Implementations§
impl Freeze for Afr
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)