pub struct Parts {
pub evcr: EVCR,
pub mapr: MAPR,
pub exticr1: EXTICR1,
pub exticr2: EXTICR2,
pub exticr3: EXTICR3,
pub exticr4: EXTICR4,
pub mapr2: MAPR2,
}Expand description
HAL wrapper around the AFIO registers
Aquired by calling constrain on the AFIO registers
let p = pac::Peripherals::take().unwrap();
let mut rcc = p.RCC.constrain();
let mut afio = p.AFIO.constrain(&mut rcc);Fields§
§evcr: EVCR§mapr: MAPR§exticr1: EXTICR1§exticr2: EXTICR2§exticr3: EXTICR3§exticr4: EXTICR4§mapr2: MAPR2Auto 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