Macros
Collaboration diagram for GPIO_Remap_define:

Macros

#define GPIO_FullRemap_TIM1   ((uint32_t)0x001600C0)
 
#define GPIO_FullRemap_TIM2   ((uint32_t)0x00180300)
 
#define GPIO_FullRemap_TIM3   ((uint32_t)0x001A0C00)
 
#define GPIO_FullRemap_USART3   ((uint32_t)0x00140030)
 
#define GPIO_PartialRemap1_TIM2   ((uint32_t)0x00180100)
 
#define GPIO_PartialRemap2_TIM2   ((uint32_t)0x00180200)
 
#define GPIO_PartialRemap_TIM1   ((uint32_t)0x00160040)
 
#define GPIO_PartialRemap_TIM3   ((uint32_t)0x001A0800)
 
#define GPIO_PartialRemap_USART3   ((uint32_t)0x00140010)
 
#define GPIO_Remap1_CAN1   ((uint32_t)0x001D4000)
 
#define GPIO_Remap2_CAN1   ((uint32_t)0x001D6000)
 
#define GPIO_Remap_ADC1_ETRGINJ   ((uint32_t)0x00200002)
 
#define GPIO_Remap_ADC1_ETRGREG   ((uint32_t)0x00200004)
 
#define GPIO_Remap_ADC2_ETRGINJ   ((uint32_t)0x00200008)
 
#define GPIO_Remap_ADC2_ETRGREG   ((uint32_t)0x00200010)
 
#define GPIO_Remap_CAN2   ((uint32_t)0x00200040)
 
#define GPIO_Remap_CEC   ((uint32_t)0x80000008)
 
#define GPIO_Remap_ETH   ((uint32_t)0x00200020)
 
#define GPIO_Remap_FSMC_NADV   ((uint32_t)0x80000400)
 
#define GPIO_Remap_I2C1   ((uint32_t)0x00000002)
 
#define GPIO_Remap_MISC   ((uint32_t)0x80002000)
 
#define GPIO_Remap_PD01   ((uint32_t)0x00008000)
 
#define GPIO_Remap_PTP_PPS   ((uint32_t)0x00204000)
 
#define GPIO_Remap_SPI1   ((uint32_t)0x00000001)
 
#define GPIO_Remap_SPI3   ((uint32_t)0x00201100)
 
#define GPIO_Remap_SWJ_Disable   ((uint32_t)0x00300400)
 
#define GPIO_Remap_SWJ_JTAGDisable   ((uint32_t)0x00300200)
 
#define GPIO_Remap_SWJ_NoJTRST   ((uint32_t)0x00300100)
 
#define GPIO_Remap_TIM10   ((uint32_t)0x80000040)
 
#define GPIO_Remap_TIM11   ((uint32_t)0x80000080)
 
#define GPIO_Remap_TIM12   ((uint32_t)0x80001000)
 
#define GPIO_Remap_TIM13   ((uint32_t)0x80000100)
 
#define GPIO_Remap_TIM14   ((uint32_t)0x80000200)
 
#define GPIO_Remap_TIM15   ((uint32_t)0x80000001)
 
#define GPIO_Remap_TIM16   ((uint32_t)0x80000002)
 
#define GPIO_Remap_TIM17   ((uint32_t)0x80000004)
 
#define GPIO_Remap_TIM1_DMA   ((uint32_t)0x80000010)
 
#define GPIO_Remap_TIM2ITR1_PTP_SOF   ((uint32_t)0x00202000)
 
#define GPIO_Remap_TIM4   ((uint32_t)0x00001000)
 
#define GPIO_Remap_TIM5CH4_LSI   ((uint32_t)0x00200001)
 
#define GPIO_Remap_TIM67_DAC_DMA   ((uint32_t)0x80000800)
 
#define GPIO_Remap_TIM9   ((uint32_t)0x80000020)
 
#define GPIO_Remap_USART1   ((uint32_t)0x00000004)
 
#define GPIO_Remap_USART2   ((uint32_t)0x00000008)
 
#define IS_GPIO_REMAP(REMAP)
 

Detailed Description

Macro Definition Documentation

#define GPIO_FullRemap_TIM1   ((uint32_t)0x001600C0)

TIM1 Full Alternate Function mapping

Definition at line 179 of file stm32f10x_gpio.h.

#define GPIO_FullRemap_TIM2   ((uint32_t)0x00180300)

TIM2 Full Alternate Function mapping

Definition at line 182 of file stm32f10x_gpio.h.

#define GPIO_FullRemap_TIM3   ((uint32_t)0x001A0C00)

TIM3 Full Alternate Function mapping

Definition at line 184 of file stm32f10x_gpio.h.

#define GPIO_FullRemap_USART3   ((uint32_t)0x00140030)

USART3 Full Alternate Function mapping

Definition at line 177 of file stm32f10x_gpio.h.

#define GPIO_PartialRemap1_TIM2   ((uint32_t)0x00180100)

TIM2 Partial1 Alternate Function mapping

Definition at line 180 of file stm32f10x_gpio.h.

#define GPIO_PartialRemap2_TIM2   ((uint32_t)0x00180200)

TIM2 Partial2 Alternate Function mapping

Definition at line 181 of file stm32f10x_gpio.h.

#define GPIO_PartialRemap_TIM1   ((uint32_t)0x00160040)

TIM1 Partial Alternate Function mapping

Definition at line 178 of file stm32f10x_gpio.h.

#define GPIO_PartialRemap_TIM3   ((uint32_t)0x001A0800)

TIM3 Partial Alternate Function mapping

Definition at line 183 of file stm32f10x_gpio.h.

#define GPIO_PartialRemap_USART3   ((uint32_t)0x00140010)

USART3 Partial Alternate Function mapping

Definition at line 176 of file stm32f10x_gpio.h.

#define GPIO_Remap1_CAN1   ((uint32_t)0x001D4000)

CAN1 Alternate Function mapping

Definition at line 186 of file stm32f10x_gpio.h.

#define GPIO_Remap2_CAN1   ((uint32_t)0x001D6000)

CAN1 Alternate Function mapping

Definition at line 187 of file stm32f10x_gpio.h.

#define GPIO_Remap_ADC1_ETRGINJ   ((uint32_t)0x00200002)

ADC1 External Trigger Injected Conversion remapping

Definition at line 190 of file stm32f10x_gpio.h.

#define GPIO_Remap_ADC1_ETRGREG   ((uint32_t)0x00200004)

ADC1 External Trigger Regular Conversion remapping

Definition at line 191 of file stm32f10x_gpio.h.

#define GPIO_Remap_ADC2_ETRGINJ   ((uint32_t)0x00200008)

ADC2 External Trigger Injected Conversion remapping

Definition at line 192 of file stm32f10x_gpio.h.

#define GPIO_Remap_ADC2_ETRGREG   ((uint32_t)0x00200010)

ADC2 External Trigger Regular Conversion remapping

Definition at line 193 of file stm32f10x_gpio.h.

#define GPIO_Remap_CAN2   ((uint32_t)0x00200040)

CAN2 remapping (only for Connectivity line devices)

Definition at line 195 of file stm32f10x_gpio.h.

#define GPIO_Remap_CEC   ((uint32_t)0x80000008)

CEC Alternate Function mapping (only for Value line devices)

Definition at line 210 of file stm32f10x_gpio.h.

#define GPIO_Remap_ETH   ((uint32_t)0x00200020)

Ethernet remapping (only for Connectivity line devices)

Definition at line 194 of file stm32f10x_gpio.h.

#define GPIO_Remap_FSMC_NADV   ((uint32_t)0x80000400)

FSMC_NADV Alternate Function mapping (only for High density Value line and XL-density devices)

Definition at line 218 of file stm32f10x_gpio.h.

#define GPIO_Remap_I2C1   ((uint32_t)0x00000002)

I2C1 Alternate Function mapping

Definition at line 173 of file stm32f10x_gpio.h.

#define GPIO_Remap_MISC   ((uint32_t)0x80002000)

Miscellaneous Remap (DMA2 Channel5 Position and DAC Trigger remapping, only for High density Value line devices)

Definition at line 222 of file stm32f10x_gpio.h.

#define GPIO_Remap_PD01   ((uint32_t)0x00008000)

PD01 Alternate Function mapping

Definition at line 188 of file stm32f10x_gpio.h.

#define GPIO_Remap_PTP_PPS   ((uint32_t)0x00204000)

Ethernet MAC PPS_PTS output on PB05 (only for Connectivity line devices)

Definition at line 205 of file stm32f10x_gpio.h.

#define GPIO_Remap_SPI1   ((uint32_t)0x00000001)

SPI1 Alternate Function mapping

Definition at line 172 of file stm32f10x_gpio.h.

#define GPIO_Remap_SPI3   ((uint32_t)0x00201100)

SPI3/I2S3 Alternate Function mapping (only for Connectivity line devices)

Definition at line 199 of file stm32f10x_gpio.h.

#define GPIO_Remap_SWJ_Disable   ((uint32_t)0x00300400)

Full SWJ Disabled (JTAG-DP + SW-DP)

Definition at line 198 of file stm32f10x_gpio.h.

#define GPIO_Remap_SWJ_JTAGDisable   ((uint32_t)0x00300200)

JTAG-DP Disabled and SW-DP Enabled

Definition at line 197 of file stm32f10x_gpio.h.

#define GPIO_Remap_SWJ_NoJTRST   ((uint32_t)0x00300100)

Full SWJ Enabled (JTAG-DP + SW-DP) but without JTRST

Definition at line 196 of file stm32f10x_gpio.h.

#define GPIO_Remap_TIM10   ((uint32_t)0x80000040)

TIM10 Alternate Function mapping (only for XL-density devices)

Definition at line 214 of file stm32f10x_gpio.h.

#define GPIO_Remap_TIM11   ((uint32_t)0x80000080)

TIM11 Alternate Function mapping (only for XL-density devices)

Definition at line 215 of file stm32f10x_gpio.h.

#define GPIO_Remap_TIM12   ((uint32_t)0x80001000)

TIM12 Alternate Function mapping (only for High density Value line devices)

Definition at line 221 of file stm32f10x_gpio.h.

#define GPIO_Remap_TIM13   ((uint32_t)0x80000100)

TIM13 Alternate Function mapping (only for High density Value line and XL-density devices)

Definition at line 216 of file stm32f10x_gpio.h.

#define GPIO_Remap_TIM14   ((uint32_t)0x80000200)

TIM14 Alternate Function mapping (only for High density Value line and XL-density devices)

Definition at line 217 of file stm32f10x_gpio.h.

#define GPIO_Remap_TIM15   ((uint32_t)0x80000001)

TIM15 Alternate Function mapping (only for Value line devices)

Definition at line 207 of file stm32f10x_gpio.h.

#define GPIO_Remap_TIM16   ((uint32_t)0x80000002)

TIM16 Alternate Function mapping (only for Value line devices)

Definition at line 208 of file stm32f10x_gpio.h.

#define GPIO_Remap_TIM17   ((uint32_t)0x80000004)

TIM17 Alternate Function mapping (only for Value line devices)

Definition at line 209 of file stm32f10x_gpio.h.

#define GPIO_Remap_TIM1_DMA   ((uint32_t)0x80000010)

TIM1 DMA requests mapping (only for Value line devices)

Definition at line 211 of file stm32f10x_gpio.h.

#define GPIO_Remap_TIM2ITR1_PTP_SOF   ((uint32_t)0x00202000)

Ethernet PTP output or USB OTG SOF (Start of Frame) connected to TIM2 Internal Trigger 1 for calibration (only for Connectivity line devices)

Definition at line 200 of file stm32f10x_gpio.h.

#define GPIO_Remap_TIM4   ((uint32_t)0x00001000)

TIM4 Alternate Function mapping

Definition at line 185 of file stm32f10x_gpio.h.

#define GPIO_Remap_TIM5CH4_LSI   ((uint32_t)0x00200001)

LSI connected to TIM5 Channel4 input capture for calibration

Definition at line 189 of file stm32f10x_gpio.h.

#define GPIO_Remap_TIM67_DAC_DMA   ((uint32_t)0x80000800)

TIM6/TIM7 and DAC DMA requests remapping (only for High density Value line devices)

Definition at line 220 of file stm32f10x_gpio.h.

#define GPIO_Remap_TIM9   ((uint32_t)0x80000020)

TIM9 Alternate Function mapping (only for XL-density devices)

Definition at line 213 of file stm32f10x_gpio.h.

#define GPIO_Remap_USART1   ((uint32_t)0x00000004)

USART1 Alternate Function mapping

Definition at line 174 of file stm32f10x_gpio.h.

#define GPIO_Remap_USART2   ((uint32_t)0x00000008)

USART2 Alternate Function mapping

Definition at line 175 of file stm32f10x_gpio.h.

#define IS_GPIO_REMAP (   REMAP)
Value:
(((REMAP) == GPIO_Remap_SPI1) || ((REMAP) == GPIO_Remap_I2C1) || \
((REMAP) == GPIO_Remap_USART1) || ((REMAP) == GPIO_Remap_USART2) || \
((REMAP) == GPIO_PartialRemap_USART3) || ((REMAP) == GPIO_FullRemap_USART3) || \
((REMAP) == GPIO_PartialRemap_TIM1) || ((REMAP) == GPIO_FullRemap_TIM1) || \
((REMAP) == GPIO_PartialRemap1_TIM2) || ((REMAP) == GPIO_PartialRemap2_TIM2) || \
((REMAP) == GPIO_FullRemap_TIM2) || ((REMAP) == GPIO_PartialRemap_TIM3) || \
((REMAP) == GPIO_FullRemap_TIM3) || ((REMAP) == GPIO_Remap_TIM4) || \
((REMAP) == GPIO_Remap1_CAN1) || ((REMAP) == GPIO_Remap2_CAN1) || \
((REMAP) == GPIO_Remap_PD01) || ((REMAP) == GPIO_Remap_TIM5CH4_LSI) || \
((REMAP) == GPIO_Remap_ADC1_ETRGINJ) ||((REMAP) == GPIO_Remap_ADC1_ETRGREG) || \
((REMAP) == GPIO_Remap_ADC2_ETRGINJ) ||((REMAP) == GPIO_Remap_ADC2_ETRGREG) || \
((REMAP) == GPIO_Remap_ETH) ||((REMAP) == GPIO_Remap_CAN2) || \
((REMAP) == GPIO_Remap_SWJ_NoJTRST) || ((REMAP) == GPIO_Remap_SWJ_JTAGDisable) || \
((REMAP) == GPIO_Remap_SWJ_Disable)|| ((REMAP) == GPIO_Remap_SPI3) || \
((REMAP) == GPIO_Remap_TIM2ITR1_PTP_SOF) || ((REMAP) == GPIO_Remap_PTP_PPS) || \
((REMAP) == GPIO_Remap_TIM15) || ((REMAP) == GPIO_Remap_TIM16) || \
((REMAP) == GPIO_Remap_TIM17) || ((REMAP) == GPIO_Remap_CEC) || \
((REMAP) == GPIO_Remap_TIM1_DMA) || ((REMAP) == GPIO_Remap_TIM9) || \
((REMAP) == GPIO_Remap_TIM10) || ((REMAP) == GPIO_Remap_TIM11) || \
((REMAP) == GPIO_Remap_TIM13) || ((REMAP) == GPIO_Remap_TIM14) || \
((REMAP) == GPIO_Remap_FSMC_NADV) || ((REMAP) == GPIO_Remap_TIM67_DAC_DMA) || \
((REMAP) == GPIO_Remap_TIM12) || ((REMAP) == GPIO_Remap_MISC))
#define GPIO_Remap_CAN2
#define GPIO_Remap_ADC1_ETRGINJ
#define GPIO_Remap_TIM67_DAC_DMA
#define GPIO_Remap2_CAN1
#define GPIO_Remap_TIM1_DMA
#define GPIO_Remap_PTP_PPS
#define GPIO_Remap_USART2
#define GPIO_PartialRemap_TIM3
#define GPIO_FullRemap_TIM1
#define GPIO_Remap_SPI1
#define GPIO_Remap_SPI3
#define GPIO_Remap_SWJ_Disable
#define GPIO_Remap_TIM16
#define GPIO_Remap_TIM11
#define GPIO_Remap_CEC
#define GPIO_Remap_I2C1
#define GPIO_FullRemap_USART3
#define GPIO_Remap_TIM15
#define GPIO_Remap_TIM4
#define GPIO_PartialRemap_TIM1
#define GPIO_Remap_SWJ_NoJTRST
#define GPIO_Remap_TIM17
#define GPIO_Remap_PD01
#define GPIO_Remap_TIM10
#define GPIO_Remap_TIM2ITR1_PTP_SOF
#define GPIO_Remap_ADC1_ETRGREG
#define GPIO_Remap_USART1
#define GPIO_Remap_TIM13
#define GPIO_Remap_TIM12
#define GPIO_Remap_ADC2_ETRGINJ
#define GPIO_Remap_ETH
#define GPIO_PartialRemap_USART3
#define GPIO_Remap_TIM9
#define GPIO_Remap_TIM5CH4_LSI
#define GPIO_Remap_TIM14
#define GPIO_Remap_MISC
#define GPIO_Remap_SWJ_JTAGDisable
#define GPIO_PartialRemap1_TIM2
#define GPIO_FullRemap_TIM3
#define GPIO_Remap_FSMC_NADV
#define GPIO_Remap1_CAN1
#define GPIO_Remap_ADC2_ETRGREG
#define GPIO_PartialRemap2_TIM2
#define GPIO_FullRemap_TIM2

Definition at line 226 of file stm32f10x_gpio.h.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:29