block/AFIO: description: Alternate function I/O items: - name: EVCR description: Event Control Register (AFIO_EVCR) byte_offset: 0 fieldset: EVCR - name: MAPR description: AF remap and debug I/O configuration register (AFIO_MAPR) byte_offset: 4 fieldset: MAPR - name: EXTICR description: External interrupt configuration register 1 (AFIO_EXTICR1) array: len: 4 stride: 4 byte_offset: 8 fieldset: EXTICR - name: MAPR2 description: AF remap and debug I/O configuration register byte_offset: 28 fieldset: MAPR2 fieldset/EVCR: description: Event Control Register (AFIO_EVCR) fields: - name: PIN description: Pin selection bit_offset: 0 bit_size: 4 - name: PORT description: Port selection bit_offset: 4 bit_size: 3 - name: EVOE description: Event Output Enable bit_offset: 7 bit_size: 1 fieldset/EXTICR: description: External interrupt configuration register 3 (AFIO_EXTICR3) fields: - name: EXTI description: EXTI12 configuration bit_offset: 0 bit_size: 4 array: len: 4 stride: 4 fieldset/MAPR: description: AF remap and debug I/O configuration register (AFIO_MAPR) fields: - name: SPI1_REMAP description: SPI1 remapping bit_offset: 0 bit_size: 1 - name: I2C1_REMAP description: I2C1 remapping bit_offset: 1 bit_size: 1 - name: USART1_REMAP description: USART1 remapping bit_offset: 2 bit_size: 1 - name: USART2_REMAP description: USART2 remapping bit_offset: 3 bit_size: 1 - name: USART3_REMAP description: USART3 remapping bit_offset: 4 bit_size: 2 - name: TIM1_REMAP description: TIM1 remapping bit_offset: 6 bit_size: 2 - name: TIM2_REMAP description: TIM2 remapping bit_offset: 8 bit_size: 2 - name: TIM3_REMAP description: TIM3 remapping bit_offset: 10 bit_size: 2 - name: TIM4_REMAP description: TIM4 remapping bit_offset: 12 bit_size: 1 - name: CAN1_REMAP description: CAN1 remapping bit_offset: 13 bit_size: 2 - name: PD01_REMAP description: Port D0/Port D1 mapping on OSCIN/OSCOUT bit_offset: 15 bit_size: 1 - name: TIM5CH4_IREMAP description: Set and cleared by software bit_offset: 16 bit_size: 1 - name: ADC1_ETRGINJ_REMAP description: ADC 1 External trigger injected conversion remapping bit_offset: 17 bit_size: 1 - name: ADC1_ETRGREG_REMAP description: ADC 1 external trigger regular conversion remapping bit_offset: 18 bit_size: 1 - name: ADC2_ETRGINJ_REMAP description: ADC 2 external trigger injected conversion remapping bit_offset: 19 bit_size: 1 - name: ADC2_ETRGREG_REMAP description: ADC 2 external trigger regular conversion remapping bit_offset: 20 bit_size: 1 - name: ETH_REMAP description: Ethernet MAC I/O remapping bit_offset: 21 bit_size: 1 - name: CAN2_REMAP description: CAN2 I/O remapping bit_offset: 22 bit_size: 1 - name: MII_RMII_SEL description: MII or RMII selection bit_offset: 23 bit_size: 1 - name: SWJ_CFG description: Serial wire JTAG configuration bit_offset: 24 bit_size: 3 - name: SPI3_REMAP description: SPI3/I2S3 remapping bit_offset: 28 bit_size: 1 - name: TIM2ITR1_IREMAP description: TIM2 internal trigger 1 remapping bit_offset: 29 bit_size: 1 - name: PTP_PPS_REMAP description: Ethernet PTP PPS remapping bit_offset: 30 bit_size: 1 fieldset/MAPR2: description: AF remap and debug I/O configuration register fields: - name: TIM15_REMAP description: TIM15 remapping bit_offset: 0 bit_size: 1 - name: TIM16_REMAP description: TIM16 remapping bit_offset: 1 bit_size: 1 - name: TIM17_REMAP description: TIM17 remapping bit_offset: 2 bit_size: 1 - name: CEC_REMAP description: CEC remapping bit_offset: 3 bit_size: 1 - name: TIM1_DMA_REMAP description: TIM1 DMA remapping bit_offset: 4 bit_size: 1 - name: TIM9_REMAP description: TIM9 remapping bit_offset: 5 bit_size: 1 - name: TIM10_REMAP description: TIM10 remapping bit_offset: 6 bit_size: 1 - name: TIM11_REMAP description: TIM11 remapping bit_offset: 7 bit_size: 1 - name: TIM13_REMAP description: TIM13 remapping bit_offset: 8 bit_size: 1 - name: TIM14_REMAP description: TIM14 remapping bit_offset: 9 bit_size: 1 - name: FSMC_NADV description: NADV connect/disconnect bit_offset: 10 bit_size: 1 - name: TIM67_DAC_DMA_REMAP description: TIM67_DAC DMA remapping bit_offset: 11 bit_size: 1 - name: TIM12_REMAP description: TIM12 remapping bit_offset: 12 bit_size: 1 - name: MISC_REMAP description: Miscellaneous features remapping bit_offset: 13 bit_size: 1