pub struct MAPR { /* private fields */ }
Expand description
AF remap and debug I/O configuration register (MAPR)
Aquired through the Parts struct.
let dp = pac::Peripherals::take().unwrap();
let mut rcc = dp.RCC.constrain();
let mut afio = dp.AFIO.constrain();
function_using_mapr(&mut afio.mapr);
Implementations§
Source§impl MAPR
impl MAPR
pub fn modify_mapr<F>(&mut self, mod_fn: F)
Auto Trait Implementations§
impl Freeze for MAPR
impl RefUnwindSafe for MAPR
impl Send for MAPR
impl Sync for MAPR
impl Unpin for MAPR
impl UnwindSafe for MAPR
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