libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
Alternate Function Remap Controls
Collaboration diagram for Alternate Function Remap Controls:

Macros

#define AFIO_MAPR_ADC2_ETRGREG_REMAP   (1 << 20)
 ADC2 external trigger regulator conversion remapping (only low-, medium-, high- and XL-density devices) More...
 
#define AFIO_MAPR_ADC2_ETRGINJ_REMAP   (1 << 19)
 ADC2 external trigger injected conversion remapping (only low-, medium-, high- and XL-density devices) More...
 
#define AFIO_MAPR_ADC1_ETRGREG_REMAP   (1 << 18)
 ADC1 external trigger regulator conversion remapping (only low-, medium-, high- and XL-density devices) More...
 
#define AFIO_MAPR_ADC1_ETRGINJ_REMAP   (1 << 17)
 ADC1 external trigger injected conversion remapping (only low-, medium-, high- and XL-density devices) More...
 
#define AFIO_MAPR_TIM5CH4_IREMAP   (1 << 16)
 TIM5 channel 4 internal remap. More...
 
#define AFIO_MAPR_PD01_REMAP   (1 << 15)
 Port D0/Port D1 mapping on OSC_IN/OSC_OUT. More...
 
#define AFIO_MAPR_TIM4_REMAP   (1 << 12)
 TIM4 remapping. More...
 
#define AFIO_MAPR_USART2_REMAP   (1 << 3)
 USART2 remapping. More...
 
#define AFIO_MAPR_USART1_REMAP   (1 << 2)
 USART1 remapping. More...
 
#define AFIO_MAPR_I2C1_REMAP   (1 << 1)
 I2C1 remapping. More...
 
#define AFIO_MAPR_SPI1_REMAP   (1 << 0)
 SPI1 remapping. More...
 

Detailed Description

Macro Definition Documentation

◆ AFIO_MAPR_ADC1_ETRGINJ_REMAP

#define AFIO_MAPR_ADC1_ETRGINJ_REMAP   (1 << 17)

ADC1 external trigger injected conversion remapping (only low-, medium-, high- and XL-density devices)

Definition at line 806 of file f1/gpio.h.

◆ AFIO_MAPR_ADC1_ETRGREG_REMAP

#define AFIO_MAPR_ADC1_ETRGREG_REMAP   (1 << 18)

ADC1 external trigger regulator conversion remapping (only low-, medium-, high- and XL-density devices)

Definition at line 799 of file f1/gpio.h.

◆ AFIO_MAPR_ADC2_ETRGINJ_REMAP

#define AFIO_MAPR_ADC2_ETRGINJ_REMAP   (1 << 19)

ADC2 external trigger injected conversion remapping (only low-, medium-, high- and XL-density devices)

Definition at line 792 of file f1/gpio.h.

◆ AFIO_MAPR_ADC2_ETRGREG_REMAP

#define AFIO_MAPR_ADC2_ETRGREG_REMAP   (1 << 20)

ADC2 external trigger regulator conversion remapping (only low-, medium-, high- and XL-density devices)

Definition at line 785 of file f1/gpio.h.

◆ AFIO_MAPR_I2C1_REMAP

#define AFIO_MAPR_I2C1_REMAP   (1 << 1)

I2C1 remapping.

Definition at line 830 of file f1/gpio.h.

◆ AFIO_MAPR_PD01_REMAP

#define AFIO_MAPR_PD01_REMAP   (1 << 15)

Port D0/Port D1 mapping on OSC_IN/OSC_OUT.

Definition at line 814 of file f1/gpio.h.

◆ AFIO_MAPR_SPI1_REMAP

#define AFIO_MAPR_SPI1_REMAP   (1 << 0)

SPI1 remapping.

Definition at line 834 of file f1/gpio.h.

◆ AFIO_MAPR_TIM4_REMAP

#define AFIO_MAPR_TIM4_REMAP   (1 << 12)

TIM4 remapping.

Definition at line 818 of file f1/gpio.h.

◆ AFIO_MAPR_TIM5CH4_IREMAP

#define AFIO_MAPR_TIM5CH4_IREMAP   (1 << 16)

TIM5 channel 4 internal remap.

Definition at line 810 of file f1/gpio.h.

◆ AFIO_MAPR_USART1_REMAP

#define AFIO_MAPR_USART1_REMAP   (1 << 2)

USART1 remapping.

Definition at line 826 of file f1/gpio.h.

◆ AFIO_MAPR_USART2_REMAP

#define AFIO_MAPR_USART2_REMAP   (1 << 3)

USART2 remapping.

Definition at line 822 of file f1/gpio.h.