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
board.h File Reference

Go to the source code of this file.

Macros

#define BOARD_ST_STM32373C_XVERT
 
#define BOARD_NAME   "STMicroelectronics STM32373C-xvert"
 
#define STM32_LSECLK   32768U
 
#define STM32_LSEDRV   (3U << 3U)
 
#define STM32_HSECLK   16000000U
 
#define STM32F373xC
 
#define GPIOA_PIN0   0U
 
#define GPIOA_ADC_VDD   1U
 
#define GPIOA_UART2TX   2U
 
#define GPIOA_UART2RX   3U
 
#define GPIOA_PIN4   4U
 
#define GPIOA_ADC1   5U
 
#define GPIOA_ADC2   6U
 
#define GPIOA_PIN7   7U
 
#define GPIOA_LED_RED   8U
 
#define GPIOA_UART1TX   9U
 
#define GPIOA_UART1RX   10U
 
#define GPIOA_PWM_PIN11   11U
 
#define GPIOA_PWM_PIN12   12U
 
#define GPIOA_SWD   13U
 
#define GPIOA_SWCLK   14U
 
#define GPIOA_PIN15   15U
 
#define GPIOB_MIC_IN   0U
 
#define GPIOB_ADC_POT_IN   1U
 
#define GPIOB_PIN2   2U
 
#define GPIOB_SWO   3U
 
#define GPIOB_JTRST   4U
 
#define GPIOB_PIN5   5U
 
#define GPIOB_I2C1_SCL   6U
 
#define GPIOB_I2C1_SDA   7U
 
#define GPIOB_PIN8   8U
 
#define GPIOB_PIN9   9U
 
#define GPIOB_PIN10   10U
 
#define GPIOB_PIN11   11U
 
#define GPIOB_PIN12   12U
 
#define GPIOB_PIN13   13U
 
#define GPIOB_PIN14   14U
 
#define GPIOB_PIN15   15U
 
#define GPIOC_LED1   0U
 
#define GPIOC_LED2   1U
 
#define GPIOC_LED3   2U
 
#define GPIOC_LED4   3U
 
#define GPIOC_PIN4   4U
 
#define GPIOC_USB_DISCONNECT   5U
 
#define GPIOC_PIN6   6U
 
#define GPIOC_PIN7   7U
 
#define GPIOC_PIN8   8U
 
#define GPIOC_PIN9   9U
 
#define GPIOC_PIN10   10U
 
#define GPIOC_PIN11   11U
 
#define GPIOC_PIN12   12U
 
#define GPIOC_PIN13   13U
 
#define GPIOC_OSC32_IN   14U
 
#define GPIOC_OSC32_OUT   15U
 
#define GPIOD_CAN_RX   0U
 
#define GPIOD_CAN_TX   1U
 
#define GPIOD_LCD_CS   2U
 
#define GPIOD_USART2_CTS   3U
 
#define GPIOD_USART2_RST   4U
 
#define GPIOD_USART2_TX   5U
 
#define GPIOD_USART2_RX   6U
 
#define GPIOD_PIN7   7U
 
#define GPIOD_LED_GREEN   8U
 
#define GPIOD_PIN9   9U
 
#define GPIOD_PIN10   10U
 
#define GPIOD_AUDIO_RST   11U
 
#define GPIOD_PIN12   12U
 
#define GPIOD_PIN13   13U
 
#define GPIOD_PIN14   14U
 
#define GPIOD_PIN15   15U
 
#define GPIOE_PIN0   0U
 
#define GPIOE_PIN1   1U
 
#define GPIOE_SD_CS   2U
 
#define GPIOE_SD_DETECT   3U
 
#define GPIOE_PIN4   4U
 
#define GPIOE_PIN5   5U
 
#define GPIOE_JOY_SEL   6U
 
#define GPIOE_RTD_IN   7U
 
#define GPIOE_PRESSUREP   8U
 
#define GPIOE_PRESSUREN   9U
 
#define GPIOE_PIN10   10U
 
#define GPIOE_PIN11   11U
 
#define GPIOE_PIN12   12U
 
#define GPIOE_PIN13   13U
 
#define GPIOE_PRESSURE_TEPM   14U
 
#define GPIOE_PIN15   15U
 
#define GPIOF_OSC_IN   0U
 
#define GPIOF_OSC_OUT   1U
 
#define GPIOF_JOY_DOWN   2U
 
#define GPIOF_PIN3   3U
 
#define GPIOF_JOY_LEFT   4U
 
#define GPIOF_PIN5   5U
 
#define GPIOF_I2C2_SCL   6U
 
#define GPIOF_I2C2_SDA   7U
 
#define GPIOF_PIN8   8U
 
#define GPIOF_JOY_RIGHT   9U
 
#define GPIOF_JOY_UP   10U
 
#define GPIOF_PIN11   11U
 
#define GPIOF_PIN12   12U
 
#define GPIOF_PIN13   13U
 
#define GPIOF_PIN14   14U
 
#define GPIOF_PIN15   15U
 
#define GPIOG_PIN0   0U
 
#define GPIOG_PIN1   1U
 
#define GPIOG_PIN2   2U
 
#define GPIOG_PIN3   3U
 
#define GPIOG_PIN4   4U
 
#define GPIOG_PIN5   5U
 
#define GPIOG_PIN6   6U
 
#define GPIOG_PIN7   7U
 
#define GPIOG_PIN8   8U
 
#define GPIOG_PIN9   9U
 
#define GPIOG_PIN10   10U
 
#define GPIOG_PIN11   11U
 
#define GPIOG_PIN12   12U
 
#define GPIOG_PIN13   13U
 
#define GPIOG_PIN14   14U
 
#define GPIOG_PIN15   15U
 
#define GPIOH_PIN0   0U
 
#define GPIOH_PIN1   1U
 
#define GPIOH_PIN2   2U
 
#define GPIOH_PIN3   3U
 
#define GPIOH_PIN4   4U
 
#define GPIOH_PIN5   5U
 
#define GPIOH_PIN6   6U
 
#define GPIOH_PIN7   7U
 
#define GPIOH_PIN8   8U
 
#define GPIOH_PIN9   9U
 
#define GPIOH_PIN10   10U
 
#define GPIOH_PIN11   11U
 
#define GPIOH_PIN12   12U
 
#define GPIOH_PIN13   13U
 
#define GPIOH_PIN14   14U
 
#define GPIOH_PIN15   15U
 
#define PIN_MODE_INPUT(n)   (0U << ((n) * 2U))
 
#define PIN_MODE_OUTPUT(n)   (1U << ((n) * 2U))
 
#define PIN_MODE_ALTERNATE(n)   (2U << ((n) * 2U))
 
#define PIN_MODE_ANALOG(n)   (3U << ((n) * 2U))
 
#define PIN_ODR_LOW(n)   (0U << (n))
 
#define PIN_ODR_HIGH(n)   (1U << (n))
 
#define PIN_OTYPE_PUSHPULL(n)   (0U << (n))
 
#define PIN_OTYPE_OPENDRAIN(n)   (1U << (n))
 
#define PIN_OSPEED_VERYLOW(n)   (0U << ((n) * 2U))
 
#define PIN_OSPEED_LOW(n)   (1U << ((n) * 2U))
 
#define PIN_OSPEED_MEDIUM(n)   (2U << ((n) * 2U))
 
#define PIN_OSPEED_HIGH(n)   (3U << ((n) * 2U))
 
#define PIN_PUPDR_FLOATING(n)   (0U << ((n) * 2U))
 
#define PIN_PUPDR_PULLUP(n)   (1U << ((n) * 2U))
 
#define PIN_PUPDR_PULLDOWN(n)   (2U << ((n) * 2U))
 
#define PIN_AFIO_AF(n, v)   ((v) << (((n) % 8U) * 4U))
 
#define VAL_GPIOA_MODER
 
#define VAL_GPIOA_OTYPER
 
#define VAL_GPIOA_OSPEEDR
 
#define VAL_GPIOA_PUPDR
 
#define VAL_GPIOA_ODR
 
#define VAL_GPIOA_AFRL
 
#define VAL_GPIOA_AFRH
 
#define VAL_GPIOB_MODER
 
#define VAL_GPIOB_OTYPER
 
#define VAL_GPIOB_OSPEEDR
 
#define VAL_GPIOB_PUPDR
 
#define VAL_GPIOB_ODR
 
#define VAL_GPIOB_AFRL
 
#define VAL_GPIOB_AFRH
 
#define VAL_GPIOC_MODER
 
#define VAL_GPIOC_OTYPER
 
#define VAL_GPIOC_OSPEEDR
 
#define VAL_GPIOC_PUPDR
 
#define VAL_GPIOC_ODR
 
#define VAL_GPIOC_AFRL
 
#define VAL_GPIOC_AFRH
 
#define VAL_GPIOD_MODER
 
#define VAL_GPIOD_OTYPER
 
#define VAL_GPIOD_OSPEEDR
 
#define VAL_GPIOD_PUPDR
 
#define VAL_GPIOD_ODR
 
#define VAL_GPIOD_AFRL
 
#define VAL_GPIOD_AFRH
 
#define VAL_GPIOE_MODER
 
#define VAL_GPIOE_OTYPER
 
#define VAL_GPIOE_OSPEEDR
 
#define VAL_GPIOE_PUPDR
 
#define VAL_GPIOE_ODR
 
#define VAL_GPIOE_AFRL
 
#define VAL_GPIOE_AFRH
 
#define VAL_GPIOF_MODER
 
#define VAL_GPIOF_OTYPER
 
#define VAL_GPIOF_OSPEEDR
 
#define VAL_GPIOF_PUPDR
 
#define VAL_GPIOF_ODR
 
#define VAL_GPIOF_AFRL
 
#define VAL_GPIOF_AFRH
 
#define VAL_GPIOG_MODER
 
#define VAL_GPIOG_OTYPER
 
#define VAL_GPIOG_OSPEEDR
 
#define VAL_GPIOG_PUPDR
 
#define VAL_GPIOG_ODR
 
#define VAL_GPIOG_AFRL
 
#define VAL_GPIOG_AFRH
 
#define VAL_GPIOH_MODER
 
#define VAL_GPIOH_OTYPER
 
#define VAL_GPIOH_OSPEEDR
 
#define VAL_GPIOH_PUPDR
 
#define VAL_GPIOH_ODR
 
#define VAL_GPIOH_AFRL
 
#define VAL_GPIOH_AFRH
 
#define AHB_CLK   STM32_HCLK
 
#define USE_LED_1   1
 
#define LED_1_GPIO   GPIOA
 
#define LED_1_GPIO_PIN   GPIO8
 
#define LED_1_GPIO_ON   gpio_clear
 
#define LED_1_GPIO_OFF   gpio_set
 
#define USE_LED_2   1
 
#define LED_2_GPIO   GPIOD
 
#define LED_2_GPIO_PIN   GPIO8
 
#define LED_2_GPIO_ON   gpio_clear
 
#define LED_2_GPIO_OFF   gpio_set
 
#define USE_LED_3   0
 
#define LED_3_GPIO   GPIOE
 
#define LED_3_GPIO_PIN   GPIO10
 
#define LED_3_GPIO_ON   gpio_clear
 
#define LED_3_GPIO_OFF   gpio_set
 
#define USE_LED_4   0
 
#define LED_4_GPIO   GPIOE
 
#define LED_4_GPIO_PIN   GPIO11
 
#define LED_4_GPIO_ON   gpio_clear
 
#define LED_4_GPIO_OFF   gpio_set
 
#define USE_LED_5   0
 
#define LED_5_GPIO   GPIOE
 
#define LED_5_GPIO_PIN   GPIO12
 
#define LED_5_GPIO_ON   gpio_set
 
#define LED_5_GPIO_OFF   gpio_clear
 
#define USE_LED_6   0
 
#define LED_6_GPIO   GPIOE
 
#define LED_6_GPIO_PIN   GPIO13
 
#define LED_6_GPIO_ON   gpio_set
 
#define LED_6_GPIO_OFF   gpio_clear
 
#define USE_LED_7   0
 
#define LED_7_GPIO   GPIOE
 
#define LED_7_GPIO_PIN   GPIO13
 
#define LED_7_GPIO_ON   gpio_set
 
#define LED_7_GPIO_OFF   gpio_clear
 
#define USE_LED_8   0
 
#define LED_8_GPIO   GPIOE
 
#define LED_8_GPIO_PIN   GPIO15
 
#define LED_8_GPIO_ON   gpio_set
 
#define LED_8_GPIO_OFF   gpio_clear
 
#define RC_POLARITY_GPIO_PORT   GPIOB
 
#define RC_POLARITY_GPIO_PIN   GPIO13
 
#define USE_ADC_1   1
 
#define AD1_1_CHANNEL   ADC_CHANNEL_IN1
 
#define ADC_1   AD1_1
 
#define ADC_1_GPIO_PORT   GPIOA
 
#define ADC_1_GPIO_PIN   GPIO1
 
#define ADC_CHANNEL_VSUPPLY   ADC_1
 
#define DefaultVoltageOfAdc(adc)   (0.003765*adc)
 
#define ACTUATORS_PWM_NB   4
 
#define XVERT_ESC_0   0
 
#define XVERT_ESC_1   1
 
#define USE_PWM2   1
 
#define PWM_SERVO_2   2
 
#define PWM_SERVO_2_GPIO   GPIOA
 
#define PWM_SERVO_2_PIN   GPIO11
 
#define PWM_SERVO_2_AF   GPIO_AF2
 
#define PWM_SERVO_2_DRIVER   PWMD5
 
#define PWM_SERVO_2_CHANNEL   1
 
#define PWM_SERVO_2_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH
 
#define USE_PWM3   1
 
#define PWM_SERVO_3   3
 
#define PWM_SERVO_3_GPIO   GPIOA
 
#define PWM_SERVO_3_PIN   GPIO12
 
#define PWM_SERVO_3_AF   GPIO_AF2
 
#define PWM_SERVO_3_DRIVER   PWMD5
 
#define PWM_SERVO_3_CHANNEL   2
 
#define PWM_SERVO_3_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH
 
#define PWM_CONF_TIM5   STM32_PWM_USE_TIM5
 
#define PWM_CONF5_DEF
 
#define RC_PPM_TICKS_PER_USEC   2
 PPM radio defines. More...
 
#define PPM_TIMER_FREQUENCY   2000000
 
#define PPM_CHANNEL   ICU_CHANNEL_1
 
#define PPM_TIMER   ICUD1
 
#define I2C1_CFG_DEF
 I2C defines. More...
 
#define I2C2_CFG_DEF
 
#define USE_BARO_BOARD   1
 SPI Config. More...
 
#define DEFAULT_ACTUATORS   "subsystems/actuators/actuators_pwm.h"
 
#define ActuatorDefaultSet(_x, _y)   ActuatorPwmSet(_x,_y)
 
#define ActuatorsDefaultInit()   ActuatorsPwmInit()
 
#define ActuatorsDefaultCommit()   ActuatorsPwmCommit()
 

Functions

void boardInit (void)
 SDIO. More...
 

Macro Definition Documentation

#define ActuatorDefaultSet (   _x,
  _y 
)    ActuatorPwmSet(_x,_y)

Definition at line 1471 of file board.h.

#define ACTUATORS_PWM_NB   4

Definition at line 1323 of file board.h.

#define ActuatorsDefaultCommit ( )    ActuatorsPwmCommit()

Definition at line 1473 of file board.h.

#define ActuatorsDefaultInit ( )    ActuatorsPwmInit()

Definition at line 1472 of file board.h.

#define AD1_1_CHANNEL   ADC_CHANNEL_IN1

Definition at line 1287 of file board.h.

#define ADC_1   AD1_1

Definition at line 1288 of file board.h.

#define ADC_1_GPIO_PIN   GPIO1

Definition at line 1290 of file board.h.

#define ADC_1_GPIO_PORT   GPIOA

Definition at line 1289 of file board.h.

#define ADC_CHANNEL_VSUPPLY   ADC_1
  • allow to define ADC_CHANNEL_VSUPPLY in the airframe file*/

Definition at line 1318 of file board.h.

#define AHB_CLK   STM32_HCLK

Definition at line 1197 of file board.h.

#define BOARD_NAME   "STMicroelectronics STM32373C-xvert"

Definition at line 33 of file board.h.

#define BOARD_ST_STM32373C_XVERT

Definition at line 32 of file board.h.

#define DEFAULT_ACTUATORS   "subsystems/actuators/actuators_pwm.h"

Definition at line 1470 of file board.h.

#define DefaultVoltageOfAdc (   adc)    (0.003765*adc)

Definition at line 1321 of file board.h.

#define GPIOA_ADC1   5U

Definition at line 61 of file board.h.

#define GPIOA_ADC2   6U

Definition at line 62 of file board.h.

#define GPIOA_ADC_VDD   1U

Definition at line 57 of file board.h.

#define GPIOA_LED_RED   8U

Definition at line 64 of file board.h.

#define GPIOA_PIN0   0U

Definition at line 56 of file board.h.

#define GPIOA_PIN15   15U

Definition at line 71 of file board.h.

#define GPIOA_PIN4   4U

Definition at line 60 of file board.h.

#define GPIOA_PIN7   7U

Definition at line 63 of file board.h.

#define GPIOA_PWM_PIN11   11U

Definition at line 67 of file board.h.

#define GPIOA_PWM_PIN12   12U

Definition at line 68 of file board.h.

#define GPIOA_SWCLK   14U

Definition at line 70 of file board.h.

#define GPIOA_SWD   13U

Definition at line 69 of file board.h.

#define GPIOA_UART1RX   10U

Definition at line 66 of file board.h.

#define GPIOA_UART1TX   9U

Definition at line 65 of file board.h.

#define GPIOA_UART2RX   3U

Definition at line 59 of file board.h.

#define GPIOA_UART2TX   2U

Definition at line 58 of file board.h.

#define GPIOB_ADC_POT_IN   1U

Definition at line 74 of file board.h.

#define GPIOB_I2C1_SCL   6U

Definition at line 79 of file board.h.

#define GPIOB_I2C1_SDA   7U

Definition at line 80 of file board.h.

#define GPIOB_JTRST   4U

Definition at line 77 of file board.h.

#define GPIOB_MIC_IN   0U

Definition at line 73 of file board.h.

#define GPIOB_PIN10   10U

Definition at line 83 of file board.h.

#define GPIOB_PIN11   11U

Definition at line 84 of file board.h.

#define GPIOB_PIN12   12U

Definition at line 85 of file board.h.

#define GPIOB_PIN13   13U

Definition at line 86 of file board.h.

#define GPIOB_PIN14   14U

Definition at line 87 of file board.h.

#define GPIOB_PIN15   15U

Definition at line 88 of file board.h.

#define GPIOB_PIN2   2U

Definition at line 75 of file board.h.

#define GPIOB_PIN5   5U

Definition at line 78 of file board.h.

#define GPIOB_PIN8   8U

Definition at line 81 of file board.h.

#define GPIOB_PIN9   9U

Definition at line 82 of file board.h.

#define GPIOB_SWO   3U

Definition at line 76 of file board.h.

#define GPIOC_LED1   0U

Definition at line 90 of file board.h.

#define GPIOC_LED2   1U

Definition at line 91 of file board.h.

#define GPIOC_LED3   2U

Definition at line 92 of file board.h.

#define GPIOC_LED4   3U

Definition at line 93 of file board.h.

#define GPIOC_OSC32_IN   14U

Definition at line 104 of file board.h.

#define GPIOC_OSC32_OUT   15U

Definition at line 105 of file board.h.

#define GPIOC_PIN10   10U

Definition at line 100 of file board.h.

#define GPIOC_PIN11   11U

Definition at line 101 of file board.h.

#define GPIOC_PIN12   12U

Definition at line 102 of file board.h.

#define GPIOC_PIN13   13U

Definition at line 103 of file board.h.

#define GPIOC_PIN4   4U

Definition at line 94 of file board.h.

#define GPIOC_PIN6   6U

Definition at line 96 of file board.h.

#define GPIOC_PIN7   7U

Definition at line 97 of file board.h.

#define GPIOC_PIN8   8U

Definition at line 98 of file board.h.

#define GPIOC_PIN9   9U

Definition at line 99 of file board.h.

#define GPIOC_USB_DISCONNECT   5U

Definition at line 95 of file board.h.

#define GPIOD_AUDIO_RST   11U

Definition at line 118 of file board.h.

#define GPIOD_CAN_RX   0U

Definition at line 107 of file board.h.

#define GPIOD_CAN_TX   1U

Definition at line 108 of file board.h.

#define GPIOD_LCD_CS   2U

Definition at line 109 of file board.h.

#define GPIOD_LED_GREEN   8U

Definition at line 115 of file board.h.

#define GPIOD_PIN10   10U

Definition at line 117 of file board.h.

#define GPIOD_PIN12   12U

Definition at line 119 of file board.h.

#define GPIOD_PIN13   13U

Definition at line 120 of file board.h.

#define GPIOD_PIN14   14U

Definition at line 121 of file board.h.

#define GPIOD_PIN15   15U

Definition at line 122 of file board.h.

#define GPIOD_PIN7   7U

Definition at line 114 of file board.h.

#define GPIOD_PIN9   9U

Definition at line 116 of file board.h.

#define GPIOD_USART2_CTS   3U

Definition at line 110 of file board.h.

#define GPIOD_USART2_RST   4U

Definition at line 111 of file board.h.

#define GPIOD_USART2_RX   6U

Definition at line 113 of file board.h.

#define GPIOD_USART2_TX   5U

Definition at line 112 of file board.h.

#define GPIOE_JOY_SEL   6U

Definition at line 130 of file board.h.

#define GPIOE_PIN0   0U

Definition at line 124 of file board.h.

#define GPIOE_PIN1   1U

Definition at line 125 of file board.h.

#define GPIOE_PIN10   10U

Definition at line 134 of file board.h.

#define GPIOE_PIN11   11U

Definition at line 135 of file board.h.

#define GPIOE_PIN12   12U

Definition at line 136 of file board.h.

#define GPIOE_PIN13   13U

Definition at line 137 of file board.h.

#define GPIOE_PIN15   15U

Definition at line 139 of file board.h.

#define GPIOE_PIN4   4U

Definition at line 128 of file board.h.

#define GPIOE_PIN5   5U

Definition at line 129 of file board.h.

#define GPIOE_PRESSURE_TEPM   14U

Definition at line 138 of file board.h.

#define GPIOE_PRESSUREN   9U

Definition at line 133 of file board.h.

#define GPIOE_PRESSUREP   8U

Definition at line 132 of file board.h.

#define GPIOE_RTD_IN   7U

Definition at line 131 of file board.h.

#define GPIOE_SD_CS   2U

Definition at line 126 of file board.h.

#define GPIOE_SD_DETECT   3U

Definition at line 127 of file board.h.

#define GPIOF_I2C2_SCL   6U

Definition at line 147 of file board.h.

#define GPIOF_I2C2_SDA   7U

Definition at line 148 of file board.h.

#define GPIOF_JOY_DOWN   2U

Definition at line 143 of file board.h.

#define GPIOF_JOY_LEFT   4U

Definition at line 145 of file board.h.

#define GPIOF_JOY_RIGHT   9U

Definition at line 150 of file board.h.

#define GPIOF_JOY_UP   10U

Definition at line 151 of file board.h.

#define GPIOF_OSC_IN   0U

Definition at line 141 of file board.h.

#define GPIOF_OSC_OUT   1U

Definition at line 142 of file board.h.

#define GPIOF_PIN11   11U

Definition at line 152 of file board.h.

#define GPIOF_PIN12   12U

Definition at line 153 of file board.h.

#define GPIOF_PIN13   13U

Definition at line 154 of file board.h.

#define GPIOF_PIN14   14U

Definition at line 155 of file board.h.

#define GPIOF_PIN15   15U

Definition at line 156 of file board.h.

#define GPIOF_PIN3   3U

Definition at line 144 of file board.h.

#define GPIOF_PIN5   5U

Definition at line 146 of file board.h.

#define GPIOF_PIN8   8U

Definition at line 149 of file board.h.

#define GPIOG_PIN0   0U

Definition at line 158 of file board.h.

#define GPIOG_PIN1   1U

Definition at line 159 of file board.h.

#define GPIOG_PIN10   10U

Definition at line 168 of file board.h.

#define GPIOG_PIN11   11U

Definition at line 169 of file board.h.

#define GPIOG_PIN12   12U

Definition at line 170 of file board.h.

#define GPIOG_PIN13   13U

Definition at line 171 of file board.h.

#define GPIOG_PIN14   14U

Definition at line 172 of file board.h.

#define GPIOG_PIN15   15U

Definition at line 173 of file board.h.

#define GPIOG_PIN2   2U

Definition at line 160 of file board.h.

#define GPIOG_PIN3   3U

Definition at line 161 of file board.h.

#define GPIOG_PIN4   4U

Definition at line 162 of file board.h.

#define GPIOG_PIN5   5U

Definition at line 163 of file board.h.

#define GPIOG_PIN6   6U

Definition at line 164 of file board.h.

#define GPIOG_PIN7   7U

Definition at line 165 of file board.h.

#define GPIOG_PIN8   8U

Definition at line 166 of file board.h.

#define GPIOG_PIN9   9U

Definition at line 167 of file board.h.

#define GPIOH_PIN0   0U

Definition at line 175 of file board.h.

#define GPIOH_PIN1   1U

Definition at line 176 of file board.h.

#define GPIOH_PIN10   10U

Definition at line 185 of file board.h.

#define GPIOH_PIN11   11U

Definition at line 186 of file board.h.

#define GPIOH_PIN12   12U

Definition at line 187 of file board.h.

#define GPIOH_PIN13   13U

Definition at line 188 of file board.h.

#define GPIOH_PIN14   14U

Definition at line 189 of file board.h.

#define GPIOH_PIN15   15U

Definition at line 190 of file board.h.

#define GPIOH_PIN2   2U

Definition at line 177 of file board.h.

#define GPIOH_PIN3   3U

Definition at line 178 of file board.h.

#define GPIOH_PIN4   4U

Definition at line 179 of file board.h.

#define GPIOH_PIN5   5U

Definition at line 180 of file board.h.

#define GPIOH_PIN6   6U

Definition at line 181 of file board.h.

#define GPIOH_PIN7   7U

Definition at line 182 of file board.h.

#define GPIOH_PIN8   8U

Definition at line 183 of file board.h.

#define GPIOH_PIN9   9U

Definition at line 184 of file board.h.

#define I2C1_CFG_DEF
Value:
{ \
STM32_TIMINGR_PRESC(15U) | \
STM32_TIMINGR_SCLDEL(4U) | \
STM32_TIMINGR_SDADEL(2U) | \
STM32_TIMINGR_SCLH(15U) | \
STM32_TIMINGR_SCLL(21U), \
0,0 }

I2C defines.

Definition at line 1412 of file board.h.

#define I2C2_CFG_DEF
Value:
{ \
STM32_TIMINGR_PRESC(15U) | \
STM32_TIMINGR_SCLDEL(4U) | \
STM32_TIMINGR_SDADEL(2U) | \
STM32_TIMINGR_SCLH(15U) | \
STM32_TIMINGR_SCLL(21U), \
0,0 }

Definition at line 1420 of file board.h.

#define LED_1_GPIO   GPIOA

Definition at line 1206 of file board.h.

#define LED_1_GPIO_OFF   gpio_set

Definition at line 1209 of file board.h.

#define LED_1_GPIO_ON   gpio_clear

Definition at line 1208 of file board.h.

#define LED_1_GPIO_PIN   GPIO8

Definition at line 1207 of file board.h.

#define LED_2_GPIO   GPIOD

Definition at line 1215 of file board.h.

#define LED_2_GPIO_OFF   gpio_set

Definition at line 1218 of file board.h.

#define LED_2_GPIO_ON   gpio_clear

Definition at line 1217 of file board.h.

#define LED_2_GPIO_PIN   GPIO8

Definition at line 1216 of file board.h.

#define LED_3_GPIO   GPIOE

Definition at line 1224 of file board.h.

#define LED_3_GPIO_OFF   gpio_set

Definition at line 1227 of file board.h.

#define LED_3_GPIO_ON   gpio_clear

Definition at line 1226 of file board.h.

#define LED_3_GPIO_PIN   GPIO10

Definition at line 1225 of file board.h.

#define LED_4_GPIO   GPIOE

Definition at line 1233 of file board.h.

#define LED_4_GPIO_OFF   gpio_set

Definition at line 1236 of file board.h.

#define LED_4_GPIO_ON   gpio_clear

Definition at line 1235 of file board.h.

#define LED_4_GPIO_PIN   GPIO11

Definition at line 1234 of file board.h.

#define LED_5_GPIO   GPIOE

Definition at line 1242 of file board.h.

#define LED_5_GPIO_OFF   gpio_clear

Definition at line 1245 of file board.h.

#define LED_5_GPIO_ON   gpio_set

Definition at line 1244 of file board.h.

#define LED_5_GPIO_PIN   GPIO12

Definition at line 1243 of file board.h.

#define LED_6_GPIO   GPIOE

Definition at line 1251 of file board.h.

#define LED_6_GPIO_OFF   gpio_clear

Definition at line 1254 of file board.h.

#define LED_6_GPIO_ON   gpio_set

Definition at line 1253 of file board.h.

#define LED_6_GPIO_PIN   GPIO13

Definition at line 1252 of file board.h.

#define LED_7_GPIO   GPIOE

Definition at line 1260 of file board.h.

#define LED_7_GPIO_OFF   gpio_clear

Definition at line 1263 of file board.h.

#define LED_7_GPIO_ON   gpio_set

Definition at line 1262 of file board.h.

#define LED_7_GPIO_PIN   GPIO13

Definition at line 1261 of file board.h.

#define LED_8_GPIO   GPIOE

Definition at line 1269 of file board.h.

#define LED_8_GPIO_OFF   gpio_clear

Definition at line 1272 of file board.h.

#define LED_8_GPIO_ON   gpio_set

Definition at line 1271 of file board.h.

#define LED_8_GPIO_PIN   GPIO15

Definition at line 1270 of file board.h.

#define PIN_AFIO_AF (   n,
 
)    ((v) << (((n) % 8U) * 4U))

Definition at line 270 of file board.h.

#define PIN_MODE_ALTERNATE (   n)    (2U << ((n) * 2U))

Definition at line 257 of file board.h.

#define PIN_MODE_ANALOG (   n)    (3U << ((n) * 2U))

Definition at line 258 of file board.h.

#define PIN_MODE_INPUT (   n)    (0U << ((n) * 2U))

Definition at line 255 of file board.h.

#define PIN_MODE_OUTPUT (   n)    (1U << ((n) * 2U))

Definition at line 256 of file board.h.

#define PIN_ODR_HIGH (   n)    (1U << (n))

Definition at line 260 of file board.h.

#define PIN_ODR_LOW (   n)    (0U << (n))

Definition at line 259 of file board.h.

#define PIN_OSPEED_HIGH (   n)    (3U << ((n) * 2U))

Definition at line 266 of file board.h.

#define PIN_OSPEED_LOW (   n)    (1U << ((n) * 2U))

Definition at line 264 of file board.h.

#define PIN_OSPEED_MEDIUM (   n)    (2U << ((n) * 2U))

Definition at line 265 of file board.h.

#define PIN_OSPEED_VERYLOW (   n)    (0U << ((n) * 2U))

Definition at line 263 of file board.h.

#define PIN_OTYPE_OPENDRAIN (   n)    (1U << (n))

Definition at line 262 of file board.h.

#define PIN_OTYPE_PUSHPULL (   n)    (0U << (n))

Definition at line 261 of file board.h.

#define PIN_PUPDR_FLOATING (   n)    (0U << ((n) * 2U))

Definition at line 267 of file board.h.

#define PIN_PUPDR_PULLDOWN (   n)    (2U << ((n) * 2U))

Definition at line 269 of file board.h.

#define PIN_PUPDR_PULLUP (   n)    (1U << ((n) * 2U))

Definition at line 268 of file board.h.

#define PPM_CHANNEL   ICU_CHANNEL_1

Definition at line 1385 of file board.h.

#define PPM_TIMER   ICUD1

Definition at line 1386 of file board.h.

#define PPM_TIMER_FREQUENCY   2000000

Definition at line 1384 of file board.h.

#define PWM_CONF5_DEF
Value:
{ \
NULL, \
{ \
{ PWM_SERVO_3_ACTIVE, NULL }, \
{ PWM_SERVO_2_ACTIVE, NULL }, \
{ PWM_SERVO_3_ACTIVE, NULL }, \
{ PWM_SERVO_3_ACTIVE, NULL }, \
}, \
0, \
0 \
}
#define TIM5_SERVO_HZ
#define PWM_FREQUENCY
#define PWM_SERVO_3_ACTIVE
Definition: board.h:1355
#define PWM_SERVO_2_ACTIVE
Definition: board.h:1340

Definition at line 1365 of file board.h.

#define PWM_CONF_TIM5   STM32_PWM_USE_TIM5

Definition at line 1361 of file board.h.

#define PWM_SERVO_2   2

Definition at line 1334 of file board.h.

#define PWM_SERVO_2_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 1340 of file board.h.

#define PWM_SERVO_2_AF   GPIO_AF2

Definition at line 1337 of file board.h.

#define PWM_SERVO_2_CHANNEL   1

Definition at line 1339 of file board.h.

#define PWM_SERVO_2_DRIVER   PWMD5

Definition at line 1338 of file board.h.

#define PWM_SERVO_2_GPIO   GPIOA

Definition at line 1335 of file board.h.

#define PWM_SERVO_2_PIN   GPIO11

Definition at line 1336 of file board.h.

#define PWM_SERVO_3   3

Definition at line 1349 of file board.h.

#define PWM_SERVO_3_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 1355 of file board.h.

#define PWM_SERVO_3_AF   GPIO_AF2

Definition at line 1352 of file board.h.

#define PWM_SERVO_3_CHANNEL   2

Definition at line 1354 of file board.h.

#define PWM_SERVO_3_DRIVER   PWMD5

Definition at line 1353 of file board.h.

#define PWM_SERVO_3_GPIO   GPIOA

Definition at line 1350 of file board.h.

#define PWM_SERVO_3_PIN   GPIO12

Definition at line 1351 of file board.h.

#define RC_POLARITY_GPIO_PIN   GPIO13

Definition at line 1277 of file board.h.

#define RC_POLARITY_GPIO_PORT   GPIOB

Definition at line 1276 of file board.h.

#define RC_PPM_TICKS_PER_USEC   2

PPM radio defines.

Definition at line 1383 of file board.h.

#define STM32_HSECLK   16000000U

Definition at line 45 of file board.h.

#define STM32_LSECLK   32768U

Definition at line 39 of file board.h.

#define STM32_LSEDRV   (3U << 3U)

Definition at line 42 of file board.h.

#define STM32F373xC

Definition at line 51 of file board.h.

#define USE_ADC_1   1

Definition at line 1284 of file board.h.

#define USE_BARO_BOARD   1

SPI Config.

Baro

Apparently needed for backwards compatibility with the ancient onboard baro boards

Definition at line 1463 of file board.h.

#define USE_LED_1   1

Definition at line 1204 of file board.h.

#define USE_LED_2   1

Definition at line 1213 of file board.h.

#define USE_LED_3   0

Definition at line 1222 of file board.h.

#define USE_LED_4   0

Definition at line 1231 of file board.h.

#define USE_LED_5   0

Definition at line 1240 of file board.h.

#define USE_LED_6   0

Definition at line 1249 of file board.h.

#define USE_LED_7   0

Definition at line 1258 of file board.h.

#define USE_LED_8   0

Definition at line 1267 of file board.h.

#define USE_PWM2   1

Definition at line 1331 of file board.h.

#define USE_PWM3   1

Definition at line 1346 of file board.h.

#define VAL_GPIOA_AFRH
Value:
#define GPIOA_LED_RED
Definition: board.h:64
#define GPIOA_UART1TX
Definition: board.h:65
#define GPIOA_PWM_PIN12
Definition: board.h:68
#define GPIOA_UART1RX
Definition: board.h:66
#define GPIOA_PIN15
Definition: board.h:71
#define GPIOA_PWM_PIN11
Definition: board.h:67
#define PIN_AFIO_AF(n, v)
Definition: board.h:270
#define GPIOA_SWCLK
Definition: board.h:70
#define GPIOA_SWD
Definition: board.h:69

Definition at line 364 of file board.h.

#define VAL_GPIOA_AFRL
Value:
#define GPIOA_PIN0
Definition: board.h:56
#define GPIOA_ADC2
Definition: board.h:62
#define GPIOA_UART2RX
Definition: board.h:59
#define GPIOA_PIN7
Definition: board.h:63
#define GPIOA_UART2TX
Definition: board.h:58
#define GPIOA_ADC1
Definition: board.h:61
#define PIN_AFIO_AF(n, v)
Definition: board.h:270
#define GPIOA_ADC_VDD
Definition: board.h:57
#define GPIOA_PIN4
Definition: board.h:60

Definition at line 356 of file board.h.

#define VAL_GPIOA_MODER
Value:
#define GPIOA_PIN0
Definition: board.h:56
#define GPIOA_LED_RED
Definition: board.h:64
#define GPIOA_ADC2
Definition: board.h:62
#define GPIOA_UART1TX
Definition: board.h:65
#define GPIOA_UART2RX
Definition: board.h:59
#define GPIOA_PWM_PIN12
Definition: board.h:68
#define GPIOA_PIN7
Definition: board.h:63
#define GPIOA_UART1RX
Definition: board.h:66
#define GPIOA_UART2TX
Definition: board.h:58
#define GPIOA_PIN15
Definition: board.h:71
#define GPIOA_PWM_PIN11
Definition: board.h:67
#define GPIOA_ADC1
Definition: board.h:61
#define PIN_MODE_OUTPUT(n)
Definition: board.h:256
#define GPIOA_ADC_VDD
Definition: board.h:57
#define PIN_MODE_ANALOG(n)
Definition: board.h:258
#define GPIOA_SWCLK
Definition: board.h:70
#define PIN_MODE_ALTERNATE(n)
Definition: board.h:257
#define GPIOA_PIN4
Definition: board.h:60
#define GPIOA_SWD
Definition: board.h:69
#define PIN_MODE_INPUT(n)
Definition: board.h:255

Definition at line 273 of file board.h.

#define VAL_GPIOA_ODR
Value:
#define GPIOA_PIN0
Definition: board.h:56
#define GPIOA_LED_RED
Definition: board.h:64
#define GPIOA_ADC2
Definition: board.h:62
#define GPIOA_UART1TX
Definition: board.h:65
#define GPIOA_UART2RX
Definition: board.h:59
#define GPIOA_PWM_PIN12
Definition: board.h:68
#define GPIOA_PIN7
Definition: board.h:63
#define GPIOA_UART1RX
Definition: board.h:66
#define GPIOA_UART2TX
Definition: board.h:58
#define GPIOA_PIN15
Definition: board.h:71
#define PIN_ODR_LOW(n)
Definition: board.h:259
#define GPIOA_PWM_PIN11
Definition: board.h:67
#define GPIOA_ADC1
Definition: board.h:61
#define GPIOA_ADC_VDD
Definition: board.h:57
#define PIN_ODR_HIGH(n)
Definition: board.h:260
#define GPIOA_SWCLK
Definition: board.h:70
#define GPIOA_PIN4
Definition: board.h:60
#define GPIOA_SWD
Definition: board.h:69

Definition at line 340 of file board.h.

#define VAL_GPIOA_OSPEEDR
Value:
#define GPIOA_PIN0
Definition: board.h:56
#define PIN_OSPEED_HIGH(n)
Definition: board.h:266
#define GPIOA_LED_RED
Definition: board.h:64
#define PIN_OSPEED_VERYLOW(n)
Definition: board.h:263
#define GPIOA_ADC2
Definition: board.h:62
#define GPIOA_UART1TX
Definition: board.h:65
#define GPIOA_UART2RX
Definition: board.h:59
#define GPIOA_PWM_PIN12
Definition: board.h:68
#define GPIOA_PIN7
Definition: board.h:63
#define GPIOA_UART1RX
Definition: board.h:66
#define GPIOA_UART2TX
Definition: board.h:58
#define GPIOA_PIN15
Definition: board.h:71
#define GPIOA_PWM_PIN11
Definition: board.h:67
#define GPIOA_ADC1
Definition: board.h:61
#define GPIOA_ADC_VDD
Definition: board.h:57
#define GPIOA_SWCLK
Definition: board.h:70
#define GPIOA_PIN4
Definition: board.h:60
#define GPIOA_SWD
Definition: board.h:69

Definition at line 307 of file board.h.

#define VAL_GPIOA_OTYPER
Value:
#define GPIOA_PIN0
Definition: board.h:56
#define GPIOA_LED_RED
Definition: board.h:64
#define GPIOA_ADC2
Definition: board.h:62
#define GPIOA_UART1TX
Definition: board.h:65
#define GPIOA_UART2RX
Definition: board.h:59
#define GPIOA_PWM_PIN12
Definition: board.h:68
#define GPIOA_PIN7
Definition: board.h:63
#define GPIOA_UART1RX
Definition: board.h:66
#define GPIOA_UART2TX
Definition: board.h:58
#define GPIOA_PIN15
Definition: board.h:71
#define GPIOA_PWM_PIN11
Definition: board.h:67
#define PIN_OTYPE_OPENDRAIN(n)
Definition: board.h:262
#define GPIOA_ADC1
Definition: board.h:61
#define GPIOA_ADC_VDD
Definition: board.h:57
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:261
#define GPIOA_SWCLK
Definition: board.h:70
#define GPIOA_PIN4
Definition: board.h:60
#define GPIOA_SWD
Definition: board.h:69

Definition at line 290 of file board.h.

#define VAL_GPIOA_PUPDR
Value:
#define GPIOA_PIN0
Definition: board.h:56
#define GPIOA_LED_RED
Definition: board.h:64
#define GPIOA_ADC2
Definition: board.h:62
#define GPIOA_UART1TX
Definition: board.h:65
#define GPIOA_UART2RX
Definition: board.h:59
#define GPIOA_PWM_PIN12
Definition: board.h:68
#define GPIOA_PIN7
Definition: board.h:63
#define GPIOA_UART1RX
Definition: board.h:66
#define GPIOA_UART2TX
Definition: board.h:58
#define GPIOA_PIN15
Definition: board.h:71
#define GPIOA_PWM_PIN11
Definition: board.h:67
#define GPIOA_ADC1
Definition: board.h:61
#define GPIOA_ADC_VDD
Definition: board.h:57
#define PIN_PUPDR_PULLDOWN(n)
Definition: board.h:269
#define PIN_PUPDR_FLOATING(n)
Definition: board.h:267
#define GPIOA_SWCLK
Definition: board.h:70
#define GPIOA_PIN4
Definition: board.h:60
#define PIN_PUPDR_PULLUP(n)
Definition: board.h:268
#define GPIOA_SWD
Definition: board.h:69

Definition at line 324 of file board.h.

#define VAL_GPIOB_AFRH
Value:
#define GPIOB_PIN14
Definition: board.h:87
#define GPIOB_PIN8
Definition: board.h:81
#define GPIOB_PIN13
Definition: board.h:86
#define GPIOB_PIN10
Definition: board.h:83
#define GPIOB_PIN12
Definition: board.h:85
#define GPIOB_PIN11
Definition: board.h:84
#define GPIOB_PIN9
Definition: board.h:82
#define PIN_AFIO_AF(n, v)
Definition: board.h:270
#define GPIOB_PIN15
Definition: board.h:88

Definition at line 481 of file board.h.

#define VAL_GPIOB_AFRL
Value:
#define GPIOB_PIN2
Definition: board.h:75
#define GPIOB_ADC_POT_IN
Definition: board.h:74
#define GPIOB_MIC_IN
Definition: board.h:73
#define GPIOB_I2C1_SCL
Definition: board.h:79
#define PIN_AFIO_AF(n, v)
Definition: board.h:270
#define GPIOB_PIN5
Definition: board.h:78
#define GPIOB_SWO
Definition: board.h:76
#define GPIOB_JTRST
Definition: board.h:77
#define GPIOB_I2C1_SDA
Definition: board.h:80

Definition at line 473 of file board.h.

#define VAL_GPIOB_MODER
Value:
#define GPIOB_PIN14
Definition: board.h:87
#define GPIOB_PIN8
Definition: board.h:81
#define GPIOB_PIN13
Definition: board.h:86
#define GPIOB_PIN2
Definition: board.h:75
#define GPIOB_ADC_POT_IN
Definition: board.h:74
#define GPIOB_MIC_IN
Definition: board.h:73
#define GPIOB_PIN10
Definition: board.h:83
#define GPIOB_I2C1_SCL
Definition: board.h:79
#define GPIOB_PIN12
Definition: board.h:85
#define GPIOB_PIN11
Definition: board.h:84
#define GPIOB_PIN9
Definition: board.h:82
#define PIN_MODE_ANALOG(n)
Definition: board.h:258
#define GPIOB_PIN5
Definition: board.h:78
#define GPIOB_SWO
Definition: board.h:76
#define GPIOB_PIN15
Definition: board.h:88
#define PIN_MODE_ALTERNATE(n)
Definition: board.h:257
#define GPIOB_JTRST
Definition: board.h:77
#define GPIOB_I2C1_SDA
Definition: board.h:80
#define PIN_MODE_INPUT(n)
Definition: board.h:255

Definition at line 393 of file board.h.

#define VAL_GPIOB_ODR
Value:
#define GPIOB_PIN14
Definition: board.h:87
#define GPIOB_PIN8
Definition: board.h:81
#define GPIOB_PIN13
Definition: board.h:86
#define GPIOB_PIN2
Definition: board.h:75
#define GPIOB_ADC_POT_IN
Definition: board.h:74
#define GPIOB_MIC_IN
Definition: board.h:73
#define GPIOB_PIN10
Definition: board.h:83
#define GPIOB_I2C1_SCL
Definition: board.h:79
#define GPIOB_PIN12
Definition: board.h:85
#define GPIOB_PIN11
Definition: board.h:84
#define GPIOB_PIN9
Definition: board.h:82
#define GPIOB_PIN5
Definition: board.h:78
#define GPIOB_SWO
Definition: board.h:76
#define PIN_ODR_HIGH(n)
Definition: board.h:260
#define GPIOB_PIN15
Definition: board.h:88
#define GPIOB_JTRST
Definition: board.h:77
#define GPIOB_I2C1_SDA
Definition: board.h:80

Definition at line 457 of file board.h.

#define VAL_GPIOB_OSPEEDR
Value:
#define PIN_OSPEED_HIGH(n)
Definition: board.h:266
#define PIN_OSPEED_VERYLOW(n)
Definition: board.h:263
#define GPIOB_PIN14
Definition: board.h:87
#define GPIOB_PIN8
Definition: board.h:81
#define GPIOB_PIN13
Definition: board.h:86
#define GPIOB_PIN2
Definition: board.h:75
#define GPIOB_ADC_POT_IN
Definition: board.h:74
#define GPIOB_MIC_IN
Definition: board.h:73
#define GPIOB_PIN10
Definition: board.h:83
#define GPIOB_I2C1_SCL
Definition: board.h:79
#define GPIOB_PIN12
Definition: board.h:85
#define GPIOB_PIN11
Definition: board.h:84
#define GPIOB_PIN9
Definition: board.h:82
#define GPIOB_PIN5
Definition: board.h:78
#define GPIOB_SWO
Definition: board.h:76
#define GPIOB_PIN15
Definition: board.h:88
#define GPIOB_JTRST
Definition: board.h:77
#define GPIOB_I2C1_SDA
Definition: board.h:80

Definition at line 425 of file board.h.

#define VAL_GPIOB_OTYPER
Value:
#define GPIOB_PIN14
Definition: board.h:87
#define GPIOB_PIN8
Definition: board.h:81
#define GPIOB_PIN13
Definition: board.h:86
#define GPIOB_PIN2
Definition: board.h:75
#define GPIOB_ADC_POT_IN
Definition: board.h:74
#define GPIOB_MIC_IN
Definition: board.h:73
#define GPIOB_PIN10
Definition: board.h:83
#define GPIOB_I2C1_SCL
Definition: board.h:79
#define GPIOB_PIN12
Definition: board.h:85
#define PIN_OTYPE_OPENDRAIN(n)
Definition: board.h:262
#define GPIOB_PIN11
Definition: board.h:84
#define GPIOB_PIN9
Definition: board.h:82
#define GPIOB_PIN5
Definition: board.h:78
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:261
#define GPIOB_SWO
Definition: board.h:76
#define GPIOB_PIN15
Definition: board.h:88
#define GPIOB_JTRST
Definition: board.h:77
#define GPIOB_I2C1_SDA
Definition: board.h:80

Definition at line 409 of file board.h.

#define VAL_GPIOB_PUPDR
Value:
#define GPIOB_PIN14
Definition: board.h:87
#define GPIOB_PIN8
Definition: board.h:81
#define GPIOB_PIN13
Definition: board.h:86
#define GPIOB_PIN2
Definition: board.h:75
#define GPIOB_ADC_POT_IN
Definition: board.h:74
#define GPIOB_MIC_IN
Definition: board.h:73
#define GPIOB_PIN10
Definition: board.h:83
#define GPIOB_I2C1_SCL
Definition: board.h:79
#define GPIOB_PIN12
Definition: board.h:85
#define GPIOB_PIN11
Definition: board.h:84
#define GPIOB_PIN9
Definition: board.h:82
#define GPIOB_PIN5
Definition: board.h:78
#define GPIOB_SWO
Definition: board.h:76
#define GPIOB_PIN15
Definition: board.h:88
#define PIN_PUPDR_FLOATING(n)
Definition: board.h:267
#define GPIOB_JTRST
Definition: board.h:77
#define GPIOB_I2C1_SDA
Definition: board.h:80
#define PIN_PUPDR_PULLUP(n)
Definition: board.h:268

Definition at line 441 of file board.h.

#define VAL_GPIOC_AFRH
Value:
#define GPIOC_PIN9
Definition: board.h:99
#define GPIOC_OSC32_IN
Definition: board.h:104
#define GPIOC_PIN12
Definition: board.h:102
#define GPIOC_PIN10
Definition: board.h:100
#define GPIOC_PIN11
Definition: board.h:101
#define PIN_AFIO_AF(n, v)
Definition: board.h:270
#define GPIOC_PIN13
Definition: board.h:103
#define GPIOC_OSC32_OUT
Definition: board.h:105
#define GPIOC_PIN8
Definition: board.h:98

Definition at line 598 of file board.h.

#define VAL_GPIOC_AFRL
Value:
#define GPIOC_USB_DISCONNECT
Definition: board.h:95
#define GPIOC_LED1
Definition: board.h:90
#define GPIOC_LED3
Definition: board.h:92
#define GPIOC_LED2
Definition: board.h:91
#define PIN_AFIO_AF(n, v)
Definition: board.h:270
#define GPIOC_PIN6
Definition: board.h:96
#define GPIOC_PIN7
Definition: board.h:97
#define GPIOC_LED4
Definition: board.h:93
#define GPIOC_PIN4
Definition: board.h:94

Definition at line 590 of file board.h.

#define VAL_GPIOC_MODER
Value:
#define GPIOC_PIN9
Definition: board.h:99
#define GPIOC_USB_DISCONNECT
Definition: board.h:95
#define GPIOC_LED1
Definition: board.h:90
#define GPIOC_OSC32_IN
Definition: board.h:104
#define GPIOC_PIN12
Definition: board.h:102
#define GPIOC_LED3
Definition: board.h:92
#define GPIOC_PIN10
Definition: board.h:100
#define GPIOC_PIN11
Definition: board.h:101
#define GPIOC_LED2
Definition: board.h:91
#define PIN_MODE_OUTPUT(n)
Definition: board.h:256
#define GPIOC_PIN6
Definition: board.h:96
#define GPIOC_PIN7
Definition: board.h:97
#define GPIOC_LED4
Definition: board.h:93
#define GPIOC_PIN13
Definition: board.h:103
#define GPIOC_OSC32_OUT
Definition: board.h:105
#define GPIOC_PIN8
Definition: board.h:98
#define GPIOC_PIN4
Definition: board.h:94
#define PIN_MODE_INPUT(n)
Definition: board.h:255

Definition at line 510 of file board.h.

#define VAL_GPIOC_ODR
Value:
#define GPIOC_PIN9
Definition: board.h:99
#define GPIOC_USB_DISCONNECT
Definition: board.h:95
#define GPIOC_LED1
Definition: board.h:90
#define GPIOC_OSC32_IN
Definition: board.h:104
#define GPIOC_PIN12
Definition: board.h:102
#define GPIOC_LED3
Definition: board.h:92
#define GPIOC_PIN10
Definition: board.h:100
#define GPIOC_PIN11
Definition: board.h:101
#define GPIOC_LED2
Definition: board.h:91
#define PIN_ODR_HIGH(n)
Definition: board.h:260
#define GPIOC_PIN6
Definition: board.h:96
#define GPIOC_PIN7
Definition: board.h:97
#define GPIOC_LED4
Definition: board.h:93
#define GPIOC_PIN13
Definition: board.h:103
#define GPIOC_OSC32_OUT
Definition: board.h:105
#define GPIOC_PIN8
Definition: board.h:98
#define GPIOC_PIN4
Definition: board.h:94

Definition at line 574 of file board.h.

#define VAL_GPIOC_OSPEEDR
Value:
#define GPIOC_PIN9
Definition: board.h:99
#define GPIOC_USB_DISCONNECT
Definition: board.h:95
#define GPIOC_LED1
Definition: board.h:90
#define PIN_OSPEED_HIGH(n)
Definition: board.h:266
#define PIN_OSPEED_VERYLOW(n)
Definition: board.h:263
#define GPIOC_OSC32_IN
Definition: board.h:104
#define GPIOC_PIN12
Definition: board.h:102
#define GPIOC_LED3
Definition: board.h:92
#define GPIOC_PIN10
Definition: board.h:100
#define GPIOC_PIN11
Definition: board.h:101
#define GPIOC_LED2
Definition: board.h:91
#define GPIOC_PIN6
Definition: board.h:96
#define GPIOC_PIN7
Definition: board.h:97
#define GPIOC_LED4
Definition: board.h:93
#define GPIOC_PIN13
Definition: board.h:103
#define GPIOC_OSC32_OUT
Definition: board.h:105
#define GPIOC_PIN8
Definition: board.h:98
#define GPIOC_PIN4
Definition: board.h:94

Definition at line 542 of file board.h.

#define VAL_GPIOC_OTYPER
Value:
#define GPIOC_PIN9
Definition: board.h:99
#define GPIOC_USB_DISCONNECT
Definition: board.h:95
#define GPIOC_LED1
Definition: board.h:90
#define GPIOC_OSC32_IN
Definition: board.h:104
#define GPIOC_PIN12
Definition: board.h:102
#define GPIOC_LED3
Definition: board.h:92
#define GPIOC_PIN10
Definition: board.h:100
#define GPIOC_PIN11
Definition: board.h:101
#define PIN_OTYPE_OPENDRAIN(n)
Definition: board.h:262
#define GPIOC_LED2
Definition: board.h:91
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:261
#define GPIOC_PIN6
Definition: board.h:96
#define GPIOC_PIN7
Definition: board.h:97
#define GPIOC_LED4
Definition: board.h:93
#define GPIOC_PIN13
Definition: board.h:103
#define GPIOC_OSC32_OUT
Definition: board.h:105
#define GPIOC_PIN8
Definition: board.h:98
#define GPIOC_PIN4
Definition: board.h:94

Definition at line 526 of file board.h.

#define VAL_GPIOC_PUPDR
Value:
#define GPIOC_PIN9
Definition: board.h:99
#define GPIOC_USB_DISCONNECT
Definition: board.h:95
#define GPIOC_LED1
Definition: board.h:90
#define GPIOC_OSC32_IN
Definition: board.h:104
#define GPIOC_PIN12
Definition: board.h:102
#define GPIOC_LED3
Definition: board.h:92
#define GPIOC_PIN10
Definition: board.h:100
#define GPIOC_PIN11
Definition: board.h:101
#define GPIOC_LED2
Definition: board.h:91
#define GPIOC_PIN6
Definition: board.h:96
#define GPIOC_PIN7
Definition: board.h:97
#define GPIOC_LED4
Definition: board.h:93
#define PIN_PUPDR_FLOATING(n)
Definition: board.h:267
#define PIN_PUPDR_PULLUP(n)
Definition: board.h:268
#define GPIOC_PIN13
Definition: board.h:103
#define GPIOC_OSC32_OUT
Definition: board.h:105
#define GPIOC_PIN8
Definition: board.h:98
#define GPIOC_PIN4
Definition: board.h:94

Definition at line 558 of file board.h.

#define VAL_GPIOD_AFRH
Value:
#define GPIOD_LED_GREEN
Definition: board.h:115
#define GPIOD_AUDIO_RST
Definition: board.h:118
#define GPIOD_PIN15
Definition: board.h:122
#define GPIOD_PIN9
Definition: board.h:116
#define GPIOD_PIN13
Definition: board.h:120
#define PIN_AFIO_AF(n, v)
Definition: board.h:270
#define GPIOD_PIN10
Definition: board.h:117
#define GPIOD_PIN14
Definition: board.h:121
#define GPIOD_PIN12
Definition: board.h:119

Definition at line 715 of file board.h.

#define VAL_GPIOD_AFRL
Value:
#define GPIOD_USART2_RST
Definition: board.h:111
#define GPIOD_USART2_RX
Definition: board.h:113
#define GPIOD_CAN_RX
Definition: board.h:107
#define GPIOD_USART2_CTS
Definition: board.h:110
#define GPIOD_CAN_TX
Definition: board.h:108
#define GPIOD_USART2_TX
Definition: board.h:112
#define PIN_AFIO_AF(n, v)
Definition: board.h:270
#define GPIOD_PIN7
Definition: board.h:114
#define GPIOD_LCD_CS
Definition: board.h:109

Definition at line 707 of file board.h.

#define VAL_GPIOD_MODER
Value:
#define GPIOD_LED_GREEN
Definition: board.h:115
#define GPIOD_USART2_RST
Definition: board.h:111
#define GPIOD_USART2_RX
Definition: board.h:113
#define GPIOD_CAN_RX
Definition: board.h:107
#define GPIOD_AUDIO_RST
Definition: board.h:118
#define GPIOD_PIN15
Definition: board.h:122
#define GPIOD_USART2_CTS
Definition: board.h:110
#define GPIOD_CAN_TX
Definition: board.h:108
#define GPIOD_USART2_TX
Definition: board.h:112
#define GPIOD_PIN9
Definition: board.h:116
#define GPIOD_PIN13
Definition: board.h:120
#define PIN_MODE_OUTPUT(n)
Definition: board.h:256
#define GPIOD_PIN10
Definition: board.h:117
#define PIN_MODE_ALTERNATE(n)
Definition: board.h:257
#define GPIOD_PIN14
Definition: board.h:121
#define GPIOD_PIN7
Definition: board.h:114
#define GPIOD_PIN12
Definition: board.h:119
#define PIN_MODE_INPUT(n)
Definition: board.h:255
#define GPIOD_LCD_CS
Definition: board.h:109

Definition at line 627 of file board.h.

#define VAL_GPIOD_ODR
Value:
#define GPIOD_LED_GREEN
Definition: board.h:115
#define GPIOD_USART2_RST
Definition: board.h:111
#define GPIOD_USART2_RX
Definition: board.h:113
#define GPIOD_CAN_RX
Definition: board.h:107
#define GPIOD_AUDIO_RST
Definition: board.h:118
#define GPIOD_PIN15
Definition: board.h:122
#define GPIOD_USART2_CTS
Definition: board.h:110
#define GPIOD_CAN_TX
Definition: board.h:108
#define PIN_ODR_LOW(n)
Definition: board.h:259
#define GPIOD_USART2_TX
Definition: board.h:112
#define GPIOD_PIN9
Definition: board.h:116
#define GPIOD_PIN13
Definition: board.h:120
#define GPIOD_PIN10
Definition: board.h:117
#define PIN_ODR_HIGH(n)
Definition: board.h:260
#define GPIOD_PIN14
Definition: board.h:121
#define GPIOD_PIN7
Definition: board.h:114
#define GPIOD_PIN12
Definition: board.h:119
#define GPIOD_LCD_CS
Definition: board.h:109

Definition at line 691 of file board.h.

#define VAL_GPIOD_OSPEEDR
Value:
#define GPIOD_LED_GREEN
Definition: board.h:115
#define PIN_OSPEED_HIGH(n)
Definition: board.h:266
#define GPIOD_USART2_RST
Definition: board.h:111
#define GPIOD_USART2_RX
Definition: board.h:113
#define PIN_OSPEED_VERYLOW(n)
Definition: board.h:263
#define GPIOD_CAN_RX
Definition: board.h:107
#define GPIOD_AUDIO_RST
Definition: board.h:118
#define GPIOD_PIN15
Definition: board.h:122
#define GPIOD_USART2_CTS
Definition: board.h:110
#define GPIOD_CAN_TX
Definition: board.h:108
#define GPIOD_USART2_TX
Definition: board.h:112
#define GPIOD_PIN9
Definition: board.h:116
#define GPIOD_PIN13
Definition: board.h:120
#define GPIOD_PIN10
Definition: board.h:117
#define GPIOD_PIN14
Definition: board.h:121
#define GPIOD_PIN7
Definition: board.h:114
#define GPIOD_PIN12
Definition: board.h:119
#define GPIOD_LCD_CS
Definition: board.h:109

Definition at line 659 of file board.h.

#define VAL_GPIOD_OTYPER
Value:
#define GPIOD_LED_GREEN
Definition: board.h:115
#define GPIOD_USART2_RST
Definition: board.h:111
#define GPIOD_USART2_RX
Definition: board.h:113
#define GPIOD_CAN_RX
Definition: board.h:107
#define GPIOD_AUDIO_RST
Definition: board.h:118
#define GPIOD_PIN15
Definition: board.h:122
#define GPIOD_USART2_CTS
Definition: board.h:110
#define GPIOD_CAN_TX
Definition: board.h:108
#define GPIOD_USART2_TX
Definition: board.h:112
#define GPIOD_PIN9
Definition: board.h:116
#define GPIOD_PIN13
Definition: board.h:120
#define GPIOD_PIN10
Definition: board.h:117
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:261
#define GPIOD_PIN14
Definition: board.h:121
#define GPIOD_PIN7
Definition: board.h:114
#define GPIOD_PIN12
Definition: board.h:119
#define GPIOD_LCD_CS
Definition: board.h:109

Definition at line 643 of file board.h.

#define VAL_GPIOD_PUPDR
Value:
#define GPIOD_LED_GREEN
Definition: board.h:115
#define GPIOD_USART2_RST
Definition: board.h:111
#define GPIOD_USART2_RX
Definition: board.h:113
#define GPIOD_CAN_RX
Definition: board.h:107
#define GPIOD_AUDIO_RST
Definition: board.h:118
#define GPIOD_PIN15
Definition: board.h:122
#define GPIOD_USART2_CTS
Definition: board.h:110
#define GPIOD_CAN_TX
Definition: board.h:108
#define GPIOD_USART2_TX
Definition: board.h:112
#define GPIOD_PIN9
Definition: board.h:116
#define GPIOD_PIN13
Definition: board.h:120
#define GPIOD_PIN10
Definition: board.h:117
#define PIN_PUPDR_FLOATING(n)
Definition: board.h:267
#define GPIOD_PIN14
Definition: board.h:121
#define PIN_PUPDR_PULLUP(n)
Definition: board.h:268
#define GPIOD_PIN7
Definition: board.h:114
#define GPIOD_PIN12
Definition: board.h:119
#define GPIOD_LCD_CS
Definition: board.h:109

Definition at line 675 of file board.h.

#define VAL_GPIOE_AFRH
Value:
#define GPIOE_PRESSURE_TEPM
Definition: board.h:138
#define GPIOE_PIN13
Definition: board.h:137
#define GPIOE_PRESSUREN
Definition: board.h:133
#define GPIOE_PIN10
Definition: board.h:134
#define GPIOE_PIN11
Definition: board.h:135
#define GPIOE_PRESSUREP
Definition: board.h:132
#define GPIOE_PIN15
Definition: board.h:139
#define PIN_AFIO_AF(n, v)
Definition: board.h:270
#define GPIOE_PIN12
Definition: board.h:136

Definition at line 832 of file board.h.

#define VAL_GPIOE_AFRL
Value:
#define GPIOE_SD_DETECT
Definition: board.h:127
#define GPIOE_JOY_SEL
Definition: board.h:130
#define GPIOE_SD_CS
Definition: board.h:126
#define GPIOE_PIN0
Definition: board.h:124
#define GPIOE_PIN4
Definition: board.h:128
#define GPIOE_RTD_IN
Definition: board.h:131
#define PIN_AFIO_AF(n, v)
Definition: board.h:270
#define GPIOE_PIN5
Definition: board.h:129
#define GPIOE_PIN1
Definition: board.h:125

Definition at line 824 of file board.h.

#define VAL_GPIOE_MODER
Value:
#define GPIOE_PRESSURE_TEPM
Definition: board.h:138
#define GPIOE_SD_DETECT
Definition: board.h:127
#define GPIOE_PIN13
Definition: board.h:137
#define GPIOE_PRESSUREN
Definition: board.h:133
#define GPIOE_JOY_SEL
Definition: board.h:130
#define GPIOE_PIN10
Definition: board.h:134
#define GPIOE_SD_CS
Definition: board.h:126
#define GPIOE_PIN0
Definition: board.h:124
#define GPIOE_PIN4
Definition: board.h:128
#define GPIOE_RTD_IN
Definition: board.h:131
#define GPIOE_PIN11
Definition: board.h:135
#define GPIOE_PRESSUREP
Definition: board.h:132
#define GPIOE_PIN15
Definition: board.h:139
#define PIN_MODE_OUTPUT(n)
Definition: board.h:256
#define GPIOE_PIN12
Definition: board.h:136
#define PIN_MODE_ANALOG(n)
Definition: board.h:258
#define GPIOE_PIN5
Definition: board.h:129
#define GPIOE_PIN1
Definition: board.h:125
#define PIN_MODE_INPUT(n)
Definition: board.h:255

Definition at line 744 of file board.h.

#define VAL_GPIOE_ODR
Value:
#define GPIOE_PRESSURE_TEPM
Definition: board.h:138
#define GPIOE_SD_DETECT
Definition: board.h:127
#define GPIOE_PIN13
Definition: board.h:137
#define GPIOE_PRESSUREN
Definition: board.h:133
#define GPIOE_JOY_SEL
Definition: board.h:130
#define GPIOE_PIN10
Definition: board.h:134
#define GPIOE_SD_CS
Definition: board.h:126
#define GPIOE_PIN0
Definition: board.h:124
#define PIN_ODR_LOW(n)
Definition: board.h:259
#define GPIOE_PIN4
Definition: board.h:128
#define GPIOE_RTD_IN
Definition: board.h:131
#define GPIOE_PIN11
Definition: board.h:135
#define GPIOE_PRESSUREP
Definition: board.h:132
#define GPIOE_PIN15
Definition: board.h:139
#define GPIOE_PIN12
Definition: board.h:136
#define PIN_ODR_HIGH(n)
Definition: board.h:260
#define GPIOE_PIN5
Definition: board.h:129
#define GPIOE_PIN1
Definition: board.h:125

Definition at line 808 of file board.h.

#define VAL_GPIOE_OSPEEDR
Value:
#define PIN_OSPEED_HIGH(n)
Definition: board.h:266
#define PIN_OSPEED_VERYLOW(n)
Definition: board.h:263
#define GPIOE_PRESSURE_TEPM
Definition: board.h:138
#define GPIOE_SD_DETECT
Definition: board.h:127
#define GPIOE_PIN13
Definition: board.h:137
#define GPIOE_PRESSUREN
Definition: board.h:133
#define GPIOE_JOY_SEL
Definition: board.h:130
#define GPIOE_PIN10
Definition: board.h:134
#define GPIOE_SD_CS
Definition: board.h:126
#define GPIOE_PIN0
Definition: board.h:124
#define GPIOE_PIN4
Definition: board.h:128
#define GPIOE_RTD_IN
Definition: board.h:131
#define GPIOE_PIN11
Definition: board.h:135
#define GPIOE_PRESSUREP
Definition: board.h:132
#define GPIOE_PIN15
Definition: board.h:139
#define GPIOE_PIN12
Definition: board.h:136
#define GPIOE_PIN5
Definition: board.h:129
#define GPIOE_PIN1
Definition: board.h:125

Definition at line 776 of file board.h.

#define VAL_GPIOE_OTYPER
Value:
#define GPIOE_PRESSURE_TEPM
Definition: board.h:138
#define GPIOE_SD_DETECT
Definition: board.h:127
#define GPIOE_PIN13
Definition: board.h:137
#define GPIOE_PRESSUREN
Definition: board.h:133
#define GPIOE_JOY_SEL
Definition: board.h:130
#define GPIOE_PIN10
Definition: board.h:134
#define GPIOE_SD_CS
Definition: board.h:126
#define GPIOE_PIN0
Definition: board.h:124
#define GPIOE_PIN4
Definition: board.h:128
#define PIN_OTYPE_OPENDRAIN(n)
Definition: board.h:262
#define GPIOE_RTD_IN
Definition: board.h:131
#define GPIOE_PIN11
Definition: board.h:135
#define GPIOE_PRESSUREP
Definition: board.h:132
#define GPIOE_PIN15
Definition: board.h:139
#define GPIOE_PIN12
Definition: board.h:136
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:261
#define GPIOE_PIN5
Definition: board.h:129
#define GPIOE_PIN1
Definition: board.h:125

Definition at line 760 of file board.h.

#define VAL_GPIOE_PUPDR
Value:
#define GPIOE_PRESSURE_TEPM
Definition: board.h:138
#define GPIOE_SD_DETECT
Definition: board.h:127
#define GPIOE_PIN13
Definition: board.h:137
#define GPIOE_PRESSUREN
Definition: board.h:133
#define GPIOE_JOY_SEL
Definition: board.h:130
#define GPIOE_PIN10
Definition: board.h:134
#define GPIOE_SD_CS
Definition: board.h:126
#define GPIOE_PIN0
Definition: board.h:124
#define GPIOE_PIN4
Definition: board.h:128
#define GPIOE_RTD_IN
Definition: board.h:131
#define GPIOE_PIN11
Definition: board.h:135
#define GPIOE_PRESSUREP
Definition: board.h:132
#define GPIOE_PIN15
Definition: board.h:139
#define GPIOE_PIN12
Definition: board.h:136
#define GPIOE_PIN5
Definition: board.h:129
#define PIN_PUPDR_PULLDOWN(n)
Definition: board.h:269
#define PIN_PUPDR_FLOATING(n)
Definition: board.h:267
#define GPIOE_PIN1
Definition: board.h:125
#define PIN_PUPDR_PULLUP(n)
Definition: board.h:268

Definition at line 792 of file board.h.

#define VAL_GPIOF_AFRH
Value:
#define GPIOF_PIN12
Definition: board.h:153
#define GPIOF_PIN15
Definition: board.h:156
#define GPIOF_PIN13
Definition: board.h:154
#define GPIOF_PIN8
Definition: board.h:149
#define PIN_AFIO_AF(n, v)
Definition: board.h:270
#define GPIOF_PIN11
Definition: board.h:152
#define GPIOF_PIN14
Definition: board.h:155
#define GPIOF_JOY_RIGHT
Definition: board.h:150
#define GPIOF_JOY_UP
Definition: board.h:151

Definition at line 949 of file board.h.

#define VAL_GPIOF_AFRL
Value:
#define GPIOF_OSC_IN
Definition: board.h:141
#define GPIOF_PIN3
Definition: board.h:144
#define GPIOF_JOY_LEFT
Definition: board.h:145
#define GPIOF_PIN5
Definition: board.h:146
#define GPIOF_I2C2_SCL
Definition: board.h:147
#define PIN_AFIO_AF(n, v)
Definition: board.h:270
#define GPIOF_JOY_DOWN
Definition: board.h:143
#define GPIOF_OSC_OUT
Definition: board.h:142
#define GPIOF_I2C2_SDA
Definition: board.h:148

Definition at line 941 of file board.h.

#define VAL_GPIOF_MODER
Value:
#define GPIOF_PIN12
Definition: board.h:153
#define GPIOF_OSC_IN
Definition: board.h:141
#define GPIOF_PIN15
Definition: board.h:156
#define GPIOF_PIN3
Definition: board.h:144
#define GPIOF_JOY_LEFT
Definition: board.h:145
#define GPIOF_PIN5
Definition: board.h:146
#define GPIOF_PIN13
Definition: board.h:154
#define GPIOF_PIN8
Definition: board.h:149
#define GPIOF_I2C2_SCL
Definition: board.h:147
#define GPIOF_JOY_DOWN
Definition: board.h:143
#define GPIOF_PIN11
Definition: board.h:152
#define GPIOF_PIN14
Definition: board.h:155
#define PIN_MODE_ALTERNATE(n)
Definition: board.h:257
#define GPIOF_JOY_RIGHT
Definition: board.h:150
#define GPIOF_OSC_OUT
Definition: board.h:142
#define GPIOF_JOY_UP
Definition: board.h:151
#define GPIOF_I2C2_SDA
Definition: board.h:148
#define PIN_MODE_INPUT(n)
Definition: board.h:255

Definition at line 861 of file board.h.

#define VAL_GPIOF_ODR
Value:
#define GPIOF_PIN12
Definition: board.h:153
#define GPIOF_OSC_IN
Definition: board.h:141
#define GPIOF_PIN15
Definition: board.h:156
#define GPIOF_PIN3
Definition: board.h:144
#define GPIOF_JOY_LEFT
Definition: board.h:145
#define GPIOF_PIN5
Definition: board.h:146
#define GPIOF_PIN13
Definition: board.h:154
#define GPIOF_PIN8
Definition: board.h:149
#define GPIOF_I2C2_SCL
Definition: board.h:147
#define GPIOF_JOY_DOWN
Definition: board.h:143
#define PIN_ODR_HIGH(n)
Definition: board.h:260
#define GPIOF_PIN11
Definition: board.h:152
#define GPIOF_PIN14
Definition: board.h:155
#define GPIOF_JOY_RIGHT
Definition: board.h:150
#define GPIOF_OSC_OUT
Definition: board.h:142
#define GPIOF_JOY_UP
Definition: board.h:151
#define GPIOF_I2C2_SDA
Definition: board.h:148

Definition at line 925 of file board.h.

#define VAL_GPIOF_OSPEEDR
Value:
#define GPIOF_PIN12
Definition: board.h:153
#define PIN_OSPEED_HIGH(n)
Definition: board.h:266
#define PIN_OSPEED_VERYLOW(n)
Definition: board.h:263
#define GPIOF_OSC_IN
Definition: board.h:141
#define GPIOF_PIN15
Definition: board.h:156
#define GPIOF_PIN3
Definition: board.h:144
#define GPIOF_JOY_LEFT
Definition: board.h:145
#define GPIOF_PIN5
Definition: board.h:146
#define GPIOF_PIN13
Definition: board.h:154
#define GPIOF_PIN8
Definition: board.h:149
#define GPIOF_I2C2_SCL
Definition: board.h:147
#define GPIOF_JOY_DOWN
Definition: board.h:143
#define GPIOF_PIN11
Definition: board.h:152
#define GPIOF_PIN14
Definition: board.h:155
#define GPIOF_JOY_RIGHT
Definition: board.h:150
#define GPIOF_OSC_OUT
Definition: board.h:142
#define GPIOF_JOY_UP
Definition: board.h:151
#define GPIOF_I2C2_SDA
Definition: board.h:148

Definition at line 893 of file board.h.

#define VAL_GPIOF_OTYPER
Value:
#define GPIOF_PIN12
Definition: board.h:153
#define GPIOF_OSC_IN
Definition: board.h:141
#define GPIOF_PIN15
Definition: board.h:156
#define GPIOF_PIN3
Definition: board.h:144
#define GPIOF_JOY_LEFT
Definition: board.h:145
#define GPIOF_PIN5
Definition: board.h:146
#define GPIOF_PIN13
Definition: board.h:154
#define GPIOF_PIN8
Definition: board.h:149
#define GPIOF_I2C2_SCL
Definition: board.h:147
#define PIN_OTYPE_OPENDRAIN(n)
Definition: board.h:262
#define GPIOF_JOY_DOWN
Definition: board.h:143
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:261
#define GPIOF_PIN11
Definition: board.h:152
#define GPIOF_PIN14
Definition: board.h:155
#define GPIOF_JOY_RIGHT
Definition: board.h:150
#define GPIOF_OSC_OUT
Definition: board.h:142
#define GPIOF_JOY_UP
Definition: board.h:151
#define GPIOF_I2C2_SDA
Definition: board.h:148

Definition at line 877 of file board.h.

#define VAL_GPIOF_PUPDR
Value:
#define GPIOF_PIN12
Definition: board.h:153
#define GPIOF_OSC_IN
Definition: board.h:141
#define GPIOF_PIN15
Definition: board.h:156
#define GPIOF_PIN3
Definition: board.h:144
#define GPIOF_JOY_LEFT
Definition: board.h:145
#define GPIOF_PIN5
Definition: board.h:146
#define GPIOF_PIN13
Definition: board.h:154
#define GPIOF_PIN8
Definition: board.h:149
#define GPIOF_I2C2_SCL
Definition: board.h:147
#define GPIOF_JOY_DOWN
Definition: board.h:143
#define GPIOF_PIN11
Definition: board.h:152
#define GPIOF_PIN14
Definition: board.h:155
#define PIN_PUPDR_PULLDOWN(n)
Definition: board.h:269
#define PIN_PUPDR_FLOATING(n)
Definition: board.h:267
#define GPIOF_JOY_RIGHT
Definition: board.h:150
#define PIN_PUPDR_PULLUP(n)
Definition: board.h:268
#define GPIOF_OSC_OUT
Definition: board.h:142
#define GPIOF_JOY_UP
Definition: board.h:151
#define GPIOF_I2C2_SDA
Definition: board.h:148

Definition at line 909 of file board.h.

#define VAL_GPIOG_AFRH
Value:
#define GPIOG_PIN11
Definition: board.h:169
#define GPIOG_PIN14
Definition: board.h:172
#define GPIOG_PIN9
Definition: board.h:167
#define GPIOG_PIN10
Definition: board.h:168
#define PIN_AFIO_AF(n, v)
Definition: board.h:270
#define GPIOG_PIN12
Definition: board.h:170
#define GPIOG_PIN8
Definition: board.h:166
#define GPIOG_PIN13
Definition: board.h:171
#define GPIOG_PIN15
Definition: board.h:173

Definition at line 1066 of file board.h.

#define VAL_GPIOG_AFRL
Value:
#define GPIOG_PIN5
Definition: board.h:163
#define GPIOG_PIN0
Definition: board.h:158
#define GPIOG_PIN6
Definition: board.h:164
#define GPIOG_PIN1
Definition: board.h:159
#define GPIOG_PIN4
Definition: board.h:162
#define GPIOG_PIN7
Definition: board.h:165
#define PIN_AFIO_AF(n, v)
Definition: board.h:270
#define GPIOG_PIN2
Definition: board.h:160
#define GPIOG_PIN3
Definition: board.h:161

Definition at line 1058 of file board.h.

#define VAL_GPIOG_MODER
Value:
#define GPIOG_PIN11
Definition: board.h:169
#define GPIOG_PIN5
Definition: board.h:163
#define GPIOG_PIN14
Definition: board.h:172
#define GPIOG_PIN9
Definition: board.h:167
#define GPIOG_PIN0
Definition: board.h:158
#define GPIOG_PIN6
Definition: board.h:164
#define GPIOG_PIN10
Definition: board.h:168
#define GPIOG_PIN1
Definition: board.h:159
#define GPIOG_PIN4
Definition: board.h:162
#define GPIOG_PIN7
Definition: board.h:165
#define GPIOG_PIN12
Definition: board.h:170
#define GPIOG_PIN8
Definition: board.h:166
#define GPIOG_PIN13
Definition: board.h:171
#define GPIOG_PIN2
Definition: board.h:160
#define GPIOG_PIN15
Definition: board.h:173
#define GPIOG_PIN3
Definition: board.h:161
#define PIN_MODE_INPUT(n)
Definition: board.h:255

Definition at line 978 of file board.h.

#define VAL_GPIOG_ODR
Value:
#define GPIOG_PIN11
Definition: board.h:169
#define GPIOG_PIN5
Definition: board.h:163
#define GPIOG_PIN14
Definition: board.h:172
#define GPIOG_PIN9
Definition: board.h:167
#define GPIOG_PIN0
Definition: board.h:158
#define GPIOG_PIN6
Definition: board.h:164
#define GPIOG_PIN10
Definition: board.h:168
#define GPIOG_PIN1
Definition: board.h:159
#define GPIOG_PIN4
Definition: board.h:162
#define GPIOG_PIN7
Definition: board.h:165
#define GPIOG_PIN12
Definition: board.h:170
#define GPIOG_PIN8
Definition: board.h:166
#define PIN_ODR_HIGH(n)
Definition: board.h:260
#define GPIOG_PIN13
Definition: board.h:171
#define GPIOG_PIN2
Definition: board.h:160
#define GPIOG_PIN15
Definition: board.h:173
#define GPIOG_PIN3
Definition: board.h:161

Definition at line 1042 of file board.h.

#define VAL_GPIOG_OSPEEDR
Value:
#define GPIOG_PIN11
Definition: board.h:169
#define GPIOG_PIN5
Definition: board.h:163
#define PIN_OSPEED_VERYLOW(n)
Definition: board.h:263
#define GPIOG_PIN14
Definition: board.h:172
#define GPIOG_PIN9
Definition: board.h:167
#define GPIOG_PIN0
Definition: board.h:158
#define GPIOG_PIN6
Definition: board.h:164
#define GPIOG_PIN10
Definition: board.h:168
#define GPIOG_PIN1
Definition: board.h:159
#define GPIOG_PIN4
Definition: board.h:162
#define GPIOG_PIN7
Definition: board.h:165
#define GPIOG_PIN12
Definition: board.h:170
#define GPIOG_PIN8
Definition: board.h:166
#define GPIOG_PIN13
Definition: board.h:171
#define GPIOG_PIN2
Definition: board.h:160
#define GPIOG_PIN15
Definition: board.h:173
#define GPIOG_PIN3
Definition: board.h:161

Definition at line 1010 of file board.h.

#define VAL_GPIOG_OTYPER
Value:
#define GPIOG_PIN11
Definition: board.h:169
#define GPIOG_PIN5
Definition: board.h:163
#define GPIOG_PIN14
Definition: board.h:172
#define GPIOG_PIN9
Definition: board.h:167
#define GPIOG_PIN0
Definition: board.h:158
#define GPIOG_PIN6
Definition: board.h:164
#define GPIOG_PIN10
Definition: board.h:168
#define GPIOG_PIN1
Definition: board.h:159
#define GPIOG_PIN4
Definition: board.h:162
#define GPIOG_PIN7
Definition: board.h:165
#define GPIOG_PIN12
Definition: board.h:170
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:261
#define GPIOG_PIN8
Definition: board.h:166
#define GPIOG_PIN13
Definition: board.h:171
#define GPIOG_PIN2
Definition: board.h:160
#define GPIOG_PIN15
Definition: board.h:173
#define GPIOG_PIN3
Definition: board.h:161

Definition at line 994 of file board.h.

#define VAL_GPIOG_PUPDR
Value:
#define GPIOG_PIN11
Definition: board.h:169
#define GPIOG_PIN5
Definition: board.h:163
#define GPIOG_PIN14
Definition: board.h:172
#define GPIOG_PIN9
Definition: board.h:167
#define GPIOG_PIN0
Definition: board.h:158
#define GPIOG_PIN6
Definition: board.h:164
#define GPIOG_PIN10
Definition: board.h:168
#define GPIOG_PIN1
Definition: board.h:159
#define GPIOG_PIN4
Definition: board.h:162
#define GPIOG_PIN7
Definition: board.h:165
#define GPIOG_PIN12
Definition: board.h:170
#define GPIOG_PIN8
Definition: board.h:166
#define GPIOG_PIN13
Definition: board.h:171
#define PIN_PUPDR_PULLUP(n)
Definition: board.h:268
#define GPIOG_PIN2
Definition: board.h:160
#define GPIOG_PIN15
Definition: board.h:173
#define GPIOG_PIN3
Definition: board.h:161

Definition at line 1026 of file board.h.

#define VAL_GPIOH_AFRH
Value:
#define GPIOH_PIN8
Definition: board.h:183
#define GPIOH_PIN10
Definition: board.h:185
#define GPIOH_PIN14
Definition: board.h:189
#define GPIOH_PIN9
Definition: board.h:184
#define GPIOH_PIN11
Definition: board.h:186
#define GPIOH_PIN12
Definition: board.h:187
#define PIN_AFIO_AF(n, v)
Definition: board.h:270
#define GPIOH_PIN15
Definition: board.h:190
#define GPIOH_PIN13
Definition: board.h:188

Definition at line 1183 of file board.h.

#define VAL_GPIOH_AFRL
Value:
#define GPIOH_PIN5
Definition: board.h:180
#define GPIOH_PIN3
Definition: board.h:178
#define GPIOH_PIN2
Definition: board.h:177
#define GPIOH_PIN7
Definition: board.h:182
#define GPIOH_PIN4
Definition: board.h:179
#define PIN_AFIO_AF(n, v)
Definition: board.h:270
#define GPIOH_PIN1
Definition: board.h:176
#define GPIOH_PIN6
Definition: board.h:181
#define GPIOH_PIN0
Definition: board.h:175

Definition at line 1175 of file board.h.

#define VAL_GPIOH_MODER
Value:
#define GPIOH_PIN8
Definition: board.h:183
#define GPIOH_PIN10
Definition: board.h:185
#define GPIOH_PIN5
Definition: board.h:180
#define GPIOH_PIN14
Definition: board.h:189
#define GPIOH_PIN9
Definition: board.h:184
#define GPIOH_PIN3
Definition: board.h:178
#define GPIOH_PIN2
Definition: board.h:177
#define GPIOH_PIN7
Definition: board.h:182
#define GPIOH_PIN4
Definition: board.h:179
#define GPIOH_PIN11
Definition: board.h:186
#define GPIOH_PIN12
Definition: board.h:187
#define GPIOH_PIN15
Definition: board.h:190
#define GPIOH_PIN1
Definition: board.h:176
#define GPIOH_PIN6
Definition: board.h:181
#define GPIOH_PIN0
Definition: board.h:175
#define GPIOH_PIN13
Definition: board.h:188
#define PIN_MODE_INPUT(n)
Definition: board.h:255

Definition at line 1095 of file board.h.

#define VAL_GPIOH_ODR
Value:
#define GPIOH_PIN8
Definition: board.h:183
#define GPIOH_PIN10
Definition: board.h:185
#define GPIOH_PIN5
Definition: board.h:180
#define GPIOH_PIN14
Definition: board.h:189
#define GPIOH_PIN9
Definition: board.h:184
#define GPIOH_PIN3
Definition: board.h:178
#define GPIOH_PIN2
Definition: board.h:177
#define GPIOH_PIN7
Definition: board.h:182
#define GPIOH_PIN4
Definition: board.h:179
#define GPIOH_PIN11
Definition: board.h:186
#define GPIOH_PIN12
Definition: board.h:187
#define GPIOH_PIN15
Definition: board.h:190
#define PIN_ODR_HIGH(n)
Definition: board.h:260
#define GPIOH_PIN1
Definition: board.h:176
#define GPIOH_PIN6
Definition: board.h:181
#define GPIOH_PIN0
Definition: board.h:175
#define GPIOH_PIN13
Definition: board.h:188

Definition at line 1159 of file board.h.

#define VAL_GPIOH_OSPEEDR
Value:
#define GPIOH_PIN8
Definition: board.h:183
#define GPIOH_PIN10
Definition: board.h:185
#define PIN_OSPEED_VERYLOW(n)
Definition: board.h:263
#define GPIOH_PIN5
Definition: board.h:180
#define GPIOH_PIN14
Definition: board.h:189
#define GPIOH_PIN9
Definition: board.h:184
#define GPIOH_PIN3
Definition: board.h:178
#define GPIOH_PIN2
Definition: board.h:177
#define GPIOH_PIN7
Definition: board.h:182
#define GPIOH_PIN4
Definition: board.h:179
#define GPIOH_PIN11
Definition: board.h:186
#define GPIOH_PIN12
Definition: board.h:187
#define GPIOH_PIN15
Definition: board.h:190
#define GPIOH_PIN1
Definition: board.h:176
#define GPIOH_PIN6
Definition: board.h:181
#define GPIOH_PIN0
Definition: board.h:175
#define GPIOH_PIN13
Definition: board.h:188

Definition at line 1127 of file board.h.

#define VAL_GPIOH_OTYPER
Value:
#define GPIOH_PIN8
Definition: board.h:183
#define GPIOH_PIN10
Definition: board.h:185
#define GPIOH_PIN5
Definition: board.h:180
#define GPIOH_PIN14
Definition: board.h:189
#define GPIOH_PIN9
Definition: board.h:184
#define GPIOH_PIN3
Definition: board.h:178
#define GPIOH_PIN2
Definition: board.h:177
#define GPIOH_PIN7
Definition: board.h:182
#define GPIOH_PIN4
Definition: board.h:179
#define GPIOH_PIN11
Definition: board.h:186
#define GPIOH_PIN12
Definition: board.h:187
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:261
#define GPIOH_PIN15
Definition: board.h:190
#define GPIOH_PIN1
Definition: board.h:176
#define GPIOH_PIN6
Definition: board.h:181
#define GPIOH_PIN0
Definition: board.h:175
#define GPIOH_PIN13
Definition: board.h:188

Definition at line 1111 of file board.h.

#define VAL_GPIOH_PUPDR
Value:
#define GPIOH_PIN8
Definition: board.h:183
#define GPIOH_PIN10
Definition: board.h:185
#define GPIOH_PIN5
Definition: board.h:180
#define GPIOH_PIN14
Definition: board.h:189
#define GPIOH_PIN9
Definition: board.h:184
#define GPIOH_PIN3
Definition: board.h:178
#define GPIOH_PIN2
Definition: board.h:177
#define GPIOH_PIN7
Definition: board.h:182
#define GPIOH_PIN4
Definition: board.h:179
#define GPIOH_PIN11
Definition: board.h:186
#define GPIOH_PIN12
Definition: board.h:187
#define GPIOH_PIN15
Definition: board.h:190
#define GPIOH_PIN1
Definition: board.h:176
#define GPIOH_PIN6
Definition: board.h:181
#define GPIOH_PIN0
Definition: board.h:175
#define PIN_PUPDR_PULLUP(n)
Definition: board.h:268
#define GPIOH_PIN13
Definition: board.h:188

Definition at line 1143 of file board.h.

#define XVERT_ESC_0   0

Definition at line 1327 of file board.h.

Referenced by actuators_xvert_commit().

#define XVERT_ESC_1   1

Definition at line 1328 of file board.h.

Referenced by actuators_xvert_commit().

Function Documentation

void boardInit ( void  )

SDIO.

SDIO.

Todo:
Add your board-specific code, if any.

SDIO.

Todo:
Add your board-specific code, if any.

SDIO.

Todo:
Add your board-specific code, if any.

SDIO.

Todo:
Add your board-specific code, if any.

SDIO.

Todo:
Add your board-specific code, if any.

SDIO.

Todo:
Add your board-specific code, if any.

SDIO.

Todo:
Add your board-specific code, if any.

SDIO.

Todo:
Add your board-specific code, if any.

SDIO.

Todo:
Add your board-specific code, if any.

SDIO.

Todo:
Add your board-specific code, if any.

SDIO.

Todo:
Add your board-specific code, if any.

SDIO.

Todo:
Add your board-specific code, if any.

Definition at line 261 of file board.c.