Paparazzi UAS  v5.15_devel-230-gc96ce27
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
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define STM32F37x_MCUCONF
 
#define STM32_NO_INIT   FALSE
 
#define STM32_PVD_ENABLE   FALSE
 
#define STM32_PLS   STM32_PLS_LEV0
 
#define STM32_HSI_ENABLED   TRUE
 
#define STM32_LSI_ENABLED   TRUE
 
#define STM32_HSE_ENABLED   TRUE
 
#define STM32_LSE_ENABLED   FALSE
 
#define STM32_SW   STM32_SW_PLL
 
#define STM32_PLLSRC   STM32_PLLSRC_HSE
 
#define STM32_PREDIV_VALUE   2
 
#define STM32_PLLMUL_VALUE   9
 
#define STM32_HPRE   STM32_HPRE_DIV1
 
#define STM32_PPRE1   STM32_PPRE1_DIV2
 
#define STM32_PPRE2   STM32_PPRE2_DIV2
 
#define STM32_MCOSEL   STM32_MCOSEL_NOCLOCK
 
#define STM32_ADCPRE   STM32_ADCPRE_DIV4
 
#define STM32_SDPRE   STM32_SDPRE_DIV12
 
#define STM32_USART1SW   STM32_USART1SW_PCLK
 
#define STM32_USART2SW   STM32_USART2SW_PCLK
 
#define STM32_USART3SW   STM32_USART3SW_PCLK
 
#define STM32_I2C1SW   STM32_I2C1SW_SYSCLK
 
#define STM32_I2C2SW   STM32_I2C2SW_SYSCLK
 
#define STM32_RTCSEL   STM32_RTCSEL_LSI
 
#define STM32_USB_CLOCK_REQUIRED   TRUE
 
#define STM32_USBPRE   STM32_USBPRE_DIV1P5
 
#define STM32_ADC_USE_ADC1   TRUE
 
#define STM32_ADC_USE_SDADC1   FALSE
 
#define STM32_ADC_USE_SDADC2   FALSE
 
#define STM32_ADC_USE_SDADC3   FALSE
 
#define STM32_ADC_ADC1_DMA_PRIORITY   2
 
#define STM32_ADC_SDADC1_DMA_PRIORITY   2
 
#define STM32_ADC_SDADC2_DMA_PRIORITY   2
 
#define STM32_ADC_SDADC3_DMA_PRIORITY   2
 
#define STM32_ADC_ADC1_IRQ_PRIORITY   5
 
#define STM32_ADC_SDADC1_IRQ_PRIORITY   5
 
#define STM32_ADC_SDADC2_IRQ_PRIORITY   5
 
#define STM32_ADC_SDADC3_IRQ_PRIORITY   5
 
#define STM32_ADC_SDADC1_DMA_IRQ_PRIORITY   5
 
#define STM32_ADC_SDADC2_DMA_IRQ_PRIORITY   5
 
#define STM32_ADC_SDADC3_DMA_IRQ_PRIORITY   5
 
#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_EXT_EXTI20_23_IRQ_PRIORITY   6
 
#define STM32_EXT_EXTI30_32_IRQ_PRIORITY   6
 
#define STM32_EXT_EXTI33_IRQ_PRIORITY   6
 
#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_TIM6   FALSE
 
#define STM32_GPT_USE_TIM7   FALSE
 
#define STM32_GPT_USE_TIM12   FALSE
 
#define STM32_GPT_USE_TIM14   FALSE
 
#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_TIM6_IRQ_PRIORITY   7
 
#define STM32_GPT_TIM7_IRQ_PRIORITY   7
 
#define STM32_GPT_TIM12_IRQ_PRIORITY   7
 
#define STM32_GPT_TIM14_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   10
 
#define STM32_I2C_I2C2_IRQ_PRIORITY   10
 
#define STM32_I2C_USE_DMA   TRUE
 
#define STM32_I2C_I2C1_DMA_PRIORITY   1
 
#define STM32_I2C_I2C2_DMA_PRIORITY   1
 
#define STM32_I2C_DMA_ERROR_HOOK(i2cp)   osalSysHalt("DMA failure")
 
#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_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_PWM_USE_TIM2   FALSE
 
#define STM32_PWM_USE_TIM3   FALSE
 
#define STM32_PWM_USE_TIM4   FALSE
 
#define STM32_PWM_USE_TIM5   TRUE
 
#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_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   TRUE
 
#define STM32_UART_USE_USART2   TRUE
 
#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_USB1   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 72 of file mcuconf.h.

#define STM32_ADC_ADC1_IRQ_PRIORITY   5

Definition at line 76 of file mcuconf.h.

#define STM32_ADC_SDADC1_DMA_IRQ_PRIORITY   5

Definition at line 80 of file mcuconf.h.

#define STM32_ADC_SDADC1_DMA_PRIORITY   2

Definition at line 73 of file mcuconf.h.

#define STM32_ADC_SDADC1_IRQ_PRIORITY   5

Definition at line 77 of file mcuconf.h.

#define STM32_ADC_SDADC2_DMA_IRQ_PRIORITY   5

Definition at line 81 of file mcuconf.h.

#define STM32_ADC_SDADC2_DMA_PRIORITY   2

Definition at line 74 of file mcuconf.h.

#define STM32_ADC_SDADC2_IRQ_PRIORITY   5

Definition at line 78 of file mcuconf.h.

#define STM32_ADC_SDADC3_DMA_IRQ_PRIORITY   5

Definition at line 82 of file mcuconf.h.

#define STM32_ADC_SDADC3_DMA_PRIORITY   2

Definition at line 75 of file mcuconf.h.

#define STM32_ADC_SDADC3_IRQ_PRIORITY   5

Definition at line 79 of file mcuconf.h.

#define STM32_ADC_USE_ADC1   TRUE

Definition at line 68 of file mcuconf.h.

#define STM32_ADC_USE_SDADC1   FALSE

Definition at line 69 of file mcuconf.h.

#define STM32_ADC_USE_SDADC2   FALSE

Definition at line 70 of file mcuconf.h.

#define STM32_ADC_USE_SDADC3   FALSE

Definition at line 71 of file mcuconf.h.

#define STM32_ADCPRE   STM32_ADCPRE_DIV4

Definition at line 54 of file mcuconf.h.

#define STM32_CAN_CAN1_IRQ_PRIORITY   11

Definition at line 92 of file mcuconf.h.

#define STM32_CAN_USE_CAN1   FALSE

Definition at line 90 of file mcuconf.h.

#define STM32_EXT_EXTI0_IRQ_PRIORITY   6

Definition at line 97 of file mcuconf.h.

#define STM32_EXT_EXTI10_15_IRQ_PRIORITY   6

Definition at line 103 of file mcuconf.h.

#define STM32_EXT_EXTI16_IRQ_PRIORITY   6

Definition at line 104 of file mcuconf.h.

#define STM32_EXT_EXTI17_IRQ_PRIORITY   6

Definition at line 105 of file mcuconf.h.

#define STM32_EXT_EXTI18_IRQ_PRIORITY   6

Definition at line 106 of file mcuconf.h.

#define STM32_EXT_EXTI19_IRQ_PRIORITY   6

Definition at line 107 of file mcuconf.h.

#define STM32_EXT_EXTI1_IRQ_PRIORITY   6

Definition at line 98 of file mcuconf.h.

#define STM32_EXT_EXTI20_23_IRQ_PRIORITY   6

Definition at line 108 of file mcuconf.h.

#define STM32_EXT_EXTI2_IRQ_PRIORITY   6

Definition at line 99 of file mcuconf.h.

#define STM32_EXT_EXTI30_32_IRQ_PRIORITY   6

Definition at line 109 of file mcuconf.h.

#define STM32_EXT_EXTI33_IRQ_PRIORITY   6

Definition at line 110 of file mcuconf.h.

#define STM32_EXT_EXTI3_IRQ_PRIORITY   6

Definition at line 100 of file mcuconf.h.

#define STM32_EXT_EXTI4_IRQ_PRIORITY   6

Definition at line 101 of file mcuconf.h.

#define STM32_EXT_EXTI5_9_IRQ_PRIORITY   6

Definition at line 102 of file mcuconf.h.

#define STM32_GPT_TIM12_IRQ_PRIORITY   7

Definition at line 129 of file mcuconf.h.

#define STM32_GPT_TIM14_IRQ_PRIORITY   7

Definition at line 130 of file mcuconf.h.

#define STM32_GPT_TIM2_IRQ_PRIORITY   7

Definition at line 123 of file mcuconf.h.

#define STM32_GPT_TIM3_IRQ_PRIORITY   7

Definition at line 124 of file mcuconf.h.

#define STM32_GPT_TIM4_IRQ_PRIORITY   7

Definition at line 125 of file mcuconf.h.

#define STM32_GPT_TIM5_IRQ_PRIORITY   7

Definition at line 126 of file mcuconf.h.

#define STM32_GPT_TIM6_IRQ_PRIORITY   7

Definition at line 127 of file mcuconf.h.

#define STM32_GPT_TIM7_IRQ_PRIORITY   7

Definition at line 128 of file mcuconf.h.

#define STM32_GPT_USE_TIM12   FALSE

Definition at line 121 of file mcuconf.h.

#define STM32_GPT_USE_TIM14   FALSE

Definition at line 122 of file mcuconf.h.

#define STM32_GPT_USE_TIM2   FALSE

Definition at line 115 of file mcuconf.h.

#define STM32_GPT_USE_TIM3   FALSE

Definition at line 116 of file mcuconf.h.

#define STM32_GPT_USE_TIM4   FALSE

Definition at line 117 of file mcuconf.h.

#define STM32_GPT_USE_TIM5   FALSE

Definition at line 118 of file mcuconf.h.

#define STM32_GPT_USE_TIM6   FALSE

Definition at line 119 of file mcuconf.h.

#define STM32_GPT_USE_TIM7   FALSE

Definition at line 120 of file mcuconf.h.

#define STM32_HPRE   STM32_HPRE_DIV1

Definition at line 50 of file mcuconf.h.

#define STM32_HSE_ENABLED   TRUE

Definition at line 44 of file mcuconf.h.

#define STM32_HSI_ENABLED   TRUE

Definition at line 42 of file mcuconf.h.

#define STM32_I2C1SW   STM32_I2C1SW_SYSCLK

Definition at line 59 of file mcuconf.h.

#define STM32_I2C2SW   STM32_I2C2SW_SYSCLK

Definition at line 60 of file mcuconf.h.

#define STM32_I2C_BUSY_TIMEOUT   50

Definition at line 145 of file mcuconf.h.

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

Definition at line 151 of file mcuconf.h.

#define STM32_I2C_I2C1_DMA_PRIORITY   1

Definition at line 149 of file mcuconf.h.

#define STM32_I2C_I2C1_IRQ_PRIORITY   10

Definition at line 146 of file mcuconf.h.

#define STM32_I2C_I2C2_DMA_PRIORITY   1

Definition at line 150 of file mcuconf.h.

#define STM32_I2C_I2C2_IRQ_PRIORITY   10

Definition at line 147 of file mcuconf.h.

#define STM32_I2C_USE_DMA   TRUE

Definition at line 148 of file mcuconf.h.

#define STM32_I2C_USE_I2C1   FALSE

Definition at line 138 of file mcuconf.h.

#define STM32_I2C_USE_I2C2   FALSE

Definition at line 143 of file mcuconf.h.

#define STM32_ICU_TIM2_IRQ_PRIORITY   7

Definition at line 160 of file mcuconf.h.

#define STM32_ICU_TIM3_IRQ_PRIORITY   7

Definition at line 161 of file mcuconf.h.

#define STM32_ICU_TIM4_IRQ_PRIORITY   7

Definition at line 162 of file mcuconf.h.

#define STM32_ICU_TIM5_IRQ_PRIORITY   7

Definition at line 163 of file mcuconf.h.

#define STM32_ICU_USE_TIM2   FALSE

Definition at line 156 of file mcuconf.h.

#define STM32_ICU_USE_TIM3   FALSE

Definition at line 157 of file mcuconf.h.

#define STM32_ICU_USE_TIM4   FALSE

Definition at line 158 of file mcuconf.h.

#define STM32_ICU_USE_TIM5   FALSE

Definition at line 159 of file mcuconf.h.

#define STM32_LSE_ENABLED   FALSE

Definition at line 45 of file mcuconf.h.

#define STM32_LSI_ENABLED   TRUE

Definition at line 43 of file mcuconf.h.

#define STM32_MCOSEL   STM32_MCOSEL_NOCLOCK

Definition at line 53 of file mcuconf.h.

#define STM32_NO_INIT   FALSE

Definition at line 39 of file mcuconf.h.

#define STM32_PLLMUL_VALUE   9

Definition at line 49 of file mcuconf.h.

#define STM32_PLLSRC   STM32_PLLSRC_HSE

Definition at line 47 of file mcuconf.h.

#define STM32_PLS   STM32_PLS_LEV0

Definition at line 41 of file mcuconf.h.

#define STM32_PPRE1   STM32_PPRE1_DIV2

Definition at line 51 of file mcuconf.h.

#define STM32_PPRE2   STM32_PPRE2_DIV2

Definition at line 52 of file mcuconf.h.

#define STM32_PREDIV_VALUE   2

Definition at line 48 of file mcuconf.h.

#define STM32_PVD_ENABLE   FALSE

Definition at line 40 of file mcuconf.h.

#define STM32_PWM_TIM2_IRQ_PRIORITY   7

Definition at line 172 of file mcuconf.h.

#define STM32_PWM_TIM3_IRQ_PRIORITY   7

Definition at line 173 of file mcuconf.h.

#define STM32_PWM_TIM4_IRQ_PRIORITY   7

Definition at line 174 of file mcuconf.h.

#define STM32_PWM_TIM5_IRQ_PRIORITY   7

Definition at line 175 of file mcuconf.h.

#define STM32_PWM_USE_TIM2   FALSE

Definition at line 168 of file mcuconf.h.

#define STM32_PWM_USE_TIM3   FALSE

Definition at line 169 of file mcuconf.h.

#define STM32_PWM_USE_TIM4   FALSE

Definition at line 170 of file mcuconf.h.

#define STM32_PWM_USE_TIM5   TRUE

Definition at line 171 of file mcuconf.h.

#define STM32_RTCSEL   STM32_RTCSEL_LSI

Definition at line 61 of file mcuconf.h.

#define STM32_SDPRE   STM32_SDPRE_DIV12

Definition at line 55 of file mcuconf.h.

#define STM32_SERIAL_UART4_PRIORITY   12

Definition at line 208 of file mcuconf.h.

#define STM32_SERIAL_UART5_PRIORITY   12

Definition at line 209 of file mcuconf.h.

#define STM32_SERIAL_USART1_PRIORITY   12

Definition at line 205 of file mcuconf.h.

#define STM32_SERIAL_USART2_PRIORITY   12

Definition at line 206 of file mcuconf.h.

#define STM32_SERIAL_USART3_PRIORITY   12

Definition at line 207 of file mcuconf.h.

#define STM32_SERIAL_USE_UART4   FALSE

Definition at line 198 of file mcuconf.h.

#define STM32_SERIAL_USE_UART5   FALSE

Definition at line 203 of file mcuconf.h.

#define STM32_SERIAL_USE_USART1   FALSE

Definition at line 183 of file mcuconf.h.

#define STM32_SERIAL_USE_USART2   FALSE

Definition at line 188 of file mcuconf.h.

#define STM32_SERIAL_USE_USART3   FALSE

Definition at line 193 of file mcuconf.h.

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

Definition at line 235 of file mcuconf.h.

#define STM32_SPI_SPI1_DMA_PRIORITY   1

Definition at line 229 of file mcuconf.h.

#define STM32_SPI_SPI1_IRQ_PRIORITY   10

Definition at line 232 of file mcuconf.h.

#define STM32_SPI_SPI2_DMA_PRIORITY   1

Definition at line 230 of file mcuconf.h.

#define STM32_SPI_SPI2_IRQ_PRIORITY   10

Definition at line 233 of file mcuconf.h.

#define STM32_SPI_SPI3_DMA_PRIORITY   1

Definition at line 231 of file mcuconf.h.

#define STM32_SPI_SPI3_IRQ_PRIORITY   10

Definition at line 234 of file mcuconf.h.

#define STM32_SPI_USE_SPI1   TRUE

Definition at line 215 of file mcuconf.h.

#define STM32_SPI_USE_SPI2   TRUE

Definition at line 220 of file mcuconf.h.

#define STM32_SPI_USE_SPI3   FALSE

Definition at line 227 of file mcuconf.h.

#define STM32_ST_IRQ_PRIORITY   8

Definition at line 240 of file mcuconf.h.

#define STM32_ST_USE_TIMER   2

Definition at line 241 of file mcuconf.h.

#define STM32_SW   STM32_SW_PLL

Definition at line 46 of file mcuconf.h.

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

Definition at line 255 of file mcuconf.h.

#define STM32_UART_USART1_DMA_PRIORITY   0

Definition at line 252 of file mcuconf.h.

#define STM32_UART_USART1_IRQ_PRIORITY   12

Definition at line 249 of file mcuconf.h.

#define STM32_UART_USART2_DMA_PRIORITY   0

Definition at line 253 of file mcuconf.h.

#define STM32_UART_USART2_IRQ_PRIORITY   12

Definition at line 250 of file mcuconf.h.

#define STM32_UART_USART3_DMA_PRIORITY   0

Definition at line 254 of file mcuconf.h.

#define STM32_UART_USART3_IRQ_PRIORITY   12

Definition at line 251 of file mcuconf.h.

#define STM32_UART_USE_USART1   TRUE

Definition at line 246 of file mcuconf.h.

#define STM32_UART_USE_USART2   TRUE

Definition at line 247 of file mcuconf.h.

#define STM32_UART_USE_USART3   FALSE

Definition at line 248 of file mcuconf.h.

#define STM32_USART1SW   STM32_USART1SW_PCLK

Definition at line 56 of file mcuconf.h.

#define STM32_USART2SW   STM32_USART2SW_PCLK

Definition at line 57 of file mcuconf.h.

#define STM32_USART3SW   STM32_USART3SW_PCLK

Definition at line 58 of file mcuconf.h.

#define STM32_USB_CLOCK_REQUIRED   TRUE

Definition at line 62 of file mcuconf.h.

#define STM32_USB_LOW_POWER_ON_SUSPEND   FALSE

Definition at line 261 of file mcuconf.h.

#define STM32_USB_USB1_HP_IRQ_PRIORITY   13

Definition at line 262 of file mcuconf.h.

#define STM32_USB_USB1_LP_IRQ_PRIORITY   14

Definition at line 263 of file mcuconf.h.

#define STM32_USB_USE_USB1   FALSE

Definition at line 260 of file mcuconf.h.

#define STM32_USBPRE   STM32_USBPRE_DIV1P5

Definition at line 63 of file mcuconf.h.

#define STM32_WDG_USE_IWDG   FALSE

Definition at line 268 of file mcuconf.h.

#define STM32F37x_MCUCONF

Definition at line 34 of file mcuconf.h.