Paparazzi UAS  v5.14.0_stable-0-g3f680d1
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
mcuconf.h File Reference

Go to the source code of this file.

Macros

#define STM32F107_MCUCONF
 
#define STM32_NO_INIT   FALSE
 
#define STM32_HSI_ENABLED   TRUE
 
#define STM32_LSI_ENABLED   FALSE
 
#define STM32_HSE_ENABLED   TRUE
 
#define STM32_LSE_ENABLED   FALSE
 
#define STM32_SW   STM32_SW_PLL
 
#define STM32_PLLSRC   STM32_PLLSRC_PREDIV1
 
#define STM32_PREDIV1_VALUE   1
 
#define STM32_PLLMUL_VALUE   6
 
#define STM32_PREDIV2_VALUE   3
 
#define STM32_PLL2MUL_VALUE   10
 
#define STM32_PLL3MUL_VALUE   12
 
#define STM32_PLLXTPRE   STM32_PLLXTPRE_DIV1
 
#define STM32_HPRE   STM32_HPRE_DIV1
 
#define STM32_PPRE1   STM32_PPRE1_DIV2
 
#define STM32_PPRE2   STM32_PPRE2_DIV2
 
#define STM32_ADCPRE   STM32_ADCPRE_DIV4
 
#define STM32_USB_CLOCK_REQUIRED   TRUE
 
#define STM32_USBPRE   STM32_USBPRE_DIV1P5
 
#define STM32_MCOSEL   STM32_MCOSEL_NOCLOCK
 
#define STM32_RTCSEL   STM32_RTCSEL_HSEDIV
 
#define STM32_PVD_ENABLE   FALSE
 
#define STM32_PLS   STM32_PLS_LEV0
 
#define STM32_ADC_USE_ADC1   TRUE
 
#define STM32_ADC_ADC1_DMA_PRIORITY   2
 
#define STM32_ADC_ADC1_IRQ_PRIORITY   6
 
#define STM32_CAN_USE_CAN1   FALSE
 
#define STM32_CAN_CAN1_IRQ_PRIORITY   11
 
#define STM32_EXT_EXTI0_IRQ_PRIORITY   6
 
#define STM32_EXT_EXTI1_IRQ_PRIORITY   6
 
#define STM32_EXT_EXTI2_IRQ_PRIORITY   6
 
#define STM32_EXT_EXTI3_IRQ_PRIORITY   6
 
#define STM32_EXT_EXTI4_IRQ_PRIORITY   6
 
#define STM32_EXT_EXTI5_9_IRQ_PRIORITY   6
 
#define STM32_EXT_EXTI10_15_IRQ_PRIORITY   6
 
#define STM32_EXT_EXTI16_IRQ_PRIORITY   6
 
#define STM32_EXT_EXTI17_IRQ_PRIORITY   6
 
#define STM32_EXT_EXTI18_IRQ_PRIORITY   6
 
#define STM32_EXT_EXTI19_IRQ_PRIORITY   6
 
#define STM32_GPT_USE_TIM1   FALSE
 
#define STM32_GPT_USE_TIM2   FALSE
 
#define STM32_GPT_USE_TIM3   FALSE
 
#define STM32_GPT_USE_TIM4   FALSE
 
#define STM32_GPT_USE_TIM5   FALSE
 
#define STM32_GPT_USE_TIM8   FALSE
 
#define STM32_GPT_TIM1_IRQ_PRIORITY   7
 
#define STM32_GPT_TIM2_IRQ_PRIORITY   7
 
#define STM32_GPT_TIM3_IRQ_PRIORITY   7
 
#define STM32_GPT_TIM4_IRQ_PRIORITY   7
 
#define STM32_GPT_TIM5_IRQ_PRIORITY   7
 
#define STM32_GPT_TIM8_IRQ_PRIORITY   7
 
#define STM32_I2C_USE_I2C1   FALSE
 
#define STM32_I2C_USE_I2C2   FALSE
 
#define STM32_I2C_BUSY_TIMEOUT   50
 
#define STM32_I2C_I2C1_IRQ_PRIORITY   5
 
#define STM32_I2C_I2C2_IRQ_PRIORITY   5
 
#define STM32_I2C_I2C1_DMA_PRIORITY   3
 
#define STM32_I2C_I2C2_DMA_PRIORITY   3
 
#define STM32_I2C_DMA_ERROR_HOOK(i2cp)   osalSysHalt("DMA failure")
 
#define STM32_ICU_USE_TIM1   TRUE
 
#define STM32_ICU_USE_TIM2   FALSE
 
#define STM32_ICU_USE_TIM3   FALSE
 
#define STM32_ICU_USE_TIM4   FALSE
 
#define STM32_ICU_USE_TIM5   FALSE
 
#define STM32_ICU_USE_TIM8   FALSE
 
#define STM32_ICU_TIM1_IRQ_PRIORITY   7
 
#define STM32_ICU_TIM2_IRQ_PRIORITY   7
 
#define STM32_ICU_TIM3_IRQ_PRIORITY   7
 
#define STM32_ICU_TIM4_IRQ_PRIORITY   7
 
#define STM32_ICU_TIM5_IRQ_PRIORITY   7
 
#define STM32_ICU_TIM8_IRQ_PRIORITY   7
 
#define STM32_PWM_USE_ADVANCED   FALSE
 
#define STM32_PWM_USE_TIM1   FALSE
 
#define STM32_PWM_USE_TIM2   FALSE
 
#define STM32_PWM_USE_TIM3   TRUE
 
#define STM32_PWM_USE_TIM4   FALSE
 
#define STM32_PWM_USE_TIM5   TRUE
 
#define STM32_PWM_USE_TIM8   FALSE
 
#define STM32_PWM_TIM1_IRQ_PRIORITY   7
 
#define STM32_PWM_TIM2_IRQ_PRIORITY   7
 
#define STM32_PWM_TIM3_IRQ_PRIORITY   7
 
#define STM32_PWM_TIM4_IRQ_PRIORITY   7
 
#define STM32_PWM_TIM5_IRQ_PRIORITY   7
 
#define STM32_PWM_TIM8_IRQ_PRIORITY   7
 
#define STM32_RTC_IRQ_PRIORITY   15
 
#define STM32_SERIAL_USE_USART1   FALSE
 
#define STM32_SERIAL_USE_USART2   FALSE
 
#define STM32_SERIAL_USE_USART3   FALSE
 
#define STM32_SERIAL_USE_UART4   FALSE
 
#define STM32_SERIAL_USE_UART5   FALSE
 
#define STM32_SERIAL_USART1_PRIORITY   12
 
#define STM32_SERIAL_USART2_PRIORITY   12
 
#define STM32_SERIAL_USART3_PRIORITY   12
 
#define STM32_SERIAL_UART4_PRIORITY   12
 
#define STM32_SERIAL_UART5_PRIORITY   12
 
#define STM32_SPI_USE_SPI1   TRUE
 
#define STM32_SPI_USE_SPI2   TRUE
 
#define STM32_SPI_USE_SPI3   FALSE
 
#define STM32_SPI_SPI1_DMA_PRIORITY   1
 
#define STM32_SPI_SPI2_DMA_PRIORITY   1
 
#define STM32_SPI_SPI3_DMA_PRIORITY   1
 
#define STM32_SPI_SPI1_IRQ_PRIORITY   10
 
#define STM32_SPI_SPI2_IRQ_PRIORITY   10
 
#define STM32_SPI_SPI3_IRQ_PRIORITY   10
 
#define STM32_SPI_DMA_ERROR_HOOK(spip)   osalSysHalt("DMA failure")
 
#define STM32_ST_IRQ_PRIORITY   8
 
#define STM32_ST_USE_TIMER   2
 
#define STM32_UART_USE_USART1   FALSE
 
#define STM32_UART_USE_USART2   FALSE
 
#define STM32_UART_USE_USART3   FALSE
 
#define STM32_UART_USART1_IRQ_PRIORITY   12
 
#define STM32_UART_USART2_IRQ_PRIORITY   12
 
#define STM32_UART_USART3_IRQ_PRIORITY   12
 
#define STM32_UART_USART1_DMA_PRIORITY   0
 
#define STM32_UART_USART2_DMA_PRIORITY   0
 
#define STM32_UART_USART3_DMA_PRIORITY   0
 
#define STM32_UART_DMA_ERROR_HOOK(uartp)   osalSysHalt("DMA failure")
 
#define STM32_USB_USE_OTG1   FALSE
 
#define STM32_USB_LOW_POWER_ON_SUSPEND   FALSE
 
#define STM32_USB_USB1_HP_IRQ_PRIORITY   13
 
#define STM32_USB_USB1_LP_IRQ_PRIORITY   14
 
#define STM32_WDG_USE_IWDG   FALSE
 

Macro Definition Documentation

#define STM32_ADC_ADC1_DMA_PRIORITY   2

Definition at line 67 of file mcuconf.h.

#define STM32_ADC_ADC1_IRQ_PRIORITY   6

Definition at line 68 of file mcuconf.h.

#define STM32_ADC_USE_ADC1   TRUE

Definition at line 66 of file mcuconf.h.

#define STM32_ADCPRE   STM32_ADCPRE_DIV4

Definition at line 55 of file mcuconf.h.

#define STM32_CAN_CAN1_IRQ_PRIORITY   11

Definition at line 78 of file mcuconf.h.

#define STM32_CAN_USE_CAN1   FALSE

Definition at line 76 of file mcuconf.h.

#define STM32_EXT_EXTI0_IRQ_PRIORITY   6

Definition at line 83 of file mcuconf.h.

#define STM32_EXT_EXTI10_15_IRQ_PRIORITY   6

Definition at line 89 of file mcuconf.h.

#define STM32_EXT_EXTI16_IRQ_PRIORITY   6

Definition at line 90 of file mcuconf.h.

#define STM32_EXT_EXTI17_IRQ_PRIORITY   6

Definition at line 91 of file mcuconf.h.

#define STM32_EXT_EXTI18_IRQ_PRIORITY   6

Definition at line 92 of file mcuconf.h.

#define STM32_EXT_EXTI19_IRQ_PRIORITY   6

Definition at line 93 of file mcuconf.h.

#define STM32_EXT_EXTI1_IRQ_PRIORITY   6

Definition at line 84 of file mcuconf.h.

#define STM32_EXT_EXTI2_IRQ_PRIORITY   6

Definition at line 85 of file mcuconf.h.

#define STM32_EXT_EXTI3_IRQ_PRIORITY   6

Definition at line 86 of file mcuconf.h.

#define STM32_EXT_EXTI4_IRQ_PRIORITY   6

Definition at line 87 of file mcuconf.h.

#define STM32_EXT_EXTI5_9_IRQ_PRIORITY   6

Definition at line 88 of file mcuconf.h.

#define STM32_GPT_TIM1_IRQ_PRIORITY   7

Definition at line 104 of file mcuconf.h.

#define STM32_GPT_TIM2_IRQ_PRIORITY   7

Definition at line 105 of file mcuconf.h.

#define STM32_GPT_TIM3_IRQ_PRIORITY   7

Definition at line 106 of file mcuconf.h.

#define STM32_GPT_TIM4_IRQ_PRIORITY   7

Definition at line 107 of file mcuconf.h.

#define STM32_GPT_TIM5_IRQ_PRIORITY   7

Definition at line 108 of file mcuconf.h.

#define STM32_GPT_TIM8_IRQ_PRIORITY   7

Definition at line 109 of file mcuconf.h.

#define STM32_GPT_USE_TIM1   FALSE

Definition at line 98 of file mcuconf.h.

#define STM32_GPT_USE_TIM2   FALSE

Definition at line 99 of file mcuconf.h.

#define STM32_GPT_USE_TIM3   FALSE

Definition at line 100 of file mcuconf.h.

#define STM32_GPT_USE_TIM4   FALSE

Definition at line 101 of file mcuconf.h.

#define STM32_GPT_USE_TIM5   FALSE

Definition at line 102 of file mcuconf.h.

#define STM32_GPT_USE_TIM8   FALSE

Definition at line 103 of file mcuconf.h.

#define STM32_HPRE   STM32_HPRE_DIV1

Definition at line 52 of file mcuconf.h.

#define STM32_HSE_ENABLED   TRUE

Definition at line 42 of file mcuconf.h.

#define STM32_HSI_ENABLED   TRUE

Definition at line 40 of file mcuconf.h.

#define STM32_I2C_BUSY_TIMEOUT   50

Definition at line 124 of file mcuconf.h.

#define STM32_I2C_DMA_ERROR_HOOK (   i2cp)    osalSysHalt("DMA failure")

Definition at line 129 of file mcuconf.h.

#define STM32_I2C_I2C1_DMA_PRIORITY   3

Definition at line 127 of file mcuconf.h.

#define STM32_I2C_I2C1_IRQ_PRIORITY   5

Definition at line 125 of file mcuconf.h.

#define STM32_I2C_I2C2_DMA_PRIORITY   3

Definition at line 128 of file mcuconf.h.

#define STM32_I2C_I2C2_IRQ_PRIORITY   5

Definition at line 126 of file mcuconf.h.

#define STM32_I2C_USE_I2C1   FALSE

Definition at line 117 of file mcuconf.h.

#define STM32_I2C_USE_I2C2   FALSE

Definition at line 122 of file mcuconf.h.

#define STM32_ICU_TIM1_IRQ_PRIORITY   7

Definition at line 140 of file mcuconf.h.

#define STM32_ICU_TIM2_IRQ_PRIORITY   7

Definition at line 141 of file mcuconf.h.

#define STM32_ICU_TIM3_IRQ_PRIORITY   7

Definition at line 142 of file mcuconf.h.

#define STM32_ICU_TIM4_IRQ_PRIORITY   7

Definition at line 143 of file mcuconf.h.

#define STM32_ICU_TIM5_IRQ_PRIORITY   7

Definition at line 144 of file mcuconf.h.

#define STM32_ICU_TIM8_IRQ_PRIORITY   7

Definition at line 145 of file mcuconf.h.

#define STM32_ICU_USE_TIM1   TRUE

Definition at line 134 of file mcuconf.h.

#define STM32_ICU_USE_TIM2   FALSE

Definition at line 135 of file mcuconf.h.

#define STM32_ICU_USE_TIM3   FALSE

Definition at line 136 of file mcuconf.h.

#define STM32_ICU_USE_TIM4   FALSE

Definition at line 137 of file mcuconf.h.

#define STM32_ICU_USE_TIM5   FALSE

Definition at line 138 of file mcuconf.h.

#define STM32_ICU_USE_TIM8   FALSE

Definition at line 139 of file mcuconf.h.

#define STM32_LSE_ENABLED   FALSE

Definition at line 43 of file mcuconf.h.

#define STM32_LSI_ENABLED   FALSE

Definition at line 41 of file mcuconf.h.

#define STM32_MCOSEL   STM32_MCOSEL_NOCLOCK

Definition at line 58 of file mcuconf.h.

#define STM32_NO_INIT   FALSE

Definition at line 39 of file mcuconf.h.

#define STM32_PLL2MUL_VALUE   10

Definition at line 49 of file mcuconf.h.

#define STM32_PLL3MUL_VALUE   12

Definition at line 50 of file mcuconf.h.

#define STM32_PLLMUL_VALUE   6

Definition at line 47 of file mcuconf.h.

#define STM32_PLLSRC   STM32_PLLSRC_PREDIV1

Definition at line 45 of file mcuconf.h.

#define STM32_PLLXTPRE   STM32_PLLXTPRE_DIV1

Definition at line 51 of file mcuconf.h.

#define STM32_PLS   STM32_PLS_LEV0

Definition at line 61 of file mcuconf.h.

#define STM32_PPRE1   STM32_PPRE1_DIV2

Definition at line 53 of file mcuconf.h.

#define STM32_PPRE2   STM32_PPRE2_DIV2

Definition at line 54 of file mcuconf.h.

#define STM32_PREDIV1_VALUE   1

Definition at line 46 of file mcuconf.h.

#define STM32_PREDIV2_VALUE   3

Definition at line 48 of file mcuconf.h.

#define STM32_PVD_ENABLE   FALSE

Definition at line 60 of file mcuconf.h.

#define STM32_PWM_TIM1_IRQ_PRIORITY   7

Definition at line 157 of file mcuconf.h.

#define STM32_PWM_TIM2_IRQ_PRIORITY   7

Definition at line 158 of file mcuconf.h.

#define STM32_PWM_TIM3_IRQ_PRIORITY   7

Definition at line 159 of file mcuconf.h.

#define STM32_PWM_TIM4_IRQ_PRIORITY   7

Definition at line 160 of file mcuconf.h.

#define STM32_PWM_TIM5_IRQ_PRIORITY   7

Definition at line 161 of file mcuconf.h.

#define STM32_PWM_TIM8_IRQ_PRIORITY   7

Definition at line 162 of file mcuconf.h.

#define STM32_PWM_USE_ADVANCED   FALSE

Definition at line 150 of file mcuconf.h.

#define STM32_PWM_USE_TIM1   FALSE

Definition at line 151 of file mcuconf.h.

#define STM32_PWM_USE_TIM2   FALSE

Definition at line 152 of file mcuconf.h.

#define STM32_PWM_USE_TIM3   TRUE

Definition at line 153 of file mcuconf.h.

#define STM32_PWM_USE_TIM4   FALSE

Definition at line 154 of file mcuconf.h.

#define STM32_PWM_USE_TIM5   TRUE

Definition at line 155 of file mcuconf.h.

#define STM32_PWM_USE_TIM8   FALSE

Definition at line 156 of file mcuconf.h.

#define STM32_RTC_IRQ_PRIORITY   15

Definition at line 167 of file mcuconf.h.

#define STM32_RTCSEL   STM32_RTCSEL_HSEDIV

Definition at line 59 of file mcuconf.h.

#define STM32_SERIAL_UART4_PRIORITY   12

Definition at line 200 of file mcuconf.h.

#define STM32_SERIAL_UART5_PRIORITY   12

Definition at line 201 of file mcuconf.h.

#define STM32_SERIAL_USART1_PRIORITY   12

Definition at line 197 of file mcuconf.h.

#define STM32_SERIAL_USART2_PRIORITY   12

Definition at line 198 of file mcuconf.h.

#define STM32_SERIAL_USART3_PRIORITY   12

Definition at line 199 of file mcuconf.h.

#define STM32_SERIAL_USE_UART4   FALSE

Definition at line 190 of file mcuconf.h.

#define STM32_SERIAL_USE_UART5   FALSE

Definition at line 195 of file mcuconf.h.

#define STM32_SERIAL_USE_USART1   FALSE

Definition at line 175 of file mcuconf.h.

#define STM32_SERIAL_USE_USART2   FALSE

Definition at line 180 of file mcuconf.h.

#define STM32_SERIAL_USE_USART3   FALSE

Definition at line 185 of file mcuconf.h.

#define STM32_SPI_DMA_ERROR_HOOK (   spip)    osalSysHalt("DMA failure")

Definition at line 227 of file mcuconf.h.

#define STM32_SPI_SPI1_DMA_PRIORITY   1

Definition at line 221 of file mcuconf.h.

#define STM32_SPI_SPI1_IRQ_PRIORITY   10

Definition at line 224 of file mcuconf.h.

#define STM32_SPI_SPI2_DMA_PRIORITY   1

Definition at line 222 of file mcuconf.h.

#define STM32_SPI_SPI2_IRQ_PRIORITY   10

Definition at line 225 of file mcuconf.h.

#define STM32_SPI_SPI3_DMA_PRIORITY   1

Definition at line 223 of file mcuconf.h.

#define STM32_SPI_SPI3_IRQ_PRIORITY   10

Definition at line 226 of file mcuconf.h.

#define STM32_SPI_USE_SPI1   TRUE

Definition at line 207 of file mcuconf.h.

#define STM32_SPI_USE_SPI2   TRUE

Definition at line 212 of file mcuconf.h.

#define STM32_SPI_USE_SPI3   FALSE

Definition at line 219 of file mcuconf.h.

#define STM32_ST_IRQ_PRIORITY   8

Definition at line 232 of file mcuconf.h.

#define STM32_ST_USE_TIMER   2

Definition at line 233 of file mcuconf.h.

#define STM32_SW   STM32_SW_PLL

Definition at line 44 of file mcuconf.h.

#define STM32_UART_DMA_ERROR_HOOK (   uartp)    osalSysHalt("DMA failure")

Definition at line 259 of file mcuconf.h.

#define STM32_UART_USART1_DMA_PRIORITY   0

Definition at line 256 of file mcuconf.h.

#define STM32_UART_USART1_IRQ_PRIORITY   12

Definition at line 253 of file mcuconf.h.

#define STM32_UART_USART2_DMA_PRIORITY   0

Definition at line 257 of file mcuconf.h.

#define STM32_UART_USART2_IRQ_PRIORITY   12

Definition at line 254 of file mcuconf.h.

#define STM32_UART_USART3_DMA_PRIORITY   0

Definition at line 258 of file mcuconf.h.

#define STM32_UART_USART3_IRQ_PRIORITY   12

Definition at line 255 of file mcuconf.h.

#define STM32_UART_USE_USART1   FALSE

Definition at line 241 of file mcuconf.h.

#define STM32_UART_USE_USART2   FALSE

Definition at line 246 of file mcuconf.h.

#define STM32_UART_USE_USART3   FALSE

Definition at line 251 of file mcuconf.h.

#define STM32_USB_CLOCK_REQUIRED   TRUE

Definition at line 56 of file mcuconf.h.

#define STM32_USB_LOW_POWER_ON_SUSPEND   FALSE

Definition at line 269 of file mcuconf.h.

#define STM32_USB_USB1_HP_IRQ_PRIORITY   13

Definition at line 270 of file mcuconf.h.

#define STM32_USB_USB1_LP_IRQ_PRIORITY   14

Definition at line 271 of file mcuconf.h.

#define STM32_USB_USE_OTG1   FALSE

Definition at line 267 of file mcuconf.h.

#define STM32_USBPRE   STM32_USBPRE_DIV1P5

Definition at line 57 of file mcuconf.h.

#define STM32_WDG_USE_IWDG   FALSE

Definition at line 276 of file mcuconf.h.

#define STM32F107_MCUCONF

Definition at line 20 of file mcuconf.h.