Paparazzi UAS  v5.15_devel-88-gb3ad7fe
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_APOGEE
 
#define BOARD_NAME   "AB/GRZ STM32F4 Apogee 1.0"
 
#define STM32_LSECLK   32768
 
#define STM32_HSECLK   16000000
 
#define STM32_VDD   300
 
#define STM32F407xx
 
#define AHB_CLK   STM32_HCLK
 
#define USE_LED_1   1
 
#define LED_1_GPIO   GPIOC
 
#define LED_1_GPIO_PIN   GPIO0
 
#define LED_1_GPIO_ON   gpio_clear
 
#define LED_1_GPIO_OFF   gpio_set
 
#define USE_LED_2   1
 
#define LED_2_GPIO   GPIOC
 
#define LED_2_GPIO_PIN   GPIO13
 
#define LED_2_GPIO_ON   gpio_clear
 
#define LED_2_GPIO_OFF   gpio_set
 
#define USE_LED_3   1
 
#define LED_3_GPIO   GPIOC
 
#define LED_3_GPIO_PIN   GPIO1
 
#define LED_3_GPIO_ON   gpio_clear
 
#define LED_3_GPIO_OFF   gpio_set
 
#define USE_LED_4   1
 
#define LED_4_GPIO   GPIOC
 
#define LED_4_GPIO_PIN   GPIO3
 
#define LED_4_GPIO_ON   gpio_clear
 
#define LED_4_GPIO_OFF   gpio_set
 
#define USE_LED_5   0
 
#define LED_5_GPIO   GPIOB
 
#define LED_5_GPIO_PIN   GPIO1
 
#define LED_5_GPIO_ON   gpio_set
 
#define LED_5_GPIO_OFF   gpio_clear
 
#define USE_LED_6   0
 
#define LED_6_GPIO   GPIOC
 
#define LED_6_GPIO_PIN   GPIO5
 
#define LED_6_GPIO_ON   gpio_set
 
#define LED_6_GPIO_OFF   gpio_clear
 
#define USE_LED_7   0
 
#define LED_7_GPIO   GPIOC
 
#define LED_7_GPIO_PIN   GPIO4
 
#define LED_7_GPIO_ON   gpio_set
 
#define LED_7_GPIO_OFF   gpio_clear
 
#define USE_LED_8   0
 
#define LED_8_GPIO   GPIOB
 
#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_4   1
 
#define AD1_4_CHANNEL   ADC_CHANNEL_IN4
 
#define ADC_4   AD1_4
 
#define ADC_4_GPIO_PORT   GPIOA
 
#define ADC_4_GPIO_PIN   GPIO4
 
#define ADC_CHANNEL_VSUPPLY   ADC_4
 
#define DefaultVoltageOfAdc(adc)   (0.006185*adc)
 
#define USE_PWM0   1
 
#define PWM_SERVO_0   0
 
#define PWM_SERVO_0_GPIO   GPIOB
 
#define PWM_SERVO_0_PIN   GPIO0
 
#define PWM_SERVO_0_AF   GPIO_AF2
 
#define PWM_SERVO_0_DRIVER   PWMD3
 
#define PWM_SERVO_0_CHANNEL   2
 
#define PWM_SERVO_0_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH
 
#define USE_PWM1   1
 
#define PWM_SERVO_1   1
 
#define PWM_SERVO_1_GPIO   GPIOA
 
#define PWM_SERVO_1_PIN   GPIO2
 
#define PWM_SERVO_1_AF   GPIO_AF1
 
#define PWM_SERVO_1_DRIVER   PWMD2
 
#define PWM_SERVO_1_CHANNEL   2
 
#define PWM_SERVO_1_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH
 
#define USE_PWM2   1
 
#define PWM_SERVO_2   2
 
#define PWM_SERVO_2_GPIO   GPIOB
 
#define PWM_SERVO_2_PIN   GPIO5
 
#define PWM_SERVO_2_AF   GPIO_AF2
 
#define PWM_SERVO_2_DRIVER   PWMD3
 
#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   GPIOB
 
#define PWM_SERVO_3_PIN   GPIO4
 
#define PWM_SERVO_3_AF   GPIO_AF2
 
#define PWM_SERVO_3_DRIVER   PWMD3
 
#define PWM_SERVO_3_CHANNEL   0
 
#define PWM_SERVO_3_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH
 
#define USE_PWM4   1
 
#define PWM_SERVO_4   4
 
#define PWM_SERVO_4_GPIO   GPIOB
 
#define PWM_SERVO_4_PIN   GPIO3
 
#define PWM_SERVO_4_AF   GPIO_AF1
 
#define PWM_SERVO_4_DRIVER   PWMD2
 
#define PWM_SERVO_4_CHANNEL   1
 
#define PWM_SERVO_4_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH
 
#define USE_PWM5   1
 
#define PWM_SERVO_5   5
 
#define PWM_SERVO_5_GPIO   GPIOA
 
#define PWM_SERVO_5_PIN   GPIO15
 
#define PWM_SERVO_5_AF   GPIO_AF1
 
#define PWM_SERVO_5_DRIVER   PWMD2
 
#define PWM_SERVO_5_CHANNEL   0
 
#define PWM_SERVO_5_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH
 
#define PWM_SERVO_6_ACTIVE   PWM_OUTPUT_DISABLED
 
#define PWM_CONF_TIM2   1
 
#define PWM_CONF2_DEF
 
#define PWM_CONF_TIM3   1
 
#define PWM_CONF3_DEF
 
#define DSHOT_SERVO_0   0
 DSHOT. More...
 
#define DSHOT_SERVO_0_GPIO   GPIOB
 
#define DSHOT_SERVO_0_PIN   GPIO0
 
#define DSHOT_SERVO_0_AF   GPIO_AF2
 
#define DSHOT_SERVO_0_DRIVER   DSHOTD3
 
#define DSHOT_SERVO_0_CHANNEL   2
 
#define DSHOT_SERVO_1   1
 
#define DSHOT_SERVO_1_GPIO   GPIOA
 
#define DSHOT_SERVO_1_PIN   GPIO2
 
#define DSHOT_SERVO_1_AF   GPIO_AF1
 
#define DSHOT_SERVO_1_DRIVER   DSHOTD2
 
#define DSHOT_SERVO_1_CHANNEL   2
 
#define DSHOT_SERVO_2   2
 
#define DSHOT_SERVO_2_GPIO   GPIOB
 
#define DSHOT_SERVO_2_PIN   GPIO5
 
#define DSHOT_SERVO_2_AF   GPIO_AF2
 
#define DSHOT_SERVO_2_DRIVER   DSHOTD3
 
#define DSHOT_SERVO_2_CHANNEL   1
 
#define DSHOT_SERVO_3   3
 
#define DSHOT_SERVO_3_GPIO   GPIOB
 
#define DSHOT_SERVO_3_PIN   GPIO4
 
#define DSHOT_SERVO_3_AF   GPIO_AF2
 
#define DSHOT_SERVO_3_DRIVER   DSHOTD3
 
#define DSHOT_SERVO_3_CHANNEL   0
 
#define DSHOT_SERVO_4   4
 
#define DSHOT_SERVO_4_GPIO   GPIOB
 
#define DSHOT_SERVO_4_PIN   GPIO3
 
#define DSHOT_SERVO_4_AF   GPIO_AF1
 
#define DSHOT_SERVO_4_DRIVER   DSHOTD2
 
#define DSHOT_SERVO_4_CHANNEL   1
 
#define DSHOT_SERVO_5   5
 
#define DSHOT_SERVO_5_GPIO   GPIOA
 
#define DSHOT_SERVO_5_PIN   GPIO15
 
#define DSHOT_SERVO_5_AF   GPIO_AF1
 
#define DSHOT_SERVO_5_DRIVER   DSHOTD2
 
#define DSHOT_SERVO_5_CHANNEL   0
 
#define DSHOT_TELEMETRY_DEV   NULL
 
#define DSHOT_CONF_TIM2   1
 
#define DSHOT_CONF2_DEF
 
#define DSHOT_CONF_TIM3   1
 
#define DSHOT_CONF3_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 SPEKTRUM_BIND_WAIT   30000
 
#define SPEKTRUM_BIND_PIN   GPIO15
 
#define SPEKTRUM_BIND_PIN_PORT   GPIOB
 
#define SPEKTRUM_PRIMARY_BIND_CONF_PORT   GPIOA
 
#define SPEKTRUM_PRIMARY_BIND_CONF_PIN   GPIO8
 
#define PWM_INPUT1_ICU   ICUD1
 
#define PWM_INPUT1_CHANNEL   ICU_CHANNEL_1
 
#define PWM_INPUT1_GPIO_PORT   GPIOA
 
#define PWM_INPUT1_GPIO_PIN   GPIO8
 
#define PWM_INPUT1_GPIO_AF   GPIO_AF1
 
#define PWM_INPUT2_ICU   ICUD9
 
#define PWM_INPUT2_CHANNEL   ICU_CHANNEL_1
 
#define PWM_INPUT2_GPIO_PORT   GPIOA
 
#define PWM_INPUT2_GPIO_PIN   GPIO2
 
#define PWM_INPUT2_GPIO_AF   GPIO_AF3
 
#define I2C1_CLOCK_SPEED   400000
 I2C defines. More...
 
#define I2C1_DUTY_CYCLE   FAST_DUTY_CYCLE_2
 
#define I2C1_CFG_DEF
 
#define I2C2_CLOCK_SPEED   400000
 
#define I2C2_DUTY_CYCLE   FAST_DUTY_CYCLE_2
 
#define I2C2_CFG_DEF
 
#define SPI1_GPIO_AF   GPIO_AF5
 SPI Config. More...
 
#define SPI1_GPIO_PORT_MISO   GPIOA
 
#define SPI1_GPIO_MISO   GPIO6
 
#define SPI1_GPIO_PORT_MOSI   GPIOA
 
#define SPI1_GPIO_MOSI   GPIO7
 
#define SPI1_GPIO_PORT_SCK   GPIOA
 
#define SPI1_GPIO_SCK   GPIO5
 
#define SPI_SELECT_SLAVE0_PORT   GPIOB
 
#define SPI_SELECT_SLAVE0_PIN   GPIO9
 
#define SPI_SELECT_SLAVE1_PORT   GPIOB
 
#define SPI_SELECT_SLAVE1_PIN   GPIO1
 
#define SPI_SELECT_SLAVE2_PORT   GPIOC
 
#define SPI_SELECT_SLAVE2_PIN   GPIO5
 
#define SPI_SELECT_SLAVE3_PORT   GPIOC
 
#define SPI_SELECT_SLAVE3_PIN   GPIO4
 
#define SPI_SELECT_SLAVE4_PORT   GPIOB
 
#define SPI_SELECT_SLAVE4_PIN   GPIO15
 
#define USE_BARO_BOARD   1
 Baro. More...
 
#define DEFAULT_ACTUATORS   "subsystems/actuators/actuators_pwm.h"
 
#define ActuatorDefaultSet(_x, _y)   ActuatorPwmSet(_x,_y)
 
#define ActuatorsDefaultInit()   ActuatorsPwmInit()
 
#define ActuatorsDefaultCommit()   ActuatorsPwmCommit()
 
#define SDIO_D0_PORT   GPIOC
 SDIO. More...
 
#define SDIO_D0_PIN   SDIO_D0
 
#define SDIO_D1_PORT   GPIOC
 
#define SDIO_D1_PIN   SDIO_D1
 
#define SDIO_D2_PORT   GPIOC
 
#define SDIO_D2_PIN   SDIO_D2
 
#define SDIO_D3_PORT   GPIOC
 
#define SDIO_D3_PIN   SDIO_D3
 
#define SDIO_CK_PORT   GPIOC
 
#define SDIO_CK_PIN   SDIO_CK
 
#define SDIO_CMD_PORT   GPIOD
 
#define SDIO_CMD_PIN   SDIO_CMD
 
#define SDIO_AF   12
 
#define SDLOG_BAT_ADC   ADCD1
 
#define SDLOG_BAT_CHAN   AD1_4_CHANNEL
 
#define SDLOG_USB_LED   4
 
#define SDLOG_USB_VBUS_PORT   GPIOA
 
#define SDLOG_USB_VBUS_PIN   GPIO9
 
#define WS2812D1_CFG_DEF
 For WS2812. More...
 
#define UART4_TX   0U
 
#define UART4_RX   1U
 
#define PWM2_CH3   2U
 
#define UART2_RX   3U
 
#define ADC1_IN4   4U
 
#define SPI1_SCK   5U
 
#define SPI1_MISO   6U
 
#define SPI1_MOSI   7U
 
#define CU1_CH1   8U
 
#define OTG_FS_VBUS   9U
 
#define USART1_RX   10U
 
#define OTG_FS_DM   11U
 
#define OTG_FS_DP   12U
 
#define SWDIO   13U
 
#define SWCLK   14U
 
#define PWM2_CH1   15U
 
#define PWM3_CH3   0U
 
#define AUX1   1U
 
#define BOOT1   2U
 
#define PWM2_CH2   3U
 
#define PWM3_CH1   4U
 
#define PWM3_CH2   5U
 
#define USART1_TX   6U
 
#define I2C1_SDA   7U
 
#define I2C1_SCL   8U
 
#define SPI1_CS   9U
 
#define I2C2_SCL   10U
 
#define I2C2_SDA   11U
 
#define POWER_SWITCH   12U
 
#define RX2_POL   13U
 
#define SDIO_DETECT   14U
 
#define AUX4   15U
 
#define LED1   0U
 
#define LED3   1U
 
#define PC02   2U
 
#define LED4   3U
 
#define AUX3   4U
 
#define AUX2   5U
 
#define USART6_TX   6U
 
#define USART6_RX   7U
 
#define SDIO_D0   8U
 
#define SDIO_D1   9U
 
#define SDIO_D2   10U
 
#define SDIO_D3   11U
 
#define SDIO_CK   12U
 
#define LED2   13U
 
#define OSC32_IN   14U
 
#define OSC32_OUT   15U
 
#define PD00   0U
 
#define PD01   1U
 
#define SDIO_CMD   2U
 
#define PD03   3U
 
#define PD04   4U
 
#define PD05   5U
 
#define PD06   6U
 
#define PD07   7U
 
#define PD08   8U
 
#define PD09   9U
 
#define PD10   10U
 
#define PD11   11U
 
#define PD12   12U
 
#define PD13   13U
 
#define PD14   14U
 
#define PD15   15U
 
#define PE00   0U
 
#define PE01   1U
 
#define PE02   2U
 
#define PE03   3U
 
#define PE04   4U
 
#define PE05   5U
 
#define PE06   6U
 
#define PE07   7U
 
#define PE08   8U
 
#define PE09   9U
 
#define PE10   10U
 
#define PE11   11U
 
#define PE12   12U
 
#define PE13   13U
 
#define PE14   14U
 
#define PE15   15U
 
#define PF00   0U
 
#define PF01   1U
 
#define PF02   2U
 
#define PF03   3U
 
#define PF04   4U
 
#define PF05   5U
 
#define PF06   6U
 
#define PF07   7U
 
#define PF08   8U
 
#define PF09   9U
 
#define PF10   10U
 
#define PF11   11U
 
#define PF12   12U
 
#define PF13   13U
 
#define PF14   14U
 
#define PF15   15U
 
#define PG00   0U
 
#define PG01   1U
 
#define PG02   2U
 
#define PG03   3U
 
#define PG04   4U
 
#define PG05   5U
 
#define PG06   6U
 
#define PG07   7U
 
#define PG08   8U
 
#define PG09   9U
 
#define PG10   10U
 
#define PG11   11U
 
#define PG12   12U
 
#define PG13   13U
 
#define PG14   14U
 
#define PG15   15U
 
#define OSC_IN   0U
 
#define OSC_OUT   1U
 
#define PH02   2U
 
#define PH03   3U
 
#define PH04   4U
 
#define PH05   5U
 
#define PH06   6U
 
#define PH07   7U
 
#define PH08   8U
 
#define PH09   9U
 
#define PH10   10U
 
#define PH11   11U
 
#define PH12   12U
 
#define PH13   13U
 
#define PH14   14U
 
#define PH15   15U
 
#define PI00   0U
 
#define PI01   1U
 
#define PI02   2U
 
#define PI03   3U
 
#define PI04   4U
 
#define PI05   5U
 
#define PI06   6U
 
#define PI07   7U
 
#define PI08   8U
 
#define PI09   9U
 
#define PI10   10U
 
#define PI11   11U
 
#define PI12   12U
 
#define PI13   13U
 
#define PI14   14U
 
#define PI15   15U
 
#define PJ00   0U
 
#define PJ01   1U
 
#define PJ02   2U
 
#define PJ03   3U
 
#define PJ04   4U
 
#define PJ05   5U
 
#define PJ06   6U
 
#define PJ07   7U
 
#define PJ08   8U
 
#define PJ09   9U
 
#define PJ10   10U
 
#define PJ11   11U
 
#define PJ12   12U
 
#define PJ13   13U
 
#define PJ14   14U
 
#define PJ15   15U
 
#define PK00   0U
 
#define PK01   1U
 
#define PK02   2U
 
#define PK03   3U
 
#define PK04   4U
 
#define PK05   5U
 
#define PK06   6U
 
#define PK07   7U
 
#define PK08   8U
 
#define PK09   9U
 
#define PK10   10U
 
#define PK11   11U
 
#define PK12   12U
 
#define PK13   13U
 
#define PK14   14U
 
#define PK15   15U
 
#define LINE_UART4_TX   PAL_LINE(GPIOA, 0U)
 
#define LINE_UART4_RX   PAL_LINE(GPIOA, 1U)
 
#define LINE_PWM2_CH3   PAL_LINE(GPIOA, 2U)
 
#define LINE_UART2_RX   PAL_LINE(GPIOA, 3U)
 
#define LINE_ADC1_IN4   PAL_LINE(GPIOA, 4U)
 
#define LINE_SPI1_SCK   PAL_LINE(GPIOA, 5U)
 
#define LINE_SPI1_MISO   PAL_LINE(GPIOA, 6U)
 
#define LINE_SPI1_MOSI   PAL_LINE(GPIOA, 7U)
 
#define LINE_CU1_CH1   PAL_LINE(GPIOA, 8U)
 
#define LINE_OTG_FS_VBUS   PAL_LINE(GPIOA, 9U)
 
#define LINE_USART1_RX   PAL_LINE(GPIOA, 10U)
 
#define LINE_OTG_FS_DM   PAL_LINE(GPIOA, 11U)
 
#define LINE_OTG_FS_DP   PAL_LINE(GPIOA, 12U)
 
#define LINE_SWDIO   PAL_LINE(GPIOA, 13U)
 
#define LINE_SWCLK   PAL_LINE(GPIOA, 14U)
 
#define LINE_PWM2_CH1   PAL_LINE(GPIOA, 15U)
 
#define LINE_PWM3_CH3   PAL_LINE(GPIOB, 0U)
 
#define LINE_AUX1   PAL_LINE(GPIOB, 1U)
 
#define LINE_BOOT1   PAL_LINE(GPIOB, 2U)
 
#define LINE_PWM2_CH2   PAL_LINE(GPIOB, 3U)
 
#define LINE_PWM3_CH1   PAL_LINE(GPIOB, 4U)
 
#define LINE_PWM3_CH2   PAL_LINE(GPIOB, 5U)
 
#define LINE_USART1_TX   PAL_LINE(GPIOB, 6U)
 
#define LINE_I2C1_SDA   PAL_LINE(GPIOB, 7U)
 
#define LINE_I2C1_SCL   PAL_LINE(GPIOB, 8U)
 
#define LINE_SPI1_CS   PAL_LINE(GPIOB, 9U)
 
#define LINE_I2C2_SCL   PAL_LINE(GPIOB, 10U)
 
#define LINE_I2C2_SDA   PAL_LINE(GPIOB, 11U)
 
#define LINE_POWER_SWITCH   PAL_LINE(GPIOB, 12U)
 
#define LINE_RX2_POL   PAL_LINE(GPIOB, 13U)
 
#define LINE_SDIO_DETECT   PAL_LINE(GPIOB, 14U)
 
#define LINE_AUX4   PAL_LINE(GPIOB, 15U)
 
#define LINE_LED1   PAL_LINE(GPIOC, 0U)
 
#define LINE_LED3   PAL_LINE(GPIOC, 1U)
 
#define LINE_LED4   PAL_LINE(GPIOC, 3U)
 
#define LINE_AUX3   PAL_LINE(GPIOC, 4U)
 
#define LINE_AUX2   PAL_LINE(GPIOC, 5U)
 
#define LINE_USART6_TX   PAL_LINE(GPIOC, 6U)
 
#define LINE_USART6_RX   PAL_LINE(GPIOC, 7U)
 
#define LINE_SDIO_D0   PAL_LINE(GPIOC, 8U)
 
#define LINE_SDIO_D1   PAL_LINE(GPIOC, 9U)
 
#define LINE_SDIO_D2   PAL_LINE(GPIOC, 10U)
 
#define LINE_SDIO_D3   PAL_LINE(GPIOC, 11U)
 
#define LINE_SDIO_CK   PAL_LINE(GPIOC, 12U)
 
#define LINE_LED2   PAL_LINE(GPIOC, 13U)
 
#define LINE_OSC32_IN   PAL_LINE(GPIOC, 14U)
 
#define LINE_OSC32_OUT   PAL_LINE(GPIOC, 15U)
 
#define LINE_SDIO_CMD   PAL_LINE(GPIOD, 2U)
 
#define LINE_OSC_IN   PAL_LINE(GPIOH, 0U)
 
#define LINE_OSC_OUT   PAL_LINE(GPIOH, 1U)
 
#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_LEVEL_LOW(n)   (0U << (n))
 
#define PIN_ODR_LEVEL_HIGH(n)   (1U << (n))
 
#define PIN_OTYPE_PUSHPULL(n)   (0U << (n))
 
#define PIN_OTYPE_OPENDRAIN(n)   (1U << (n))
 
#define PIN_OSPEED_SPEED_VERYLOW(n)   (0U << ((n) * 2U))
 
#define PIN_OSPEED_SPEED_LOW(n)   (1U << ((n) * 2U))
 
#define PIN_OSPEED_SPEED_MEDIUM(n)   (2U << ((n) * 2U))
 
#define PIN_OSPEED_SPEED_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 VAL_GPIOI_MODER
 
#define VAL_GPIOI_OTYPER
 
#define VAL_GPIOI_OSPEEDR
 
#define VAL_GPIOI_PUPDR
 
#define VAL_GPIOI_ODR
 
#define VAL_GPIOI_AFRL
 
#define VAL_GPIOI_AFRH
 
#define VAL_GPIOJ_MODER
 
#define VAL_GPIOJ_OTYPER
 
#define VAL_GPIOJ_OSPEEDR
 
#define VAL_GPIOJ_PUPDR
 
#define VAL_GPIOJ_ODR
 
#define VAL_GPIOJ_AFRL
 
#define VAL_GPIOJ_AFRH
 
#define VAL_GPIOK_MODER
 
#define VAL_GPIOK_OTYPER
 
#define VAL_GPIOK_OSPEEDR
 
#define VAL_GPIOK_PUPDR
 
#define VAL_GPIOK_ODR
 
#define VAL_GPIOK_AFRL
 
#define VAL_GPIOK_AFRH
 
#define AF_UART4_TX   8U
 
#define AF_LINE_UART4_TX   8U
 
#define AF_UART4_RX   8U
 
#define AF_LINE_UART4_RX   8U
 
#define AF_UART2_RX   7U
 
#define AF_LINE_UART2_RX   7U
 
#define AF_SPI1_SCK   5U
 
#define AF_LINE_SPI1_SCK   5U
 
#define AF_SPI1_MISO   5U
 
#define AF_LINE_SPI1_MISO   5U
 
#define AF_SPI1_MOSI   5U
 
#define AF_LINE_SPI1_MOSI   5U
 
#define AF_CU1_CH1   1U
 
#define AF_LINE_CU1_CH1   1U
 
#define AF_USART1_RX   7U
 
#define AF_LINE_USART1_RX   7U
 
#define AF_OTG_FS_DM   10U
 
#define AF_LINE_OTG_FS_DM   10U
 
#define AF_OTG_FS_DP   10U
 
#define AF_LINE_OTG_FS_DP   10U
 
#define AF_SWDIO   0U
 
#define AF_LINE_SWDIO   0U
 
#define AF_SWCLK   0U
 
#define AF_LINE_SWCLK   0U
 
#define AF_USART1_TX   7U
 
#define AF_LINE_USART1_TX   7U
 
#define AF_I2C1_SDA   4U
 
#define AF_LINE_I2C1_SDA   4U
 
#define AF_I2C1_SCL   4U
 
#define AF_LINE_I2C1_SCL   4U
 
#define AF_I2C2_SCL   4U
 
#define AF_LINE_I2C2_SCL   4U
 
#define AF_I2C2_SDA   4U
 
#define AF_LINE_I2C2_SDA   4U
 
#define AF_USART6_TX   8U
 
#define AF_LINE_USART6_TX   8U
 
#define AF_USART6_RX   8U
 
#define AF_LINE_USART6_RX   8U
 
#define AF_SDIO_D0   12U
 
#define AF_LINE_SDIO_D0   12U
 
#define AF_SDIO_D1   12U
 
#define AF_LINE_SDIO_D1   12U
 
#define AF_SDIO_D2   12U
 
#define AF_LINE_SDIO_D2   12U
 
#define AF_SDIO_D3   12U
 
#define AF_LINE_SDIO_D3   12U
 
#define AF_SDIO_CK   12U
 
#define AF_LINE_SDIO_CK   12U
 
#define AF_OSC32_IN   0U
 
#define AF_LINE_OSC32_IN   0U
 
#define AF_OSC32_OUT   0U
 
#define AF_LINE_OSC32_OUT   0U
 
#define AF_SDIO_CMD   12U
 
#define AF_LINE_SDIO_CMD   12U
 
#define AF_OSC_IN   0U
 
#define AF_LINE_OSC_IN   0U
 
#define AF_OSC_OUT   0U
 
#define AF_LINE_OSC_OUT   0U
 

Functions

void boardInit (void)
 Board-specific initialization code. More...
 

Macro Definition Documentation

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

Definition at line 549 of file board.h.

#define ActuatorsDefaultCommit ( )    ActuatorsPwmCommit()

Definition at line 551 of file board.h.

#define ActuatorsDefaultInit ( )    ActuatorsPwmInit()

Definition at line 550 of file board.h.

#define AD1_4_CHANNEL   ADC_CHANNEL_IN4

Definition at line 189 of file board.h.

Referenced by adc_init().

#define ADC1_IN4   4U

Definition at line 601 of file board.h.

#define ADC_4   AD1_4

Definition at line 190 of file board.h.

Referenced by vms_ecu_demo_init().

#define ADC_4_GPIO_PIN   GPIO4

Definition at line 192 of file board.h.

Referenced by adc_init().

#define ADC_4_GPIO_PORT   GPIOA

Definition at line 191 of file board.h.

Referenced by adc_init().

#define ADC_CHANNEL_VSUPPLY   ADC_4

Definition at line 197 of file board.h.

Referenced by electrical_init().

#define AF_CU1_CH1   1U

Definition at line 2010 of file board.h.

#define AF_I2C1_SCL   4U

Definition at line 2026 of file board.h.

#define AF_I2C1_SDA   4U

Definition at line 2024 of file board.h.

#define AF_I2C2_SCL   4U

Definition at line 2028 of file board.h.

#define AF_I2C2_SDA   4U

Definition at line 2030 of file board.h.

#define AF_LINE_CU1_CH1   1U

Definition at line 2011 of file board.h.

#define AF_LINE_I2C1_SCL   4U

Definition at line 2027 of file board.h.

#define AF_LINE_I2C1_SDA   4U

Definition at line 2025 of file board.h.

#define AF_LINE_I2C2_SCL   4U

Definition at line 2029 of file board.h.

#define AF_LINE_I2C2_SDA   4U

Definition at line 2031 of file board.h.

#define AF_LINE_OSC32_IN   0U

Definition at line 2047 of file board.h.

#define AF_LINE_OSC32_OUT   0U

Definition at line 2049 of file board.h.

#define AF_LINE_OSC_IN   0U

Definition at line 2053 of file board.h.

#define AF_LINE_OSC_OUT   0U

Definition at line 2055 of file board.h.

#define AF_LINE_OTG_FS_DM   10U

Definition at line 2015 of file board.h.

#define AF_LINE_OTG_FS_DP   10U

Definition at line 2017 of file board.h.

#define AF_LINE_SDIO_CK   12U

Definition at line 2045 of file board.h.

#define AF_LINE_SDIO_CMD   12U

Definition at line 2051 of file board.h.

#define AF_LINE_SDIO_D0   12U

Definition at line 2037 of file board.h.

#define AF_LINE_SDIO_D1   12U

Definition at line 2039 of file board.h.

#define AF_LINE_SDIO_D2   12U

Definition at line 2041 of file board.h.

#define AF_LINE_SDIO_D3   12U

Definition at line 2043 of file board.h.

#define AF_LINE_SPI1_MISO   5U

Definition at line 2007 of file board.h.

#define AF_LINE_SPI1_MOSI   5U

Definition at line 2009 of file board.h.

#define AF_LINE_SPI1_SCK   5U

Definition at line 2005 of file board.h.

#define AF_LINE_SWCLK   0U

Definition at line 2021 of file board.h.

#define AF_LINE_SWDIO   0U

Definition at line 2019 of file board.h.

#define AF_LINE_UART2_RX   7U

Definition at line 2003 of file board.h.

#define AF_LINE_UART4_RX   8U

Definition at line 2001 of file board.h.

#define AF_LINE_UART4_TX   8U

Definition at line 1999 of file board.h.

#define AF_LINE_USART1_RX   7U

Definition at line 2013 of file board.h.

#define AF_LINE_USART1_TX   7U

Definition at line 2023 of file board.h.

#define AF_LINE_USART6_RX   8U

Definition at line 2035 of file board.h.

#define AF_LINE_USART6_TX   8U

Definition at line 2033 of file board.h.

#define AF_OSC32_IN   0U

Definition at line 2046 of file board.h.

#define AF_OSC32_OUT   0U

Definition at line 2048 of file board.h.

#define AF_OSC_IN   0U

Definition at line 2052 of file board.h.

#define AF_OSC_OUT   0U

Definition at line 2054 of file board.h.

#define AF_OTG_FS_DM   10U

Definition at line 2014 of file board.h.

#define AF_OTG_FS_DP   10U

Definition at line 2016 of file board.h.

#define AF_SDIO_CK   12U

Definition at line 2044 of file board.h.

#define AF_SDIO_CMD   12U

Definition at line 2050 of file board.h.

#define AF_SDIO_D0   12U

Definition at line 2036 of file board.h.

#define AF_SDIO_D1   12U

Definition at line 2038 of file board.h.

#define AF_SDIO_D2   12U

Definition at line 2040 of file board.h.

#define AF_SDIO_D3   12U

Definition at line 2042 of file board.h.

#define AF_SPI1_MISO   5U

Definition at line 2006 of file board.h.

#define AF_SPI1_MOSI   5U

Definition at line 2008 of file board.h.

#define AF_SPI1_SCK   5U

Definition at line 2004 of file board.h.

#define AF_SWCLK   0U

Definition at line 2020 of file board.h.

#define AF_SWDIO   0U

Definition at line 2018 of file board.h.

#define AF_UART2_RX   7U

Definition at line 2002 of file board.h.

#define AF_UART4_RX   8U

Definition at line 2000 of file board.h.

#define AF_UART4_TX   8U

Definition at line 1998 of file board.h.

#define AF_USART1_RX   7U

Definition at line 2012 of file board.h.

#define AF_USART1_TX   7U

Definition at line 2022 of file board.h.

#define AF_USART6_RX   8U

Definition at line 2034 of file board.h.

#define AF_USART6_TX   8U

Definition at line 2032 of file board.h.

#define AHB_CLK   STM32_HCLK

Definition at line 74 of file board.h.

Referenced by sys_time_arch_init().

#define AUX1   1U

Definition at line 615 of file board.h.

#define AUX2   5U

Definition at line 636 of file board.h.

#define AUX3   4U

Definition at line 635 of file board.h.

#define AUX4   15U

Definition at line 629 of file board.h.

#define BOARD_NAME   "AB/GRZ STM32F4 Apogee 1.0"

Definition at line 39 of file board.h.

#define BOARD_ST_APOGEE

Definition at line 38 of file board.h.

#define BOOT1   2U

Definition at line 616 of file board.h.

#define CU1_CH1   8U

Definition at line 605 of file board.h.

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

Definition at line 548 of file board.h.

#define DefaultVoltageOfAdc (   adc)    (0.006185*adc)

Definition at line 200 of file board.h.

#define DSHOT_CONF2_DEF
Value:
{ \
.dma_stream = STM32_PWM2_UP_DMA_STREAM, \
.dma_channel = STM32_PWM2_UP_DMA_CHANNEL, \
.pwmp = &PWMD2, \
.tlm_sd = DSHOT_TELEMETRY_DEV \
}
#define STM32_PWM2_UP_DMA_STREAM
Definition: mcuconf.h:252
#define STM32_PWM2_UP_DMA_CHANNEL
Definition: mcuconf.h:253
#define DSHOT_TELEMETRY_DEV
Definition: board.h:402

Definition at line 406 of file board.h.

#define DSHOT_CONF3_DEF
Value:
{ \
.dma_stream = STM32_PWM3_UP_DMA_STREAM, \
.dma_channel = STM32_PWM3_UP_DMA_CHANNEL, \
.pwmp = &PWMD3, \
.tlm_sd = DSHOT_TELEMETRY_DEV \
}
#define STM32_PWM3_UP_DMA_STREAM
Definition: mcuconf.h:257
#define DSHOT_TELEMETRY_DEV
Definition: board.h:402
#define STM32_PWM3_UP_DMA_CHANNEL
Definition: mcuconf.h:258

Definition at line 414 of file board.h.

#define DSHOT_CONF_TIM2   1

Definition at line 405 of file board.h.

#define DSHOT_CONF_TIM3   1

Definition at line 413 of file board.h.

#define DSHOT_SERVO_0   0

DSHOT.

Definition at line 349 of file board.h.

Referenced by actuators_dshot_arch_commit().

#define DSHOT_SERVO_0_AF   GPIO_AF2

Definition at line 352 of file board.h.

Referenced by actuators_dshot_arch_init().

#define DSHOT_SERVO_0_CHANNEL   2

Definition at line 354 of file board.h.

Referenced by actuators_dshot_arch_commit().

#define DSHOT_SERVO_0_DRIVER   DSHOTD3

Definition at line 353 of file board.h.

Referenced by actuators_dshot_arch_commit().

#define DSHOT_SERVO_0_GPIO   GPIOB

Definition at line 350 of file board.h.

Referenced by actuators_dshot_arch_init().

#define DSHOT_SERVO_0_PIN   GPIO0

Definition at line 351 of file board.h.

Referenced by actuators_dshot_arch_init().

#define DSHOT_SERVO_1   1

Definition at line 356 of file board.h.

Referenced by actuators_dshot_arch_commit().

#define DSHOT_SERVO_1_AF   GPIO_AF1

Definition at line 359 of file board.h.

Referenced by actuators_dshot_arch_init().

#define DSHOT_SERVO_1_CHANNEL   2

Definition at line 361 of file board.h.

Referenced by actuators_dshot_arch_commit().

#define DSHOT_SERVO_1_DRIVER   DSHOTD2

Definition at line 360 of file board.h.

Referenced by actuators_dshot_arch_commit().

#define DSHOT_SERVO_1_GPIO   GPIOA

Definition at line 357 of file board.h.

Referenced by actuators_dshot_arch_init().

#define DSHOT_SERVO_1_PIN   GPIO2

Definition at line 358 of file board.h.

Referenced by actuators_dshot_arch_init().

#define DSHOT_SERVO_2   2

Definition at line 363 of file board.h.

Referenced by actuators_dshot_arch_commit().

#define DSHOT_SERVO_2_AF   GPIO_AF2

Definition at line 366 of file board.h.

Referenced by actuators_dshot_arch_init().

#define DSHOT_SERVO_2_CHANNEL   1

Definition at line 368 of file board.h.

Referenced by actuators_dshot_arch_commit().

#define DSHOT_SERVO_2_DRIVER   DSHOTD3

Definition at line 367 of file board.h.

Referenced by actuators_dshot_arch_commit().

#define DSHOT_SERVO_2_GPIO   GPIOB

Definition at line 364 of file board.h.

Referenced by actuators_dshot_arch_init().

#define DSHOT_SERVO_2_PIN   GPIO5

Definition at line 365 of file board.h.

Referenced by actuators_dshot_arch_init().

#define DSHOT_SERVO_3   3

Definition at line 370 of file board.h.

Referenced by actuators_dshot_arch_commit().

#define DSHOT_SERVO_3_AF   GPIO_AF2

Definition at line 373 of file board.h.

Referenced by actuators_dshot_arch_init().

#define DSHOT_SERVO_3_CHANNEL   0

Definition at line 375 of file board.h.

Referenced by actuators_dshot_arch_commit().

#define DSHOT_SERVO_3_DRIVER   DSHOTD3

Definition at line 374 of file board.h.

Referenced by actuators_dshot_arch_commit().

#define DSHOT_SERVO_3_GPIO   GPIOB

Definition at line 371 of file board.h.

Referenced by actuators_dshot_arch_init().

#define DSHOT_SERVO_3_PIN   GPIO4

Definition at line 372 of file board.h.

Referenced by actuators_dshot_arch_init().

#define DSHOT_SERVO_4   4

Definition at line 377 of file board.h.

Referenced by actuators_dshot_arch_commit().

#define DSHOT_SERVO_4_AF   GPIO_AF1

Definition at line 380 of file board.h.

Referenced by actuators_dshot_arch_init().

#define DSHOT_SERVO_4_CHANNEL   1

Definition at line 382 of file board.h.

Referenced by actuators_dshot_arch_commit().

#define DSHOT_SERVO_4_DRIVER   DSHOTD2

Definition at line 381 of file board.h.

Referenced by actuators_dshot_arch_commit().

#define DSHOT_SERVO_4_GPIO   GPIOB

Definition at line 378 of file board.h.

Referenced by actuators_dshot_arch_init().

#define DSHOT_SERVO_4_PIN   GPIO3

Definition at line 379 of file board.h.

Referenced by actuators_dshot_arch_init().

#define DSHOT_SERVO_5   5

Definition at line 384 of file board.h.

Referenced by actuators_dshot_arch_commit().

#define DSHOT_SERVO_5_AF   GPIO_AF1

Definition at line 387 of file board.h.

Referenced by actuators_dshot_arch_init().

#define DSHOT_SERVO_5_CHANNEL   0

Definition at line 389 of file board.h.

Referenced by actuators_dshot_arch_commit().

#define DSHOT_SERVO_5_DRIVER   DSHOTD2

Definition at line 388 of file board.h.

Referenced by actuators_dshot_arch_commit().

#define DSHOT_SERVO_5_GPIO   GPIOA

Definition at line 385 of file board.h.

Referenced by actuators_dshot_arch_init().

#define DSHOT_SERVO_5_PIN   GPIO15

Definition at line 386 of file board.h.

Referenced by actuators_dshot_arch_init().

#define DSHOT_TELEMETRY_DEV   NULL

Definition at line 402 of file board.h.

#define I2C1_CFG_DEF
Value:
{ \
OPMODE_I2C, \
}
#define I2C1_DUTY_CYCLE
Definition: board.h:479
#define I2C1_CLOCK_SPEED
I2C defines.
Definition: board.h:476

Definition at line 485 of file board.h.

#define I2C1_CLOCK_SPEED   400000

I2C defines.

Definition at line 476 of file board.h.

#define I2C1_DUTY_CYCLE   FAST_DUTY_CYCLE_2

Definition at line 479 of file board.h.

#define I2C1_SCL   8U

Definition at line 622 of file board.h.

#define I2C1_SDA   7U

Definition at line 621 of file board.h.

#define I2C2_CFG_DEF
Value:
{ \
OPMODE_I2C, \
}
#define I2C2_CLOCK_SPEED
Definition: board.h:492
#define I2C2_DUTY_CYCLE
Definition: board.h:495

Definition at line 501 of file board.h.

#define I2C2_CLOCK_SPEED   400000

Definition at line 492 of file board.h.

#define I2C2_DUTY_CYCLE   FAST_DUTY_CYCLE_2

Definition at line 495 of file board.h.

#define I2C2_SCL   10U

Definition at line 624 of file board.h.

#define I2C2_SDA   11U

Definition at line 625 of file board.h.

#define LED1   0U

Definition at line 631 of file board.h.

#define LED2   13U

Definition at line 644 of file board.h.

#define LED3   1U

Definition at line 632 of file board.h.

#define LED4   3U

Definition at line 634 of file board.h.

#define LED_1_GPIO   GPIOC

Definition at line 84 of file board.h.

#define LED_1_GPIO_OFF   gpio_set

Definition at line 87 of file board.h.

#define LED_1_GPIO_ON   gpio_clear

Definition at line 86 of file board.h.

#define LED_1_GPIO_PIN   GPIO0

Definition at line 85 of file board.h.

#define LED_2_GPIO   GPIOC

Definition at line 93 of file board.h.

#define LED_2_GPIO_OFF   gpio_set

Definition at line 96 of file board.h.

#define LED_2_GPIO_ON   gpio_clear

Definition at line 95 of file board.h.

#define LED_2_GPIO_PIN   GPIO13

Definition at line 94 of file board.h.

#define LED_3_GPIO   GPIOC

Definition at line 102 of file board.h.

#define LED_3_GPIO_OFF   gpio_set

Definition at line 105 of file board.h.

#define LED_3_GPIO_ON   gpio_clear

Definition at line 104 of file board.h.

#define LED_3_GPIO_PIN   GPIO1

Definition at line 103 of file board.h.

#define LED_4_GPIO   GPIOC

Definition at line 111 of file board.h.

#define LED_4_GPIO_OFF   gpio_set

Definition at line 114 of file board.h.

#define LED_4_GPIO_ON   gpio_clear

Definition at line 113 of file board.h.

#define LED_4_GPIO_PIN   GPIO3

Definition at line 112 of file board.h.

#define LED_5_GPIO   GPIOB

Definition at line 120 of file board.h.

#define LED_5_GPIO_OFF   gpio_clear

Definition at line 123 of file board.h.

#define LED_5_GPIO_ON   gpio_set

Definition at line 122 of file board.h.

#define LED_5_GPIO_PIN   GPIO1

Definition at line 121 of file board.h.

#define LED_6_GPIO   GPIOC

Definition at line 129 of file board.h.

#define LED_6_GPIO_OFF   gpio_clear

Definition at line 132 of file board.h.

#define LED_6_GPIO_ON   gpio_set

Definition at line 131 of file board.h.

#define LED_6_GPIO_PIN   GPIO5

Definition at line 130 of file board.h.

#define LED_7_GPIO   GPIOC

Definition at line 138 of file board.h.

#define LED_7_GPIO_OFF   gpio_clear

Definition at line 141 of file board.h.

#define LED_7_GPIO_ON   gpio_set

Definition at line 140 of file board.h.

#define LED_7_GPIO_PIN   GPIO4

Definition at line 139 of file board.h.

#define LED_8_GPIO   GPIOB

Definition at line 147 of file board.h.

#define LED_8_GPIO_OFF   gpio_clear

Definition at line 150 of file board.h.

#define LED_8_GPIO_ON   gpio_set

Definition at line 149 of file board.h.

#define LED_8_GPIO_PIN   GPIO15

Definition at line 148 of file board.h.

#define LINE_ADC1_IN4   PAL_LINE(GPIOA, 4U)

Definition at line 791 of file board.h.

#define LINE_AUX1   PAL_LINE(GPIOB, 1U)

Definition at line 805 of file board.h.

#define LINE_AUX2   PAL_LINE(GPIOC, 5U)

Definition at line 825 of file board.h.

#define LINE_AUX3   PAL_LINE(GPIOC, 4U)

Definition at line 824 of file board.h.

#define LINE_AUX4   PAL_LINE(GPIOB, 15U)

Definition at line 819 of file board.h.

#define LINE_BOOT1   PAL_LINE(GPIOB, 2U)

Definition at line 806 of file board.h.

#define LINE_CU1_CH1   PAL_LINE(GPIOA, 8U)

Definition at line 795 of file board.h.

#define LINE_I2C1_SCL   PAL_LINE(GPIOB, 8U)

Definition at line 812 of file board.h.

#define LINE_I2C1_SDA   PAL_LINE(GPIOB, 7U)

Definition at line 811 of file board.h.

#define LINE_I2C2_SCL   PAL_LINE(GPIOB, 10U)

Definition at line 814 of file board.h.

#define LINE_I2C2_SDA   PAL_LINE(GPIOB, 11U)

Definition at line 815 of file board.h.

#define LINE_LED1   PAL_LINE(GPIOC, 0U)

Definition at line 821 of file board.h.

#define LINE_LED2   PAL_LINE(GPIOC, 13U)

Definition at line 833 of file board.h.

#define LINE_LED3   PAL_LINE(GPIOC, 1U)

Definition at line 822 of file board.h.

#define LINE_LED4   PAL_LINE(GPIOC, 3U)

Definition at line 823 of file board.h.

#define LINE_OSC32_IN   PAL_LINE(GPIOC, 14U)

Definition at line 834 of file board.h.

#define LINE_OSC32_OUT   PAL_LINE(GPIOC, 15U)

Definition at line 835 of file board.h.

#define LINE_OSC_IN   PAL_LINE(GPIOH, 0U)

Definition at line 839 of file board.h.

#define LINE_OSC_OUT   PAL_LINE(GPIOH, 1U)

Definition at line 840 of file board.h.

#define LINE_OTG_FS_DM   PAL_LINE(GPIOA, 11U)

Definition at line 798 of file board.h.

#define LINE_OTG_FS_DP   PAL_LINE(GPIOA, 12U)

Definition at line 799 of file board.h.

#define LINE_OTG_FS_VBUS   PAL_LINE(GPIOA, 9U)

Definition at line 796 of file board.h.

#define LINE_POWER_SWITCH   PAL_LINE(GPIOB, 12U)

Definition at line 816 of file board.h.

#define LINE_PWM2_CH1   PAL_LINE(GPIOA, 15U)

Definition at line 802 of file board.h.

#define LINE_PWM2_CH2   PAL_LINE(GPIOB, 3U)

Definition at line 807 of file board.h.

#define LINE_PWM2_CH3   PAL_LINE(GPIOA, 2U)

Definition at line 789 of file board.h.

#define LINE_PWM3_CH1   PAL_LINE(GPIOB, 4U)

Definition at line 808 of file board.h.

#define LINE_PWM3_CH2   PAL_LINE(GPIOB, 5U)

Definition at line 809 of file board.h.

#define LINE_PWM3_CH3   PAL_LINE(GPIOB, 0U)

Definition at line 804 of file board.h.

#define LINE_RX2_POL   PAL_LINE(GPIOB, 13U)

Definition at line 817 of file board.h.

#define LINE_SDIO_CK   PAL_LINE(GPIOC, 12U)

Definition at line 832 of file board.h.

#define LINE_SDIO_CMD   PAL_LINE(GPIOD, 2U)

Definition at line 837 of file board.h.

#define LINE_SDIO_D0   PAL_LINE(GPIOC, 8U)

Definition at line 828 of file board.h.

#define LINE_SDIO_D1   PAL_LINE(GPIOC, 9U)

Definition at line 829 of file board.h.

#define LINE_SDIO_D2   PAL_LINE(GPIOC, 10U)

Definition at line 830 of file board.h.

#define LINE_SDIO_D3   PAL_LINE(GPIOC, 11U)

Definition at line 831 of file board.h.

#define LINE_SDIO_DETECT   PAL_LINE(GPIOB, 14U)

Definition at line 818 of file board.h.

#define LINE_SPI1_CS   PAL_LINE(GPIOB, 9U)

Definition at line 813 of file board.h.

#define LINE_SPI1_MISO   PAL_LINE(GPIOA, 6U)

Definition at line 793 of file board.h.

#define LINE_SPI1_MOSI   PAL_LINE(GPIOA, 7U)

Definition at line 794 of file board.h.

#define LINE_SPI1_SCK   PAL_LINE(GPIOA, 5U)

Definition at line 792 of file board.h.

#define LINE_SWCLK   PAL_LINE(GPIOA, 14U)

Definition at line 801 of file board.h.

#define LINE_SWDIO   PAL_LINE(GPIOA, 13U)

Definition at line 800 of file board.h.

#define LINE_UART2_RX   PAL_LINE(GPIOA, 3U)

Definition at line 790 of file board.h.

#define LINE_UART4_RX   PAL_LINE(GPIOA, 1U)

Definition at line 788 of file board.h.

#define LINE_UART4_TX   PAL_LINE(GPIOA, 0U)

Definition at line 787 of file board.h.

#define LINE_USART1_RX   PAL_LINE(GPIOA, 10U)

Definition at line 797 of file board.h.

#define LINE_USART1_TX   PAL_LINE(GPIOB, 6U)

Definition at line 810 of file board.h.

#define LINE_USART6_RX   PAL_LINE(GPIOC, 7U)

Definition at line 827 of file board.h.

#define LINE_USART6_TX   PAL_LINE(GPIOC, 6U)

Definition at line 826 of file board.h.

#define OSC32_IN   14U

Definition at line 645 of file board.h.

#define OSC32_OUT   15U

Definition at line 646 of file board.h.

#define OSC_IN   0U

Definition at line 716 of file board.h.

#define OSC_OUT   1U

Definition at line 717 of file board.h.

#define OTG_FS_DM   11U

Definition at line 608 of file board.h.

#define OTG_FS_DP   12U

Definition at line 609 of file board.h.

#define OTG_FS_VBUS   9U

Definition at line 606 of file board.h.

#define PC02   2U

Definition at line 633 of file board.h.

#define PD00   0U

Definition at line 648 of file board.h.

#define PD01   1U

Definition at line 649 of file board.h.

#define PD03   3U

Definition at line 651 of file board.h.

#define PD04   4U

Definition at line 652 of file board.h.

#define PD05   5U

Definition at line 653 of file board.h.

#define PD06   6U

Definition at line 654 of file board.h.

#define PD07   7U

Definition at line 655 of file board.h.

#define PD08   8U

Definition at line 656 of file board.h.

#define PD09   9U

Definition at line 657 of file board.h.

#define PD10   10U

Definition at line 658 of file board.h.

#define PD11   11U

Definition at line 659 of file board.h.

#define PD12   12U

Definition at line 660 of file board.h.

#define PD13   13U

Definition at line 661 of file board.h.

#define PD14   14U

Definition at line 662 of file board.h.

#define PD15   15U

Definition at line 663 of file board.h.

#define PE00   0U

Definition at line 665 of file board.h.

#define PE01   1U

Definition at line 666 of file board.h.

#define PE02   2U

Definition at line 667 of file board.h.

#define PE03   3U

Definition at line 668 of file board.h.

#define PE04   4U

Definition at line 669 of file board.h.

#define PE05   5U

Definition at line 670 of file board.h.

#define PE06   6U

Definition at line 671 of file board.h.

#define PE07   7U

Definition at line 672 of file board.h.

#define PE08   8U

Definition at line 673 of file board.h.

#define PE09   9U

Definition at line 674 of file board.h.

#define PE10   10U

Definition at line 675 of file board.h.

#define PE11   11U

Definition at line 676 of file board.h.

#define PE12   12U

Definition at line 677 of file board.h.

#define PE13   13U

Definition at line 678 of file board.h.

#define PE14   14U

Definition at line 679 of file board.h.

#define PE15   15U

Definition at line 680 of file board.h.

#define PF00   0U

Definition at line 682 of file board.h.

#define PF01   1U

Definition at line 683 of file board.h.

#define PF02   2U

Definition at line 684 of file board.h.

#define PF03   3U

Definition at line 685 of file board.h.

#define PF04   4U

Definition at line 686 of file board.h.

#define PF05   5U

Definition at line 687 of file board.h.

#define PF06   6U

Definition at line 688 of file board.h.

#define PF07   7U

Definition at line 689 of file board.h.

#define PF08   8U

Definition at line 690 of file board.h.

#define PF09   9U

Definition at line 691 of file board.h.

#define PF10   10U

Definition at line 692 of file board.h.

#define PF11   11U

Definition at line 693 of file board.h.

#define PF12   12U

Definition at line 694 of file board.h.

#define PF13   13U

Definition at line 695 of file board.h.

#define PF14   14U

Definition at line 696 of file board.h.

#define PF15   15U

Definition at line 697 of file board.h.

#define PG00   0U

Definition at line 699 of file board.h.

#define PG01   1U

Definition at line 700 of file board.h.

#define PG02   2U

Definition at line 701 of file board.h.

#define PG03   3U

Definition at line 702 of file board.h.

#define PG04   4U

Definition at line 703 of file board.h.

#define PG05   5U

Definition at line 704 of file board.h.

#define PG06   6U

Definition at line 705 of file board.h.

#define PG07   7U

Definition at line 706 of file board.h.

#define PG08   8U

Definition at line 707 of file board.h.

#define PG09   9U

Definition at line 708 of file board.h.

#define PG10   10U

Definition at line 709 of file board.h.

#define PG11   11U

Definition at line 710 of file board.h.

#define PG12   12U

Definition at line 711 of file board.h.

#define PG13   13U

Definition at line 712 of file board.h.

#define PG14   14U

Definition at line 713 of file board.h.

#define PG15   15U

Definition at line 714 of file board.h.

#define PH02   2U

Definition at line 718 of file board.h.

#define PH03   3U

Definition at line 719 of file board.h.

#define PH04   4U

Definition at line 720 of file board.h.

#define PH05   5U

Definition at line 721 of file board.h.

#define PH06   6U

Definition at line 722 of file board.h.

#define PH07   7U

Definition at line 723 of file board.h.

#define PH08   8U

Definition at line 724 of file board.h.

#define PH09   9U

Definition at line 725 of file board.h.

#define PH10   10U

Definition at line 726 of file board.h.

#define PH11   11U

Definition at line 727 of file board.h.

#define PH12   12U

Definition at line 728 of file board.h.

#define PH13   13U

Definition at line 729 of file board.h.

#define PH14   14U

Definition at line 730 of file board.h.

#define PH15   15U

Definition at line 731 of file board.h.

#define PI00   0U

Definition at line 733 of file board.h.

#define PI01   1U

Definition at line 734 of file board.h.

#define PI02   2U

Definition at line 735 of file board.h.

#define PI03   3U

Definition at line 736 of file board.h.

#define PI04   4U

Definition at line 737 of file board.h.

#define PI05   5U

Definition at line 738 of file board.h.

#define PI06   6U

Definition at line 739 of file board.h.

#define PI07   7U

Definition at line 740 of file board.h.

#define PI08   8U

Definition at line 741 of file board.h.

#define PI09   9U

Definition at line 742 of file board.h.

#define PI10   10U

Definition at line 743 of file board.h.

#define PI11   11U

Definition at line 744 of file board.h.

#define PI12   12U

Definition at line 745 of file board.h.

#define PI13   13U

Definition at line 746 of file board.h.

#define PI14   14U

Definition at line 747 of file board.h.

#define PI15   15U

Definition at line 748 of file board.h.

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

Definition at line 863 of file board.h.

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

Definition at line 850 of file board.h.

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

Definition at line 851 of file board.h.

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

Definition at line 848 of file board.h.

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

Definition at line 849 of file board.h.

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

Definition at line 853 of file board.h.

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

Definition at line 852 of file board.h.

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

Definition at line 859 of file board.h.

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

Definition at line 857 of file board.h.

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

Definition at line 858 of file board.h.

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

Definition at line 856 of file board.h.

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

Definition at line 855 of file board.h.

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

Definition at line 854 of file board.h.

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

Definition at line 860 of file board.h.

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

Definition at line 862 of file board.h.

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

Definition at line 861 of file board.h.

#define PJ00   0U

Definition at line 750 of file board.h.

#define PJ01   1U

Definition at line 751 of file board.h.

#define PJ02   2U

Definition at line 752 of file board.h.

#define PJ03   3U

Definition at line 753 of file board.h.

#define PJ04   4U

Definition at line 754 of file board.h.

#define PJ05   5U

Definition at line 755 of file board.h.

#define PJ06   6U

Definition at line 756 of file board.h.

#define PJ07   7U

Definition at line 757 of file board.h.

#define PJ08   8U

Definition at line 758 of file board.h.

#define PJ09   9U

Definition at line 759 of file board.h.

#define PJ10   10U

Definition at line 760 of file board.h.

#define PJ11   11U

Definition at line 761 of file board.h.

#define PJ12   12U

Definition at line 762 of file board.h.

#define PJ13   13U

Definition at line 763 of file board.h.

#define PJ14   14U

Definition at line 764 of file board.h.

#define PJ15   15U

Definition at line 765 of file board.h.

#define PK00   0U

Definition at line 767 of file board.h.

#define PK01   1U

Definition at line 768 of file board.h.

#define PK02   2U

Definition at line 769 of file board.h.

#define PK03   3U

Definition at line 770 of file board.h.

#define PK04   4U

Definition at line 771 of file board.h.

#define PK05   5U

Definition at line 772 of file board.h.

#define PK06   6U

Definition at line 773 of file board.h.

#define PK07   7U

Definition at line 774 of file board.h.

#define PK08   8U

Definition at line 775 of file board.h.

#define PK09   9U

Definition at line 776 of file board.h.

#define PK10   10U

Definition at line 777 of file board.h.

#define PK11   11U

Definition at line 778 of file board.h.

#define PK12   12U

Definition at line 779 of file board.h.

#define PK13   13U

Definition at line 780 of file board.h.

#define PK14   14U

Definition at line 781 of file board.h.

#define PK15   15U

Definition at line 782 of file board.h.

#define POWER_SWITCH   12U

Definition at line 626 of file board.h.

#define PPM_CHANNEL   ICU_CHANNEL_1

Definition at line 426 of file board.h.

Referenced by ppm_arch_init().

#define PPM_TIMER   ICUD1

Definition at line 427 of file board.h.

Referenced by ppm_arch_init().

#define PPM_TIMER_FREQUENCY   2000000

Definition at line 425 of file board.h.

#define PWM2_CH1   15U

Definition at line 612 of file board.h.

#define PWM2_CH2   3U

Definition at line 617 of file board.h.

#define PWM2_CH3   2U

Definition at line 599 of file board.h.

#define PWM3_CH1   4U

Definition at line 618 of file board.h.

#define PWM3_CH2   5U

Definition at line 619 of file board.h.

#define PWM3_CH3   0U

Definition at line 614 of file board.h.

#define PWM_CONF2_DEF
Value:
{ \
NULL, \
{ \
{ PWM_SERVO_5_ACTIVE, NULL }, \
{ PWM_SERVO_4_ACTIVE, NULL }, \
{ PWM_SERVO_1_ACTIVE, NULL }, \
{ PWM_OUTPUT_DISABLED, NULL }, \
}, \
0, \
0 \
}
#define PWM_SERVO_1_ACTIVE
Definition: board.h:230
#define PWM_SERVO_4_ACTIVE
Definition: board.h:275
#define PWM_SERVO_5_ACTIVE
Definition: board.h:290
#define PWM_FREQUENCY
#define TIM2_SERVO_HZ

Definition at line 313 of file board.h.

#define PWM_CONF3_DEF
Value:
{ \
NULL, \
{ \
{ PWM_SERVO_3_ACTIVE, NULL }, \
{ PWM_SERVO_2_ACTIVE, NULL }, \
{ PWM_SERVO_0_ACTIVE, NULL }, \
{ PWM_SERVO_6_ACTIVE, NULL }, \
}, \
0, \
0 \
}
#define PWM_SERVO_3_ACTIVE
Definition: board.h:260
#define PWM_SERVO_2_ACTIVE
Definition: board.h:245
#define TIM3_SERVO_HZ
#define PWM_SERVO_0_ACTIVE
Definition: board.h:215
#define PWM_FREQUENCY
#define PWM_SERVO_6_ACTIVE
Definition: board.h:304

Definition at line 332 of file board.h.

#define PWM_CONF_TIM2   1

Definition at line 311 of file board.h.

#define PWM_CONF_TIM3   1

Definition at line 330 of file board.h.

#define PWM_INPUT1_CHANNEL   ICU_CHANNEL_1

Definition at line 456 of file board.h.

#define PWM_INPUT1_GPIO_AF   GPIO_AF1

Definition at line 460 of file board.h.

Referenced by pwm_input_init().

#define PWM_INPUT1_GPIO_PIN   GPIO8

Definition at line 459 of file board.h.

Referenced by pwm_input_init().

#define PWM_INPUT1_GPIO_PORT   GPIOA

Definition at line 458 of file board.h.

Referenced by pwm_input_init().

#define PWM_INPUT1_ICU   ICUD1

Definition at line 455 of file board.h.

Referenced by pwm_input_init().

#define PWM_INPUT2_CHANNEL   ICU_CHANNEL_1

Definition at line 467 of file board.h.

#define PWM_INPUT2_GPIO_AF   GPIO_AF3

Definition at line 470 of file board.h.

Referenced by pwm_input_init().

#define PWM_INPUT2_GPIO_PIN   GPIO2

Definition at line 469 of file board.h.

Referenced by pwm_input_init().

#define PWM_INPUT2_GPIO_PORT   GPIOA

Definition at line 468 of file board.h.

Referenced by pwm_input_init().

#define PWM_INPUT2_ICU   ICUD9

Definition at line 466 of file board.h.

Referenced by pwm_input_init().

#define PWM_SERVO_0   0

Definition at line 209 of file board.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_0_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 215 of file board.h.

#define PWM_SERVO_0_AF   GPIO_AF2

Definition at line 212 of file board.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_0_CHANNEL   2

Definition at line 214 of file board.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_0_DRIVER   PWMD3

Definition at line 213 of file board.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_0_GPIO   GPIOB

Definition at line 210 of file board.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_0_PIN   GPIO0

Definition at line 211 of file board.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_1   1

Definition at line 224 of file board.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_1_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 230 of file board.h.

#define PWM_SERVO_1_AF   GPIO_AF1

Definition at line 227 of file board.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_1_CHANNEL   2

Definition at line 229 of file board.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_1_DRIVER   PWMD2

Definition at line 228 of file board.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_1_GPIO   GPIOA

Definition at line 225 of file board.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_1_PIN   GPIO2

Definition at line 226 of file board.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_2   2

Definition at line 239 of file board.h.

Referenced by actuators_pwm_commit(), and actuators_xvert_commit().

#define PWM_SERVO_2_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 245 of file board.h.

#define PWM_SERVO_2_AF   GPIO_AF2

Definition at line 242 of file board.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_2_CHANNEL   1

Definition at line 244 of file board.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_2_DRIVER   PWMD3

Definition at line 243 of file board.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_2_GPIO   GPIOB

Definition at line 240 of file board.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_2_PIN   GPIO5

Definition at line 241 of file board.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_3   3

Definition at line 254 of file board.h.

Referenced by actuators_pwm_commit(), and actuators_xvert_commit().

#define PWM_SERVO_3_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 260 of file board.h.

#define PWM_SERVO_3_AF   GPIO_AF2

Definition at line 257 of file board.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_3_CHANNEL   0

Definition at line 259 of file board.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_3_DRIVER   PWMD3

Definition at line 258 of file board.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_3_GPIO   GPIOB

Definition at line 255 of file board.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_3_PIN   GPIO4

Definition at line 256 of file board.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_4   4

Definition at line 269 of file board.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_4_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 275 of file board.h.

#define PWM_SERVO_4_AF   GPIO_AF1

Definition at line 272 of file board.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_4_CHANNEL   1

Definition at line 274 of file board.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_4_DRIVER   PWMD2

Definition at line 273 of file board.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_4_GPIO   GPIOB

Definition at line 270 of file board.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_4_PIN   GPIO3

Definition at line 271 of file board.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_5   5

Definition at line 284 of file board.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_5_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 290 of file board.h.

#define PWM_SERVO_5_AF   GPIO_AF1

Definition at line 287 of file board.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_5_CHANNEL   0

Definition at line 289 of file board.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_5_DRIVER   PWMD2

Definition at line 288 of file board.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_5_GPIO   GPIOA

Definition at line 285 of file board.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_5_PIN   GPIO15

Definition at line 286 of file board.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_6_ACTIVE   PWM_OUTPUT_DISABLED

Definition at line 304 of file board.h.

#define RC_POLARITY_GPIO_PIN   GPIO13

Definition at line 155 of file board.h.

Referenced by radio_control_impl_init().

#define RC_POLARITY_GPIO_PORT   GPIOB

Definition at line 154 of file board.h.

Referenced by radio_control_impl_init().

#define RC_PPM_TICKS_PER_USEC   2

PPM radio defines.

Definition at line 424 of file board.h.

#define RX2_POL   13U

Definition at line 627 of file board.h.

#define SDIO_AF   12

Definition at line 569 of file board.h.

Referenced by sdio_connect().

#define SDIO_CK   12U

Definition at line 643 of file board.h.

#define SDIO_CK_PIN   SDIO_CK

Definition at line 566 of file board.h.

Referenced by sdio_connect().

#define SDIO_CK_PORT   GPIOC

Definition at line 565 of file board.h.

Referenced by sdio_connect().

#define SDIO_CMD   2U

Definition at line 650 of file board.h.

#define SDIO_CMD_PIN   SDIO_CMD

Definition at line 568 of file board.h.

Referenced by sdio_connect().

#define SDIO_CMD_PORT   GPIOD

Definition at line 567 of file board.h.

Referenced by sdio_connect().

#define SDIO_D0   8U

Definition at line 639 of file board.h.

#define SDIO_D0_PIN   SDIO_D0

Definition at line 558 of file board.h.

Referenced by sdio_connect().

#define SDIO_D0_PORT   GPIOC

SDIO.

Definition at line 557 of file board.h.

Referenced by sdio_connect().

#define SDIO_D1   9U

Definition at line 640 of file board.h.

#define SDIO_D1_PIN   SDIO_D1

Definition at line 560 of file board.h.

Referenced by sdio_connect().

#define SDIO_D1_PORT   GPIOC

Definition at line 559 of file board.h.

Referenced by sdio_connect().

#define SDIO_D2   10U

Definition at line 641 of file board.h.

#define SDIO_D2_PIN   SDIO_D2

Definition at line 562 of file board.h.

Referenced by sdio_connect().

#define SDIO_D2_PORT   GPIOC

Definition at line 561 of file board.h.

Referenced by sdio_connect().

#define SDIO_D3   11U

Definition at line 642 of file board.h.

#define SDIO_D3_PIN   SDIO_D3

Definition at line 564 of file board.h.

Referenced by sdio_connect().

#define SDIO_D3_PORT   GPIOC

Definition at line 563 of file board.h.

Referenced by sdio_connect().

#define SDIO_DETECT   14U

Definition at line 628 of file board.h.

#define SDLOG_BAT_ADC   ADCD1

Definition at line 571 of file board.h.

Referenced by thd_bat_survey().

#define SDLOG_BAT_CHAN   AD1_4_CHANNEL

Definition at line 572 of file board.h.

Referenced by thd_bat_survey().

#define SDLOG_USB_LED   4

Definition at line 574 of file board.h.

Referenced by usbActivity().

#define SDLOG_USB_VBUS_PIN   GPIO9

Definition at line 576 of file board.h.

Referenced by thdUsbStorage().

#define SDLOG_USB_VBUS_PORT   GPIOA

Definition at line 575 of file board.h.

Referenced by thdUsbStorage().

#define SPEKTRUM_BIND_PIN   GPIO15

Definition at line 439 of file board.h.

Referenced by spektrum_try_bind(), superbitrf_event(), and superbitrf_init().

#define SPEKTRUM_BIND_PIN_PORT   GPIOB

Definition at line 440 of file board.h.

Referenced by spektrum_try_bind(), superbitrf_event(), and superbitrf_init().

#define SPEKTRUM_BIND_WAIT   30000

Definition at line 434 of file board.h.

#define SPEKTRUM_PRIMARY_BIND_CONF_PIN   GPIO8

Definition at line 448 of file board.h.

#define SPEKTRUM_PRIMARY_BIND_CONF_PORT   GPIOA

Definition at line 447 of file board.h.

#define SPI1_CS   9U

Definition at line 623 of file board.h.

#define SPI1_GPIO_AF   GPIO_AF5

SPI Config.

Definition at line 510 of file board.h.

Referenced by spi1_arch_init().

#define SPI1_GPIO_MISO   GPIO6

Definition at line 512 of file board.h.

Referenced by spi1_arch_init().

#define SPI1_GPIO_MOSI   GPIO7

Definition at line 514 of file board.h.

Referenced by spi1_arch_init().

#define SPI1_GPIO_PORT_MISO   GPIOA

Definition at line 511 of file board.h.

Referenced by spi1_arch_init().

#define SPI1_GPIO_PORT_MOSI   GPIOA

Definition at line 513 of file board.h.

Referenced by spi1_arch_init().

#define SPI1_GPIO_PORT_SCK   GPIOA

Definition at line 515 of file board.h.

Referenced by spi1_arch_init().

#define SPI1_GPIO_SCK   GPIO5

Definition at line 516 of file board.h.

Referenced by spi1_arch_init().

#define SPI1_MISO   6U

Definition at line 603 of file board.h.

#define SPI1_MOSI   7U

Definition at line 604 of file board.h.

#define SPI1_SCK   5U

Definition at line 602 of file board.h.

#define SPI_SELECT_SLAVE0_PIN   GPIO9
#define SPI_SELECT_SLAVE0_PORT   GPIOB
#define SPI_SELECT_SLAVE1_PIN   GPIO1
#define SPI_SELECT_SLAVE1_PORT   GPIOB
#define SPI_SELECT_SLAVE2_PIN   GPIO5
#define SPI_SELECT_SLAVE2_PORT   GPIOC
#define SPI_SELECT_SLAVE3_PIN   GPIO4
#define SPI_SELECT_SLAVE3_PORT   GPIOC
#define SPI_SELECT_SLAVE4_PIN   GPIO15
#define SPI_SELECT_SLAVE4_PORT   GPIOB
#define STM32_HSECLK   16000000

Definition at line 50 of file board.h.

#define STM32_LSECLK   32768

Definition at line 46 of file board.h.

#define STM32_VDD   300

Definition at line 58 of file board.h.

#define STM32F407xx

Definition at line 63 of file board.h.

#define SWCLK   14U

Definition at line 611 of file board.h.

#define SWDIO   13U

Definition at line 610 of file board.h.

#define UART2_RX   3U

Definition at line 600 of file board.h.

#define UART4_RX   1U

Definition at line 598 of file board.h.

#define UART4_TX   0U

Definition at line 597 of file board.h.

#define USART1_RX   10U

Definition at line 607 of file board.h.

#define USART1_TX   6U

Definition at line 620 of file board.h.

#define USART6_RX   7U

Definition at line 638 of file board.h.

#define USART6_TX   6U

Definition at line 637 of file board.h.

#define USE_ADC_4   1

Definition at line 186 of file board.h.

#define USE_BARO_BOARD   1

Baro.

Apparently needed for backwards compatibility with the ancient onboard baro boards

Definition at line 541 of file board.h.

#define USE_LED_1   1

Definition at line 82 of file board.h.

#define USE_LED_2   1

Definition at line 91 of file board.h.

#define USE_LED_3   1

Definition at line 100 of file board.h.

#define USE_LED_4   1

Definition at line 109 of file board.h.

#define USE_LED_5   0

Definition at line 118 of file board.h.

#define USE_LED_6   0

Definition at line 127 of file board.h.

#define USE_LED_7   0

Definition at line 136 of file board.h.

#define USE_LED_8   0

Definition at line 145 of file board.h.

#define USE_PWM0   1

Definition at line 206 of file board.h.

#define USE_PWM1   1

Definition at line 221 of file board.h.

#define USE_PWM2   1

Definition at line 236 of file board.h.

#define USE_PWM3   1

Definition at line 251 of file board.h.

#define USE_PWM4   1

Definition at line 266 of file board.h.

#define USE_PWM5   1

Definition at line 281 of file board.h.

#define VAL_GPIOA_AFRH
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:863
#define CU1_CH1
Definition: board.h:605
#define OTG_FS_VBUS
Definition: board.h:606
#define PWM2_CH1
Definition: board.h:612
#define OTG_FS_DM
Definition: board.h:608
#define SWDIO
Definition: board.h:610
#define SWCLK
Definition: board.h:611
#define USART1_RX
Definition: board.h:607
#define OTG_FS_DP
Definition: board.h:609

Definition at line 959 of file board.h.

#define VAL_GPIOA_AFRL
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:863
#define SPI1_SCK
Definition: board.h:602
#define UART4_RX
Definition: board.h:598
#define SPI1_MOSI
Definition: board.h:604
#define UART2_RX
Definition: board.h:600
#define SPI1_MISO
Definition: board.h:603
#define ADC1_IN4
Definition: board.h:601
#define UART4_TX
Definition: board.h:597
#define PWM2_CH3
Definition: board.h:599

Definition at line 950 of file board.h.

#define VAL_GPIOA_MODER
Value:
#define PIN_MODE_ANALOG(n)
Definition: board.h:851
#define CU1_CH1
Definition: board.h:605
#define SPI1_SCK
Definition: board.h:602
#define OTG_FS_VBUS
Definition: board.h:606
#define PIN_MODE_INPUT(n)
Definition: board.h:848
#define UART4_RX
Definition: board.h:598
#define PWM2_CH1
Definition: board.h:612
#define PIN_MODE_ALTERNATE(n)
Definition: board.h:850
#define SPI1_MOSI
Definition: board.h:604
#define OTG_FS_DM
Definition: board.h:608
#define UART2_RX
Definition: board.h:600
#define SWDIO
Definition: board.h:610
#define SWCLK
Definition: board.h:611
#define SPI1_MISO
Definition: board.h:603
#define USART1_RX
Definition: board.h:607
#define ADC1_IN4
Definition: board.h:601
#define UART4_TX
Definition: board.h:597
#define OTG_FS_DP
Definition: board.h:609
#define PWM2_CH3
Definition: board.h:599

Definition at line 865 of file board.h.

#define VAL_GPIOA_ODR
Value:
#define CU1_CH1
Definition: board.h:605
#define SPI1_SCK
Definition: board.h:602
#define OTG_FS_VBUS
Definition: board.h:606
#define UART4_RX
Definition: board.h:598
#define PWM2_CH1
Definition: board.h:612
#define PIN_ODR_LEVEL_HIGH(n)
Definition: board.h:853
#define SPI1_MOSI
Definition: board.h:604
#define OTG_FS_DM
Definition: board.h:608
#define UART2_RX
Definition: board.h:600
#define SWDIO
Definition: board.h:610
#define PIN_ODR_LEVEL_LOW(n)
Definition: board.h:852
#define SWCLK
Definition: board.h:611
#define SPI1_MISO
Definition: board.h:603
#define USART1_RX
Definition: board.h:607
#define ADC1_IN4
Definition: board.h:601
#define UART4_TX
Definition: board.h:597
#define OTG_FS_DP
Definition: board.h:609
#define PWM2_CH3
Definition: board.h:599

Definition at line 933 of file board.h.

#define VAL_GPIOA_OSPEEDR
Value:
#define CU1_CH1
Definition: board.h:605
#define SPI1_SCK
Definition: board.h:602
#define OTG_FS_VBUS
Definition: board.h:606
#define PIN_OSPEED_SPEED_HIGH(n)
Definition: board.h:859
#define UART4_RX
Definition: board.h:598
#define PWM2_CH1
Definition: board.h:612
#define SPI1_MOSI
Definition: board.h:604
#define OTG_FS_DM
Definition: board.h:608
#define PIN_OSPEED_SPEED_VERYLOW(n)
Definition: board.h:856
#define UART2_RX
Definition: board.h:600
#define SWDIO
Definition: board.h:610
#define SWCLK
Definition: board.h:611
#define SPI1_MISO
Definition: board.h:603
#define USART1_RX
Definition: board.h:607
#define ADC1_IN4
Definition: board.h:601
#define UART4_TX
Definition: board.h:597
#define OTG_FS_DP
Definition: board.h:609
#define PWM2_CH3
Definition: board.h:599

Definition at line 899 of file board.h.

#define VAL_GPIOA_OTYPER
Value:
#define CU1_CH1
Definition: board.h:605
#define SPI1_SCK
Definition: board.h:602
#define OTG_FS_VBUS
Definition: board.h:606
#define UART4_RX
Definition: board.h:598
#define PWM2_CH1
Definition: board.h:612
#define SPI1_MOSI
Definition: board.h:604
#define OTG_FS_DM
Definition: board.h:608
#define PIN_OTYPE_OPENDRAIN(n)
Definition: board.h:855
#define UART2_RX
Definition: board.h:600
#define SWDIO
Definition: board.h:610
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:854
#define SWCLK
Definition: board.h:611
#define SPI1_MISO
Definition: board.h:603
#define USART1_RX
Definition: board.h:607
#define ADC1_IN4
Definition: board.h:601
#define UART4_TX
Definition: board.h:597
#define OTG_FS_DP
Definition: board.h:609
#define PWM2_CH3
Definition: board.h:599

Definition at line 882 of file board.h.

#define VAL_GPIOA_PUPDR
Value:
#define CU1_CH1
Definition: board.h:605
#define SPI1_SCK
Definition: board.h:602
#define OTG_FS_VBUS
Definition: board.h:606
#define PIN_PUPDR_PULLDOWN(n)
Definition: board.h:862
#define UART4_RX
Definition: board.h:598
#define PWM2_CH1
Definition: board.h:612
#define SPI1_MOSI
Definition: board.h:604
#define OTG_FS_DM
Definition: board.h:608
#define UART2_RX
Definition: board.h:600
#define PIN_PUPDR_FLOATING(n)
Definition: board.h:860
#define SWDIO
Definition: board.h:610
#define SWCLK
Definition: board.h:611
#define SPI1_MISO
Definition: board.h:603
#define USART1_RX
Definition: board.h:607
#define ADC1_IN4
Definition: board.h:601
#define UART4_TX
Definition: board.h:597
#define OTG_FS_DP
Definition: board.h:609
#define PWM2_CH3
Definition: board.h:599

Definition at line 916 of file board.h.

#define VAL_GPIOB_AFRH
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:863
#define I2C2_SDA
Definition: board.h:625
#define I2C2_SCL
Definition: board.h:624
#define I2C1_SCL
Definition: board.h:622
#define RX2_POL
Definition: board.h:627
#define POWER_SWITCH
Definition: board.h:626
#define SDIO_DETECT
Definition: board.h:628
#define SPI1_CS
Definition: board.h:623
#define AUX4
Definition: board.h:629

Definition at line 1062 of file board.h.

#define VAL_GPIOB_AFRL
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:863
#define PWM3_CH2
Definition: board.h:619
#define PWM2_CH2
Definition: board.h:617
#define AUX1
Definition: board.h:615
#define PWM3_CH1
Definition: board.h:618
#define I2C1_SDA
Definition: board.h:621
#define BOOT1
Definition: board.h:616
#define USART1_TX
Definition: board.h:620
#define PWM3_CH3
Definition: board.h:614

Definition at line 1053 of file board.h.

#define VAL_GPIOB_MODER
Value:
#define I2C2_SDA
Definition: board.h:625
#define I2C2_SCL
Definition: board.h:624
#define PWM3_CH2
Definition: board.h:619
#define I2C1_SCL
Definition: board.h:622
#define PWM2_CH2
Definition: board.h:617
#define AUX1
Definition: board.h:615
#define RX2_POL
Definition: board.h:627
#define PIN_MODE_INPUT(n)
Definition: board.h:848
#define POWER_SWITCH
Definition: board.h:626
#define PIN_MODE_ALTERNATE(n)
Definition: board.h:850
#define SDIO_DETECT
Definition: board.h:628
#define SPI1_CS
Definition: board.h:623
#define PIN_MODE_OUTPUT(n)
Definition: board.h:849
#define PWM3_CH1
Definition: board.h:618
#define AUX4
Definition: board.h:629
#define I2C1_SDA
Definition: board.h:621
#define BOOT1
Definition: board.h:616
#define USART1_TX
Definition: board.h:620
#define PWM3_CH3
Definition: board.h:614

Definition at line 968 of file board.h.

#define VAL_GPIOB_ODR
Value:
#define I2C2_SDA
Definition: board.h:625
#define I2C2_SCL
Definition: board.h:624
#define PWM3_CH2
Definition: board.h:619
#define I2C1_SCL
Definition: board.h:622
#define PWM2_CH2
Definition: board.h:617
#define AUX1
Definition: board.h:615
#define RX2_POL
Definition: board.h:627
#define POWER_SWITCH
Definition: board.h:626
#define SDIO_DETECT
Definition: board.h:628
#define SPI1_CS
Definition: board.h:623
#define PIN_ODR_LEVEL_HIGH(n)
Definition: board.h:853
#define PWM3_CH1
Definition: board.h:618
#define AUX4
Definition: board.h:629
#define I2C1_SDA
Definition: board.h:621
#define BOOT1
Definition: board.h:616
#define PIN_ODR_LEVEL_LOW(n)
Definition: board.h:852
#define USART1_TX
Definition: board.h:620
#define PWM3_CH3
Definition: board.h:614

Definition at line 1036 of file board.h.

#define VAL_GPIOB_OSPEEDR
Value:
#define I2C2_SDA
Definition: board.h:625
#define I2C2_SCL
Definition: board.h:624
#define PWM3_CH2
Definition: board.h:619
#define I2C1_SCL
Definition: board.h:622
#define PWM2_CH2
Definition: board.h:617
#define AUX1
Definition: board.h:615
#define RX2_POL
Definition: board.h:627
#define PIN_OSPEED_SPEED_HIGH(n)
Definition: board.h:859
#define POWER_SWITCH
Definition: board.h:626
#define SDIO_DETECT
Definition: board.h:628
#define SPI1_CS
Definition: board.h:623
#define PWM3_CH1
Definition: board.h:618
#define PIN_OSPEED_SPEED_VERYLOW(n)
Definition: board.h:856
#define AUX4
Definition: board.h:629
#define I2C1_SDA
Definition: board.h:621
#define BOOT1
Definition: board.h:616
#define USART1_TX
Definition: board.h:620
#define PWM3_CH3
Definition: board.h:614

Definition at line 1002 of file board.h.

#define VAL_GPIOB_OTYPER
Value:
#define I2C2_SDA
Definition: board.h:625
#define I2C2_SCL
Definition: board.h:624
#define PWM3_CH2
Definition: board.h:619
#define I2C1_SCL
Definition: board.h:622
#define PWM2_CH2
Definition: board.h:617
#define AUX1
Definition: board.h:615
#define RX2_POL
Definition: board.h:627
#define POWER_SWITCH
Definition: board.h:626
#define SDIO_DETECT
Definition: board.h:628
#define SPI1_CS
Definition: board.h:623
#define PIN_OTYPE_OPENDRAIN(n)
Definition: board.h:855
#define PWM3_CH1
Definition: board.h:618
#define AUX4
Definition: board.h:629
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:854
#define I2C1_SDA
Definition: board.h:621
#define BOOT1
Definition: board.h:616
#define USART1_TX
Definition: board.h:620
#define PWM3_CH3
Definition: board.h:614

Definition at line 985 of file board.h.

#define VAL_GPIOB_PUPDR
Value:
#define I2C2_SDA
Definition: board.h:625
#define I2C2_SCL
Definition: board.h:624
#define PWM3_CH2
Definition: board.h:619
#define I2C1_SCL
Definition: board.h:622
#define PWM2_CH2
Definition: board.h:617
#define AUX1
Definition: board.h:615
#define RX2_POL
Definition: board.h:627
#define POWER_SWITCH
Definition: board.h:626
#define PIN_PUPDR_PULLUP(n)
Definition: board.h:861
#define SDIO_DETECT
Definition: board.h:628
#define SPI1_CS
Definition: board.h:623
#define PWM3_CH1
Definition: board.h:618
#define PIN_PUPDR_FLOATING(n)
Definition: board.h:860
#define AUX4
Definition: board.h:629
#define I2C1_SDA
Definition: board.h:621
#define BOOT1
Definition: board.h:616
#define USART1_TX
Definition: board.h:620
#define PWM3_CH3
Definition: board.h:614

Definition at line 1019 of file board.h.

#define VAL_GPIOC_AFRH
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:863
#define OSC32_IN
Definition: board.h:645
#define SDIO_D0
Definition: board.h:639
#define SDIO_D3
Definition: board.h:642
#define LED2
Definition: board.h:644
#define SDIO_D1
Definition: board.h:640
#define OSC32_OUT
Definition: board.h:646
#define SDIO_CK
Definition: board.h:643
#define SDIO_D2
Definition: board.h:641

Definition at line 1165 of file board.h.

#define VAL_GPIOC_AFRL
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:863
#define LED3
Definition: board.h:632
#define LED1
Definition: board.h:631
#define USART6_TX
Definition: board.h:637
#define AUX3
Definition: board.h:635
#define PC02
Definition: board.h:633
#define LED4
Definition: board.h:634
#define USART6_RX
Definition: board.h:638
#define AUX2
Definition: board.h:636

Definition at line 1156 of file board.h.

#define VAL_GPIOC_MODER
Value:
#define LED3
Definition: board.h:632
#define OSC32_IN
Definition: board.h:645
#define SDIO_D0
Definition: board.h:639
#define SDIO_D3
Definition: board.h:642
#define LED2
Definition: board.h:644
#define LED1
Definition: board.h:631
#define USART6_TX
Definition: board.h:637
#define PIN_MODE_INPUT(n)
Definition: board.h:848
#define AUX3
Definition: board.h:635
#define SDIO_D1
Definition: board.h:640
#define OSC32_OUT
Definition: board.h:646
#define PIN_MODE_ALTERNATE(n)
Definition: board.h:850
#define PIN_MODE_OUTPUT(n)
Definition: board.h:849
#define PC02
Definition: board.h:633
#define LED4
Definition: board.h:634
#define USART6_RX
Definition: board.h:638
#define AUX2
Definition: board.h:636
#define SDIO_CK
Definition: board.h:643
#define SDIO_D2
Definition: board.h:641

Definition at line 1071 of file board.h.

#define VAL_GPIOC_ODR
Value:
#define LED3
Definition: board.h:632
#define OSC32_IN
Definition: board.h:645
#define SDIO_D0
Definition: board.h:639
#define SDIO_D3
Definition: board.h:642
#define LED2
Definition: board.h:644
#define LED1
Definition: board.h:631
#define USART6_TX
Definition: board.h:637
#define AUX3
Definition: board.h:635
#define SDIO_D1
Definition: board.h:640
#define OSC32_OUT
Definition: board.h:646
#define PIN_ODR_LEVEL_HIGH(n)
Definition: board.h:853
#define PC02
Definition: board.h:633
#define LED4
Definition: board.h:634
#define USART6_RX
Definition: board.h:638
#define AUX2
Definition: board.h:636
#define SDIO_CK
Definition: board.h:643
#define PIN_ODR_LEVEL_LOW(n)
Definition: board.h:852
#define SDIO_D2
Definition: board.h:641

Definition at line 1139 of file board.h.

#define VAL_GPIOC_OSPEEDR
Value:
#define LED3
Definition: board.h:632
#define OSC32_IN
Definition: board.h:645
#define SDIO_D0
Definition: board.h:639
#define SDIO_D3
Definition: board.h:642
#define LED2
Definition: board.h:644
#define LED1
Definition: board.h:631
#define USART6_TX
Definition: board.h:637
#define PIN_OSPEED_SPEED_HIGH(n)
Definition: board.h:859
#define AUX3
Definition: board.h:635
#define SDIO_D1
Definition: board.h:640
#define OSC32_OUT
Definition: board.h:646
#define PC02
Definition: board.h:633
#define LED4
Definition: board.h:634
#define USART6_RX
Definition: board.h:638
#define PIN_OSPEED_SPEED_VERYLOW(n)
Definition: board.h:856
#define AUX2
Definition: board.h:636
#define SDIO_CK
Definition: board.h:643
#define SDIO_D2
Definition: board.h:641

Definition at line 1105 of file board.h.

#define VAL_GPIOC_OTYPER
Value:
#define LED3
Definition: board.h:632
#define OSC32_IN
Definition: board.h:645
#define SDIO_D0
Definition: board.h:639
#define SDIO_D3
Definition: board.h:642
#define LED2
Definition: board.h:644
#define LED1
Definition: board.h:631
#define USART6_TX
Definition: board.h:637
#define AUX3
Definition: board.h:635
#define SDIO_D1
Definition: board.h:640
#define OSC32_OUT
Definition: board.h:646
#define PC02
Definition: board.h:633
#define LED4
Definition: board.h:634
#define PIN_OTYPE_OPENDRAIN(n)
Definition: board.h:855
#define USART6_RX
Definition: board.h:638
#define AUX2
Definition: board.h:636
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:854
#define SDIO_CK
Definition: board.h:643
#define SDIO_D2
Definition: board.h:641

Definition at line 1088 of file board.h.

#define VAL_GPIOC_PUPDR
Value:
#define LED3
Definition: board.h:632
#define OSC32_IN
Definition: board.h:645
#define SDIO_D0
Definition: board.h:639
#define SDIO_D3
Definition: board.h:642
#define LED2
Definition: board.h:644
#define LED1
Definition: board.h:631
#define USART6_TX
Definition: board.h:637
#define PIN_PUPDR_PULLDOWN(n)
Definition: board.h:862
#define AUX3
Definition: board.h:635
#define SDIO_D1
Definition: board.h:640
#define OSC32_OUT
Definition: board.h:646
#define PIN_PUPDR_PULLUP(n)
Definition: board.h:861
#define PC02
Definition: board.h:633
#define LED4
Definition: board.h:634
#define USART6_RX
Definition: board.h:638
#define PIN_PUPDR_FLOATING(n)
Definition: board.h:860
#define AUX2
Definition: board.h:636
#define SDIO_CK
Definition: board.h:643
#define SDIO_D2
Definition: board.h:641

Definition at line 1122 of file board.h.

#define VAL_GPIOD_AFRH
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:863
#define PD12
Definition: board.h:660
#define PD13
Definition: board.h:661
#define PD14
Definition: board.h:662
#define PD15
Definition: board.h:663
#define PD10
Definition: board.h:658
#define PD08
Definition: board.h:656
#define PD09
Definition: board.h:657
#define PD11
Definition: board.h:659

Definition at line 1268 of file board.h.

#define VAL_GPIOD_AFRL
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:863
#define SDIO_CMD
Definition: board.h:650
#define PD00
Definition: board.h:648
#define PD06
Definition: board.h:654
#define PD03
Definition: board.h:651
#define PD07
Definition: board.h:655
#define PD05
Definition: board.h:653
#define PD04
Definition: board.h:652
#define PD01
Definition: board.h:649

Definition at line 1259 of file board.h.

#define VAL_GPIOD_MODER
Value:
#define SDIO_CMD
Definition: board.h:650
#define PD12
Definition: board.h:660
#define PD00
Definition: board.h:648
#define PIN_MODE_INPUT(n)
Definition: board.h:848
#define PD13
Definition: board.h:661
#define PD14
Definition: board.h:662
#define PIN_MODE_ALTERNATE(n)
Definition: board.h:850
#define PD15
Definition: board.h:663
#define PD06
Definition: board.h:654
#define PD03
Definition: board.h:651
#define PD07
Definition: board.h:655
#define PD10
Definition: board.h:658
#define PD05
Definition: board.h:653
#define PD04
Definition: board.h:652
#define PD01
Definition: board.h:649
#define PD08
Definition: board.h:656
#define PD09
Definition: board.h:657
#define PD11
Definition: board.h:659

Definition at line 1174 of file board.h.

#define VAL_GPIOD_ODR
Value:
#define SDIO_CMD
Definition: board.h:650
#define PD12
Definition: board.h:660
#define PD00
Definition: board.h:648
#define PD13
Definition: board.h:661
#define PD14
Definition: board.h:662
#define PIN_ODR_LEVEL_HIGH(n)
Definition: board.h:853
#define PD15
Definition: board.h:663
#define PD06
Definition: board.h:654
#define PD03
Definition: board.h:651
#define PD07
Definition: board.h:655
#define PD10
Definition: board.h:658
#define PD05
Definition: board.h:653
#define PIN_ODR_LEVEL_LOW(n)
Definition: board.h:852
#define PD04
Definition: board.h:652
#define PD01
Definition: board.h:649
#define PD08
Definition: board.h:656
#define PD09
Definition: board.h:657
#define PD11
Definition: board.h:659

Definition at line 1242 of file board.h.

#define VAL_GPIOD_OSPEEDR
Value:
#define SDIO_CMD
Definition: board.h:650
#define PD12
Definition: board.h:660
#define PD00
Definition: board.h:648
#define PIN_OSPEED_SPEED_HIGH(n)
Definition: board.h:859
#define PD13
Definition: board.h:661
#define PD14
Definition: board.h:662
#define PD15
Definition: board.h:663
#define PD06
Definition: board.h:654
#define PIN_OSPEED_SPEED_VERYLOW(n)
Definition: board.h:856
#define PD03
Definition: board.h:651
#define PD07
Definition: board.h:655
#define PD10
Definition: board.h:658
#define PD05
Definition: board.h:653
#define PD04
Definition: board.h:652
#define PD01
Definition: board.h:649
#define PD08
Definition: board.h:656
#define PD09
Definition: board.h:657
#define PD11
Definition: board.h:659

Definition at line 1208 of file board.h.

#define VAL_GPIOD_OTYPER
Value:
#define SDIO_CMD
Definition: board.h:650
#define PD12
Definition: board.h:660
#define PD00
Definition: board.h:648
#define PD13
Definition: board.h:661
#define PD14
Definition: board.h:662
#define PD15
Definition: board.h:663
#define PD06
Definition: board.h:654
#define PD03
Definition: board.h:651
#define PD07
Definition: board.h:655
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:854
#define PD10
Definition: board.h:658
#define PD05
Definition: board.h:653
#define PD04
Definition: board.h:652
#define PD01
Definition: board.h:649
#define PD08
Definition: board.h:656
#define PD09
Definition: board.h:657
#define PD11
Definition: board.h:659

Definition at line 1191 of file board.h.

#define VAL_GPIOD_PUPDR
Value:
#define SDIO_CMD
Definition: board.h:650
#define PD12
Definition: board.h:660
#define PD00
Definition: board.h:648
#define PIN_PUPDR_PULLDOWN(n)
Definition: board.h:862
#define PD13
Definition: board.h:661
#define PD14
Definition: board.h:662
#define PIN_PUPDR_PULLUP(n)
Definition: board.h:861
#define PD15
Definition: board.h:663
#define PD06
Definition: board.h:654
#define PD03
Definition: board.h:651
#define PD07
Definition: board.h:655
#define PD10
Definition: board.h:658
#define PD05
Definition: board.h:653
#define PD04
Definition: board.h:652
#define PD01
Definition: board.h:649
#define PD08
Definition: board.h:656
#define PD09
Definition: board.h:657
#define PD11
Definition: board.h:659

Definition at line 1225 of file board.h.

#define VAL_GPIOE_AFRH
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:863
#define PE09
Definition: board.h:674
#define PE08
Definition: board.h:673
#define PE12
Definition: board.h:677
#define PE10
Definition: board.h:675
#define PE11
Definition: board.h:676
#define PE15
Definition: board.h:680
#define PE13
Definition: board.h:678
#define PE14
Definition: board.h:679

Definition at line 1371 of file board.h.

#define VAL_GPIOE_AFRL
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:863
#define PE03
Definition: board.h:668
#define PE05
Definition: board.h:670
#define PE02
Definition: board.h:667
#define PE00
Definition: board.h:665
#define PE07
Definition: board.h:672
#define PE01
Definition: board.h:666
#define PE04
Definition: board.h:669
#define PE06
Definition: board.h:671

Definition at line 1362 of file board.h.

#define VAL_GPIOE_MODER
Value:
#define PE03
Definition: board.h:668
#define PE09
Definition: board.h:674
#define PIN_MODE_INPUT(n)
Definition: board.h:848
#define PE08
Definition: board.h:673
#define PE12
Definition: board.h:677
#define PE05
Definition: board.h:670
#define PE02
Definition: board.h:667
#define PE00
Definition: board.h:665
#define PE10
Definition: board.h:675
#define PE11
Definition: board.h:676
#define PE15
Definition: board.h:680
#define PE07
Definition: board.h:672
#define PE13
Definition: board.h:678
#define PE01
Definition: board.h:666
#define PE04
Definition: board.h:669
#define PE14
Definition: board.h:679
#define PE06
Definition: board.h:671

Definition at line 1277 of file board.h.

#define VAL_GPIOE_ODR
Value:
#define PE03
Definition: board.h:668
#define PE09
Definition: board.h:674
#define PE08
Definition: board.h:673
#define PE12
Definition: board.h:677
#define PE05
Definition: board.h:670
#define PE02
Definition: board.h:667
#define PE00
Definition: board.h:665
#define PE10
Definition: board.h:675
#define PE11
Definition: board.h:676
#define PE15
Definition: board.h:680
#define PE07
Definition: board.h:672
#define PE13
Definition: board.h:678
#define PIN_ODR_LEVEL_LOW(n)
Definition: board.h:852
#define PE01
Definition: board.h:666
#define PE04
Definition: board.h:669
#define PE14
Definition: board.h:679
#define PE06
Definition: board.h:671

Definition at line 1345 of file board.h.

#define VAL_GPIOE_OSPEEDR
Value:
#define PE03
Definition: board.h:668
#define PE09
Definition: board.h:674
#define PE08
Definition: board.h:673
#define PE12
Definition: board.h:677
#define PE05
Definition: board.h:670
#define PIN_OSPEED_SPEED_VERYLOW(n)
Definition: board.h:856
#define PE02
Definition: board.h:667
#define PE00
Definition: board.h:665
#define PE10
Definition: board.h:675
#define PE11
Definition: board.h:676
#define PE15
Definition: board.h:680
#define PE07
Definition: board.h:672
#define PE13
Definition: board.h:678
#define PE01
Definition: board.h:666
#define PE04
Definition: board.h:669
#define PE14
Definition: board.h:679
#define PE06
Definition: board.h:671

Definition at line 1311 of file board.h.

#define VAL_GPIOE_OTYPER
Value:
#define PE03
Definition: board.h:668
#define PE09
Definition: board.h:674
#define PE08
Definition: board.h:673
#define PE12
Definition: board.h:677
#define PE05
Definition: board.h:670
#define PE02
Definition: board.h:667
#define PE00
Definition: board.h:665
#define PE10
Definition: board.h:675
#define PE11
Definition: board.h:676
#define PE15
Definition: board.h:680
#define PE07
Definition: board.h:672
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:854
#define PE13
Definition: board.h:678
#define PE01
Definition: board.h:666
#define PE04
Definition: board.h:669
#define PE14
Definition: board.h:679
#define PE06
Definition: board.h:671

Definition at line 1294 of file board.h.

#define VAL_GPIOE_PUPDR
Value:
#define PE03
Definition: board.h:668
#define PE09
Definition: board.h:674
#define PE08
Definition: board.h:673
#define PIN_PUPDR_PULLDOWN(n)
Definition: board.h:862
#define PE12
Definition: board.h:677
#define PE05
Definition: board.h:670
#define PE02
Definition: board.h:667
#define PE00
Definition: board.h:665
#define PE10
Definition: board.h:675
#define PE11
Definition: board.h:676
#define PE15
Definition: board.h:680
#define PE07
Definition: board.h:672
#define PE13
Definition: board.h:678
#define PE01
Definition: board.h:666
#define PE04
Definition: board.h:669
#define PE14
Definition: board.h:679
#define PE06
Definition: board.h:671

Definition at line 1328 of file board.h.

#define VAL_GPIOF_AFRH
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:863
#define PF15
Definition: board.h:697
#define PF09
Definition: board.h:691
#define PF08
Definition: board.h:690
#define PF10
Definition: board.h:692
#define PF14
Definition: board.h:696
#define PF13
Definition: board.h:695
#define PF11
Definition: board.h:693
#define PF12
Definition: board.h:694

Definition at line 1474 of file board.h.

#define VAL_GPIOF_AFRL
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:863
#define PF03
Definition: board.h:685
#define PF01
Definition: board.h:683
#define PF07
Definition: board.h:689
#define PF04
Definition: board.h:686
#define PF00
Definition: board.h:682
#define PF05
Definition: board.h:687
#define PF02
Definition: board.h:684
#define PF06
Definition: board.h:688

Definition at line 1465 of file board.h.

#define VAL_GPIOF_MODER
Value:
#define PF03
Definition: board.h:685
#define PF15
Definition: board.h:697
#define PIN_MODE_INPUT(n)
Definition: board.h:848
#define PF09
Definition: board.h:691
#define PF08
Definition: board.h:690
#define PF01
Definition: board.h:683
#define PF07
Definition: board.h:689
#define PF10
Definition: board.h:692
#define PF04
Definition: board.h:686
#define PF14
Definition: board.h:696
#define PF00
Definition: board.h:682
#define PF13
Definition: board.h:695
#define PF05
Definition: board.h:687
#define PF02
Definition: board.h:684
#define PF11
Definition: board.h:693
#define PF06
Definition: board.h:688
#define PF12
Definition: board.h:694

Definition at line 1380 of file board.h.

#define VAL_GPIOF_ODR
Value:
#define PF03
Definition: board.h:685
#define PF15
Definition: board.h:697
#define PF09
Definition: board.h:691
#define PF08
Definition: board.h:690
#define PF01
Definition: board.h:683
#define PF07
Definition: board.h:689
#define PF10
Definition: board.h:692
#define PF04
Definition: board.h:686
#define PF14
Definition: board.h:696
#define PF00
Definition: board.h:682
#define PF13
Definition: board.h:695
#define PF05
Definition: board.h:687
#define PF02
Definition: board.h:684
#define PIN_ODR_LEVEL_LOW(n)
Definition: board.h:852
#define PF11
Definition: board.h:693
#define PF06
Definition: board.h:688
#define PF12
Definition: board.h:694

Definition at line 1448 of file board.h.

#define VAL_GPIOF_OSPEEDR
Value:
#define PF03
Definition: board.h:685
#define PF15
Definition: board.h:697
#define PF09
Definition: board.h:691
#define PF08
Definition: board.h:690
#define PF01
Definition: board.h:683
#define PF07
Definition: board.h:689
#define PF10
Definition: board.h:692
#define PF04
Definition: board.h:686
#define PF14
Definition: board.h:696
#define PIN_OSPEED_SPEED_VERYLOW(n)
Definition: board.h:856
#define PF00
Definition: board.h:682
#define PF13
Definition: board.h:695
#define PF05
Definition: board.h:687
#define PF02
Definition: board.h:684
#define PF11
Definition: board.h:693
#define PF06
Definition: board.h:688
#define PF12
Definition: board.h:694

Definition at line 1414 of file board.h.

#define VAL_GPIOF_OTYPER
Value:
#define PF03
Definition: board.h:685
#define PF15
Definition: board.h:697
#define PF09
Definition: board.h:691
#define PF08
Definition: board.h:690
#define PF01
Definition: board.h:683
#define PF07
Definition: board.h:689
#define PF10
Definition: board.h:692
#define PF04
Definition: board.h:686
#define PF14
Definition: board.h:696
#define PF00
Definition: board.h:682
#define PF13
Definition: board.h:695
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:854
#define PF05
Definition: board.h:687
#define PF02
Definition: board.h:684
#define PF11
Definition: board.h:693
#define PF06
Definition: board.h:688
#define PF12
Definition: board.h:694

Definition at line 1397 of file board.h.

#define VAL_GPIOF_PUPDR
Value:
#define PF03
Definition: board.h:685
#define PF15
Definition: board.h:697
#define PF09
Definition: board.h:691
#define PF08
Definition: board.h:690
#define PIN_PUPDR_PULLDOWN(n)
Definition: board.h:862
#define PF01
Definition: board.h:683
#define PF07
Definition: board.h:689
#define PF10
Definition: board.h:692
#define PF04
Definition: board.h:686
#define PF14
Definition: board.h:696
#define PF00
Definition: board.h:682
#define PF13
Definition: board.h:695
#define PF05
Definition: board.h:687
#define PF02
Definition: board.h:684
#define PF11
Definition: board.h:693
#define PF06
Definition: board.h:688