Struct stm32f1xx_hal::afio::Parts
source · 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();
Fields§
§evcr: EVCR
§mapr: MAPR
§exticr1: EXTICR1
§exticr2: EXTICR2
§exticr3: EXTICR3
§exticr4: EXTICR4
§mapr2: MAPR2