Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
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 _CONCAT_BOARD_PARAM(_s1, _s2)   _s1 ## _s2
 
#define CONCAT_BOARD_PARAM(_s1, _s2)   _CONCAT_BOARD_PARAM(_s1, _s2)
 
#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 POWER_SWITCH_GPIO   GPIOB,GPIO12
 
#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_PWM_TIM2   1
 
#define USE_PWM_TIM3   1
 
#define USE_PWM0   1
 
#define PWM_SERVO_0   0
 
#define PWM_SERVO_0_GPIO   PAL_PORT(LINE_SERVO0)
 
#define PWM_SERVO_0_PIN   PAL_PAD(LINE_SERVO0)
 
#define PWM_SERVO_0_AF   AF_LINE_SERVO0
 
#define PWM_SERVO_0_DRIVER   CONCAT_BOARD_PARAM(PWMD, SERVO0_TIM)
 
#define PWM_SERVO_0_CHANNEL   (SERVO0_TIM_CH-1)
 
#define PWM_SERVO_0_CONF   CONCAT_BOARD_PARAM(pwmcfg, SERVO0_TIM)
 
#define USE_PWM1   1
 
#define PWM_SERVO_1   1
 
#define PWM_SERVO_1_GPIO   PAL_PORT(LINE_SERVO1)
 
#define PWM_SERVO_1_PIN   PAL_PAD(LINE_SERVO1)
 
#define PWM_SERVO_1_AF   AF_LINE_SERVO1
 
#define PWM_SERVO_1_DRIVER   CONCAT_BOARD_PARAM(PWMD, SERVO1_TIM)
 
#define PWM_SERVO_1_CHANNEL   (SERVO1_TIM_CH-1)
 
#define PWM_SERVO_1_CONF   CONCAT_BOARD_PARAM(pwmcfg, SERVO1_TIM)
 
#define USE_PWM2   1
 
#define PWM_SERVO_2   2
 
#define PWM_SERVO_2_GPIO   PAL_PORT(LINE_SERVO2)
 
#define PWM_SERVO_2_PIN   PAL_PAD(LINE_SERVO2)
 
#define PWM_SERVO_2_AF   AF_LINE_SERVO2
 
#define PWM_SERVO_2_DRIVER   CONCAT_BOARD_PARAM(PWMD, SERVO2_TIM)
 
#define PWM_SERVO_2_CHANNEL   (SERVO2_TIM_CH-1)
 
#define PWM_SERVO_2_CONF   CONCAT_BOARD_PARAM(pwmcfg, SERVO2_TIM)
 
#define USE_PWM3   1
 
#define PWM_SERVO_3   3
 
#define PWM_SERVO_3_GPIO   PAL_PORT(LINE_SERVO3)
 
#define PWM_SERVO_3_PIN   PAL_PAD(LINE_SERVO3)
 
#define PWM_SERVO_3_AF   AF_LINE_SERVO3
 
#define PWM_SERVO_3_DRIVER   CONCAT_BOARD_PARAM(PWMD, SERVO3_TIM)
 
#define PWM_SERVO_3_CHANNEL   (SERVO3_TIM_CH-1)
 
#define PWM_SERVO_3_CONF   CONCAT_BOARD_PARAM(pwmcfg, SERVO3_TIM)
 
#define USE_PWM4   1
 
#define PWM_SERVO_4   4
 
#define PWM_SERVO_4_GPIO   PAL_PORT(LINE_SERVO4)
 
#define PWM_SERVO_4_PIN   PAL_PAD(LINE_SERVO4)
 
#define PWM_SERVO_4_AF   AF_LINE_SERVO4
 
#define PWM_SERVO_4_DRIVER   CONCAT_BOARD_PARAM(PWMD, SERVO4_TIM)
 
#define PWM_SERVO_4_CHANNEL   (SERVO4_TIM_CH-1)
 
#define PWM_SERVO_4_CONF   CONCAT_BOARD_PARAM(pwmcfg, SERVO4_TIM)
 
#define USE_PWM5   1
 
#define PWM_SERVO_5   5
 
#define PWM_SERVO_5_GPIO   PAL_PORT(LINE_SERVO5)
 
#define PWM_SERVO_5_PIN   PAL_PAD(LINE_SERVO5)
 
#define PWM_SERVO_5_AF   AF_LINE_SERVO5
 
#define PWM_SERVO_5_DRIVER   CONCAT_BOARD_PARAM(PWMD, SERVO5_TIM)
 
#define PWM_SERVO_5_CHANNEL   (SERVO5_TIM_CH-1)
 
#define PWM_SERVO_5_CONF   CONCAT_BOARD_PARAM(pwmcfg, SERVO5_TIM)
 
#define DSHOT_TELEMETRY_DEV   NULL
 DSHOT. More...
 
#define USE_DSHOT_TIM2   1
 
#define USE_DSHOT_TIM3   1
 
#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_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_CONF_TIM2   1
 
#define DSHOT_CONF2_DEF
 
#define DSHOT_SERVO_0   0
 
#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_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_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   ICUD5
 
#define PWM_INPUT2_CHANNEL   ICU_CHANNEL_4
 
#define PWM_INPUT2_GPIO_PORT   GPIOA
 
#define PWM_INPUT2_GPIO_PIN   GPIO2
 
#define PWM_INPUT2_GPIO_AF   GPIO_AF2
 
#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   "modules/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_GPIO   GPIOA
 For WS2812PWM. More...
 
#define WS2812D1_PIN   GPIO8
 
#define WS2812D1_AF   1
 
#define WS2812D1_CFG_DEF
 
#define UART4_TX   0U
 
#define UART4_RX   1U
 
#define SERVO1   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 SERVO5   15U
 
#define SERVO0   0U
 
#define SERVO6   1U
 
#define BOOT1   2U
 
#define SERVO4   3U
 
#define SERVO3   4U
 
#define SERVO2   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_SERVO1   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_SERVO5   PAL_LINE(GPIOA, 15U)
 
#define LINE_SERVO0   PAL_LINE(GPIOB, 0U)
 
#define LINE_SERVO6   PAL_LINE(GPIOB, 1U)
 
#define LINE_BOOT1   PAL_LINE(GPIOB, 2U)
 
#define LINE_SERVO4   PAL_LINE(GPIOB, 3U)
 
#define LINE_SERVO3   PAL_LINE(GPIOB, 4U)
 
#define LINE_SERVO2   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_SERVO1   1U
 
#define AF_LINE_SERVO1   1U
 
#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_SERVO5   1U
 
#define AF_LINE_SERVO5   1U
 
#define AF_SERVO0   2U
 
#define AF_LINE_SERVO0   2U
 
#define AF_SERVO6   2U
 
#define AF_LINE_SERVO6   2U
 
#define AF_SERVO4   1U
 
#define AF_LINE_SERVO4   1U
 
#define AF_SERVO3   2U
 
#define AF_LINE_SERVO3   2U
 
#define AF_SERVO2   2U
 
#define AF_LINE_SERVO2   2U
 
#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
 
#define SERVO1_TIM   2
 
#define SERVO1_TIM_FN   CH
 
#define SERVO1_TIM_CH   3
 
#define SERVO1_TIM_AF   1
 
#define SERVO5_TIM   2
 
#define SERVO5_TIM_FN   CH
 
#define SERVO5_TIM_CH   1
 
#define SERVO5_TIM_AF   1
 
#define SERVO0_TIM   3
 
#define SERVO0_TIM_FN   CH
 
#define SERVO0_TIM_CH   3
 
#define SERVO0_TIM_AF   2
 
#define SERVO6_TIM   3
 
#define SERVO6_TIM_FN   CH
 
#define SERVO6_TIM_CH   4
 
#define SERVO6_TIM_AF   2
 
#define SERVO4_TIM   2
 
#define SERVO4_TIM_FN   CH
 
#define SERVO4_TIM_CH   2
 
#define SERVO4_TIM_AF   1
 
#define SERVO3_TIM   3
 
#define SERVO3_TIM_FN   CH
 
#define SERVO3_TIM_CH   1
 
#define SERVO3_TIM_AF   2
 
#define SERVO2_TIM   3
 
#define SERVO2_TIM_FN   CH
 
#define SERVO2_TIM_CH   2
 
#define SERVO2_TIM_AF   2
 
#define BOARD_GROUP_DECLFOREACH(line, group)
 
#define BOARD_GROUP_FOREACH(line, group)    for (ioline_t i=0, line = group ## _ARRAY[i]; (i < group ## _SIZE) && (line = group ## _ARRAY[i]); i++)
 
#define BOARD_GROUP_DECLFOR(array, index, group)
 
#define BOARD_GROUP_FOR(array, index, group)    for (ioline_t index=0, *array = (ioline_t *) group ## _ARRAY; index < group ## _SIZE; index++)
 
#define ENERGY_SAVE_INPUT
 
#define ENERGY_SAVE_INPUT_SIZE   15
 

Functions

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

Macro Definition Documentation

◆ _CONCAT_BOARD_PARAM

#define _CONCAT_BOARD_PARAM (   _s1,
  _s2 
)    _s1 ## _s2

Definition at line 71 of file board.h.

◆ ActuatorDefaultSet

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

Definition at line 511 of file board.h.

◆ ActuatorsDefaultCommit

#define ActuatorsDefaultCommit ( )    ActuatorsPwmCommit()

Definition at line 513 of file board.h.

◆ ActuatorsDefaultInit

#define ActuatorsDefaultInit ( )    ActuatorsPwmInit()

Definition at line 512 of file board.h.

◆ AD1_4_CHANNEL

#define AD1_4_CHANNEL   ADC_CHANNEL_IN4

Definition at line 189 of file board.h.

◆ ADC1_IN4

#define ADC1_IN4   4U

Definition at line 563 of file board.h.

◆ ADC_4

#define ADC_4   AD1_4

Definition at line 190 of file board.h.

◆ ADC_4_GPIO_PIN

#define ADC_4_GPIO_PIN   GPIO4

Definition at line 192 of file board.h.

◆ ADC_4_GPIO_PORT

#define ADC_4_GPIO_PORT   GPIOA

Definition at line 191 of file board.h.

◆ ADC_CHANNEL_VSUPPLY

#define ADC_CHANNEL_VSUPPLY   ADC_4

Definition at line 197 of file board.h.

◆ AF_CU1_CH1

#define AF_CU1_CH1   1U

Definition at line 1974 of file board.h.

◆ AF_I2C1_SCL

#define AF_I2C1_SCL   4U

Definition at line 2002 of file board.h.

◆ AF_I2C1_SDA

#define AF_I2C1_SDA   4U

Definition at line 2000 of file board.h.

◆ AF_I2C2_SCL

#define AF_I2C2_SCL   4U

Definition at line 2004 of file board.h.

◆ AF_I2C2_SDA

#define AF_I2C2_SDA   4U

Definition at line 2006 of file board.h.

◆ AF_LINE_CU1_CH1

#define AF_LINE_CU1_CH1   1U

Definition at line 1975 of file board.h.

◆ AF_LINE_I2C1_SCL

#define AF_LINE_I2C1_SCL   4U

Definition at line 2003 of file board.h.

◆ AF_LINE_I2C1_SDA

#define AF_LINE_I2C1_SDA   4U

Definition at line 2001 of file board.h.

◆ AF_LINE_I2C2_SCL

#define AF_LINE_I2C2_SCL   4U

Definition at line 2005 of file board.h.

◆ AF_LINE_I2C2_SDA

#define AF_LINE_I2C2_SDA   4U

Definition at line 2007 of file board.h.

◆ AF_LINE_OSC32_IN

#define AF_LINE_OSC32_IN   0U

Definition at line 2023 of file board.h.

◆ AF_LINE_OSC32_OUT

#define AF_LINE_OSC32_OUT   0U

Definition at line 2025 of file board.h.

◆ AF_LINE_OSC_IN

#define AF_LINE_OSC_IN   0U

Definition at line 2029 of file board.h.

◆ AF_LINE_OSC_OUT

#define AF_LINE_OSC_OUT   0U

Definition at line 2031 of file board.h.

◆ AF_LINE_OTG_FS_DM

#define AF_LINE_OTG_FS_DM   10U

Definition at line 1979 of file board.h.

◆ AF_LINE_OTG_FS_DP

#define AF_LINE_OTG_FS_DP   10U

Definition at line 1981 of file board.h.

◆ AF_LINE_SDIO_CK

#define AF_LINE_SDIO_CK   12U

Definition at line 2021 of file board.h.

◆ AF_LINE_SDIO_CMD

#define AF_LINE_SDIO_CMD   12U

Definition at line 2027 of file board.h.

◆ AF_LINE_SDIO_D0

#define AF_LINE_SDIO_D0   12U

Definition at line 2013 of file board.h.

◆ AF_LINE_SDIO_D1

#define AF_LINE_SDIO_D1   12U

Definition at line 2015 of file board.h.

◆ AF_LINE_SDIO_D2

#define AF_LINE_SDIO_D2   12U

Definition at line 2017 of file board.h.

◆ AF_LINE_SDIO_D3

#define AF_LINE_SDIO_D3   12U

Definition at line 2019 of file board.h.

◆ AF_LINE_SERVO0

#define AF_LINE_SERVO0   2U

Definition at line 1989 of file board.h.

◆ AF_LINE_SERVO1

#define AF_LINE_SERVO1   1U

Definition at line 1965 of file board.h.

◆ AF_LINE_SERVO2

#define AF_LINE_SERVO2   2U

Definition at line 1997 of file board.h.

◆ AF_LINE_SERVO3

#define AF_LINE_SERVO3   2U

Definition at line 1995 of file board.h.

◆ AF_LINE_SERVO4

#define AF_LINE_SERVO4   1U

Definition at line 1993 of file board.h.

◆ AF_LINE_SERVO5

#define AF_LINE_SERVO5   1U

Definition at line 1987 of file board.h.

◆ AF_LINE_SERVO6

#define AF_LINE_SERVO6   2U

Definition at line 1991 of file board.h.

◆ AF_LINE_SPI1_MISO

#define AF_LINE_SPI1_MISO   5U

Definition at line 1971 of file board.h.

◆ AF_LINE_SPI1_MOSI

#define AF_LINE_SPI1_MOSI   5U

Definition at line 1973 of file board.h.

◆ AF_LINE_SPI1_SCK

#define AF_LINE_SPI1_SCK   5U

Definition at line 1969 of file board.h.

◆ AF_LINE_SWCLK

#define AF_LINE_SWCLK   0U

Definition at line 1985 of file board.h.

◆ AF_LINE_SWDIO

#define AF_LINE_SWDIO   0U

Definition at line 1983 of file board.h.

◆ AF_LINE_UART2_RX

#define AF_LINE_UART2_RX   7U

Definition at line 1967 of file board.h.

◆ AF_LINE_UART4_RX

#define AF_LINE_UART4_RX   8U

Definition at line 1963 of file board.h.

◆ AF_LINE_UART4_TX

#define AF_LINE_UART4_TX   8U

Definition at line 1961 of file board.h.

◆ AF_LINE_USART1_RX

#define AF_LINE_USART1_RX   7U

Definition at line 1977 of file board.h.

◆ AF_LINE_USART1_TX

#define AF_LINE_USART1_TX   7U

Definition at line 1999 of file board.h.

◆ AF_LINE_USART6_RX

#define AF_LINE_USART6_RX   8U

Definition at line 2011 of file board.h.

◆ AF_LINE_USART6_TX

#define AF_LINE_USART6_TX   8U

Definition at line 2009 of file board.h.

◆ AF_OSC32_IN

#define AF_OSC32_IN   0U

Definition at line 2022 of file board.h.

◆ AF_OSC32_OUT

#define AF_OSC32_OUT   0U

Definition at line 2024 of file board.h.

◆ AF_OSC_IN

#define AF_OSC_IN   0U

Definition at line 2028 of file board.h.

◆ AF_OSC_OUT

#define AF_OSC_OUT   0U

Definition at line 2030 of file board.h.

◆ AF_OTG_FS_DM

#define AF_OTG_FS_DM   10U

Definition at line 1978 of file board.h.

◆ AF_OTG_FS_DP

#define AF_OTG_FS_DP   10U

Definition at line 1980 of file board.h.

◆ AF_SDIO_CK

#define AF_SDIO_CK   12U

Definition at line 2020 of file board.h.

◆ AF_SDIO_CMD

#define AF_SDIO_CMD   12U

Definition at line 2026 of file board.h.

◆ AF_SDIO_D0

#define AF_SDIO_D0   12U

Definition at line 2012 of file board.h.

◆ AF_SDIO_D1

#define AF_SDIO_D1   12U

Definition at line 2014 of file board.h.

◆ AF_SDIO_D2

#define AF_SDIO_D2   12U

Definition at line 2016 of file board.h.

◆ AF_SDIO_D3

#define AF_SDIO_D3   12U

Definition at line 2018 of file board.h.

◆ AF_SERVO0

#define AF_SERVO0   2U

Definition at line 1988 of file board.h.

◆ AF_SERVO1

#define AF_SERVO1   1U

Definition at line 1964 of file board.h.

◆ AF_SERVO2

#define AF_SERVO2   2U

Definition at line 1996 of file board.h.

◆ AF_SERVO3

#define AF_SERVO3   2U

Definition at line 1994 of file board.h.

◆ AF_SERVO4

#define AF_SERVO4   1U

Definition at line 1992 of file board.h.

◆ AF_SERVO5

#define AF_SERVO5   1U

Definition at line 1986 of file board.h.

◆ AF_SERVO6

#define AF_SERVO6   2U

Definition at line 1990 of file board.h.

◆ AF_SPI1_MISO

#define AF_SPI1_MISO   5U

Definition at line 1970 of file board.h.

◆ AF_SPI1_MOSI

#define AF_SPI1_MOSI   5U

Definition at line 1972 of file board.h.

◆ AF_SPI1_SCK

#define AF_SPI1_SCK   5U

Definition at line 1968 of file board.h.

◆ AF_SWCLK

#define AF_SWCLK   0U

Definition at line 1984 of file board.h.

◆ AF_SWDIO

#define AF_SWDIO   0U

Definition at line 1982 of file board.h.

◆ AF_UART2_RX

#define AF_UART2_RX   7U

Definition at line 1966 of file board.h.

◆ AF_UART4_RX

#define AF_UART4_RX   8U

Definition at line 1962 of file board.h.

◆ AF_UART4_TX

#define AF_UART4_TX   8U

Definition at line 1960 of file board.h.

◆ AF_USART1_RX

#define AF_USART1_RX   7U

Definition at line 1976 of file board.h.

◆ AF_USART1_TX

#define AF_USART1_TX   7U

Definition at line 1998 of file board.h.

◆ AF_USART6_RX

#define AF_USART6_RX   8U

Definition at line 2010 of file board.h.

◆ AF_USART6_TX

#define AF_USART6_TX   8U

Definition at line 2008 of file board.h.

◆ AUX2

#define AUX2   5U

Definition at line 598 of file board.h.

◆ AUX3

#define AUX3   4U

Definition at line 597 of file board.h.

◆ AUX4

#define AUX4   15U

Definition at line 591 of file board.h.

◆ BOARD_GROUP_DECLFOR

#define BOARD_GROUP_DECLFOR (   array,
  index,
  group 
)
Value:
static const ioline_t group ## _ARRAY[] = {group}; \
for (ioline_t index=0, *array = (ioline_t *) group ## _ARRAY; index < group ## _SIZE; index++)
int * array

Definition at line 2071 of file board.h.

◆ BOARD_GROUP_DECLFOREACH

#define BOARD_GROUP_DECLFOREACH (   line,
  group 
)
Value:
static const ioline_t group ## _ARRAY[] = {group}; \
for (ioline_t i=0, line = group ## _ARRAY[i]; (i < group ## _SIZE) && (line = group ## _ARRAY[i]); i++)

Definition at line 2063 of file board.h.

◆ BOARD_GROUP_FOR

#define BOARD_GROUP_FOR (   array,
  index,
  group 
)     for (ioline_t index=0, *array = (ioline_t *) group ## _ARRAY; index < group ## _SIZE; index++)

Definition at line 2075 of file board.h.

◆ BOARD_GROUP_FOREACH

#define BOARD_GROUP_FOREACH (   line,
  group 
)     for (ioline_t i=0, line = group ## _ARRAY[i]; (i < group ## _SIZE) && (line = group ## _ARRAY[i]); i++)

Definition at line 2067 of file board.h.

◆ BOARD_NAME

#define BOARD_NAME   "AB/GRZ STM32F4 Apogee 1.0"

Definition at line 37 of file board.h.

◆ BOARD_ST_APOGEE

#define BOARD_ST_APOGEE

Definition at line 36 of file board.h.

◆ BOOT1

#define BOOT1   2U

Definition at line 578 of file board.h.

◆ CONCAT_BOARD_PARAM

#define CONCAT_BOARD_PARAM (   _s1,
  _s2 
)    _CONCAT_BOARD_PARAM(_s1, _s2)

Definition at line 72 of file board.h.

◆ CU1_CH1

#define CU1_CH1   8U

Definition at line 567 of file board.h.

◆ DEFAULT_ACTUATORS

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

Definition at line 510 of file board.h.

◆ DefaultVoltageOfAdc

#define DefaultVoltageOfAdc (   adc)    (0.006185*adc)

Definition at line 200 of file board.h.

◆ DSHOT_CONF2_DEF

#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, \
.dma_buf = &dshot2DmaBuffer, \
}
#define DSHOT_TELEMETRY_DEV
DSHOT.
Definition: board.h:309
#define STM32_PWM2_UP_DMA_CHANNEL
#define STM32_PWM2_UP_DMA_STREAM

Definition at line 337 of file board.h.

◆ DSHOT_CONF3_DEF

#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, \
.dma_buf = &dshot3DmaBuffer, \
}
#define STM32_PWM3_UP_DMA_STREAM
#define STM32_PWM3_UP_DMA_CHANNEL

Definition at line 374 of file board.h.

◆ DSHOT_CONF_TIM2

#define DSHOT_CONF_TIM2   1

Definition at line 336 of file board.h.

◆ DSHOT_CONF_TIM3

#define DSHOT_CONF_TIM3   1

Definition at line 373 of file board.h.

◆ DSHOT_SERVO_0

#define DSHOT_SERVO_0   0

Definition at line 346 of file board.h.

◆ DSHOT_SERVO_0_AF

#define DSHOT_SERVO_0_AF   GPIO_AF2

Definition at line 349 of file board.h.

◆ DSHOT_SERVO_0_CHANNEL

#define DSHOT_SERVO_0_CHANNEL   2

Definition at line 351 of file board.h.

◆ DSHOT_SERVO_0_DRIVER

#define DSHOT_SERVO_0_DRIVER   DSHOTD3

Definition at line 350 of file board.h.

◆ DSHOT_SERVO_0_GPIO

#define DSHOT_SERVO_0_GPIO   GPIOB

Definition at line 347 of file board.h.

◆ DSHOT_SERVO_0_PIN

#define DSHOT_SERVO_0_PIN   GPIO0

Definition at line 348 of file board.h.

◆ DSHOT_SERVO_1

#define DSHOT_SERVO_1   1

Definition at line 318 of file board.h.

◆ DSHOT_SERVO_1_AF

#define DSHOT_SERVO_1_AF   GPIO_AF1

Definition at line 321 of file board.h.

◆ DSHOT_SERVO_1_CHANNEL

#define DSHOT_SERVO_1_CHANNEL   2

Definition at line 323 of file board.h.

◆ DSHOT_SERVO_1_DRIVER

#define DSHOT_SERVO_1_DRIVER   DSHOTD2

Definition at line 322 of file board.h.

◆ DSHOT_SERVO_1_GPIO

#define DSHOT_SERVO_1_GPIO   GPIOA

Definition at line 319 of file board.h.

◆ DSHOT_SERVO_1_PIN

#define DSHOT_SERVO_1_PIN   GPIO2

Definition at line 320 of file board.h.

◆ DSHOT_SERVO_2

#define DSHOT_SERVO_2   2

Definition at line 352 of file board.h.

◆ DSHOT_SERVO_2_AF

#define DSHOT_SERVO_2_AF   GPIO_AF2

Definition at line 355 of file board.h.

◆ DSHOT_SERVO_2_CHANNEL

#define DSHOT_SERVO_2_CHANNEL   1

Definition at line 357 of file board.h.

◆ DSHOT_SERVO_2_DRIVER

#define DSHOT_SERVO_2_DRIVER   DSHOTD3

Definition at line 356 of file board.h.

◆ DSHOT_SERVO_2_GPIO

#define DSHOT_SERVO_2_GPIO   GPIOB

Definition at line 353 of file board.h.

◆ DSHOT_SERVO_2_PIN

#define DSHOT_SERVO_2_PIN   GPIO5

Definition at line 354 of file board.h.

◆ DSHOT_SERVO_3

#define DSHOT_SERVO_3   3

Definition at line 358 of file board.h.

◆ DSHOT_SERVO_3_AF

#define DSHOT_SERVO_3_AF   GPIO_AF2

Definition at line 361 of file board.h.

◆ DSHOT_SERVO_3_CHANNEL

#define DSHOT_SERVO_3_CHANNEL   0

Definition at line 363 of file board.h.

◆ DSHOT_SERVO_3_DRIVER

#define DSHOT_SERVO_3_DRIVER   DSHOTD3

Definition at line 362 of file board.h.

◆ DSHOT_SERVO_3_GPIO

#define DSHOT_SERVO_3_GPIO   GPIOB

Definition at line 359 of file board.h.

◆ DSHOT_SERVO_3_PIN

#define DSHOT_SERVO_3_PIN   GPIO4

Definition at line 360 of file board.h.

◆ DSHOT_SERVO_4

#define DSHOT_SERVO_4   4

Definition at line 324 of file board.h.

◆ DSHOT_SERVO_4_AF

#define DSHOT_SERVO_4_AF   GPIO_AF1

Definition at line 327 of file board.h.

◆ DSHOT_SERVO_4_CHANNEL

#define DSHOT_SERVO_4_CHANNEL   1

Definition at line 329 of file board.h.

◆ DSHOT_SERVO_4_DRIVER

#define DSHOT_SERVO_4_DRIVER   DSHOTD2

Definition at line 328 of file board.h.

◆ DSHOT_SERVO_4_GPIO

#define DSHOT_SERVO_4_GPIO   GPIOB

Definition at line 325 of file board.h.

◆ DSHOT_SERVO_4_PIN

#define DSHOT_SERVO_4_PIN   GPIO3

Definition at line 326 of file board.h.

◆ DSHOT_SERVO_5

#define DSHOT_SERVO_5   5

Definition at line 330 of file board.h.

◆ DSHOT_SERVO_5_AF

#define DSHOT_SERVO_5_AF   GPIO_AF1

Definition at line 333 of file board.h.

◆ DSHOT_SERVO_5_CHANNEL

#define DSHOT_SERVO_5_CHANNEL   0

Definition at line 335 of file board.h.

◆ DSHOT_SERVO_5_DRIVER

#define DSHOT_SERVO_5_DRIVER   DSHOTD2

Definition at line 334 of file board.h.

◆ DSHOT_SERVO_5_GPIO

#define DSHOT_SERVO_5_GPIO   GPIOA

Definition at line 331 of file board.h.

◆ DSHOT_SERVO_5_PIN

#define DSHOT_SERVO_5_PIN   GPIO15

Definition at line 332 of file board.h.

◆ DSHOT_TELEMETRY_DEV

#define DSHOT_TELEMETRY_DEV   NULL

DSHOT.

Definition at line 309 of file board.h.

◆ ENERGY_SAVE_INPUT

#define ENERGY_SAVE_INPUT
Value:
LINE_SERVO5, \
LINE_SERVO0, \
LINE_SERVO6, \
LINE_SERVO4, \
LINE_SERVO3, \
LINE_SERVO2, \
LINE_SPI1_CS, \
LINE_AUX4, \
LINE_LED1, \
LINE_LED3, \
LINE_LED4, \
LINE_AUX3, \
LINE_AUX2, \
LINE_LED2
#define LINE_SERVO1
Definition: board.h:751

Definition at line 2078 of file board.h.

◆ ENERGY_SAVE_INPUT_SIZE

#define ENERGY_SAVE_INPUT_SIZE   15

Definition at line 2094 of file board.h.

◆ I2C1_CFG_DEF

#define I2C1_CFG_DEF
Value:
{ \
OPMODE_I2C, \
I2C1_CLOCK_SPEED, \
I2C1_DUTY_CYCLE, \
}

Definition at line 447 of file board.h.

◆ I2C1_CLOCK_SPEED

#define I2C1_CLOCK_SPEED   400000

I2C defines.

Definition at line 438 of file board.h.

◆ I2C1_DUTY_CYCLE

#define I2C1_DUTY_CYCLE   FAST_DUTY_CYCLE_2

Definition at line 441 of file board.h.

◆ I2C1_SCL

#define I2C1_SCL   8U

Definition at line 584 of file board.h.

◆ I2C1_SDA

#define I2C1_SDA   7U

Definition at line 583 of file board.h.

◆ I2C2_CFG_DEF

#define I2C2_CFG_DEF
Value:
{ \
OPMODE_I2C, \
I2C2_CLOCK_SPEED, \
I2C2_DUTY_CYCLE, \
}

Definition at line 463 of file board.h.

◆ I2C2_CLOCK_SPEED

#define I2C2_CLOCK_SPEED   400000

Definition at line 454 of file board.h.

◆ I2C2_DUTY_CYCLE

#define I2C2_DUTY_CYCLE   FAST_DUTY_CYCLE_2

Definition at line 457 of file board.h.

◆ I2C2_SCL

#define I2C2_SCL   10U

Definition at line 586 of file board.h.

◆ I2C2_SDA

#define I2C2_SDA   11U

Definition at line 587 of file board.h.

◆ LED1

#define LED1   0U

Definition at line 593 of file board.h.

◆ LED2

#define LED2   13U

Definition at line 606 of file board.h.

◆ LED3

#define LED3   1U

Definition at line 594 of file board.h.

◆ LED4

#define LED4   3U

Definition at line 596 of file board.h.

◆ LED_1_GPIO

#define LED_1_GPIO   GPIOC

Definition at line 82 of file board.h.

◆ LED_1_GPIO_OFF

#define LED_1_GPIO_OFF   gpio_set

Definition at line 85 of file board.h.

◆ LED_1_GPIO_ON

#define LED_1_GPIO_ON   gpio_clear

Definition at line 84 of file board.h.

◆ LED_1_GPIO_PIN

#define LED_1_GPIO_PIN   GPIO0

Definition at line 83 of file board.h.

◆ LED_2_GPIO

#define LED_2_GPIO   GPIOC

Definition at line 91 of file board.h.

◆ LED_2_GPIO_OFF

#define LED_2_GPIO_OFF   gpio_set

Definition at line 94 of file board.h.

◆ LED_2_GPIO_ON

#define LED_2_GPIO_ON   gpio_clear

Definition at line 93 of file board.h.

◆ LED_2_GPIO_PIN

#define LED_2_GPIO_PIN   GPIO13

Definition at line 92 of file board.h.

◆ LED_3_GPIO

#define LED_3_GPIO   GPIOC

Definition at line 100 of file board.h.

◆ LED_3_GPIO_OFF

#define LED_3_GPIO_OFF   gpio_set

Definition at line 103 of file board.h.

◆ LED_3_GPIO_ON

#define LED_3_GPIO_ON   gpio_clear

Definition at line 102 of file board.h.

◆ LED_3_GPIO_PIN

#define LED_3_GPIO_PIN   GPIO1

Definition at line 101 of file board.h.

◆ LED_4_GPIO

#define LED_4_GPIO   GPIOC

Definition at line 109 of file board.h.

◆ LED_4_GPIO_OFF

#define LED_4_GPIO_OFF   gpio_set

Definition at line 112 of file board.h.

◆ LED_4_GPIO_ON

#define LED_4_GPIO_ON   gpio_clear

Definition at line 111 of file board.h.

◆ LED_4_GPIO_PIN

#define LED_4_GPIO_PIN   GPIO3

Definition at line 110 of file board.h.

◆ LED_5_GPIO

#define LED_5_GPIO   GPIOB

Definition at line 118 of file board.h.

◆ LED_5_GPIO_OFF

#define LED_5_GPIO_OFF   gpio_clear

Definition at line 121 of file board.h.

◆ LED_5_GPIO_ON

#define LED_5_GPIO_ON   gpio_set

Definition at line 120 of file board.h.

◆ LED_5_GPIO_PIN

#define LED_5_GPIO_PIN   GPIO1

Definition at line 119 of file board.h.

◆ LED_6_GPIO

#define LED_6_GPIO   GPIOC

Definition at line 127 of file board.h.

◆ LED_6_GPIO_OFF

#define LED_6_GPIO_OFF   gpio_clear

Definition at line 130 of file board.h.

◆ LED_6_GPIO_ON

#define LED_6_GPIO_ON   gpio_set

Definition at line 129 of file board.h.

◆ LED_6_GPIO_PIN

#define LED_6_GPIO_PIN   GPIO5

Definition at line 128 of file board.h.

◆ LED_7_GPIO

#define LED_7_GPIO   GPIOC

Definition at line 136 of file board.h.

◆ LED_7_GPIO_OFF

#define LED_7_GPIO_OFF   gpio_clear

Definition at line 139 of file board.h.

◆ LED_7_GPIO_ON

#define LED_7_GPIO_ON   gpio_set

Definition at line 138 of file board.h.

◆ LED_7_GPIO_PIN

#define LED_7_GPIO_PIN   GPIO4

Definition at line 137 of file board.h.

◆ LED_8_GPIO

#define LED_8_GPIO   GPIOB

Definition at line 145 of file board.h.

◆ LED_8_GPIO_OFF

#define LED_8_GPIO_OFF   gpio_clear

Definition at line 148 of file board.h.

◆ LED_8_GPIO_ON

#define LED_8_GPIO_ON   gpio_set

Definition at line 147 of file board.h.

◆ LED_8_GPIO_PIN

#define LED_8_GPIO_PIN   GPIO15

Definition at line 146 of file board.h.

◆ LINE_ADC1_IN4

#define LINE_ADC1_IN4   PAL_LINE(GPIOA, 4U)

Definition at line 753 of file board.h.

◆ LINE_AUX2

#define LINE_AUX2   PAL_LINE(GPIOC, 5U)

Definition at line 787 of file board.h.

◆ LINE_AUX3

#define LINE_AUX3   PAL_LINE(GPIOC, 4U)

Definition at line 786 of file board.h.

◆ LINE_AUX4

#define LINE_AUX4   PAL_LINE(GPIOB, 15U)

Definition at line 781 of file board.h.

◆ LINE_BOOT1

#define LINE_BOOT1   PAL_LINE(GPIOB, 2U)

Definition at line 768 of file board.h.

◆ LINE_CU1_CH1

#define LINE_CU1_CH1   PAL_LINE(GPIOA, 8U)

Definition at line 757 of file board.h.

◆ LINE_I2C1_SCL

#define LINE_I2C1_SCL   PAL_LINE(GPIOB, 8U)

Definition at line 774 of file board.h.

◆ LINE_I2C1_SDA

#define LINE_I2C1_SDA   PAL_LINE(GPIOB, 7U)

Definition at line 773 of file board.h.

◆ LINE_I2C2_SCL

#define LINE_I2C2_SCL   PAL_LINE(GPIOB, 10U)

Definition at line 776 of file board.h.

◆ LINE_I2C2_SDA

#define LINE_I2C2_SDA   PAL_LINE(GPIOB, 11U)

Definition at line 777 of file board.h.

◆ LINE_LED1

#define LINE_LED1   PAL_LINE(GPIOC, 0U)

Definition at line 783 of file board.h.

◆ LINE_LED2

#define LINE_LED2   PAL_LINE(GPIOC, 13U)

Definition at line 795 of file board.h.

◆ LINE_LED3

#define LINE_LED3   PAL_LINE(GPIOC, 1U)

Definition at line 784 of file board.h.

◆ LINE_LED4

#define LINE_LED4   PAL_LINE(GPIOC, 3U)

Definition at line 785 of file board.h.

◆ LINE_OSC32_IN

#define LINE_OSC32_IN   PAL_LINE(GPIOC, 14U)

Definition at line 796 of file board.h.

◆ LINE_OSC32_OUT

#define LINE_OSC32_OUT   PAL_LINE(GPIOC, 15U)

Definition at line 797 of file board.h.

◆ LINE_OSC_IN

#define LINE_OSC_IN   PAL_LINE(GPIOH, 0U)

Definition at line 801 of file board.h.

◆ LINE_OSC_OUT

#define LINE_OSC_OUT   PAL_LINE(GPIOH, 1U)

Definition at line 802 of file board.h.

◆ LINE_OTG_FS_DM

#define LINE_OTG_FS_DM   PAL_LINE(GPIOA, 11U)

Definition at line 760 of file board.h.

◆ LINE_OTG_FS_DP

#define LINE_OTG_FS_DP   PAL_LINE(GPIOA, 12U)

Definition at line 761 of file board.h.

◆ LINE_OTG_FS_VBUS

#define LINE_OTG_FS_VBUS   PAL_LINE(GPIOA, 9U)

Definition at line 758 of file board.h.

◆ LINE_POWER_SWITCH

#define LINE_POWER_SWITCH   PAL_LINE(GPIOB, 12U)

Definition at line 778 of file board.h.

◆ LINE_RX2_POL

#define LINE_RX2_POL   PAL_LINE(GPIOB, 13U)

Definition at line 779 of file board.h.

◆ LINE_SDIO_CK

#define LINE_SDIO_CK   PAL_LINE(GPIOC, 12U)

Definition at line 794 of file board.h.

◆ LINE_SDIO_CMD

#define LINE_SDIO_CMD   PAL_LINE(GPIOD, 2U)

Definition at line 799 of file board.h.

◆ LINE_SDIO_D0

#define LINE_SDIO_D0   PAL_LINE(GPIOC, 8U)

Definition at line 790 of file board.h.

◆ LINE_SDIO_D1

#define LINE_SDIO_D1   PAL_LINE(GPIOC, 9U)

Definition at line 791 of file board.h.

◆ LINE_SDIO_D2

#define LINE_SDIO_D2   PAL_LINE(GPIOC, 10U)

Definition at line 792 of file board.h.

◆ LINE_SDIO_D3

#define LINE_SDIO_D3   PAL_LINE(GPIOC, 11U)

Definition at line 793 of file board.h.

◆ LINE_SDIO_DETECT

#define LINE_SDIO_DETECT   PAL_LINE(GPIOB, 14U)

Definition at line 780 of file board.h.

◆ LINE_SERVO0

#define LINE_SERVO0   PAL_LINE(GPIOB, 0U)

Definition at line 766 of file board.h.

◆ LINE_SERVO1

#define LINE_SERVO1   PAL_LINE(GPIOA, 2U)

Definition at line 751 of file board.h.

◆ LINE_SERVO2

#define LINE_SERVO2   PAL_LINE(GPIOB, 5U)

Definition at line 771 of file board.h.

◆ LINE_SERVO3

#define LINE_SERVO3   PAL_LINE(GPIOB, 4U)

Definition at line 770 of file board.h.

◆ LINE_SERVO4

#define LINE_SERVO4   PAL_LINE(GPIOB, 3U)

Definition at line 769 of file board.h.

◆ LINE_SERVO5

#define LINE_SERVO5   PAL_LINE(GPIOA, 15U)

Definition at line 764 of file board.h.

◆ LINE_SERVO6

#define LINE_SERVO6   PAL_LINE(GPIOB, 1U)

Definition at line 767 of file board.h.

◆ LINE_SPI1_CS

#define LINE_SPI1_CS   PAL_LINE(GPIOB, 9U)

Definition at line 775 of file board.h.

◆ LINE_SPI1_MISO

#define LINE_SPI1_MISO   PAL_LINE(GPIOA, 6U)

Definition at line 755 of file board.h.

◆ LINE_SPI1_MOSI

#define LINE_SPI1_MOSI   PAL_LINE(GPIOA, 7U)

Definition at line 756 of file board.h.

◆ LINE_SPI1_SCK

#define LINE_SPI1_SCK   PAL_LINE(GPIOA, 5U)

Definition at line 754 of file board.h.

◆ LINE_SWCLK

#define LINE_SWCLK   PAL_LINE(GPIOA, 14U)

Definition at line 763 of file board.h.

◆ LINE_SWDIO

#define LINE_SWDIO   PAL_LINE(GPIOA, 13U)

Definition at line 762 of file board.h.

◆ LINE_UART2_RX

#define LINE_UART2_RX   PAL_LINE(GPIOA, 3U)

Definition at line 752 of file board.h.

◆ LINE_UART4_RX

#define LINE_UART4_RX   PAL_LINE(GPIOA, 1U)

Definition at line 750 of file board.h.

◆ LINE_UART4_TX

#define LINE_UART4_TX   PAL_LINE(GPIOA, 0U)

Definition at line 749 of file board.h.

◆ LINE_USART1_RX

#define LINE_USART1_RX   PAL_LINE(GPIOA, 10U)

Definition at line 759 of file board.h.

◆ LINE_USART1_TX

#define LINE_USART1_TX   PAL_LINE(GPIOB, 6U)

Definition at line 772 of file board.h.

◆ LINE_USART6_RX

#define LINE_USART6_RX   PAL_LINE(GPIOC, 7U)

Definition at line 789 of file board.h.

◆ LINE_USART6_TX

#define LINE_USART6_TX   PAL_LINE(GPIOC, 6U)

Definition at line 788 of file board.h.

◆ OSC32_IN

#define OSC32_IN   14U

Definition at line 607 of file board.h.

◆ OSC32_OUT

#define OSC32_OUT   15U

Definition at line 608 of file board.h.

◆ OSC_IN

#define OSC_IN   0U

Definition at line 678 of file board.h.

◆ OSC_OUT

#define OSC_OUT   1U

Definition at line 679 of file board.h.

◆ OTG_FS_DM

#define OTG_FS_DM   11U

Definition at line 570 of file board.h.

◆ OTG_FS_DP

#define OTG_FS_DP   12U

Definition at line 571 of file board.h.

◆ OTG_FS_VBUS

#define OTG_FS_VBUS   9U

Definition at line 568 of file board.h.

◆ PC02

#define PC02   2U

Definition at line 595 of file board.h.

◆ PD00

#define PD00   0U

Definition at line 610 of file board.h.

◆ PD01

#define PD01   1U

Definition at line 611 of file board.h.

◆ PD03

#define PD03   3U

Definition at line 613 of file board.h.

◆ PD04

#define PD04   4U

Definition at line 614 of file board.h.

◆ PD05

#define PD05   5U

Definition at line 615 of file board.h.

◆ PD06

#define PD06   6U

Definition at line 616 of file board.h.

◆ PD07

#define PD07   7U

Definition at line 617 of file board.h.

◆ PD08

#define PD08   8U

Definition at line 618 of file board.h.

◆ PD09

#define PD09   9U

Definition at line 619 of file board.h.

◆ PD10

#define PD10   10U

Definition at line 620 of file board.h.

◆ PD11

#define PD11   11U

Definition at line 621 of file board.h.

◆ PD12

#define PD12   12U

Definition at line 622 of file board.h.

◆ PD13

#define PD13   13U

Definition at line 623 of file board.h.

◆ PD14

#define PD14   14U

Definition at line 624 of file board.h.

◆ PD15

#define PD15   15U

Definition at line 625 of file board.h.

◆ PE00

#define PE00   0U

Definition at line 627 of file board.h.

◆ PE01

#define PE01   1U

Definition at line 628 of file board.h.

◆ PE02

#define PE02   2U

Definition at line 629 of file board.h.

◆ PE03

#define PE03   3U

Definition at line 630 of file board.h.

◆ PE04

#define PE04   4U

Definition at line 631 of file board.h.

◆ PE05

#define PE05   5U

Definition at line 632 of file board.h.

◆ PE06

#define PE06   6U

Definition at line 633 of file board.h.

◆ PE07

#define PE07   7U

Definition at line 634 of file board.h.

◆ PE08

#define PE08   8U

Definition at line 635 of file board.h.

◆ PE09

#define PE09   9U

Definition at line 636 of file board.h.

◆ PE10

#define PE10   10U

Definition at line 637 of file board.h.

◆ PE11

#define PE11   11U

Definition at line 638 of file board.h.

◆ PE12

#define PE12   12U

Definition at line 639 of file board.h.

◆ PE13

#define PE13   13U

Definition at line 640 of file board.h.

◆ PE14

#define PE14   14U

Definition at line 641 of file board.h.

◆ PE15

#define PE15   15U

Definition at line 642 of file board.h.

◆ PF00

#define PF00   0U

Definition at line 644 of file board.h.

◆ PF01

#define PF01   1U

Definition at line 645 of file board.h.

◆ PF02

#define PF02   2U

Definition at line 646 of file board.h.

◆ PF03

#define PF03   3U

Definition at line 647 of file board.h.

◆ PF04

#define PF04   4U

Definition at line 648 of file board.h.

◆ PF05

#define PF05   5U

Definition at line 649 of file board.h.

◆ PF06

#define PF06   6U

Definition at line 650 of file board.h.

◆ PF07

#define PF07   7U

Definition at line 651 of file board.h.

◆ PF08

#define PF08   8U

Definition at line 652 of file board.h.

◆ PF09

#define PF09   9U

Definition at line 653 of file board.h.

◆ PF10

#define PF10   10U

Definition at line 654 of file board.h.

◆ PF11

#define PF11   11U

Definition at line 655 of file board.h.

◆ PF12

#define PF12   12U

Definition at line 656 of file board.h.

◆ PF13

#define PF13   13U

Definition at line 657 of file board.h.

◆ PF14

#define PF14   14U

Definition at line 658 of file board.h.

◆ PF15

#define PF15   15U

Definition at line 659 of file board.h.

◆ PG00

#define PG00   0U

Definition at line 661 of file board.h.

◆ PG01

#define PG01   1U

Definition at line 662 of file board.h.

◆ PG02

#define PG02   2U

Definition at line 663 of file board.h.

◆ PG03

#define PG03   3U

Definition at line 664 of file board.h.

◆ PG04

#define PG04   4U

Definition at line 665 of file board.h.

◆ PG05

#define PG05   5U

Definition at line 666 of file board.h.

◆ PG06

#define PG06   6U

Definition at line 667 of file board.h.

◆ PG07

#define PG07   7U

Definition at line 668 of file board.h.

◆ PG08

#define PG08   8U

Definition at line 669 of file board.h.

◆ PG09

#define PG09   9U

Definition at line 670 of file board.h.

◆ PG10

#define PG10   10U

Definition at line 671 of file board.h.

◆ PG11

#define PG11   11U

Definition at line 672 of file board.h.

◆ PG12

#define PG12   12U

Definition at line 673 of file board.h.

◆ PG13

#define PG13   13U

Definition at line 674 of file board.h.

◆ PG14

#define PG14   14U

Definition at line 675 of file board.h.

◆ PG15

#define PG15   15U

Definition at line 676 of file board.h.

◆ PH02

#define PH02   2U

Definition at line 680 of file board.h.

◆ PH03

#define PH03   3U

Definition at line 681 of file board.h.

◆ PH04

#define PH04   4U

Definition at line 682 of file board.h.

◆ PH05

#define PH05   5U

Definition at line 683 of file board.h.

◆ PH06

#define PH06   6U

Definition at line 684 of file board.h.

◆ PH07

#define PH07   7U

Definition at line 685 of file board.h.

◆ PH08

#define PH08   8U

Definition at line 686 of file board.h.

◆ PH09

#define PH09   9U

Definition at line 687 of file board.h.

◆ PH10

#define PH10   10U

Definition at line 688 of file board.h.

◆ PH11

#define PH11   11U

Definition at line 689 of file board.h.

◆ PH12

#define PH12   12U

Definition at line 690 of file board.h.

◆ PH13

#define PH13   13U

Definition at line 691 of file board.h.

◆ PH14

#define PH14   14U

Definition at line 692 of file board.h.

◆ PH15

#define PH15   15U

Definition at line 693 of file board.h.

◆ PI00

#define PI00   0U

Definition at line 695 of file board.h.

◆ PI01

#define PI01   1U

Definition at line 696 of file board.h.

◆ PI02

#define PI02   2U

Definition at line 697 of file board.h.

◆ PI03

#define PI03   3U

Definition at line 698 of file board.h.

◆ PI04

#define PI04   4U

Definition at line 699 of file board.h.

◆ PI05

#define PI05   5U

Definition at line 700 of file board.h.

◆ PI06

#define PI06   6U

Definition at line 701 of file board.h.

◆ PI07

#define PI07   7U

Definition at line 702 of file board.h.

◆ PI08

#define PI08   8U

Definition at line 703 of file board.h.

◆ PI09

#define PI09   9U

Definition at line 704 of file board.h.

◆ PI10

#define PI10   10U

Definition at line 705 of file board.h.

◆ PI11

#define PI11   11U

Definition at line 706 of file board.h.

◆ PI12

#define PI12   12U

Definition at line 707 of file board.h.

◆ PI13

#define PI13   13U

Definition at line 708 of file board.h.

◆ PI14

#define PI14   14U

Definition at line 709 of file board.h.

◆ PI15

#define PI15   15U

Definition at line 710 of file board.h.

◆ PIN_AFIO_AF

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

Definition at line 825 of file board.h.

◆ PIN_MODE_ALTERNATE

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

Definition at line 812 of file board.h.

◆ PIN_MODE_ANALOG

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

Definition at line 813 of file board.h.

◆ PIN_MODE_INPUT

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

Definition at line 810 of file board.h.

◆ PIN_MODE_OUTPUT

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

Definition at line 811 of file board.h.

◆ PIN_ODR_LEVEL_HIGH

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

Definition at line 815 of file board.h.

◆ PIN_ODR_LEVEL_LOW

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

Definition at line 814 of file board.h.

◆ PIN_OSPEED_SPEED_HIGH

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

Definition at line 821 of file board.h.

◆ PIN_OSPEED_SPEED_LOW

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

Definition at line 819 of file board.h.

◆ PIN_OSPEED_SPEED_MEDIUM

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

Definition at line 820 of file board.h.

◆ PIN_OSPEED_SPEED_VERYLOW

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

Definition at line 818 of file board.h.

◆ PIN_OTYPE_OPENDRAIN

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

Definition at line 817 of file board.h.

◆ PIN_OTYPE_PUSHPULL

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

Definition at line 816 of file board.h.

◆ PIN_PUPDR_FLOATING

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

Definition at line 822 of file board.h.

◆ PIN_PUPDR_PULLDOWN

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

Definition at line 824 of file board.h.

◆ PIN_PUPDR_PULLUP

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

Definition at line 823 of file board.h.

◆ PJ00

#define PJ00   0U

Definition at line 712 of file board.h.

◆ PJ01

#define PJ01   1U

Definition at line 713 of file board.h.

◆ PJ02

#define PJ02   2U

Definition at line 714 of file board.h.

◆ PJ03

#define PJ03   3U

Definition at line 715 of file board.h.

◆ PJ04

#define PJ04   4U

Definition at line 716 of file board.h.

◆ PJ05

#define PJ05   5U

Definition at line 717 of file board.h.

◆ PJ06

#define PJ06   6U

Definition at line 718 of file board.h.

◆ PJ07

#define PJ07   7U

Definition at line 719 of file board.h.

◆ PJ08

#define PJ08   8U

Definition at line 720 of file board.h.

◆ PJ09

#define PJ09   9U

Definition at line 721 of file board.h.

◆ PJ10

#define PJ10   10U

Definition at line 722 of file board.h.

◆ PJ11

#define PJ11   11U

Definition at line 723 of file board.h.

◆ PJ12

#define PJ12   12U

Definition at line 724 of file board.h.

◆ PJ13

#define PJ13   13U

Definition at line 725 of file board.h.

◆ PJ14

#define PJ14   14U

Definition at line 726 of file board.h.

◆ PJ15

#define PJ15   15U

Definition at line 727 of file board.h.

◆ PK00

#define PK00   0U

Definition at line 729 of file board.h.

◆ PK01

#define PK01   1U

Definition at line 730 of file board.h.

◆ PK02

#define PK02   2U

Definition at line 731 of file board.h.

◆ PK03

#define PK03   3U

Definition at line 732 of file board.h.

◆ PK04

#define PK04   4U

Definition at line 733 of file board.h.

◆ PK05

#define PK05   5U

Definition at line 734 of file board.h.

◆ PK06

#define PK06   6U

Definition at line 735 of file board.h.

◆ PK07

#define PK07   7U

Definition at line 736 of file board.h.

◆ PK08

#define PK08   8U

Definition at line 737 of file board.h.

◆ PK09

#define PK09   9U

Definition at line 738 of file board.h.

◆ PK10

#define PK10   10U

Definition at line 739 of file board.h.

◆ PK11

#define PK11   11U

Definition at line 740 of file board.h.

◆ PK12

#define PK12   12U

Definition at line 741 of file board.h.

◆ PK13

#define PK13   13U

Definition at line 742 of file board.h.

◆ PK14

#define PK14   14U

Definition at line 743 of file board.h.

◆ PK15

#define PK15   15U

Definition at line 744 of file board.h.

◆ POWER_SWITCH

#define POWER_SWITCH   12U

Definition at line 588 of file board.h.

◆ POWER_SWITCH_GPIO

#define POWER_SWITCH_GPIO   GPIOB,GPIO12

Definition at line 151 of file board.h.

◆ PPM_CHANNEL

#define PPM_CHANNEL   ICU_CHANNEL_1

Definition at line 388 of file board.h.

◆ PPM_TIMER

#define PPM_TIMER   ICUD1

Definition at line 389 of file board.h.

◆ PPM_TIMER_FREQUENCY

#define PPM_TIMER_FREQUENCY   2000000

Definition at line 387 of file board.h.

◆ PWM_INPUT1_CHANNEL

#define PWM_INPUT1_CHANNEL   ICU_CHANNEL_1

Definition at line 418 of file board.h.

◆ PWM_INPUT1_GPIO_AF

#define PWM_INPUT1_GPIO_AF   GPIO_AF1

Definition at line 422 of file board.h.

◆ PWM_INPUT1_GPIO_PIN

#define PWM_INPUT1_GPIO_PIN   GPIO8

Definition at line 421 of file board.h.

◆ PWM_INPUT1_GPIO_PORT

#define PWM_INPUT1_GPIO_PORT   GPIOA

Definition at line 420 of file board.h.

◆ PWM_INPUT1_ICU

#define PWM_INPUT1_ICU   ICUD1

Definition at line 417 of file board.h.

◆ PWM_INPUT2_CHANNEL

#define PWM_INPUT2_CHANNEL   ICU_CHANNEL_4

Definition at line 429 of file board.h.

◆ PWM_INPUT2_GPIO_AF

#define PWM_INPUT2_GPIO_AF   GPIO_AF2

Definition at line 432 of file board.h.

◆ PWM_INPUT2_GPIO_PIN

#define PWM_INPUT2_GPIO_PIN   GPIO2

Definition at line 431 of file board.h.

◆ PWM_INPUT2_GPIO_PORT

#define PWM_INPUT2_GPIO_PORT   GPIOA

Definition at line 430 of file board.h.

◆ PWM_INPUT2_ICU

#define PWM_INPUT2_ICU   ICUD5

Definition at line 428 of file board.h.

◆ PWM_SERVO_0

#define PWM_SERVO_0   0

Definition at line 221 of file board.h.

◆ PWM_SERVO_0_AF

#define PWM_SERVO_0_AF   AF_LINE_SERVO0

Definition at line 224 of file board.h.

◆ PWM_SERVO_0_CHANNEL

#define PWM_SERVO_0_CHANNEL   (SERVO0_TIM_CH-1)

Definition at line 226 of file board.h.

◆ PWM_SERVO_0_CONF

#define PWM_SERVO_0_CONF   CONCAT_BOARD_PARAM(pwmcfg, SERVO0_TIM)

Definition at line 227 of file board.h.

◆ PWM_SERVO_0_DRIVER

#define PWM_SERVO_0_DRIVER   CONCAT_BOARD_PARAM(PWMD, SERVO0_TIM)

Definition at line 225 of file board.h.

◆ PWM_SERVO_0_GPIO

#define PWM_SERVO_0_GPIO   PAL_PORT(LINE_SERVO0)

Definition at line 222 of file board.h.

◆ PWM_SERVO_0_PIN

#define PWM_SERVO_0_PIN   PAL_PAD(LINE_SERVO0)

Definition at line 223 of file board.h.

◆ PWM_SERVO_1

#define PWM_SERVO_1   1

Definition at line 234 of file board.h.

◆ PWM_SERVO_1_AF

#define PWM_SERVO_1_AF   AF_LINE_SERVO1

Definition at line 237 of file board.h.

◆ PWM_SERVO_1_CHANNEL

#define PWM_SERVO_1_CHANNEL   (SERVO1_TIM_CH-1)

Definition at line 239 of file board.h.

◆ PWM_SERVO_1_CONF

#define PWM_SERVO_1_CONF   CONCAT_BOARD_PARAM(pwmcfg, SERVO1_TIM)

Definition at line 240 of file board.h.

◆ PWM_SERVO_1_DRIVER

#define PWM_SERVO_1_DRIVER   CONCAT_BOARD_PARAM(PWMD, SERVO1_TIM)

Definition at line 238 of file board.h.

◆ PWM_SERVO_1_GPIO

#define PWM_SERVO_1_GPIO   PAL_PORT(LINE_SERVO1)

Definition at line 235 of file board.h.

◆ PWM_SERVO_1_PIN

#define PWM_SERVO_1_PIN   PAL_PAD(LINE_SERVO1)

Definition at line 236 of file board.h.

◆ PWM_SERVO_2

#define PWM_SERVO_2   2

Definition at line 247 of file board.h.

◆ PWM_SERVO_2_AF

#define PWM_SERVO_2_AF   AF_LINE_SERVO2

Definition at line 250 of file board.h.

◆ PWM_SERVO_2_CHANNEL

#define PWM_SERVO_2_CHANNEL   (SERVO2_TIM_CH-1)

Definition at line 252 of file board.h.

◆ PWM_SERVO_2_CONF

#define PWM_SERVO_2_CONF   CONCAT_BOARD_PARAM(pwmcfg, SERVO2_TIM)

Definition at line 253 of file board.h.

◆ PWM_SERVO_2_DRIVER

#define PWM_SERVO_2_DRIVER   CONCAT_BOARD_PARAM(PWMD, SERVO2_TIM)

Definition at line 251 of file board.h.

◆ PWM_SERVO_2_GPIO

#define PWM_SERVO_2_GPIO   PAL_PORT(LINE_SERVO2)

Definition at line 248 of file board.h.

◆ PWM_SERVO_2_PIN

#define PWM_SERVO_2_PIN   PAL_PAD(LINE_SERVO2)

Definition at line 249 of file board.h.

◆ PWM_SERVO_3

#define PWM_SERVO_3   3

Definition at line 260 of file board.h.

◆ PWM_SERVO_3_AF

#define PWM_SERVO_3_AF   AF_LINE_SERVO3

Definition at line 263 of file board.h.

◆ PWM_SERVO_3_CHANNEL

#define PWM_SERVO_3_CHANNEL   (SERVO3_TIM_CH-1)

Definition at line 265 of file board.h.

◆ PWM_SERVO_3_CONF

#define PWM_SERVO_3_CONF   CONCAT_BOARD_PARAM(pwmcfg, SERVO3_TIM)

Definition at line 266 of file board.h.

◆ PWM_SERVO_3_DRIVER

#define PWM_SERVO_3_DRIVER   CONCAT_BOARD_PARAM(PWMD, SERVO3_TIM)

Definition at line 264 of file board.h.

◆ PWM_SERVO_3_GPIO

#define PWM_SERVO_3_GPIO   PAL_PORT(LINE_SERVO3)

Definition at line 261 of file board.h.

◆ PWM_SERVO_3_PIN

#define PWM_SERVO_3_PIN   PAL_PAD(LINE_SERVO3)

Definition at line 262 of file board.h.

◆ PWM_SERVO_4

#define PWM_SERVO_4   4

Definition at line 273 of file board.h.

◆ PWM_SERVO_4_AF

#define PWM_SERVO_4_AF   AF_LINE_SERVO4

Definition at line 276 of file board.h.

◆ PWM_SERVO_4_CHANNEL

#define PWM_SERVO_4_CHANNEL   (SERVO4_TIM_CH-1)

Definition at line 278 of file board.h.

◆ PWM_SERVO_4_CONF

#define PWM_SERVO_4_CONF   CONCAT_BOARD_PARAM(pwmcfg, SERVO4_TIM)

Definition at line 279 of file board.h.

◆ PWM_SERVO_4_DRIVER

#define PWM_SERVO_4_DRIVER   CONCAT_BOARD_PARAM(PWMD, SERVO4_TIM)

Definition at line 277 of file board.h.

◆ PWM_SERVO_4_GPIO

#define PWM_SERVO_4_GPIO   PAL_PORT(LINE_SERVO4)

Definition at line 274 of file board.h.

◆ PWM_SERVO_4_PIN

#define PWM_SERVO_4_PIN   PAL_PAD(LINE_SERVO4)

Definition at line 275 of file board.h.

◆ PWM_SERVO_5

#define PWM_SERVO_5   5

Definition at line 286 of file board.h.

◆ PWM_SERVO_5_AF

#define PWM_SERVO_5_AF   AF_LINE_SERVO5

Definition at line 289 of file board.h.

◆ PWM_SERVO_5_CHANNEL

#define PWM_SERVO_5_CHANNEL   (SERVO5_TIM_CH-1)

Definition at line 291 of file board.h.

◆ PWM_SERVO_5_CONF

#define PWM_SERVO_5_CONF   CONCAT_BOARD_PARAM(pwmcfg, SERVO5_TIM)

Definition at line 292 of file board.h.

◆ PWM_SERVO_5_DRIVER

#define PWM_SERVO_5_DRIVER   CONCAT_BOARD_PARAM(PWMD, SERVO5_TIM)

Definition at line 290 of file board.h.

◆ PWM_SERVO_5_GPIO

#define PWM_SERVO_5_GPIO   PAL_PORT(LINE_SERVO5)

Definition at line 287 of file board.h.

◆ PWM_SERVO_5_PIN

#define PWM_SERVO_5_PIN   PAL_PAD(LINE_SERVO5)

Definition at line 288 of file board.h.

◆ RC_POLARITY_GPIO_PIN

#define RC_POLARITY_GPIO_PIN   GPIO13

Definition at line 155 of file board.h.

◆ RC_POLARITY_GPIO_PORT

#define RC_POLARITY_GPIO_PORT   GPIOB

Definition at line 154 of file board.h.

◆ RC_PPM_TICKS_PER_USEC

#define RC_PPM_TICKS_PER_USEC   2

PPM radio defines.

Definition at line 386 of file board.h.

◆ RX2_POL

#define RX2_POL   13U

Definition at line 589 of file board.h.

◆ SDIO_AF

#define SDIO_AF   12

Definition at line 531 of file board.h.

◆ SDIO_CK

#define SDIO_CK   12U

Definition at line 605 of file board.h.

◆ SDIO_CK_PIN

#define SDIO_CK_PIN   SDIO_CK

Definition at line 528 of file board.h.

◆ SDIO_CK_PORT

#define SDIO_CK_PORT   GPIOC

Definition at line 527 of file board.h.

◆ SDIO_CMD

#define SDIO_CMD   2U

Definition at line 612 of file board.h.

◆ SDIO_CMD_PIN

#define SDIO_CMD_PIN   SDIO_CMD

Definition at line 530 of file board.h.

◆ SDIO_CMD_PORT

#define SDIO_CMD_PORT   GPIOD

Definition at line 529 of file board.h.

◆ SDIO_D0

#define SDIO_D0   8U

Definition at line 601 of file board.h.

◆ SDIO_D0_PIN

#define SDIO_D0_PIN   SDIO_D0

Definition at line 520 of file board.h.

◆ SDIO_D0_PORT

#define SDIO_D0_PORT   GPIOC

SDIO.

Definition at line 519 of file board.h.

◆ SDIO_D1

#define SDIO_D1   9U

Definition at line 602 of file board.h.

◆ SDIO_D1_PIN

#define SDIO_D1_PIN   SDIO_D1

Definition at line 522 of file board.h.

◆ SDIO_D1_PORT

#define SDIO_D1_PORT   GPIOC

Definition at line 521 of file board.h.

◆ SDIO_D2

#define SDIO_D2   10U

Definition at line 603 of file board.h.

◆ SDIO_D2_PIN

#define SDIO_D2_PIN   SDIO_D2

Definition at line 524 of file board.h.

◆ SDIO_D2_PORT

#define SDIO_D2_PORT   GPIOC

Definition at line 523 of file board.h.

◆ SDIO_D3

#define SDIO_D3   11U

Definition at line 604 of file board.h.

◆ SDIO_D3_PIN

#define SDIO_D3_PIN   SDIO_D3

Definition at line 526 of file board.h.

◆ SDIO_D3_PORT

#define SDIO_D3_PORT   GPIOC

Definition at line 525 of file board.h.

◆ SDIO_DETECT

#define SDIO_DETECT   14U

Definition at line 590 of file board.h.

◆ SDLOG_BAT_ADC

#define SDLOG_BAT_ADC   ADCD1

Definition at line 533 of file board.h.

◆ SDLOG_BAT_CHAN

#define SDLOG_BAT_CHAN   AD1_4_CHANNEL

Definition at line 534 of file board.h.

◆ SDLOG_USB_LED

#define SDLOG_USB_LED   4

Definition at line 536 of file board.h.

◆ SDLOG_USB_VBUS_PIN

#define SDLOG_USB_VBUS_PIN   GPIO9

Definition at line 538 of file board.h.

◆ SDLOG_USB_VBUS_PORT

#define SDLOG_USB_VBUS_PORT   GPIOA

Definition at line 537 of file board.h.

◆ SERVO0

#define SERVO0   0U

Definition at line 576 of file board.h.

◆ SERVO0_TIM

#define SERVO0_TIM   3

Definition at line 2042 of file board.h.

◆ SERVO0_TIM_AF

#define SERVO0_TIM_AF   2

Definition at line 2045 of file board.h.

◆ SERVO0_TIM_CH

#define SERVO0_TIM_CH   3

Definition at line 2044 of file board.h.

◆ SERVO0_TIM_FN

#define SERVO0_TIM_FN   CH

Definition at line 2043 of file board.h.

◆ SERVO1

#define SERVO1   2U

Definition at line 561 of file board.h.

◆ SERVO1_TIM

#define SERVO1_TIM   2

Definition at line 2034 of file board.h.

◆ SERVO1_TIM_AF

#define SERVO1_TIM_AF   1

Definition at line 2037 of file board.h.

◆ SERVO1_TIM_CH

#define SERVO1_TIM_CH   3

Definition at line 2036 of file board.h.

◆ SERVO1_TIM_FN

#define SERVO1_TIM_FN   CH

Definition at line 2035 of file board.h.

◆ SERVO2

#define SERVO2   5U

Definition at line 581 of file board.h.

◆ SERVO2_TIM

#define SERVO2_TIM   3

Definition at line 2058 of file board.h.

◆ SERVO2_TIM_AF

#define SERVO2_TIM_AF   2

Definition at line 2061 of file board.h.

◆ SERVO2_TIM_CH

#define SERVO2_TIM_CH   2

Definition at line 2060 of file board.h.

◆ SERVO2_TIM_FN

#define SERVO2_TIM_FN   CH

Definition at line 2059 of file board.h.

◆ SERVO3

#define SERVO3   4U

Definition at line 580 of file board.h.

◆ SERVO3_TIM

#define SERVO3_TIM   3

Definition at line 2054 of file board.h.

◆ SERVO3_TIM_AF

#define SERVO3_TIM_AF   2

Definition at line 2057 of file board.h.

◆ SERVO3_TIM_CH

#define SERVO3_TIM_CH   1

Definition at line 2056 of file board.h.

◆ SERVO3_TIM_FN

#define SERVO3_TIM_FN   CH

Definition at line 2055 of file board.h.

◆ SERVO4

#define SERVO4   3U

Definition at line 579 of file board.h.

◆ SERVO4_TIM

#define SERVO4_TIM   2

Definition at line 2050 of file board.h.

◆ SERVO4_TIM_AF

#define SERVO4_TIM_AF   1

Definition at line 2053 of file board.h.

◆ SERVO4_TIM_CH

#define SERVO4_TIM_CH   2

Definition at line 2052 of file board.h.

◆ SERVO4_TIM_FN

#define SERVO4_TIM_FN   CH

Definition at line 2051 of file board.h.

◆ SERVO5

#define SERVO5   15U

Definition at line 574 of file board.h.

◆ SERVO5_TIM

#define SERVO5_TIM   2

Definition at line 2038 of file board.h.

◆ SERVO5_TIM_AF

#define SERVO5_TIM_AF   1

Definition at line 2041 of file board.h.

◆ SERVO5_TIM_CH

#define SERVO5_TIM_CH   1

Definition at line 2040 of file board.h.

◆ SERVO5_TIM_FN

#define SERVO5_TIM_FN   CH

Definition at line 2039 of file board.h.

◆ SERVO6

#define SERVO6   1U

Definition at line 577 of file board.h.

◆ SERVO6_TIM

#define SERVO6_TIM   3

Definition at line 2046 of file board.h.

◆ SERVO6_TIM_AF

#define SERVO6_TIM_AF   2

Definition at line 2049 of file board.h.

◆ SERVO6_TIM_CH

#define SERVO6_TIM_CH   4

Definition at line 2048 of file board.h.

◆ SERVO6_TIM_FN

#define SERVO6_TIM_FN   CH

Definition at line 2047 of file board.h.

◆ SPEKTRUM_BIND_PIN

#define SPEKTRUM_BIND_PIN   GPIO15

Definition at line 401 of file board.h.

◆ SPEKTRUM_BIND_PIN_PORT

#define SPEKTRUM_BIND_PIN_PORT   GPIOB

Definition at line 402 of file board.h.

◆ SPEKTRUM_BIND_WAIT

#define SPEKTRUM_BIND_WAIT   30000

Definition at line 396 of file board.h.

◆ SPEKTRUM_PRIMARY_BIND_CONF_PIN

#define SPEKTRUM_PRIMARY_BIND_CONF_PIN   GPIO8

Definition at line 410 of file board.h.

◆ SPEKTRUM_PRIMARY_BIND_CONF_PORT

#define SPEKTRUM_PRIMARY_BIND_CONF_PORT   GPIOA

Definition at line 409 of file board.h.

◆ SPI1_CS

#define SPI1_CS   9U

Definition at line 585 of file board.h.

◆ SPI1_GPIO_AF

#define SPI1_GPIO_AF   GPIO_AF5

SPI Config.

Definition at line 472 of file board.h.

◆ SPI1_GPIO_MISO

#define SPI1_GPIO_MISO   GPIO6

Definition at line 474 of file board.h.

◆ SPI1_GPIO_MOSI

#define SPI1_GPIO_MOSI   GPIO7

Definition at line 476 of file board.h.

◆ SPI1_GPIO_PORT_MISO

#define SPI1_GPIO_PORT_MISO   GPIOA

Definition at line 473 of file board.h.

◆ SPI1_GPIO_PORT_MOSI

#define SPI1_GPIO_PORT_MOSI   GPIOA

Definition at line 475 of file board.h.

◆ SPI1_GPIO_PORT_SCK

#define SPI1_GPIO_PORT_SCK   GPIOA

Definition at line 477 of file board.h.

◆ SPI1_GPIO_SCK

#define SPI1_GPIO_SCK   GPIO5

Definition at line 478 of file board.h.

◆ SPI1_MISO

#define SPI1_MISO   6U

Definition at line 565 of file board.h.

◆ SPI1_MOSI

#define SPI1_MOSI   7U

Definition at line 566 of file board.h.

◆ SPI1_SCK

#define SPI1_SCK   5U

Definition at line 564 of file board.h.

◆ SPI_SELECT_SLAVE0_PIN

#define SPI_SELECT_SLAVE0_PIN   GPIO9

Definition at line 482 of file board.h.

◆ SPI_SELECT_SLAVE0_PORT

#define SPI_SELECT_SLAVE0_PORT   GPIOB

Definition at line 481 of file board.h.

◆ SPI_SELECT_SLAVE1_PIN

#define SPI_SELECT_SLAVE1_PIN   GPIO1

Definition at line 485 of file board.h.

◆ SPI_SELECT_SLAVE1_PORT

#define SPI_SELECT_SLAVE1_PORT   GPIOB

Definition at line 484 of file board.h.

◆ SPI_SELECT_SLAVE2_PIN

#define SPI_SELECT_SLAVE2_PIN   GPIO5

Definition at line 488 of file board.h.

◆ SPI_SELECT_SLAVE2_PORT

#define SPI_SELECT_SLAVE2_PORT   GPIOC

Definition at line 487 of file board.h.

◆ SPI_SELECT_SLAVE3_PIN

#define SPI_SELECT_SLAVE3_PIN   GPIO4

Definition at line 491 of file board.h.

◆ SPI_SELECT_SLAVE3_PORT

#define SPI_SELECT_SLAVE3_PORT   GPIOC

Definition at line 490 of file board.h.

◆ SPI_SELECT_SLAVE4_PIN

#define SPI_SELECT_SLAVE4_PIN   GPIO15

Definition at line 494 of file board.h.

◆ SPI_SELECT_SLAVE4_PORT

#define SPI_SELECT_SLAVE4_PORT   GPIOB

Definition at line 493 of file board.h.

◆ STM32_HSECLK

#define STM32_HSECLK   16000000

Definition at line 48 of file board.h.

◆ STM32_LSECLK

#define STM32_LSECLK   32768

Definition at line 44 of file board.h.

◆ STM32_VDD

#define STM32_VDD   300

Definition at line 56 of file board.h.

◆ STM32F407xx

#define STM32F407xx

Definition at line 61 of file board.h.

◆ SWCLK

#define SWCLK   14U

Definition at line 573 of file board.h.

◆ SWDIO

#define SWDIO   13U

Definition at line 572 of file board.h.

◆ UART2_RX

#define UART2_RX   3U

Definition at line 562 of file board.h.

◆ UART4_RX

#define UART4_RX   1U

Definition at line 560 of file board.h.

◆ UART4_TX

#define UART4_TX   0U

Definition at line 559 of file board.h.

◆ USART1_RX

#define USART1_RX   10U

Definition at line 569 of file board.h.

◆ USART1_TX

#define USART1_TX   6U

Definition at line 582 of file board.h.

◆ USART6_RX

#define USART6_RX   7U

Definition at line 600 of file board.h.

◆ USART6_TX

#define USART6_TX   6U

Definition at line 599 of file board.h.

◆ USE_ADC_4

#define USE_ADC_4   1

Definition at line 186 of file board.h.

◆ USE_BARO_BOARD

#define USE_BARO_BOARD   1

Baro.

Apparently needed for backwards compatibility with the ancient onboard baro boards

Definition at line 503 of file board.h.

◆ USE_DSHOT_TIM2

#define USE_DSHOT_TIM2   1

Definition at line 312 of file board.h.

◆ USE_DSHOT_TIM3

#define USE_DSHOT_TIM3   1

Definition at line 315 of file board.h.

◆ USE_LED_1

#define USE_LED_1   1

Definition at line 80 of file board.h.

◆ USE_LED_2

#define USE_LED_2   1

Definition at line 89 of file board.h.

◆ USE_LED_3

#define USE_LED_3   1

Definition at line 98 of file board.h.

◆ USE_LED_4

#define USE_LED_4   1

Definition at line 107 of file board.h.

◆ USE_LED_5

#define USE_LED_5   0

Definition at line 116 of file board.h.

◆ USE_LED_6

#define USE_LED_6   0

Definition at line 125 of file board.h.

◆ USE_LED_7

#define USE_LED_7   0

Definition at line 134 of file board.h.

◆ USE_LED_8

#define USE_LED_8   0

Definition at line 143 of file board.h.

◆ USE_PWM0

#define USE_PWM0   1

Definition at line 218 of file board.h.

◆ USE_PWM1

#define USE_PWM1   1

Definition at line 231 of file board.h.

◆ USE_PWM2

#define USE_PWM2   1

Definition at line 244 of file board.h.

◆ USE_PWM3

#define USE_PWM3   1

Definition at line 257 of file board.h.

◆ USE_PWM4

#define USE_PWM4   1

Definition at line 270 of file board.h.

◆ USE_PWM5

#define USE_PWM5   1

Definition at line 283 of file board.h.

◆ USE_PWM_TIM2

#define USE_PWM_TIM2   1

Definition at line 207 of file board.h.

◆ USE_PWM_TIM3

#define USE_PWM_TIM3   1

Definition at line 211 of file board.h.

◆ VAL_GPIOA_AFRH

#define VAL_GPIOA_AFRH
Value:
PIN_AFIO_AF(OTG_FS_VBUS, 0) | \
PIN_AFIO_AF(USART1_RX, 7) | \
PIN_AFIO_AF(OTG_FS_DM, 10) | \
PIN_AFIO_AF(OTG_FS_DP, 10) | \
PIN_AFIO_AF(SWDIO, 0) | \
PIN_AFIO_AF(SWCLK, 0) | \
PIN_AFIO_AF(SERVO5, 1))
#define OTG_FS_VBUS
Definition: board.h:568
#define SERVO5
Definition: board.h:574
#define PIN_AFIO_AF(n, v)
Definition: board.h:825
#define USART1_RX
Definition: board.h:569
#define SWCLK
Definition: board.h:573
#define OTG_FS_DP
Definition: board.h:571
#define CU1_CH1
Definition: board.h:567
#define OTG_FS_DM
Definition: board.h:570
#define SWDIO
Definition: board.h:572

Definition at line 921 of file board.h.

◆ VAL_GPIOA_AFRL

#define VAL_GPIOA_AFRL
Value:
PIN_AFIO_AF(UART4_RX, 8) | \
PIN_AFIO_AF(SERVO1, 1) | \
PIN_AFIO_AF(UART2_RX, 7) | \
PIN_AFIO_AF(ADC1_IN4, 0) | \
PIN_AFIO_AF(SPI1_SCK, 5) | \
PIN_AFIO_AF(SPI1_MISO, 5) | \
PIN_AFIO_AF(SPI1_MOSI, 5))
#define SPI1_MOSI
Definition: board.h:566
#define UART2_RX
Definition: board.h:562
#define SPI1_SCK
Definition: board.h:564
#define UART4_RX
Definition: board.h:560
#define SPI1_MISO
Definition: board.h:565
#define UART4_TX
Definition: board.h:559
#define SERVO1
Definition: board.h:561
#define ADC1_IN4
Definition: board.h:563

Definition at line 912 of file board.h.

◆ VAL_GPIOA_MODER

#define VAL_GPIOA_MODER
Value:
PIN_MODE_ALTERNATE(UART4_RX) | \
PIN_MODE_ALTERNATE(SERVO1) | \
PIN_MODE_ALTERNATE(UART2_RX) | \
PIN_MODE_ANALOG(ADC1_IN4) | \
PIN_MODE_ALTERNATE(SPI1_SCK) | \
PIN_MODE_ALTERNATE(SPI1_MISO) | \
PIN_MODE_ALTERNATE(SPI1_MOSI) | \
PIN_MODE_ALTERNATE(CU1_CH1) | \
PIN_MODE_INPUT(OTG_FS_VBUS) | \
PIN_MODE_ALTERNATE(USART1_RX) | \
PIN_MODE_ALTERNATE(OTG_FS_DM) | \
PIN_MODE_ALTERNATE(OTG_FS_DP) | \
PIN_MODE_ALTERNATE(SWDIO) | \
PIN_MODE_ALTERNATE(SWCLK) | \
PIN_MODE_ALTERNATE(SERVO5))
#define PIN_MODE_ALTERNATE(n)
Definition: board.h:812

Definition at line 827 of file board.h.

◆ VAL_GPIOA_ODR

#define VAL_GPIOA_ODR
Value:
PIN_ODR_LEVEL_HIGH(UART4_RX) | \
PIN_ODR_LEVEL_LOW(SERVO1) | \
PIN_ODR_LEVEL_HIGH(UART2_RX) | \
PIN_ODR_LEVEL_LOW(ADC1_IN4) | \
PIN_ODR_LEVEL_HIGH(SPI1_SCK) | \
PIN_ODR_LEVEL_HIGH(SPI1_MISO) | \
PIN_ODR_LEVEL_HIGH(SPI1_MOSI) | \
PIN_ODR_LEVEL_HIGH(CU1_CH1) | \
PIN_ODR_LEVEL_LOW(OTG_FS_VBUS) | \
PIN_ODR_LEVEL_HIGH(USART1_RX) | \
PIN_ODR_LEVEL_HIGH(OTG_FS_DM) | \
PIN_ODR_LEVEL_HIGH(OTG_FS_DP) | \
PIN_ODR_LEVEL_HIGH(SWDIO) | \
PIN_ODR_LEVEL_HIGH(SWCLK) | \
PIN_ODR_LEVEL_LOW(SERVO5))
#define PIN_ODR_LEVEL_HIGH(n)
Definition: board.h:815

Definition at line 895 of file board.h.

◆ VAL_GPIOA_OSPEEDR

#define VAL_GPIOA_OSPEEDR
Value:
PIN_OSPEED_SPEED_HIGH(UART4_RX) | \
PIN_OSPEED_SPEED_HIGH(SERVO1) | \
PIN_OSPEED_SPEED_HIGH(UART2_RX) | \
PIN_OSPEED_SPEED_VERYLOW(ADC1_IN4) | \
PIN_OSPEED_SPEED_HIGH(SPI1_SCK) | \
PIN_OSPEED_SPEED_HIGH(SPI1_MISO) | \
PIN_OSPEED_SPEED_HIGH(SPI1_MOSI) | \
PIN_OSPEED_SPEED_HIGH(CU1_CH1) | \
PIN_OSPEED_SPEED_VERYLOW(OTG_FS_VBUS) | \
PIN_OSPEED_SPEED_HIGH(USART1_RX) | \
PIN_OSPEED_SPEED_HIGH(OTG_FS_DM) | \
PIN_OSPEED_SPEED_HIGH(OTG_FS_DP) | \
PIN_OSPEED_SPEED_HIGH(SWDIO) | \
PIN_OSPEED_SPEED_HIGH(SWCLK) | \
PIN_OSPEED_SPEED_HIGH(SERVO5))
#define PIN_OSPEED_SPEED_HIGH(n)
Definition: board.h:821

Definition at line 861 of file board.h.

◆ VAL_GPIOA_OTYPER

#define VAL_GPIOA_OTYPER
Value:
PIN_OTYPE_PUSHPULL(UART4_RX) | \
PIN_OTYPE_PUSHPULL(SERVO1) | \
PIN_OTYPE_PUSHPULL(UART2_RX) | \
PIN_OTYPE_PUSHPULL(ADC1_IN4) | \
PIN_OTYPE_PUSHPULL(SPI1_SCK) | \
PIN_OTYPE_PUSHPULL(SPI1_MISO) | \
PIN_OTYPE_PUSHPULL(SPI1_MOSI) | \
PIN_OTYPE_PUSHPULL(CU1_CH1) | \
PIN_OTYPE_OPENDRAIN(OTG_FS_VBUS) | \
PIN_OTYPE_PUSHPULL(USART1_RX) | \
PIN_OTYPE_PUSHPULL(OTG_FS_DM) | \
PIN_OTYPE_PUSHPULL(OTG_FS_DP) | \
PIN_OTYPE_PUSHPULL(SWDIO) | \
PIN_OTYPE_PUSHPULL(SWCLK) | \
PIN_OTYPE_PUSHPULL(SERVO5))
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:816

Definition at line 844 of file board.h.

◆ VAL_GPIOA_PUPDR

#define VAL_GPIOA_PUPDR
Value:
PIN_PUPDR_FLOATING(UART4_RX) | \
PIN_PUPDR_FLOATING(SERVO1) | \
PIN_PUPDR_FLOATING(UART2_RX) | \
PIN_PUPDR_FLOATING(ADC1_IN4) | \
PIN_PUPDR_FLOATING(SPI1_SCK) | \
PIN_PUPDR_FLOATING(SPI1_MISO) | \
PIN_PUPDR_FLOATING(SPI1_MOSI) | \
PIN_PUPDR_FLOATING(CU1_CH1) | \
PIN_PUPDR_PULLDOWN(OTG_FS_VBUS) | \
PIN_PUPDR_FLOATING(USART1_RX) | \
PIN_PUPDR_FLOATING(OTG_FS_DM) | \
PIN_PUPDR_FLOATING(OTG_FS_DP) | \
PIN_PUPDR_FLOATING(SWDIO) | \
PIN_PUPDR_FLOATING(SWCLK) | \
PIN_PUPDR_FLOATING(SERVO5))
#define PIN_PUPDR_FLOATING(n)
Definition: board.h:822

Definition at line 878 of file board.h.

◆ VAL_GPIOB_AFRH

#define VAL_GPIOB_AFRH
Value:
PIN_AFIO_AF(SPI1_CS, 0) | \
PIN_AFIO_AF(I2C2_SCL, 4) | \
PIN_AFIO_AF(I2C2_SDA, 4) | \
PIN_AFIO_AF(POWER_SWITCH, 0) | \
PIN_AFIO_AF(RX2_POL, 0) | \
PIN_AFIO_AF(SDIO_DETECT, 0) | \
PIN_AFIO_AF(AUX4, 0))
#define I2C2_SCL
Definition: board.h:586
#define AUX4
Definition: board.h:591
#define RX2_POL
Definition: board.h:589
#define I2C1_SCL
Definition: board.h:584
#define SDIO_DETECT
Definition: board.h:590
#define SPI1_CS
Definition: board.h:585
#define I2C2_SDA
Definition: board.h:587
#define POWER_SWITCH
Definition: board.h:588

Definition at line 1024 of file board.h.

◆ VAL_GPIOB_AFRL

#define VAL_GPIOB_AFRL
Value:
PIN_AFIO_AF(SERVO6, 2) | \
PIN_AFIO_AF(BOOT1, 0) | \
PIN_AFIO_AF(SERVO4, 1) | \
PIN_AFIO_AF(SERVO3, 2) | \
PIN_AFIO_AF(SERVO2, 2) | \
PIN_AFIO_AF(USART1_TX, 7) | \
PIN_AFIO_AF(I2C1_SDA, 4))
#define SERVO0
Definition: board.h:576
#define SERVO4
Definition: board.h:579
#define SERVO3
Definition: board.h:580
#define SERVO2
Definition: board.h:581
#define USART1_TX
Definition: board.h:582
#define I2C1_SDA
Definition: board.h:583
#define SERVO6
Definition: board.h:577
#define BOOT1
Definition: board.h:578

Definition at line 1015 of file board.h.

◆ VAL_GPIOB_MODER

#define VAL_GPIOB_MODER
Value:
PIN_MODE_ALTERNATE(SERVO6) | \
PIN_MODE_INPUT(BOOT1) | \
PIN_MODE_ALTERNATE(SERVO4) | \
PIN_MODE_ALTERNATE(SERVO3) | \
PIN_MODE_ALTERNATE(SERVO2) | \
PIN_MODE_ALTERNATE(USART1_TX) | \
PIN_MODE_ALTERNATE(I2C1_SDA) | \
PIN_MODE_ALTERNATE(I2C1_SCL) | \
PIN_MODE_OUTPUT(SPI1_CS) | \
PIN_MODE_ALTERNATE(I2C2_SCL) | \
PIN_MODE_ALTERNATE(I2C2_SDA) | \
PIN_MODE_OUTPUT(POWER_SWITCH) | \
PIN_MODE_OUTPUT(RX2_POL) | \
PIN_MODE_INPUT(SDIO_DETECT) | \
PIN_MODE_INPUT(AUX4))

Definition at line 930 of file board.h.

◆ VAL_GPIOB_ODR

#define VAL_GPIOB_ODR
Value:
PIN_ODR_LEVEL_LOW(SERVO6) | \
PIN_ODR_LEVEL_LOW(BOOT1) | \
PIN_ODR_LEVEL_LOW(SERVO4) | \
PIN_ODR_LEVEL_LOW(SERVO3) | \
PIN_ODR_LEVEL_LOW(SERVO2) | \
PIN_ODR_LEVEL_HIGH(USART1_TX) | \
PIN_ODR_LEVEL_HIGH(I2C1_SDA) | \
PIN_ODR_LEVEL_HIGH(I2C1_SCL) | \
PIN_ODR_LEVEL_HIGH(SPI1_CS) | \
PIN_ODR_LEVEL_HIGH(I2C2_SCL) | \
PIN_ODR_LEVEL_HIGH(I2C2_SDA) | \
PIN_ODR_LEVEL_HIGH(POWER_SWITCH) | \
PIN_ODR_LEVEL_HIGH(RX2_POL) | \
PIN_ODR_LEVEL_LOW(SDIO_DETECT) | \
PIN_ODR_LEVEL_LOW(AUX4))
#define PIN_ODR_LEVEL_LOW(n)
Definition: board.h:814

Definition at line 998 of file board.h.

◆ VAL_GPIOB_OSPEEDR

#define VAL_GPIOB_OSPEEDR
Value:
PIN_OSPEED_SPEED_HIGH(SERVO6) | \
PIN_OSPEED_SPEED_VERYLOW(BOOT1) | \
PIN_OSPEED_SPEED_HIGH(SERVO4) | \
PIN_OSPEED_SPEED_HIGH(SERVO3) | \
PIN_OSPEED_SPEED_HIGH(SERVO2) | \
PIN_OSPEED_SPEED_HIGH(USART1_TX) | \
PIN_OSPEED_SPEED_HIGH(I2C1_SDA) | \
PIN_OSPEED_SPEED_HIGH(I2C1_SCL) | \
PIN_OSPEED_SPEED_HIGH(SPI1_CS) | \
PIN_OSPEED_SPEED_HIGH(I2C2_SCL) | \
PIN_OSPEED_SPEED_HIGH(I2C2_SDA) | \
PIN_OSPEED_SPEED_HIGH(POWER_SWITCH) | \
PIN_OSPEED_SPEED_HIGH(RX2_POL) | \
PIN_OSPEED_SPEED_VERYLOW(SDIO_DETECT) | \
PIN_OSPEED_SPEED_VERYLOW(AUX4))

Definition at line 964 of file board.h.

◆ VAL_GPIOB_OTYPER

#define VAL_GPIOB_OTYPER
Value:
PIN_OTYPE_PUSHPULL(SERVO6) | \
PIN_OTYPE_OPENDRAIN(BOOT1) | \
PIN_OTYPE_PUSHPULL(SERVO4) | \
PIN_OTYPE_PUSHPULL(SERVO3) | \
PIN_OTYPE_PUSHPULL(SERVO2) | \
PIN_OTYPE_PUSHPULL(USART1_TX) | \
PIN_OTYPE_OPENDRAIN(I2C1_SDA) | \
PIN_OTYPE_OPENDRAIN(I2C1_SCL) | \
PIN_OTYPE_PUSHPULL(SPI1_CS) | \
PIN_OTYPE_OPENDRAIN(I2C2_SCL) | \
PIN_OTYPE_OPENDRAIN(I2C2_SDA) | \
PIN_OTYPE_PUSHPULL(POWER_SWITCH) | \
PIN_OTYPE_PUSHPULL(RX2_POL) | \
PIN_OTYPE_OPENDRAIN(SDIO_DETECT) | \
PIN_OTYPE_OPENDRAIN(AUX4))

Definition at line 947 of file board.h.

◆ VAL_GPIOB_PUPDR

#define VAL_GPIOB_PUPDR
Value:
PIN_PUPDR_FLOATING(SERVO6) | \
PIN_PUPDR_FLOATING(BOOT1) | \
PIN_PUPDR_FLOATING(SERVO4) | \
PIN_PUPDR_FLOATING(SERVO3) | \
PIN_PUPDR_FLOATING(SERVO2) | \
PIN_PUPDR_FLOATING(USART1_TX) | \
PIN_PUPDR_PULLUP(I2C1_SDA) | \
PIN_PUPDR_PULLUP(I2C1_SCL) | \
PIN_PUPDR_FLOATING(SPI1_CS) | \
PIN_PUPDR_PULLUP(I2C2_SCL) | \
PIN_PUPDR_PULLUP(I2C2_SDA) | \
PIN_PUPDR_FLOATING(POWER_SWITCH) | \
PIN_PUPDR_FLOATING(RX2_POL) | \
PIN_PUPDR_PULLUP(SDIO_DETECT) | \
PIN_PUPDR_FLOATING(AUX4))

Definition at line 981 of file board.h.

◆ VAL_GPIOC_AFRH

#define VAL_GPIOC_AFRH
Value:
(PIN_AFIO_AF(SDIO_D0, 12) | \
PIN_AFIO_AF(SDIO_D1, 12) | \
PIN_AFIO_AF(SDIO_D2, 12) | \
PIN_AFIO_AF(SDIO_D3, 12) | \
PIN_AFIO_AF(SDIO_CK, 12) | \
PIN_AFIO_AF(LED2, 0) | \
PIN_AFIO_AF(OSC32_IN, 0) | \
PIN_AFIO_AF(OSC32_OUT, 0))
#define OSC32_IN
Definition: board.h:607
#define SDIO_D1
Definition: board.h:602
#define OSC32_OUT
Definition: board.h:608
#define SDIO_D0
Definition: board.h:601
#define SDIO_D2
Definition: board.h:603
#define LED2
Definition: board.h:606
#define SDIO_CK
Definition: board.h:605
#define SDIO_D3
Definition: board.h:604

Definition at line 1127 of file board.h.

◆ VAL_GPIOC_AFRL

#define VAL_GPIOC_AFRL
Value:
(PIN_AFIO_AF(LED1, 0) | \
PIN_AFIO_AF(LED3, 0) | \
PIN_AFIO_AF(PC02, 0) | \
PIN_AFIO_AF(LED4, 0) | \
PIN_AFIO_AF(AUX3, 0) | \
PIN_AFIO_AF(AUX2, 0) | \
PIN_AFIO_AF(USART6_TX, 8) | \
PIN_AFIO_AF(USART6_RX, 8))
#define AUX2
Definition: board.h:598
#define PC02
Definition: board.h:595
#define LED3
Definition: board.h:594
#define AUX3
Definition: board.h:597
#define LED1
Definition: board.h:593
#define USART6_RX
Definition: board.h:600
#define USART6_TX
Definition: board.h:599
#define LED4
Definition: board.h:596

Definition at line 1118 of file board.h.

◆ VAL_GPIOC_MODER

#define VAL_GPIOC_MODER
Value:
PIN_MODE_OUTPUT(LED3) | \
PIN_MODE_INPUT(PC02) | \
PIN_MODE_OUTPUT(LED4) | \
PIN_MODE_INPUT(AUX3) | \
PIN_MODE_INPUT(AUX2) | \
PIN_MODE_ALTERNATE(USART6_TX) | \
PIN_MODE_ALTERNATE(USART6_RX) | \
PIN_MODE_ALTERNATE(SDIO_D0) | \
PIN_MODE_ALTERNATE(SDIO_D1) | \
PIN_MODE_ALTERNATE(SDIO_D2) | \
PIN_MODE_ALTERNATE(SDIO_D3) | \
PIN_MODE_ALTERNATE(SDIO_CK) | \
PIN_MODE_OUTPUT(LED2) | \
PIN_MODE_ALTERNATE(OSC32_IN) | \
PIN_MODE_ALTERNATE(OSC32_OUT))
#define PIN_MODE_OUTPUT(n)
Definition: board.h:811

Definition at line 1033 of file board.h.

◆ VAL_GPIOC_ODR

#define VAL_GPIOC_ODR
Value:
PIN_ODR_LEVEL_LOW(LED3) | \
PIN_ODR_LEVEL_LOW(PC02) | \
PIN_ODR_LEVEL_LOW(LED4) | \
PIN_ODR_LEVEL_LOW(AUX3) | \
PIN_ODR_LEVEL_LOW(AUX2) | \
PIN_ODR_LEVEL_HIGH(USART6_TX) | \
PIN_ODR_LEVEL_HIGH(USART6_RX) | \
PIN_ODR_LEVEL_HIGH(SDIO_D0) | \
PIN_ODR_LEVEL_HIGH(SDIO_D1) | \
PIN_ODR_LEVEL_HIGH(SDIO_D2) | \
PIN_ODR_LEVEL_HIGH(SDIO_D3) | \
PIN_ODR_LEVEL_HIGH(SDIO_CK) | \
PIN_ODR_LEVEL_LOW(LED2) | \
PIN_ODR_LEVEL_HIGH(OSC32_IN) | \
PIN_ODR_LEVEL_HIGH(OSC32_OUT))

Definition at line 1101 of file board.h.

◆ VAL_GPIOC_OSPEEDR

#define VAL_GPIOC_OSPEEDR
Value:
PIN_OSPEED_SPEED_VERYLOW(LED3) | \
PIN_OSPEED_SPEED_VERYLOW(PC02) | \
PIN_OSPEED_SPEED_VERYLOW(LED4) | \
PIN_OSPEED_SPEED_VERYLOW(AUX3) | \
PIN_OSPEED_SPEED_VERYLOW(AUX2) | \
PIN_OSPEED_SPEED_HIGH(USART6_TX) | \
PIN_OSPEED_SPEED_HIGH(USART6_RX) | \
PIN_OSPEED_SPEED_HIGH(SDIO_D0) | \
PIN_OSPEED_SPEED_HIGH(SDIO_D1) | \
PIN_OSPEED_SPEED_HIGH(SDIO_D2) | \
PIN_OSPEED_SPEED_HIGH(SDIO_D3) | \
PIN_OSPEED_SPEED_HIGH(SDIO_CK) | \
PIN_OSPEED_SPEED_VERYLOW(LED2) | \
PIN_OSPEED_SPEED_HIGH(OSC32_IN) | \
PIN_OSPEED_SPEED_HIGH(OSC32_OUT))
#define PIN_OSPEED_SPEED_VERYLOW(n)
Definition: board.h:818

Definition at line 1067 of file board.h.

◆ VAL_GPIOC_OTYPER

#define VAL_GPIOC_OTYPER
Value:
PIN_OTYPE_PUSHPULL(LED3) | \
PIN_OTYPE_PUSHPULL(PC02) | \
PIN_OTYPE_PUSHPULL(LED4) | \
PIN_OTYPE_OPENDRAIN(AUX3) | \
PIN_OTYPE_OPENDRAIN(AUX2) | \
PIN_OTYPE_PUSHPULL(USART6_TX) | \
PIN_OTYPE_PUSHPULL(USART6_RX) | \
PIN_OTYPE_PUSHPULL(SDIO_D0) | \
PIN_OTYPE_PUSHPULL(SDIO_D1) | \
PIN_OTYPE_PUSHPULL(SDIO_D2) | \
PIN_OTYPE_PUSHPULL(SDIO_D3) | \
PIN_OTYPE_PUSHPULL(SDIO_CK) | \
PIN_OTYPE_PUSHPULL(LED2) | \
PIN_OTYPE_PUSHPULL(OSC32_IN) | \
PIN_OTYPE_PUSHPULL(OSC32_OUT))

Definition at line 1050 of file board.h.

◆ VAL_GPIOC_PUPDR

#define VAL_GPIOC_PUPDR
Value:
PIN_PUPDR_FLOATING(LED3) | \
PIN_PUPDR_PULLDOWN(PC02) | \
PIN_PUPDR_FLOATING(LED4) | \
PIN_PUPDR_FLOATING(AUX3) | \
PIN_PUPDR_FLOATING(AUX2) | \
PIN_PUPDR_FLOATING(USART6_TX) | \
PIN_PUPDR_FLOATING(USART6_RX) | \
PIN_PUPDR_PULLUP(SDIO_D0) | \
PIN_PUPDR_PULLUP(SDIO_D1) | \
PIN_PUPDR_PULLUP(SDIO_D2) | \
PIN_PUPDR_PULLUP(SDIO_D3) | \
PIN_PUPDR_FLOATING(SDIO_CK) | \
PIN_PUPDR_FLOATING(LED2) | \
PIN_PUPDR_FLOATING(OSC32_IN) | \
PIN_PUPDR_FLOATING(OSC32_OUT))

Definition at line 1084 of file board.h.

◆ VAL_GPIOD_AFRH

#define VAL_GPIOD_AFRH
Value:
(PIN_AFIO_AF(PD08, 0) | \
PIN_AFIO_AF(PD09, 0) | \
PIN_AFIO_AF(PD10, 0) | \
PIN_AFIO_AF(PD11, 0) | \
PIN_AFIO_AF(PD12, 0) | \
PIN_AFIO_AF(PD13, 0) | \
PIN_AFIO_AF(PD14, 0) | \
PIN_AFIO_AF(PD15, 0))
#define PD09
Definition: board.h:619
#define PD15
Definition: board.h:625
#define PD13
Definition: board.h:623
#define PD10
Definition: board.h:620
#define PD12
Definition: board.h:622
#define PD11
Definition: board.h:621
#define PD08
Definition: board.h:618
#define PD14
Definition: board.h:624

Definition at line 1230 of file board.h.

◆ VAL_GPIOD_AFRL

#define VAL_GPIOD_AFRL
Value:
(PIN_AFIO_AF(PD00, 0) | \
PIN_AFIO_AF(PD01, 0) | \
PIN_AFIO_AF(SDIO_CMD, 12) | \
PIN_AFIO_AF(PD03, 0) | \
PIN_AFIO_AF(PD04, 0) | \
PIN_AFIO_AF(PD05, 0) | \
PIN_AFIO_AF(PD06, 0) | \
PIN_AFIO_AF(PD07, 0))
#define PD03
Definition: board.h:613
#define PD05
Definition: board.h:615
#define PD07
Definition: board.h:617
#define PD01
Definition: board.h:611
#define PD00
Definition: board.h:610
#define PD06
Definition: board.h:616
#define SDIO_CMD
Definition: board.h:612
#define PD04
Definition: board.h:614

Definition at line 1221 of file board.h.

◆ VAL_GPIOD_MODER

#define VAL_GPIOD_MODER
Value:
PIN_MODE_INPUT(PD01) | \
PIN_MODE_ALTERNATE(SDIO_CMD) | \
PIN_MODE_INPUT(PD03) | \
PIN_MODE_INPUT(PD04) | \
PIN_MODE_INPUT(PD05) | \
PIN_MODE_INPUT(PD06) | \
PIN_MODE_INPUT(PD07) | \
PIN_MODE_INPUT(PD08) | \
PIN_MODE_INPUT(PD09) | \
PIN_MODE_INPUT(PD10) | \
PIN_MODE_INPUT(PD11) | \
PIN_MODE_INPUT(PD12) | \
PIN_MODE_INPUT(PD13) | \
PIN_MODE_INPUT(PD14) | \
PIN_MODE_INPUT(PD15))
#define PIN_MODE_INPUT(n)
Definition: board.h:810

Definition at line 1136 of file board.h.

◆ VAL_GPIOD_ODR

#define VAL_GPIOD_ODR
Value:
PIN_ODR_LEVEL_LOW(PD01) | \
PIN_ODR_LEVEL_HIGH(SDIO_CMD) | \
PIN_ODR_LEVEL_LOW(PD03) | \
PIN_ODR_LEVEL_LOW(PD04) | \
PIN_ODR_LEVEL_LOW(PD05) | \
PIN_ODR_LEVEL_LOW(PD06) | \
PIN_ODR_LEVEL_LOW(PD07) | \
PIN_ODR_LEVEL_LOW(PD08) | \
PIN_ODR_LEVEL_LOW(PD09) | \
PIN_ODR_LEVEL_LOW(PD10) | \
PIN_ODR_LEVEL_LOW(PD11) | \
PIN_ODR_LEVEL_LOW(PD12) | \
PIN_ODR_LEVEL_LOW(PD13) | \
PIN_ODR_LEVEL_LOW(PD14) | \
PIN_ODR_LEVEL_LOW(PD15))

Definition at line 1204 of file board.h.

◆ VAL_GPIOD_OSPEEDR

#define VAL_GPIOD_OSPEEDR
Value:
PIN_OSPEED_SPEED_VERYLOW(PD01) | \
PIN_OSPEED_SPEED_HIGH(SDIO_CMD) | \
PIN_OSPEED_SPEED_VERYLOW(PD03) | \
PIN_OSPEED_SPEED_VERYLOW(PD04) | \
PIN_OSPEED_SPEED_VERYLOW(PD05) | \
PIN_OSPEED_SPEED_VERYLOW(PD06) | \
PIN_OSPEED_SPEED_VERYLOW(PD07) | \
PIN_OSPEED_SPEED_VERYLOW(PD08) | \
PIN_OSPEED_SPEED_VERYLOW(PD09) | \
PIN_OSPEED_SPEED_VERYLOW(PD10) | \
PIN_OSPEED_SPEED_VERYLOW(PD11) | \
PIN_OSPEED_SPEED_VERYLOW(PD12) | \
PIN_OSPEED_SPEED_VERYLOW(PD13) | \
PIN_OSPEED_SPEED_VERYLOW(PD14) | \
PIN_OSPEED_SPEED_VERYLOW(PD15))

Definition at line 1170 of file board.h.

◆ VAL_GPIOD_OTYPER

#define VAL_GPIOD_OTYPER
Value:
PIN_OTYPE_PUSHPULL(PD01) | \
PIN_OTYPE_PUSHPULL(SDIO_CMD) | \
PIN_OTYPE_PUSHPULL(PD03) | \
PIN_OTYPE_PUSHPULL(PD04) | \
PIN_OTYPE_PUSHPULL(PD05) | \
PIN_OTYPE_PUSHPULL(PD06) | \
PIN_OTYPE_PUSHPULL(PD07) | \
PIN_OTYPE_PUSHPULL(PD08) | \
PIN_OTYPE_PUSHPULL(PD09) | \
PIN_OTYPE_PUSHPULL(PD10) | \
PIN_OTYPE_PUSHPULL(PD11) | \
PIN_OTYPE_PUSHPULL(PD12) | \
PIN_OTYPE_PUSHPULL(PD13) | \
PIN_OTYPE_PUSHPULL(PD14) | \
PIN_OTYPE_PUSHPULL(PD15))

Definition at line 1153 of file board.h.

◆ VAL_GPIOD_PUPDR

#define VAL_GPIOD_PUPDR
Value:
PIN_PUPDR_PULLDOWN(PD01) | \
PIN_PUPDR_PULLUP(SDIO_CMD) | \
PIN_PUPDR_PULLDOWN(PD03) | \
PIN_PUPDR_PULLDOWN(PD04) | \
PIN_PUPDR_PULLDOWN(PD05) | \
PIN_PUPDR_PULLDOWN(PD06) | \
PIN_PUPDR_PULLDOWN(PD07) | \
PIN_PUPDR_PULLDOWN(PD08) | \
PIN_PUPDR_PULLDOWN(PD09) | \
PIN_PUPDR_PULLDOWN(PD10) | \
PIN_PUPDR_PULLDOWN(PD11) | \
PIN_PUPDR_PULLDOWN(PD12) | \
PIN_PUPDR_PULLDOWN(PD13) | \
PIN_PUPDR_PULLDOWN(PD14) | \
PIN_PUPDR_PULLDOWN(PD15))
#define PIN_PUPDR_PULLDOWN(n)
Definition: board.h:824

Definition at line 1187 of file board.h.

◆ VAL_GPIOE_AFRH

#define VAL_GPIOE_AFRH
Value:
(PIN_AFIO_AF(PE08, 0) | \
PIN_AFIO_AF(PE09, 0) | \
PIN_AFIO_AF(PE10, 0) | \
PIN_AFIO_AF(PE11, 0) | \
PIN_AFIO_AF(PE12, 0) | \
PIN_AFIO_AF(PE13, 0) | \
PIN_AFIO_AF(PE14, 0) | \
PIN_AFIO_AF(PE15, 0))
#define PE10
Definition: board.h:637
#define PE14
Definition: board.h:641
#define PE11
Definition: board.h:638
#define PE13
Definition: board.h:640
#define PE15
Definition: board.h:642
#define PE08
Definition: board.h:635
#define PE09
Definition: board.h:636
#define PE12
Definition: board.h:639

Definition at line 1333 of file board.h.

◆ VAL_GPIOE_AFRL

#define VAL_GPIOE_AFRL
Value:
(PIN_AFIO_AF(PE00, 0) | \
PIN_AFIO_AF(PE01, 0) | \
PIN_AFIO_AF(PE02, 0) | \
PIN_AFIO_AF(PE03, 0) | \
PIN_AFIO_AF(PE04, 0) | \
PIN_AFIO_AF(PE05, 0) | \
PIN_AFIO_AF(PE06, 0) | \
PIN_AFIO_AF(PE07, 0))
#define PE07
Definition: board.h:634
#define PE05
Definition: board.h:632
#define PE00
Definition: board.h:627
#define PE03
Definition: board.h:630
#define PE02
Definition: board.h:629
#define PE01
Definition: board.h:628
#define PE04
Definition: board.h:631
#define PE06
Definition: board.h:633

Definition at line 1324 of file board.h.

◆ VAL_GPIOE_MODER

#define VAL_GPIOE_MODER
Value:
PIN_MODE_INPUT(PE01) | \
PIN_MODE_INPUT(PE02) | \
PIN_MODE_INPUT(PE03) | \
PIN_MODE_INPUT(PE04) | \
PIN_MODE_INPUT(PE05) | \
PIN_MODE_INPUT(PE06) | \
PIN_MODE_INPUT(PE07) | \
PIN_MODE_INPUT(PE08) | \
PIN_MODE_INPUT(PE09) | \
PIN_MODE_INPUT(PE10) | \
PIN_MODE_INPUT(PE11) | \
PIN_MODE_INPUT(PE12) | \
PIN_MODE_INPUT(PE13) | \
PIN_MODE_INPUT(PE14) | \
PIN_MODE_INPUT(PE15))

Definition at line 1239 of file board.h.

◆ VAL_GPIOE_ODR

#define VAL_GPIOE_ODR
Value:
PIN_ODR_LEVEL_LOW(PE01) | \
PIN_ODR_LEVEL_LOW(PE02) | \
PIN_ODR_LEVEL_LOW(PE03) | \
PIN_ODR_LEVEL_LOW(PE04) | \
PIN_ODR_LEVEL_LOW(PE05) | \
PIN_ODR_LEVEL_LOW(PE06) | \
PIN_ODR_LEVEL_LOW(PE07) | \
PIN_ODR_LEVEL_LOW(PE08) | \
PIN_ODR_LEVEL_LOW(PE09) | \
PIN_ODR_LEVEL_LOW(PE10) | \
PIN_ODR_LEVEL_LOW(PE11) | \
PIN_ODR_LEVEL_LOW(PE12) | \
PIN_ODR_LEVEL_LOW(PE13) | \
PIN_ODR_LEVEL_LOW(PE14) | \
PIN_ODR_LEVEL_LOW(PE15))

Definition at line 1307 of file board.h.

◆ VAL_GPIOE_OSPEEDR

#define VAL_GPIOE_OSPEEDR
Value:
PIN_OSPEED_SPEED_VERYLOW(PE01) | \
PIN_OSPEED_SPEED_VERYLOW(PE02) | \
PIN_OSPEED_SPEED_VERYLOW(PE03) | \
PIN_OSPEED_SPEED_VERYLOW(PE04) | \
PIN_OSPEED_SPEED_VERYLOW(PE05) | \
PIN_OSPEED_SPEED_VERYLOW(PE06) | \
PIN_OSPEED_SPEED_VERYLOW(PE07) | \
PIN_OSPEED_SPEED_VERYLOW(PE08) | \
PIN_OSPEED_SPEED_VERYLOW(PE09) | \
PIN_OSPEED_SPEED_VERYLOW(PE10) | \
PIN_OSPEED_SPEED_VERYLOW(PE11) | \
PIN_OSPEED_SPEED_VERYLOW(PE12) | \
PIN_OSPEED_SPEED_VERYLOW(PE13) | \
PIN_OSPEED_SPEED_VERYLOW(PE14) | \
PIN_OSPEED_SPEED_VERYLOW(PE15))

Definition at line 1273 of file board.h.

◆ VAL_GPIOE_OTYPER

#define VAL_GPIOE_OTYPER
Value:
PIN_OTYPE_PUSHPULL(PE01) | \
PIN_OTYPE_PUSHPULL(PE02) | \
PIN_OTYPE_PUSHPULL(PE03) | \
PIN_OTYPE_PUSHPULL(PE04) | \
PIN_OTYPE_PUSHPULL(PE05) | \
PIN_OTYPE_PUSHPULL(PE06) | \
PIN_OTYPE_PUSHPULL(PE07) | \
PIN_OTYPE_PUSHPULL(PE08) | \
PIN_OTYPE_PUSHPULL(PE09) | \
PIN_OTYPE_PUSHPULL(PE10) | \
PIN_OTYPE_PUSHPULL(PE11) | \
PIN_OTYPE_PUSHPULL(PE12) | \
PIN_OTYPE_PUSHPULL(PE13) | \
PIN_OTYPE_PUSHPULL(PE14) | \
PIN_OTYPE_PUSHPULL(PE15))

Definition at line 1256 of file board.h.

◆ VAL_GPIOE_PUPDR

#define VAL_GPIOE_PUPDR
Value:
PIN_PUPDR_PULLDOWN(PE01) | \
PIN_PUPDR_PULLDOWN(PE02) | \
PIN_PUPDR_PULLDOWN(PE03) | \
PIN_PUPDR_PULLDOWN(PE04) | \
PIN_PUPDR_PULLDOWN(PE05) | \
PIN_PUPDR_PULLDOWN(PE06) | \
PIN_PUPDR_PULLDOWN(PE07) | \
PIN_PUPDR_PULLDOWN(PE08) | \
PIN_PUPDR_PULLDOWN(PE09) | \
PIN_PUPDR_PULLDOWN(PE10) | \
PIN_PUPDR_PULLDOWN(PE11) | \
PIN_PUPDR_PULLDOWN(PE12) | \
PIN_PUPDR_PULLDOWN(PE13) | \
PIN_PUPDR_PULLDOWN(PE14) | \
PIN_PUPDR_PULLDOWN(PE15))

Definition at line 1290 of file board.h.

◆ VAL_GPIOF_AFRH

#define VAL_GPIOF_AFRH
Value:
(PIN_AFIO_AF(PF08, 0) | \
PIN_AFIO_AF(PF09, 0) | \
PIN_AFIO_AF(PF10, 0) | \
PIN_AFIO_AF(PF11, 0) | \
PIN_AFIO_AF(PF12, 0) | \
PIN_AFIO_AF(PF13, 0) | \
PIN_AFIO_AF(PF14, 0) | \
PIN_AFIO_AF(PF15, 0))
#define PF11
Definition: board.h:655
#define PF08
Definition: board.h:652
#define PF13
Definition: board.h:657
#define PF10
Definition: board.h:654
#define PF12
Definition: board.h:656
#define PF15
Definition: board.h:659
#define PF14
Definition: board.h:658
#define PF09
Definition: board.h:653

Definition at line 1436 of file board.h.

◆ VAL_GPIOF_AFRL

#define VAL_GPIOF_AFRL
Value:
(PIN_AFIO_AF(PF00, 0) | \
PIN_AFIO_AF(PF01, 0) | \
PIN_AFIO_AF(PF02, 0) | \
PIN_AFIO_AF(PF03, 0) | \
PIN_AFIO_AF(PF04, 0) | \
PIN_AFIO_AF(PF05, 0) | \
PIN_AFIO_AF(PF06, 0) | \
PIN_AFIO_AF(PF07, 0))
#define PF03
Definition: board.h:647
#define PF00
Definition: board.h:644
#define PF04
Definition: board.h:648
#define PF02
Definition: board.h:646
#define PF05
Definition: board.h:649
#define PF01
Definition: board.h:645
#define PF07
Definition: board.h:651
#define PF06
Definition: board.h:650

Definition at line 1427 of file board.h.

◆ VAL_GPIOF_MODER

#define VAL_GPIOF_MODER
Value:
PIN_MODE_INPUT(PF01) | \
PIN_MODE_INPUT(PF02) | \
PIN_MODE_INPUT(PF03) | \
PIN_MODE_INPUT(PF04) | \
PIN_MODE_INPUT(PF05) | \
PIN_MODE_INPUT(PF06) | \
PIN_MODE_INPUT(PF07) | \
PIN_MODE_INPUT(PF08) | \
PIN_MODE_INPUT(PF09) | \
PIN_MODE_INPUT(PF10) | \
PIN_MODE_INPUT(PF11) | \
PIN_MODE_INPUT(PF12) | \
PIN_MODE_INPUT(PF13) | \
PIN_MODE_INPUT(PF14) | \
PIN_MODE_INPUT(PF15))

Definition at line 1342 of file board.h.

◆ VAL_GPIOF_ODR

#define VAL_GPIOF_ODR
Value:
PIN_ODR_LEVEL_LOW(PF01) | \
PIN_ODR_LEVEL_LOW(PF02) | \
PIN_ODR_LEVEL_LOW(PF03) | \
PIN_ODR_LEVEL_LOW(PF04) | \
PIN_ODR_LEVEL_LOW(PF05) | \
PIN_ODR_LEVEL_LOW(PF06) | \
PIN_ODR_LEVEL_LOW(PF07) | \
PIN_ODR_LEVEL_LOW(PF08) | \
PIN_ODR_LEVEL_LOW(PF09) | \
PIN_ODR_LEVEL_LOW(PF10) | \
PIN_ODR_LEVEL_LOW(PF11) | \
PIN_ODR_LEVEL_LOW(PF12) | \
PIN_ODR_LEVEL_LOW(PF13) | \
PIN_ODR_LEVEL_LOW(PF14) | \
PIN_ODR_LEVEL_LOW(PF15))

Definition at line 1410 of file board.h.

◆ VAL_GPIOF_OSPEEDR

#define VAL_GPIOF_OSPEEDR
Value:
PIN_OSPEED_SPEED_VERYLOW(PF01) | \
PIN_OSPEED_SPEED_VERYLOW(PF02) | \
PIN_OSPEED_SPEED_VERYLOW(PF03) | \
PIN_OSPEED_SPEED_VERYLOW(PF04) | \
PIN_OSPEED_SPEED_VERYLOW(PF05) | \
PIN_OSPEED_SPEED_VERYLOW(PF06) | \
PIN_OSPEED_SPEED_VERYLOW(PF07) | \
PIN_OSPEED_SPEED_VERYLOW(PF08) | \
PIN_OSPEED_SPEED_VERYLOW(PF09) | \
PIN_OSPEED_SPEED_VERYLOW(PF10) | \
PIN_OSPEED_SPEED_VERYLOW(PF11) | \
PIN_OSPEED_SPEED_VERYLOW(PF12) | \
PIN_OSPEED_SPEED_VERYLOW(PF13) | \
PIN_OSPEED_SPEED_VERYLOW(PF14) | \
PIN_OSPEED_SPEED_VERYLOW(PF15))

Definition at line 1376 of file board.h.

◆ VAL_GPIOF_OTYPER

#define VAL_GPIOF_OTYPER
Value:
PIN_OTYPE_PUSHPULL(PF01) | \
PIN_OTYPE_PUSHPULL(PF02) | \
PIN_OTYPE_PUSHPULL(PF03) | \
PIN_OTYPE_PUSHPULL(PF04) | \
PIN_OTYPE_PUSHPULL(PF05) | \
PIN_OTYPE_PUSHPULL(PF06) | \
PIN_OTYPE_PUSHPULL(PF07) | \
PIN_OTYPE_PUSHPULL(PF08) | \
PIN_OTYPE_PUSHPULL(PF09) | \
PIN_OTYPE_PUSHPULL(PF10) | \
PIN_OTYPE_PUSHPULL(PF11) | \
PIN_OTYPE_PUSHPULL(PF12) | \
PIN_OTYPE_PUSHPULL(PF13) | \
PIN_OTYPE_PUSHPULL(PF14) | \
PIN_OTYPE_PUSHPULL(PF15))

Definition at line 1359 of file board.h.

◆ VAL_GPIOF_PUPDR

#define VAL_GPIOF_PUPDR
Value:
PIN_PUPDR_PULLDOWN(PF01) | \
PIN_PUPDR_PULLDOWN(PF02) | \
PIN_PUPDR_PULLDOWN(PF03) | \
PIN_PUPDR_PULLDOWN(PF04) | \
PIN_PUPDR_PULLDOWN(PF05) | \
PIN_PUPDR_PULLDOWN(PF06) | \
PIN_PUPDR_PULLDOWN(PF07) | \
PIN_PUPDR_PULLDOWN(PF08) | \
PIN_PUPDR_PULLDOWN(PF09) | \
PIN_PUPDR_PULLDOWN(PF10) | \
PIN_PUPDR_PULLDOWN(PF11) | \
PIN_PUPDR_PULLDOWN(PF12) | \
PIN_PUPDR_PULLDOWN(PF13) | \
PIN_PUPDR_PULLDOWN(PF14) | \
PIN_PUPDR_PULLDOWN(PF15))

Definition at line 1393 of file board.h.

◆ VAL_GPIOG_AFRH

#define VAL_GPIOG_AFRH
Value:
(PIN_AFIO_AF(PG08, 0) | \
PIN_AFIO_AF(PG09, 0) | \
PIN_AFIO_AF(PG10, 0) | \
PIN_AFIO_AF(PG11, 0) | \
PIN_AFIO_AF(PG12, 0) | \
PIN_AFIO_AF(PG13, 0) | \
PIN_AFIO_AF(PG14, 0) | \
PIN_AFIO_AF(PG15, 0))
#define PG13
Definition: board.h:674
#define PG08
Definition: board.h:669
#define PG14
Definition: board.h:675
#define PG12
Definition: board.h:673
#define PG15
Definition: board.h:676
#define PG10
Definition: board.h:671
#define PG09
Definition: board.h:670
#define PG11
Definition: board.h:672

Definition at line 1539 of file board.h.

◆ VAL_GPIOG_AFRL

#define VAL_GPIOG_AFRL
Value:
(PIN_AFIO_AF(PG00, 0) | \
PIN_AFIO_AF(PG01, 0) | \
PIN_AFIO_AF(PG02, 0) | \
PIN_AFIO_AF(PG03, 0) | \
PIN_AFIO_AF(PG04, 0) | \
PIN_AFIO_AF(PG05, 0) | \
PIN_AFIO_AF(PG06, 0) | \
PIN_AFIO_AF(PG07, 0))
#define PG01
Definition: board.h:662
#define PG05
Definition: board.h:666
#define PG04
Definition: board.h:665
#define PG00
Definition: board.h:661
#define PG06
Definition: board.h:667
#define PG03
Definition: board.h:664
#define PG02
Definition: board.h:663
#define PG07
Definition: board.h:668

Definition at line 1530 of file board.h.

◆ VAL_GPIOG_MODER

#define VAL_GPIOG_MODER
Value:
PIN_MODE_INPUT(PG01) | \
PIN_MODE_INPUT(PG02) | \
PIN_MODE_INPUT(PG03) | \
PIN_MODE_INPUT(PG04) | \
PIN_MODE_INPUT(PG05) | \
PIN_MODE_INPUT(PG06) | \
PIN_MODE_INPUT(PG07) | \
PIN_MODE_INPUT(PG08) | \
PIN_MODE_INPUT(PG09) | \
PIN_MODE_INPUT(PG10) | \
PIN_MODE_INPUT(PG11) | \
PIN_MODE_INPUT(PG12) | \
PIN_MODE_INPUT(PG13) | \
PIN_MODE_INPUT(PG14) | \
PIN_MODE_INPUT(PG15))

Definition at line 1445 of file board.h.

◆ VAL_GPIOG_ODR

#define VAL_GPIOG_ODR
Value:
PIN_ODR_LEVEL_LOW(PG01) | \
PIN_ODR_LEVEL_LOW(PG02) | \
PIN_ODR_LEVEL_LOW(PG03) | \
PIN_ODR_LEVEL_LOW(PG04) | \
PIN_ODR_LEVEL_LOW(PG05) | \
PIN_ODR_LEVEL_LOW(PG06) | \
PIN_ODR_LEVEL_LOW(PG07) | \
PIN_ODR_LEVEL_LOW(PG08) | \
PIN_ODR_LEVEL_LOW(PG09) | \
PIN_ODR_LEVEL_LOW(PG10) | \
PIN_ODR_LEVEL_LOW(PG11) | \
PIN_ODR_LEVEL_LOW(PG12) | \
PIN_ODR_LEVEL_LOW(PG13) | \
PIN_ODR_LEVEL_LOW(PG14) | \
PIN_ODR_LEVEL_LOW(PG15))

Definition at line 1513 of file board.h.

◆ VAL_GPIOG_OSPEEDR

#define VAL_GPIOG_OSPEEDR
Value:
PIN_OSPEED_SPEED_VERYLOW(PG01) | \
PIN_OSPEED_SPEED_VERYLOW(PG02) | \
PIN_OSPEED_SPEED_VERYLOW(PG03) | \
PIN_OSPEED_SPEED_VERYLOW(PG04) | \
PIN_OSPEED_SPEED_VERYLOW(PG05) | \
PIN_OSPEED_SPEED_VERYLOW(PG06) | \
PIN_OSPEED_SPEED_VERYLOW(PG07) | \
PIN_OSPEED_SPEED_VERYLOW(PG08) | \
PIN_OSPEED_SPEED_VERYLOW(PG09) | \
PIN_OSPEED_SPEED_VERYLOW(PG10) | \
PIN_OSPEED_SPEED_VERYLOW(PG11) | \
PIN_OSPEED_SPEED_VERYLOW(PG12) | \
PIN_OSPEED_SPEED_VERYLOW(PG13) | \
PIN_OSPEED_SPEED_VERYLOW(PG14) | \
PIN_OSPEED_SPEED_VERYLOW(PG15))

Definition at line 1479 of file board.h.

◆ VAL_GPIOG_OTYPER

#define VAL_GPIOG_OTYPER
Value:
PIN_OTYPE_PUSHPULL(PG01) | \
PIN_OTYPE_PUSHPULL(PG02) | \
PIN_OTYPE_PUSHPULL(PG03) | \
PIN_OTYPE_PUSHPULL(PG04) | \
PIN_OTYPE_PUSHPULL(PG05) | \
PIN_OTYPE_PUSHPULL(PG06) | \
PIN_OTYPE_PUSHPULL(PG07) | \
PIN_OTYPE_PUSHPULL(PG08) | \
PIN_OTYPE_PUSHPULL(PG09) | \
PIN_OTYPE_PUSHPULL(PG10) | \
PIN_OTYPE_PUSHPULL(PG11) | \
PIN_OTYPE_PUSHPULL(PG12) | \
PIN_OTYPE_PUSHPULL(PG13) | \
PIN_OTYPE_PUSHPULL(PG14) | \
PIN_OTYPE_PUSHPULL(PG15))

Definition at line 1462 of file board.h.

◆ VAL_GPIOG_PUPDR

#define VAL_GPIOG_PUPDR
Value:
PIN_PUPDR_PULLDOWN(PG01) | \
PIN_PUPDR_PULLDOWN(PG02) | \
PIN_PUPDR_PULLDOWN(PG03) | \
PIN_PUPDR_PULLDOWN(PG04) | \
PIN_PUPDR_PULLDOWN(PG05) | \
PIN_PUPDR_PULLDOWN(PG06) | \
PIN_PUPDR_PULLDOWN(PG07) | \
PIN_PUPDR_PULLDOWN(PG08) | \
PIN_PUPDR_PULLDOWN(PG09) | \
PIN_PUPDR_PULLDOWN(PG10) | \
PIN_PUPDR_PULLDOWN(PG11) | \
PIN_PUPDR_PULLDOWN(PG12) | \
PIN_PUPDR_PULLDOWN(PG13) | \
PIN_PUPDR_PULLDOWN(PG14) | \
PIN_PUPDR_PULLDOWN(PG15))

Definition at line 1496 of file board.h.

◆ VAL_GPIOH_AFRH

#define VAL_GPIOH_AFRH
Value:
(PIN_AFIO_AF(PH08, 0) | \
PIN_AFIO_AF(PH09, 0) | \
PIN_AFIO_AF(PH10, 0) | \
PIN_AFIO_AF(PH11, 0) | \
PIN_AFIO_AF(PH12, 0) | \
PIN_AFIO_AF(PH13, 0) | \
PIN_AFIO_AF(PH14, 0) | \
PIN_AFIO_AF(PH15, 0))
#define PH14
Definition: board.h:692
#define PH08
Definition: board.h:686
#define PH09
Definition: board.h:687
#define PH15
Definition: board.h:693
#define PH13
Definition: board.h:691
#define PH10
Definition: board.h:688
#define PH11
Definition: board.h:689
#define PH12
Definition: board.h:690

Definition at line 1642 of file board.h.

◆ VAL_GPIOH_AFRL

#define VAL_GPIOH_AFRL
Value:
PIN_AFIO_AF(OSC_OUT, 0) | \
PIN_AFIO_AF(PH02, 0) | \
PIN_AFIO_AF(PH03, 0) | \
PIN_AFIO_AF(PH04, 0) | \
PIN_AFIO_AF(PH05, 0) | \
PIN_AFIO_AF(PH06, 0) | \
PIN_AFIO_AF(PH07, 0))
#define OSC_IN
Definition: board.h:678
#define PH07
Definition: board.h:685
#define PH02
Definition: board.h:680
#define PH03
Definition: board.h:681
#define PH06
Definition: board.h:684
#define OSC_OUT
Definition: board.h:679
#define PH04
Definition: board.h:682
#define PH05
Definition: board.h:683

Definition at line 1633 of file board.h.

◆ VAL_GPIOH_MODER

#define VAL_GPIOH_MODER
Value:
PIN_MODE_ALTERNATE(OSC_OUT) | \
PIN_MODE_INPUT(PH02) | \
PIN_MODE_INPUT(PH03) | \
PIN_MODE_INPUT(PH04) | \
PIN_MODE_INPUT(PH05) | \
PIN_MODE_INPUT(PH06) | \
PIN_MODE_INPUT(PH07) | \
PIN_MODE_INPUT(PH08) | \
PIN_MODE_INPUT(PH09) | \
PIN_MODE_INPUT(PH10) | \
PIN_MODE_INPUT(PH11) | \
PIN_MODE_INPUT(PH12) | \
PIN_MODE_INPUT(PH13) | \
PIN_MODE_INPUT(PH14) | \
PIN_MODE_INPUT(PH15))

Definition at line 1548 of file board.h.

◆ VAL_GPIOH_ODR

#define VAL_GPIOH_ODR
Value:
PIN_ODR_LEVEL_HIGH(OSC_OUT) | \
PIN_ODR_LEVEL_LOW(PH02) | \
PIN_ODR_LEVEL_LOW(PH03) | \
PIN_ODR_LEVEL_LOW(PH04) | \
PIN_ODR_LEVEL_LOW(PH05) | \
PIN_ODR_LEVEL_LOW(PH06) | \
PIN_ODR_LEVEL_LOW(PH07) | \
PIN_ODR_LEVEL_LOW(PH08) | \
PIN_ODR_LEVEL_LOW(PH09) | \
PIN_ODR_LEVEL_LOW(PH10) | \
PIN_ODR_LEVEL_LOW(PH11) | \
PIN_ODR_LEVEL_LOW(PH12) | \
PIN_ODR_LEVEL_LOW(PH13) | \
PIN_ODR_LEVEL_LOW(PH14) | \
PIN_ODR_LEVEL_LOW(PH15))

Definition at line 1616 of file board.h.

◆ VAL_GPIOH_OSPEEDR

#define VAL_GPIOH_OSPEEDR
Value:
PIN_OSPEED_SPEED_HIGH(OSC_OUT) | \
PIN_OSPEED_SPEED_VERYLOW(PH02) | \
PIN_OSPEED_SPEED_VERYLOW(PH03) | \
PIN_OSPEED_SPEED_VERYLOW(PH04) | \
PIN_OSPEED_SPEED_VERYLOW(PH05) | \
PIN_OSPEED_SPEED_VERYLOW(PH06) | \
PIN_OSPEED_SPEED_VERYLOW(PH07) | \
PIN_OSPEED_SPEED_VERYLOW(PH08) | \
PIN_OSPEED_SPEED_VERYLOW(PH09) | \
PIN_OSPEED_SPEED_VERYLOW(PH10) | \
PIN_OSPEED_SPEED_VERYLOW(PH11) | \
PIN_OSPEED_SPEED_VERYLOW(PH12) | \
PIN_OSPEED_SPEED_VERYLOW(PH13) | \
PIN_OSPEED_SPEED_VERYLOW(PH14) | \
PIN_OSPEED_SPEED_VERYLOW(PH15))

Definition at line 1582 of file board.h.

◆ VAL_GPIOH_OTYPER

#define VAL_GPIOH_OTYPER
Value:
PIN_OTYPE_PUSHPULL(OSC_OUT) | \
PIN_OTYPE_PUSHPULL(PH02) | \
PIN_OTYPE_PUSHPULL(PH03) | \
PIN_OTYPE_PUSHPULL(PH04) | \
PIN_OTYPE_PUSHPULL(PH05) | \
PIN_OTYPE_PUSHPULL(PH06) | \
PIN_OTYPE_PUSHPULL(PH07) | \
PIN_OTYPE_PUSHPULL(PH08) | \
PIN_OTYPE_PUSHPULL(PH09) | \
PIN_OTYPE_PUSHPULL(PH10) | \
PIN_OTYPE_PUSHPULL(PH11) | \
PIN_OTYPE_PUSHPULL(PH12) | \
PIN_OTYPE_PUSHPULL(PH13) | \
PIN_OTYPE_PUSHPULL(PH14) | \
PIN_OTYPE_PUSHPULL(PH15))

Definition at line 1565 of file board.h.

◆ VAL_GPIOH_PUPDR

#define VAL_GPIOH_PUPDR
Value:
PIN_PUPDR_FLOATING(OSC_OUT) | \
PIN_PUPDR_PULLDOWN(PH02) | \
PIN_PUPDR_PULLDOWN(PH03) | \
PIN_PUPDR_PULLDOWN(PH04) | \
PIN_PUPDR_PULLDOWN(PH05) | \
PIN_PUPDR_PULLDOWN(PH06) | \
PIN_PUPDR_PULLDOWN(PH07) | \
PIN_PUPDR_PULLDOWN(PH08) | \
PIN_PUPDR_PULLDOWN(PH09) | \
PIN_PUPDR_PULLDOWN(PH10) | \
PIN_PUPDR_PULLDOWN(PH11) | \
PIN_PUPDR_PULLDOWN(PH12) | \
PIN_PUPDR_PULLDOWN(PH13) | \
PIN_PUPDR_PULLDOWN(PH14) | \
PIN_PUPDR_PULLDOWN(PH15))

Definition at line 1599 of file board.h.

◆ VAL_GPIOI_AFRH

#define VAL_GPIOI_AFRH
Value:
(PIN_AFIO_AF(PI08, 0) | \
PIN_AFIO_AF(PI09, 0) | \
PIN_AFIO_AF(PI10, 0) | \
PIN_AFIO_AF(PI11, 0) | \
PIN_AFIO_AF(PI12, 0) | \
PIN_AFIO_AF(PI13, 0) | \
PIN_AFIO_AF(PI14, 0) | \
PIN_AFIO_AF(PI15, 0))
#define PI12
Definition: board.h:707
#define PI14
Definition: board.h:709
#define PI15
Definition: board.h:710
#define PI10
Definition: board.h:705
#define PI08
Definition: board.h:703
#define PI13
Definition: board.h:708
#define PI09
Definition: board.h:704
#define PI11
Definition: board.h:706

Definition at line 1745 of file board.h.

◆ VAL_GPIOI_AFRL

#define VAL_GPIOI_AFRL
Value:
(PIN_AFIO_AF(PI00, 0) | \
PIN_AFIO_AF(PI01, 0) | \
PIN_AFIO_AF(PI02, 0) | \
PIN_AFIO_AF(PI03, 0) | \
PIN_AFIO_AF(PI04, 0) | \
PIN_AFIO_AF(PI05, 0) | \
PIN_AFIO_AF(PI06, 0) | \
PIN_AFIO_AF(PI07, 0))
#define PI04
Definition: board.h:699
#define PI02
Definition: board.h:697
#define PI01
Definition: board.h:696
#define PI00
Definition: board.h:695
#define PI03
Definition: board.h:698
#define PI07
Definition: board.h:702
#define PI06
Definition: board.h:701
#define PI05
Definition: board.h:700

Definition at line 1736 of file board.h.

◆ VAL_GPIOI_MODER

#define VAL_GPIOI_MODER
Value:
PIN_MODE_INPUT(PI01) | \
PIN_MODE_INPUT(PI02) | \
PIN_MODE_INPUT(PI03) | \
PIN_MODE_INPUT(PI04) | \
PIN_MODE_INPUT(PI05) | \
PIN_MODE_INPUT(PI06) | \
PIN_MODE_INPUT(PI07) | \
PIN_MODE_INPUT(PI08) | \
PIN_MODE_INPUT(PI09) | \
PIN_MODE_INPUT(PI10) | \
PIN_MODE_INPUT(PI11) | \
PIN_MODE_INPUT(PI12) | \
PIN_MODE_INPUT(PI13) | \
PIN_MODE_INPUT(PI14) | \
PIN_MODE_INPUT(PI15))

Definition at line 1651 of file board.h.

◆ VAL_GPIOI_ODR

#define VAL_GPIOI_ODR
Value:
PIN_ODR_LEVEL_LOW(PI01) | \
PIN_ODR_LEVEL_LOW(PI02) | \
PIN_ODR_LEVEL_LOW(PI03) | \
PIN_ODR_LEVEL_LOW(PI04) | \
PIN_ODR_LEVEL_LOW(PI05) | \
PIN_ODR_LEVEL_LOW(PI06) | \
PIN_ODR_LEVEL_LOW(PI07) | \
PIN_ODR_LEVEL_LOW(PI08) | \
PIN_ODR_LEVEL_LOW(PI09) | \
PIN_ODR_LEVEL_LOW(PI10) | \
PIN_ODR_LEVEL_LOW(PI11) | \
PIN_ODR_LEVEL_LOW(PI12) | \
PIN_ODR_LEVEL_LOW(PI13) | \
PIN_ODR_LEVEL_LOW(PI14) | \
PIN_ODR_LEVEL_LOW(PI15))

Definition at line 1719 of file board.h.

◆ VAL_GPIOI_OSPEEDR

#define VAL_GPIOI_OSPEEDR
Value:
PIN_OSPEED_SPEED_VERYLOW(PI01) | \
PIN_OSPEED_SPEED_VERYLOW(PI02) | \
PIN_OSPEED_SPEED_VERYLOW(PI03) | \
PIN_OSPEED_SPEED_VERYLOW(PI04) | \
PIN_OSPEED_SPEED_VERYLOW(PI05) | \
PIN_OSPEED_SPEED_VERYLOW(PI06) | \
PIN_OSPEED_SPEED_VERYLOW(PI07) | \
PIN_OSPEED_SPEED_VERYLOW(PI08) | \
PIN_OSPEED_SPEED_VERYLOW(PI09) | \
PIN_OSPEED_SPEED_VERYLOW(PI10) | \
PIN_OSPEED_SPEED_VERYLOW(PI11) | \
PIN_OSPEED_SPEED_VERYLOW(PI12) | \
PIN_OSPEED_SPEED_VERYLOW(PI13) | \
PIN_OSPEED_SPEED_VERYLOW(PI14) | \
PIN_OSPEED_SPEED_VERYLOW(PI15))

Definition at line 1685 of file board.h.

◆ VAL_GPIOI_OTYPER

#define VAL_GPIOI_OTYPER
Value:
PIN_OTYPE_PUSHPULL(PI01) | \
PIN_OTYPE_PUSHPULL(PI02) | \
PIN_OTYPE_PUSHPULL(PI03) | \
PIN_OTYPE_PUSHPULL(PI04) | \
PIN_OTYPE_PUSHPULL(PI05) | \
PIN_OTYPE_PUSHPULL(PI06) | \
PIN_OTYPE_PUSHPULL(PI07) | \
PIN_OTYPE_PUSHPULL(PI08) | \
PIN_OTYPE_PUSHPULL(PI09) | \
PIN_OTYPE_PUSHPULL(PI10) | \
PIN_OTYPE_PUSHPULL(PI11) | \
PIN_OTYPE_PUSHPULL(PI12) | \
PIN_OTYPE_PUSHPULL(PI13) | \
PIN_OTYPE_PUSHPULL(PI14) | \
PIN_OTYPE_PUSHPULL(PI15))

Definition at line 1668 of file board.h.

◆ VAL_GPIOI_PUPDR

#define VAL_GPIOI_PUPDR
Value:
PIN_PUPDR_PULLDOWN(PI01) | \
PIN_PUPDR_PULLDOWN(PI02) | \
PIN_PUPDR_PULLDOWN(PI03) | \
PIN_PUPDR_PULLDOWN(PI04) | \
PIN_PUPDR_PULLDOWN(PI05) | \
PIN_PUPDR_PULLDOWN(PI06) | \
PIN_PUPDR_PULLDOWN(PI07) | \
PIN_PUPDR_PULLDOWN(PI08) | \
PIN_PUPDR_PULLDOWN(PI09) | \
PIN_PUPDR_PULLDOWN(PI10) | \
PIN_PUPDR_PULLDOWN(PI11) | \
PIN_PUPDR_PULLDOWN(PI12) | \
PIN_PUPDR_PULLDOWN(PI13) | \
PIN_PUPDR_PULLDOWN(PI14) | \
PIN_PUPDR_PULLDOWN(PI15))

Definition at line 1702 of file board.h.

◆ VAL_GPIOJ_AFRH

#define VAL_GPIOJ_AFRH
Value:
(PIN_AFIO_AF(PJ08, 0) | \
PIN_AFIO_AF(PJ09, 0) | \
PIN_AFIO_AF(PJ10, 0) | \
PIN_AFIO_AF(PJ11, 0) | \
PIN_AFIO_AF(PJ12, 0) | \
PIN_AFIO_AF(PJ13, 0) | \
PIN_AFIO_AF(PJ14, 0) | \
PIN_AFIO_AF(PJ15, 0))
#define PJ08
Definition: board.h:720
#define PJ14
Definition: board.h:726
#define PJ15
Definition: board.h:727
#define PJ12
Definition: board.h:724
#define PJ10
Definition: board.h:722
#define PJ11
Definition: board.h:723
#define PJ09
Definition: board.h:721
#define PJ13
Definition: board.h:725

Definition at line 1848 of file board.h.

◆ VAL_GPIOJ_AFRL

#define VAL_GPIOJ_AFRL
Value:
(PIN_AFIO_AF(PJ00, 0) | \
PIN_AFIO_AF(PJ01, 0) | \
PIN_AFIO_AF(PJ02, 0) | \
PIN_AFIO_AF(PJ03, 0) | \
PIN_AFIO_AF(PJ04, 0) | \
PIN_AFIO_AF(PJ05, 0) | \
PIN_AFIO_AF(PJ06, 0) | \
PIN_AFIO_AF(PJ07, 0))
#define PJ03
Definition: board.h:715
#define PJ07
Definition: board.h:719
#define PJ00
Definition: board.h:712
#define PJ02
Definition: board.h:714
#define PJ01
Definition: board.h:713
#define PJ05
Definition: board.h:717
#define PJ06
Definition: board.h:718
#define PJ04
Definition: board.h:716

Definition at line 1839 of file board.h.

◆ VAL_GPIOJ_MODER

#define VAL_GPIOJ_MODER
Value:
PIN_MODE_INPUT(PJ01) | \
PIN_MODE_INPUT(PJ02) | \
PIN_MODE_INPUT(PJ03) | \
PIN_MODE_INPUT(PJ04) | \
PIN_MODE_INPUT(PJ05) | \
PIN_MODE_INPUT(PJ06) | \
PIN_MODE_INPUT(PJ07) | \
PIN_MODE_INPUT(PJ08) | \
PIN_MODE_INPUT(PJ09) | \
PIN_MODE_INPUT(PJ10) | \
PIN_MODE_INPUT(PJ11) | \
PIN_MODE_INPUT(PJ12) | \
PIN_MODE_INPUT(PJ13) | \
PIN_MODE_INPUT(PJ14) | \
PIN_MODE_INPUT(PJ15))

Definition at line 1754 of file board.h.

◆ VAL_GPIOJ_ODR

#define VAL_GPIOJ_ODR
Value:
PIN_ODR_LEVEL_LOW(PJ01) | \
PIN_ODR_LEVEL_LOW(PJ02) | \
PIN_ODR_LEVEL_LOW(PJ03) | \
PIN_ODR_LEVEL_LOW(PJ04) | \
PIN_ODR_LEVEL_LOW(PJ05) | \
PIN_ODR_LEVEL_LOW(PJ06) | \
PIN_ODR_LEVEL_LOW(PJ07) | \
PIN_ODR_LEVEL_LOW(PJ08) | \
PIN_ODR_LEVEL_LOW(PJ09) | \
PIN_ODR_LEVEL_LOW(PJ10) | \
PIN_ODR_LEVEL_LOW(PJ11) | \
PIN_ODR_LEVEL_LOW(PJ12) | \
PIN_ODR_LEVEL_LOW(PJ13) | \
PIN_ODR_LEVEL_LOW(PJ14) | \
PIN_ODR_LEVEL_LOW(PJ15))

Definition at line 1822 of file board.h.

◆ VAL_GPIOJ_OSPEEDR

#define VAL_GPIOJ_OSPEEDR
Value:
PIN_OSPEED_SPEED_VERYLOW(PJ01) | \
PIN_OSPEED_SPEED_VERYLOW(PJ02) | \
PIN_OSPEED_SPEED_VERYLOW(PJ03) | \
PIN_OSPEED_SPEED_VERYLOW(PJ04) | \
PIN_OSPEED_SPEED_VERYLOW(PJ05) | \
PIN_OSPEED_SPEED_VERYLOW(PJ06) | \
PIN_OSPEED_SPEED_VERYLOW(PJ07) | \
PIN_OSPEED_SPEED_VERYLOW(PJ08) | \
PIN_OSPEED_SPEED_VERYLOW(PJ09) | \
PIN_OSPEED_SPEED_VERYLOW(PJ10) | \
PIN_OSPEED_SPEED_VERYLOW(PJ11) | \
PIN_OSPEED_SPEED_VERYLOW(PJ12) | \
PIN_OSPEED_SPEED_VERYLOW(PJ13) | \
PIN_OSPEED_SPEED_VERYLOW(PJ14) | \
PIN_OSPEED_SPEED_VERYLOW(PJ15))

Definition at line 1788 of file board.h.

◆ VAL_GPIOJ_OTYPER

#define VAL_GPIOJ_OTYPER
Value:
PIN_OTYPE_PUSHPULL(PJ01) | \
PIN_OTYPE_PUSHPULL(PJ02) | \
PIN_OTYPE_PUSHPULL(PJ03) | \
PIN_OTYPE_PUSHPULL(PJ04) | \
PIN_OTYPE_PUSHPULL(PJ05) | \
PIN_OTYPE_PUSHPULL(PJ06) | \
PIN_OTYPE_PUSHPULL(PJ07) | \
PIN_OTYPE_PUSHPULL(PJ08) | \
PIN_OTYPE_PUSHPULL(PJ09) | \
PIN_OTYPE_PUSHPULL(PJ10) | \
PIN_OTYPE_PUSHPULL(PJ11) | \
PIN_OTYPE_PUSHPULL(PJ12) | \
PIN_OTYPE_PUSHPULL(PJ13) | \
PIN_OTYPE_PUSHPULL(PJ14) | \
PIN_OTYPE_PUSHPULL(PJ15))

Definition at line 1771 of file board.h.

◆ VAL_GPIOJ_PUPDR

#define VAL_GPIOJ_PUPDR
Value:
PIN_PUPDR_PULLDOWN(PJ01) | \
PIN_PUPDR_PULLDOWN(PJ02) | \
PIN_PUPDR_PULLDOWN(PJ03) | \
PIN_PUPDR_PULLDOWN(PJ04) | \
PIN_PUPDR_PULLDOWN(PJ05) | \
PIN_PUPDR_PULLDOWN(PJ06) | \
PIN_PUPDR_PULLDOWN(PJ07) | \
PIN_PUPDR_PULLDOWN(PJ08) | \
PIN_PUPDR_PULLDOWN(PJ09) | \
PIN_PUPDR_PULLDOWN(PJ10) | \
PIN_PUPDR_PULLDOWN(PJ11) | \
PIN_PUPDR_PULLDOWN(PJ12) | \
PIN_PUPDR_PULLDOWN(PJ13) | \
PIN_PUPDR_PULLDOWN(PJ14) | \
PIN_PUPDR_PULLDOWN(PJ15))

Definition at line 1805 of file board.h.

◆ VAL_GPIOK_AFRH

#define VAL_GPIOK_AFRH
Value:
(PIN_AFIO_AF(PK08, 0) | \
PIN_AFIO_AF(PK09, 0) | \
PIN_AFIO_AF(PK10, 0) | \
PIN_AFIO_AF(PK11, 0) | \
PIN_AFIO_AF(PK12, 0) | \
PIN_AFIO_AF(PK13, 0) | \
PIN_AFIO_AF(PK14, 0) | \
PIN_AFIO_AF(PK15, 0))
#define PK09
Definition: board.h:738
#define PK11
Definition: board.h:740
#define PK12
Definition: board.h:741
#define PK13
Definition: board.h:742
#define PK10
Definition: board.h:739
#define PK14
Definition: board.h:743
#define PK08
Definition: board.h:737
#define PK15
Definition: board.h:744

Definition at line 1951 of file board.h.

◆ VAL_GPIOK_AFRL

#define VAL_GPIOK_AFRL
Value:
(PIN_AFIO_AF(PK00, 0) | \
PIN_AFIO_AF(PK01, 0) | \
PIN_AFIO_AF(PK02, 0) | \
PIN_AFIO_AF(PK03, 0) | \
PIN_AFIO_AF(PK04, 0) | \
PIN_AFIO_AF(PK05, 0) | \
PIN_AFIO_AF(PK06, 0) | \
PIN_AFIO_AF(PK07, 0))
#define PK04
Definition: board.h:733
#define PK02
Definition: board.h:731
#define PK06
Definition: board.h:735
#define PK05
Definition: board.h:734
#define PK00
Definition: board.h:729
#define PK07
Definition: board.h:736
#define PK03
Definition: board.h:732
#define PK01
Definition: board.h:730

Definition at line 1942 of file board.h.

◆ VAL_GPIOK_MODER

#define VAL_GPIOK_MODER
Value:
PIN_MODE_INPUT(PK01) | \
PIN_MODE_INPUT(PK02) | \
PIN_MODE_INPUT(PK03) | \
PIN_MODE_INPUT(PK04) | \
PIN_MODE_INPUT(PK05) | \
PIN_MODE_INPUT(PK06) | \
PIN_MODE_INPUT(PK07) | \
PIN_MODE_INPUT(PK08) | \
PIN_MODE_INPUT(PK09) | \
PIN_MODE_INPUT(PK10) | \
PIN_MODE_INPUT(PK11) | \
PIN_MODE_INPUT(PK12) | \
PIN_MODE_INPUT(PK13) | \
PIN_MODE_INPUT(PK14) | \
PIN_MODE_INPUT(PK15))

Definition at line 1857 of file board.h.

◆ VAL_GPIOK_ODR

#define VAL_GPIOK_ODR
Value:
PIN_ODR_LEVEL_LOW(PK01) | \
PIN_ODR_LEVEL_LOW(PK02) | \
PIN_ODR_LEVEL_LOW(PK03) | \
PIN_ODR_LEVEL_LOW(PK04) | \
PIN_ODR_LEVEL_LOW(PK05) | \
PIN_ODR_LEVEL_LOW(PK06) | \
PIN_ODR_LEVEL_LOW(PK07) | \
PIN_ODR_LEVEL_LOW(PK08) | \
PIN_ODR_LEVEL_LOW(PK09) | \
PIN_ODR_LEVEL_LOW(PK10) | \
PIN_ODR_LEVEL_LOW(PK11) | \
PIN_ODR_LEVEL_LOW(PK12) | \
PIN_ODR_LEVEL_LOW(PK13) | \
PIN_ODR_LEVEL_LOW(PK14) | \
PIN_ODR_LEVEL_LOW(PK15))

Definition at line 1925 of file board.h.

◆ VAL_GPIOK_OSPEEDR

#define VAL_GPIOK_OSPEEDR
Value:
PIN_OSPEED_SPEED_VERYLOW(PK01) | \
PIN_OSPEED_SPEED_VERYLOW(PK02) | \
PIN_OSPEED_SPEED_VERYLOW(PK03) | \
PIN_OSPEED_SPEED_VERYLOW(PK04) | \
PIN_OSPEED_SPEED_VERYLOW(PK05) | \
PIN_OSPEED_SPEED_VERYLOW(PK06) | \
PIN_OSPEED_SPEED_VERYLOW(PK07) | \
PIN_OSPEED_SPEED_VERYLOW(PK08) | \
PIN_OSPEED_SPEED_VERYLOW(PK09) | \
PIN_OSPEED_SPEED_VERYLOW(PK10) | \
PIN_OSPEED_SPEED_VERYLOW(PK11) | \
PIN_OSPEED_SPEED_VERYLOW(PK12) | \
PIN_OSPEED_SPEED_VERYLOW(PK13) | \
PIN_OSPEED_SPEED_VERYLOW(PK14) | \
PIN_OSPEED_SPEED_VERYLOW(PK15))

Definition at line 1891 of file board.h.

◆ VAL_GPIOK_OTYPER

#define VAL_GPIOK_OTYPER
Value:
PIN_OTYPE_PUSHPULL(PK01) | \
PIN_OTYPE_PUSHPULL(PK02) | \
PIN_OTYPE_PUSHPULL(PK03) | \
PIN_OTYPE_PUSHPULL(PK04) | \
PIN_OTYPE_PUSHPULL(PK05) | \
PIN_OTYPE_PUSHPULL(PK06) | \
PIN_OTYPE_PUSHPULL(PK07) | \
PIN_OTYPE_PUSHPULL(PK08) | \
PIN_OTYPE_PUSHPULL(PK09) | \
PIN_OTYPE_PUSHPULL(PK10) | \
PIN_OTYPE_PUSHPULL(PK11) | \
PIN_OTYPE_PUSHPULL(PK12) | \
PIN_OTYPE_PUSHPULL(PK13) | \
PIN_OTYPE_PUSHPULL(PK14) | \
PIN_OTYPE_PUSHPULL(PK15))

Definition at line 1874 of file board.h.

◆ VAL_GPIOK_PUPDR

#define VAL_GPIOK_PUPDR
Value:
PIN_PUPDR_PULLDOWN(PK01) | \
PIN_PUPDR_PULLDOWN(PK02) | \
PIN_PUPDR_PULLDOWN(PK03) | \
PIN_PUPDR_PULLDOWN(PK04) | \
PIN_PUPDR_PULLDOWN(PK05) | \
PIN_PUPDR_PULLDOWN(PK06) | \
PIN_PUPDR_PULLDOWN(PK07) | \
PIN_PUPDR_PULLDOWN(PK08) | \
PIN_PUPDR_PULLDOWN(PK09) | \
PIN_PUPDR_PULLDOWN(PK10) | \
PIN_PUPDR_PULLDOWN(PK11) | \
PIN_PUPDR_PULLDOWN(PK12) | \
PIN_PUPDR_PULLDOWN(PK13) | \
PIN_PUPDR_PULLDOWN(PK14) | \
PIN_PUPDR_PULLDOWN(PK15))

Definition at line 1908 of file board.h.

◆ WS2812D1_AF

#define WS2812D1_AF   1

Definition at line 546 of file board.h.

◆ WS2812D1_CFG_DEF

#define WS2812D1_CFG_DEF
Value:
{ \
.dma_stream = STM32_PWM1_UP_DMA_STREAM, \
.dma_channel = STM32_PWM1_UP_DMA_CHANNEL, \
.dma_priority = STM32_PWM1_UP_DMA_PRIORITY, \
.pwm_channel = 0, \
.pwmp = &PWMD1 \
}
#define STM32_PWM1_UP_DMA_PRIORITY
#define STM32_PWM1_UP_DMA_CHANNEL
#define STM32_PWM1_UP_DMA_STREAM

Definition at line 547 of file board.h.

◆ WS2812D1_GPIO

#define WS2812D1_GPIO   GPIOA

For WS2812PWM.

Definition at line 544 of file board.h.

◆ WS2812D1_PIN

#define WS2812D1_PIN   GPIO8

Definition at line 545 of file board.h.

Function Documentation

◆ boardInit()

void boardInit ( void  )

Board-specific initialization code.

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

Definition at line 317 of file board.c.