Paparazzi UAS  v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
board.h File Reference

Go to the source code of this file.

Macros

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

Functions

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

Macro Definition Documentation

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

Definition at line 552 of file board.h.

#define ActuatorsDefaultCommit ( )    ActuatorsPwmCommit()

Definition at line 554 of file board.h.

#define ActuatorsDefaultInit ( )    ActuatorsPwmInit()

Definition at line 553 of file board.h.

#define AD1_4_CHANNEL   ADC_CHANNEL_IN4

Definition at line 192 of file board.h.

Referenced by adc_init().

#define ADC1_IN4   4U

Definition at line 607 of file board.h.

#define ADC_4   AD1_4

Definition at line 193 of file board.h.

Referenced by vms_ecu_demo_init().

#define ADC_4_GPIO_PIN   GPIO4

Definition at line 195 of file board.h.

Referenced by adc_init().

#define ADC_4_GPIO_PORT   GPIOA

Definition at line 194 of file board.h.

Referenced by adc_init().

#define ADC_CHANNEL_VSUPPLY   ADC_4

Definition at line 200 of file board.h.

Referenced by electrical_init().

#define AF_CU1_CH1   1U

Definition at line 2016 of file board.h.

#define AF_I2C1_SCL   4U

Definition at line 2032 of file board.h.

#define AF_I2C1_SDA   4U

Definition at line 2030 of file board.h.

#define AF_I2C2_SCL   4U

Definition at line 2034 of file board.h.

#define AF_I2C2_SDA   4U

Definition at line 2036 of file board.h.

#define AF_LINE_CU1_CH1   1U

Definition at line 2017 of file board.h.

#define AF_LINE_I2C1_SCL   4U

Definition at line 2033 of file board.h.

#define AF_LINE_I2C1_SDA   4U

Definition at line 2031 of file board.h.

#define AF_LINE_I2C2_SCL   4U

Definition at line 2035 of file board.h.

#define AF_LINE_I2C2_SDA   4U

Definition at line 2037 of file board.h.

#define AF_LINE_OSC32_IN   0U

Definition at line 2053 of file board.h.

#define AF_LINE_OSC32_OUT   0U

Definition at line 2055 of file board.h.

#define AF_LINE_OSC_IN   0U

Definition at line 2059 of file board.h.

#define AF_LINE_OSC_OUT   0U

Definition at line 2061 of file board.h.

#define AF_LINE_OTG_FS_DM   10U

Definition at line 2021 of file board.h.

#define AF_LINE_OTG_FS_DP   10U

Definition at line 2023 of file board.h.

#define AF_LINE_SDIO_CK   12U

Definition at line 2051 of file board.h.

#define AF_LINE_SDIO_CMD   12U

Definition at line 2057 of file board.h.

#define AF_LINE_SDIO_D0   12U

Definition at line 2043 of file board.h.

#define AF_LINE_SDIO_D1   12U

Definition at line 2045 of file board.h.

#define AF_LINE_SDIO_D2   12U

Definition at line 2047 of file board.h.

#define AF_LINE_SDIO_D3   12U

Definition at line 2049 of file board.h.

#define AF_LINE_SPI1_MISO   5U

Definition at line 2013 of file board.h.

#define AF_LINE_SPI1_MOSI   5U

Definition at line 2015 of file board.h.

#define AF_LINE_SPI1_SCK   5U

Definition at line 2011 of file board.h.

#define AF_LINE_SWCLK   0U

Definition at line 2027 of file board.h.

#define AF_LINE_SWDIO   0U

Definition at line 2025 of file board.h.

#define AF_LINE_UART2_RX   7U

Definition at line 2009 of file board.h.

#define AF_LINE_UART4_RX   8U

Definition at line 2007 of file board.h.

#define AF_LINE_UART4_TX   8U

Definition at line 2005 of file board.h.

#define AF_LINE_USART1_RX   7U

Definition at line 2019 of file board.h.

#define AF_LINE_USART1_TX   7U

Definition at line 2029 of file board.h.

#define AF_LINE_USART6_RX   8U

Definition at line 2041 of file board.h.

#define AF_LINE_USART6_TX   8U

Definition at line 2039 of file board.h.

#define AF_OSC32_IN   0U

Definition at line 2052 of file board.h.

#define AF_OSC32_OUT   0U

Definition at line 2054 of file board.h.

#define AF_OSC_IN   0U

Definition at line 2058 of file board.h.

#define AF_OSC_OUT   0U

Definition at line 2060 of file board.h.

#define AF_OTG_FS_DM   10U

Definition at line 2020 of file board.h.

#define AF_OTG_FS_DP   10U

Definition at line 2022 of file board.h.

#define AF_SDIO_CK   12U

Definition at line 2050 of file board.h.

#define AF_SDIO_CMD   12U

Definition at line 2056 of file board.h.

#define AF_SDIO_D0   12U

Definition at line 2042 of file board.h.

#define AF_SDIO_D1   12U

Definition at line 2044 of file board.h.

#define AF_SDIO_D2   12U

Definition at line 2046 of file board.h.

#define AF_SDIO_D3   12U

Definition at line 2048 of file board.h.

#define AF_SPI1_MISO   5U

Definition at line 2012 of file board.h.

#define AF_SPI1_MOSI   5U

Definition at line 2014 of file board.h.

#define AF_SPI1_SCK   5U

Definition at line 2010 of file board.h.

#define AF_SWCLK   0U

Definition at line 2026 of file board.h.

#define AF_SWDIO   0U

Definition at line 2024 of file board.h.

#define AF_UART2_RX   7U

Definition at line 2008 of file board.h.

#define AF_UART4_RX   8U

Definition at line 2006 of file board.h.

#define AF_UART4_TX   8U

Definition at line 2004 of file board.h.

#define AF_USART1_RX   7U

Definition at line 2018 of file board.h.

#define AF_USART1_TX   7U

Definition at line 2028 of file board.h.

#define AF_USART6_RX   8U

Definition at line 2040 of file board.h.

#define AF_USART6_TX   8U

Definition at line 2038 of file board.h.

#define AHB_CLK   STM32_HCLK

Definition at line 74 of file board.h.

Referenced by sys_time_arch_init().

#define AUX1   1U

Definition at line 621 of file board.h.

#define AUX2   5U

Definition at line 642 of file board.h.

#define AUX3   4U

Definition at line 641 of file board.h.

#define AUX4   15U

Definition at line 635 of file board.h.

#define BOARD_NAME   "AB/GRZ STM32F4 Apogee 1.0"

Definition at line 39 of file board.h.

#define BOARD_ST_APOGEE

Definition at line 38 of file board.h.

#define BOOT1   2U

Definition at line 622 of file board.h.

#define CU1_CH1   8U

Definition at line 611 of file board.h.

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

Definition at line 551 of file board.h.

#define DefaultVoltageOfAdc (   adc)    (0.006185*adc)

Definition at line 203 of file board.h.

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

Definition at line 409 of file board.h.

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

Definition at line 417 of file board.h.

#define DSHOT_CONF_TIM2   1

Definition at line 408 of file board.h.

#define DSHOT_CONF_TIM3   1

Definition at line 416 of file board.h.

#define DSHOT_SERVO_0   0

DSHOT.

Definition at line 352 of file board.h.

Referenced by actuators_dshot_arch_commit().

#define DSHOT_SERVO_0_AF   GPIO_AF2

Definition at line 355 of file board.h.

Referenced by actuators_dshot_arch_init().

#define DSHOT_SERVO_0_CHANNEL   2

Definition at line 357 of file board.h.

Referenced by actuators_dshot_arch_commit().

#define DSHOT_SERVO_0_DRIVER   DSHOTD3

Definition at line 356 of file board.h.

Referenced by actuators_dshot_arch_commit().

#define DSHOT_SERVO_0_GPIO   GPIOB

Definition at line 353 of file board.h.

Referenced by actuators_dshot_arch_init().

#define DSHOT_SERVO_0_PIN   GPIO0

Definition at line 354 of file board.h.

Referenced by actuators_dshot_arch_init().

#define DSHOT_SERVO_1   1

Definition at line 359 of file board.h.

Referenced by actuators_dshot_arch_commit().

#define DSHOT_SERVO_1_AF   GPIO_AF1

Definition at line 362 of file board.h.

Referenced by actuators_dshot_arch_init().

#define DSHOT_SERVO_1_CHANNEL   2

Definition at line 364 of file board.h.

Referenced by actuators_dshot_arch_commit().

#define DSHOT_SERVO_1_DRIVER   DSHOTD2

Definition at line 363 of file board.h.

Referenced by actuators_dshot_arch_commit().

#define DSHOT_SERVO_1_GPIO   GPIOA

Definition at line 360 of file board.h.

Referenced by actuators_dshot_arch_init().

#define DSHOT_SERVO_1_PIN   GPIO2

Definition at line 361 of file board.h.

Referenced by actuators_dshot_arch_init().

#define DSHOT_SERVO_2   2

Definition at line 366 of file board.h.

Referenced by actuators_dshot_arch_commit().

#define DSHOT_SERVO_2_AF   GPIO_AF2

Definition at line 369 of file board.h.

Referenced by actuators_dshot_arch_init().

#define DSHOT_SERVO_2_CHANNEL   1

Definition at line 371 of file board.h.

Referenced by actuators_dshot_arch_commit().

#define DSHOT_SERVO_2_DRIVER   DSHOTD3

Definition at line 370 of file board.h.

Referenced by actuators_dshot_arch_commit().

#define DSHOT_SERVO_2_GPIO   GPIOB

Definition at line 367 of file board.h.

Referenced by actuators_dshot_arch_init().

#define DSHOT_SERVO_2_PIN   GPIO5

Definition at line 368 of file board.h.

Referenced by actuators_dshot_arch_init().

#define DSHOT_SERVO_3   3

Definition at line 373 of file board.h.

Referenced by actuators_dshot_arch_commit().

#define DSHOT_SERVO_3_AF   GPIO_AF2

Definition at line 376 of file board.h.

Referenced by actuators_dshot_arch_init().

#define DSHOT_SERVO_3_CHANNEL   0

Definition at line 378 of file board.h.

Referenced by actuators_dshot_arch_commit().

#define DSHOT_SERVO_3_DRIVER   DSHOTD3

Definition at line 377 of file board.h.

Referenced by actuators_dshot_arch_commit().

#define DSHOT_SERVO_3_GPIO   GPIOB

Definition at line 374 of file board.h.

Referenced by actuators_dshot_arch_init().

#define DSHOT_SERVO_3_PIN   GPIO4

Definition at line 375 of file board.h.

Referenced by actuators_dshot_arch_init().

#define DSHOT_SERVO_4   4

Definition at line 380 of file board.h.

Referenced by actuators_dshot_arch_commit().

#define DSHOT_SERVO_4_AF   GPIO_AF1

Definition at line 383 of file board.h.

Referenced by actuators_dshot_arch_init().

#define DSHOT_SERVO_4_CHANNEL   1

Definition at line 385 of file board.h.

Referenced by actuators_dshot_arch_commit().

#define DSHOT_SERVO_4_DRIVER   DSHOTD2

Definition at line 384 of file board.h.

Referenced by actuators_dshot_arch_commit().

#define DSHOT_SERVO_4_GPIO   GPIOB

Definition at line 381 of file board.h.

Referenced by actuators_dshot_arch_init().

#define DSHOT_SERVO_4_PIN   GPIO3

Definition at line 382 of file board.h.

Referenced by actuators_dshot_arch_init().

#define DSHOT_SERVO_5   5

Definition at line 387 of file board.h.

Referenced by actuators_dshot_arch_commit().

#define DSHOT_SERVO_5_AF   GPIO_AF1

Definition at line 390 of file board.h.

Referenced by actuators_dshot_arch_init().

#define DSHOT_SERVO_5_CHANNEL   0

Definition at line 392 of file board.h.

Referenced by actuators_dshot_arch_commit().

#define DSHOT_SERVO_5_DRIVER   DSHOTD2

Definition at line 391 of file board.h.

Referenced by actuators_dshot_arch_commit().

#define DSHOT_SERVO_5_GPIO   GPIOA

Definition at line 388 of file board.h.

Referenced by actuators_dshot_arch_init().

#define DSHOT_SERVO_5_PIN   GPIO15

Definition at line 389 of file board.h.

Referenced by actuators_dshot_arch_init().

#define DSHOT_TELEMETRY_DEV   NULL

Definition at line 405 of file board.h.

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

Definition at line 488 of file board.h.

#define I2C1_CLOCK_SPEED   400000

I2C defines.

Definition at line 479 of file board.h.

#define I2C1_DUTY_CYCLE   FAST_DUTY_CYCLE_2

Definition at line 482 of file board.h.

#define I2C1_SCL   8U

Definition at line 628 of file board.h.

#define I2C1_SDA   7U

Definition at line 627 of file board.h.

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

Definition at line 504 of file board.h.

#define I2C2_CLOCK_SPEED   400000

Definition at line 495 of file board.h.

#define I2C2_DUTY_CYCLE   FAST_DUTY_CYCLE_2

Definition at line 498 of file board.h.

#define I2C2_SCL   10U

Definition at line 630 of file board.h.

#define I2C2_SDA   11U

Definition at line 631 of file board.h.

#define LED1   0U

Definition at line 637 of file board.h.

#define LED2   13U

Definition at line 650 of file board.h.

#define LED3   1U

Definition at line 638 of file board.h.

#define LED4   3U

Definition at line 640 of file board.h.

#define LED_1_GPIO   GPIOC

Definition at line 84 of file board.h.

#define LED_1_GPIO_OFF   gpio_set

Definition at line 87 of file board.h.

#define LED_1_GPIO_ON   gpio_clear

Definition at line 86 of file board.h.

#define LED_1_GPIO_PIN   GPIO0

Definition at line 85 of file board.h.

#define LED_2_GPIO   GPIOC

Definition at line 93 of file board.h.

#define LED_2_GPIO_OFF   gpio_set

Definition at line 96 of file board.h.

#define LED_2_GPIO_ON   gpio_clear

Definition at line 95 of file board.h.

#define LED_2_GPIO_PIN   GPIO13

Definition at line 94 of file board.h.

#define LED_3_GPIO   GPIOC

Definition at line 102 of file board.h.

#define LED_3_GPIO_OFF   gpio_set

Definition at line 105 of file board.h.

#define LED_3_GPIO_ON   gpio_clear

Definition at line 104 of file board.h.

#define LED_3_GPIO_PIN   GPIO1

Definition at line 103 of file board.h.

#define LED_4_GPIO   GPIOC

Definition at line 111 of file board.h.

#define LED_4_GPIO_OFF   gpio_set

Definition at line 114 of file board.h.

#define LED_4_GPIO_ON   gpio_clear

Definition at line 113 of file board.h.

#define LED_4_GPIO_PIN   GPIO3

Definition at line 112 of file board.h.

#define LED_5_GPIO   GPIOB

Definition at line 120 of file board.h.

#define LED_5_GPIO_OFF   gpio_clear

Definition at line 123 of file board.h.

#define LED_5_GPIO_ON   gpio_set

Definition at line 122 of file board.h.

#define LED_5_GPIO_PIN   GPIO1

Definition at line 121 of file board.h.

#define LED_6_GPIO   GPIOC

Definition at line 129 of file board.h.

#define LED_6_GPIO_OFF   gpio_clear

Definition at line 132 of file board.h.

#define LED_6_GPIO_ON   gpio_set

Definition at line 131 of file board.h.

#define LED_6_GPIO_PIN   GPIO5

Definition at line 130 of file board.h.

#define LED_7_GPIO   GPIOC

Definition at line 138 of file board.h.

#define LED_7_GPIO_OFF   gpio_clear

Definition at line 141 of file board.h.

#define LED_7_GPIO_ON   gpio_set

Definition at line 140 of file board.h.

#define LED_7_GPIO_PIN   GPIO4

Definition at line 139 of file board.h.

#define LED_8_GPIO   GPIOB

Definition at line 147 of file board.h.

#define LED_8_GPIO_OFF   gpio_clear

Definition at line 150 of file board.h.

#define LED_8_GPIO_ON   gpio_set

Definition at line 149 of file board.h.

#define LED_8_GPIO_PIN   GPIO15

Definition at line 148 of file board.h.

#define LINE_ADC1_IN4   PAL_LINE(GPIOA, 4U)

Definition at line 797 of file board.h.

#define LINE_AUX1   PAL_LINE(GPIOB, 1U)

Definition at line 811 of file board.h.

Referenced by mcu_periph_energy_save().

#define LINE_AUX2   PAL_LINE(GPIOC, 5U)

Definition at line 831 of file board.h.

Referenced by mcu_periph_energy_save().

#define LINE_AUX3   PAL_LINE(GPIOC, 4U)

Definition at line 830 of file board.h.

Referenced by mcu_periph_energy_save().

#define LINE_AUX4   PAL_LINE(GPIOB, 15U)

Definition at line 825 of file board.h.

Referenced by mcu_periph_energy_save().

#define LINE_BOOT1   PAL_LINE(GPIOB, 2U)

Definition at line 812 of file board.h.

#define LINE_CU1_CH1   PAL_LINE(GPIOA, 8U)

Definition at line 801 of file board.h.

#define LINE_I2C1_SCL   PAL_LINE(GPIOB, 8U)

Definition at line 818 of file board.h.

#define LINE_I2C1_SDA   PAL_LINE(GPIOB, 7U)

Definition at line 817 of file board.h.

#define LINE_I2C2_SCL   PAL_LINE(GPIOB, 10U)

Definition at line 820 of file board.h.

#define LINE_I2C2_SDA   PAL_LINE(GPIOB, 11U)

Definition at line 821 of file board.h.

#define LINE_LED1   PAL_LINE(GPIOC, 0U)

Definition at line 827 of file board.h.

Referenced by mcu_periph_energy_save().

#define LINE_LED2   PAL_LINE(GPIOC, 13U)

Definition at line 839 of file board.h.

Referenced by mcu_periph_energy_save().

#define LINE_LED3   PAL_LINE(GPIOC, 1U)

Definition at line 828 of file board.h.

Referenced by mcu_periph_energy_save().

#define LINE_LED4   PAL_LINE(GPIOC, 3U)

Definition at line 829 of file board.h.

Referenced by mcu_periph_energy_save().

#define LINE_OSC32_IN   PAL_LINE(GPIOC, 14U)

Definition at line 840 of file board.h.

#define LINE_OSC32_OUT   PAL_LINE(GPIOC, 15U)

Definition at line 841 of file board.h.

#define LINE_OSC_IN   PAL_LINE(GPIOH, 0U)

Definition at line 845 of file board.h.

#define LINE_OSC_OUT   PAL_LINE(GPIOH, 1U)

Definition at line 846 of file board.h.

#define LINE_OTG_FS_DM   PAL_LINE(GPIOA, 11U)

Definition at line 804 of file board.h.

#define LINE_OTG_FS_DP   PAL_LINE(GPIOA, 12U)

Definition at line 805 of file board.h.

#define LINE_OTG_FS_VBUS   PAL_LINE(GPIOA, 9U)

Definition at line 802 of file board.h.

#define LINE_POWER_SWITCH   PAL_LINE(GPIOB, 12U)

Definition at line 822 of file board.h.

#define LINE_PWM2_CH1   PAL_LINE(GPIOA, 15U)

Definition at line 808 of file board.h.

#define LINE_PWM2_CH2   PAL_LINE(GPIOB, 3U)

Definition at line 813 of file board.h.

#define LINE_PWM2_CH3   PAL_LINE(GPIOA, 2U)

Definition at line 795 of file board.h.

#define LINE_PWM3_CH1   PAL_LINE(GPIOB, 4U)

Definition at line 814 of file board.h.

#define LINE_PWM3_CH2   PAL_LINE(GPIOB, 5U)

Definition at line 815 of file board.h.

#define LINE_PWM3_CH3   PAL_LINE(GPIOB, 0U)

Definition at line 810 of file board.h.

#define LINE_RX2_POL   PAL_LINE(GPIOB, 13U)

Definition at line 823 of file board.h.

#define LINE_SDIO_CK   PAL_LINE(GPIOC, 12U)

Definition at line 838 of file board.h.

#define LINE_SDIO_CMD   PAL_LINE(GPIOD, 2U)

Definition at line 843 of file board.h.

#define LINE_SDIO_D0   PAL_LINE(GPIOC, 8U)

Definition at line 834 of file board.h.

#define LINE_SDIO_D1   PAL_LINE(GPIOC, 9U)

Definition at line 835 of file board.h.

#define LINE_SDIO_D2   PAL_LINE(GPIOC, 10U)

Definition at line 836 of file board.h.

#define LINE_SDIO_D3   PAL_LINE(GPIOC, 11U)

Definition at line 837 of file board.h.

#define LINE_SDIO_DETECT   PAL_LINE(GPIOB, 14U)

Definition at line 824 of file board.h.

#define LINE_SPI1_CS   PAL_LINE(GPIOB, 9U)

Definition at line 819 of file board.h.

Referenced by mcu_periph_energy_save().

#define LINE_SPI1_MISO   PAL_LINE(GPIOA, 6U)

Definition at line 799 of file board.h.

#define LINE_SPI1_MOSI   PAL_LINE(GPIOA, 7U)

Definition at line 800 of file board.h.

#define LINE_SPI1_SCK   PAL_LINE(GPIOA, 5U)

Definition at line 798 of file board.h.

#define LINE_SWCLK   PAL_LINE(GPIOA, 14U)

Definition at line 807 of file board.h.

#define LINE_SWDIO   PAL_LINE(GPIOA, 13U)

Definition at line 806 of file board.h.

#define LINE_UART2_RX   PAL_LINE(GPIOA, 3U)

Definition at line 796 of file board.h.

#define LINE_UART4_RX   PAL_LINE(GPIOA, 1U)

Definition at line 794 of file board.h.

#define LINE_UART4_TX   PAL_LINE(GPIOA, 0U)

Definition at line 793 of file board.h.

#define LINE_USART1_RX   PAL_LINE(GPIOA, 10U)

Definition at line 803 of file board.h.

#define LINE_USART1_TX   PAL_LINE(GPIOB, 6U)

Definition at line 816 of file board.h.

#define LINE_USART6_RX   PAL_LINE(GPIOC, 7U)

Definition at line 833 of file board.h.

#define LINE_USART6_TX   PAL_LINE(GPIOC, 6U)

Definition at line 832 of file board.h.

#define OSC32_IN   14U

Definition at line 651 of file board.h.

#define OSC32_OUT   15U

Definition at line 652 of file board.h.

#define OSC_IN   0U

Definition at line 722 of file board.h.

#define OSC_OUT   1U

Definition at line 723 of file board.h.

#define OTG_FS_DM   11U

Definition at line 614 of file board.h.

#define OTG_FS_DP   12U

Definition at line 615 of file board.h.

#define OTG_FS_VBUS   9U

Definition at line 612 of file board.h.

#define PC02   2U

Definition at line 639 of file board.h.

#define PD00   0U

Definition at line 654 of file board.h.

#define PD01   1U

Definition at line 655 of file board.h.

#define PD03   3U

Definition at line 657 of file board.h.

#define PD04   4U

Definition at line 658 of file board.h.

#define PD05   5U

Definition at line 659 of file board.h.

#define PD06   6U

Definition at line 660 of file board.h.

#define PD07   7U

Definition at line 661 of file board.h.

#define PD08   8U

Definition at line 662 of file board.h.

#define PD09   9U

Definition at line 663 of file board.h.

#define PD10   10U

Definition at line 664 of file board.h.

#define PD11   11U

Definition at line 665 of file board.h.

#define PD12   12U

Definition at line 666 of file board.h.

#define PD13   13U

Definition at line 667 of file board.h.

#define PD14   14U

Definition at line 668 of file board.h.

#define PD15   15U

Definition at line 669 of file board.h.

#define PE00   0U

Definition at line 671 of file board.h.

#define PE01   1U

Definition at line 672 of file board.h.

#define PE02   2U

Definition at line 673 of file board.h.

#define PE03   3U

Definition at line 674 of file board.h.

#define PE04   4U

Definition at line 675 of file board.h.

#define PE05   5U

Definition at line 676 of file board.h.

#define PE06   6U

Definition at line 677 of file board.h.

#define PE07   7U

Definition at line 678 of file board.h.

#define PE08   8U

Definition at line 679 of file board.h.

#define PE09   9U

Definition at line 680 of file board.h.

#define PE10   10U

Definition at line 681 of file board.h.

#define PE11   11U

Definition at line 682 of file board.h.

#define PE12   12U

Definition at line 683 of file board.h.

#define PE13   13U

Definition at line 684 of file board.h.

#define PE14   14U

Definition at line 685 of file board.h.

#define PE15   15U

Definition at line 686 of file board.h.

#define PF00   0U

Definition at line 688 of file board.h.

#define PF01   1U

Definition at line 689 of file board.h.

#define PF02   2U

Definition at line 690 of file board.h.

#define PF03   3U

Definition at line 691 of file board.h.

#define PF04   4U

Definition at line 692 of file board.h.

#define PF05   5U

Definition at line 693 of file board.h.

#define PF06   6U

Definition at line 694 of file board.h.

#define PF07   7U

Definition at line 695 of file board.h.

#define PF08   8U

Definition at line 696 of file board.h.

#define PF09   9U

Definition at line 697 of file board.h.

#define PF10   10U

Definition at line 698 of file board.h.

#define PF11   11U

Definition at line 699 of file board.h.

#define PF12   12U

Definition at line 700 of file board.h.

#define PF13   13U

Definition at line 701 of file board.h.

#define PF14   14U

Definition at line 702 of file board.h.

#define PF15   15U

Definition at line 703 of file board.h.

#define PG00   0U

Definition at line 705 of file board.h.

#define PG01   1U

Definition at line 706 of file board.h.

#define PG02   2U

Definition at line 707 of file board.h.

#define PG03   3U

Definition at line 708 of file board.h.

#define PG04   4U

Definition at line 709 of file board.h.

#define PG05   5U

Definition at line 710 of file board.h.

#define PG06   6U

Definition at line 711 of file board.h.

#define PG07   7U

Definition at line 712 of file board.h.

#define PG08   8U

Definition at line 713 of file board.h.

#define PG09   9U

Definition at line 714 of file board.h.

#define PG10   10U

Definition at line 715 of file board.h.

#define PG11   11U

Definition at line 716 of file board.h.

#define PG12   12U

Definition at line 717 of file board.h.

#define PG13   13U

Definition at line 718 of file board.h.

#define PG14   14U

Definition at line 719 of file board.h.

#define PG15   15U

Definition at line 720 of file board.h.

#define PH02   2U

Definition at line 724 of file board.h.

#define PH03   3U

Definition at line 725 of file board.h.

#define PH04   4U

Definition at line 726 of file board.h.

#define PH05   5U

Definition at line 727 of file board.h.

#define PH06   6U

Definition at line 728 of file board.h.

#define PH07   7U

Definition at line 729 of file board.h.

#define PH08   8U

Definition at line 730 of file board.h.

#define PH09   9U

Definition at line 731 of file board.h.

#define PH10   10U

Definition at line 732 of file board.h.

#define PH11   11U

Definition at line 733 of file board.h.

#define PH12   12U

Definition at line 734 of file board.h.

#define PH13   13U

Definition at line 735 of file board.h.

#define PH14   14U

Definition at line 736 of file board.h.

#define PH15   15U

Definition at line 737 of file board.h.

#define PI00   0U

Definition at line 739 of file board.h.

#define PI01   1U

Definition at line 740 of file board.h.

#define PI02   2U

Definition at line 741 of file board.h.

#define PI03   3U

Definition at line 742 of file board.h.

#define PI04   4U

Definition at line 743 of file board.h.

#define PI05   5U

Definition at line 744 of file board.h.

#define PI06   6U

Definition at line 745 of file board.h.

#define PI07   7U

Definition at line 746 of file board.h.

#define PI08   8U

Definition at line 747 of file board.h.

#define PI09   9U

Definition at line 748 of file board.h.

#define PI10   10U

Definition at line 749 of file board.h.

#define PI11   11U

Definition at line 750 of file board.h.

#define PI12   12U

Definition at line 751 of file board.h.

#define PI13   13U

Definition at line 752 of file board.h.

#define PI14   14U

Definition at line 753 of file board.h.

#define PI15   15U

Definition at line 754 of file board.h.

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

Definition at line 869 of file board.h.

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

Definition at line 856 of file board.h.

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

Definition at line 857 of file board.h.

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

Definition at line 854 of file board.h.

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

Definition at line 855 of file board.h.

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

Definition at line 859 of file board.h.

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

Definition at line 858 of file board.h.

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

Definition at line 865 of file board.h.

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

Definition at line 863 of file board.h.

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

Definition at line 864 of file board.h.

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

Definition at line 862 of file board.h.

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

Definition at line 861 of file board.h.

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

Definition at line 860 of file board.h.

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

Definition at line 866 of file board.h.

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

Definition at line 868 of file board.h.

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

Definition at line 867 of file board.h.

#define PJ00   0U

Definition at line 756 of file board.h.

#define PJ01   1U

Definition at line 757 of file board.h.

#define PJ02   2U

Definition at line 758 of file board.h.

#define PJ03   3U

Definition at line 759 of file board.h.

#define PJ04   4U

Definition at line 760 of file board.h.

#define PJ05   5U

Definition at line 761 of file board.h.

#define PJ06   6U

Definition at line 762 of file board.h.

#define PJ07   7U

Definition at line 763 of file board.h.

#define PJ08   8U

Definition at line 764 of file board.h.

#define PJ09   9U

Definition at line 765 of file board.h.

#define PJ10   10U

Definition at line 766 of file board.h.

#define PJ11   11U

Definition at line 767 of file board.h.

#define PJ12   12U

Definition at line 768 of file board.h.

#define PJ13   13U

Definition at line 769 of file board.h.

#define PJ14   14U

Definition at line 770 of file board.h.

#define PJ15   15U

Definition at line 771 of file board.h.

#define PK00   0U

Definition at line 773 of file board.h.

#define PK01   1U

Definition at line 774 of file board.h.

#define PK02   2U

Definition at line 775 of file board.h.

#define PK03   3U

Definition at line 776 of file board.h.

#define PK04   4U

Definition at line 777 of file board.h.

#define PK05   5U

Definition at line 778 of file board.h.

#define PK06   6U

Definition at line 779 of file board.h.

#define PK07   7U

Definition at line 780 of file board.h.

#define PK08   8U

Definition at line 781 of file board.h.

#define PK09   9U

Definition at line 782 of file board.h.

#define PK10   10U

Definition at line 783 of file board.h.

#define PK11   11U

Definition at line 784 of file board.h.

#define PK12   12U

Definition at line 785 of file board.h.

#define PK13   13U

Definition at line 786 of file board.h.

#define PK14   14U

Definition at line 787 of file board.h.

#define PK15   15U

Definition at line 788 of file board.h.

#define POWER_SWITCH   12U

Definition at line 632 of file board.h.

#define POWER_SWITCH_GPIO   GPIOB,GPIO12

Definition at line 153 of file board.h.

Referenced by autopilot_init(), and autopilot_set_power_switch().

#define PPM_CHANNEL   ICU_CHANNEL_1

Definition at line 429 of file board.h.

Referenced by ppm_arch_init().

#define PPM_TIMER   ICUD1

Definition at line 430 of file board.h.

Referenced by ppm_arch_init().

#define PPM_TIMER_FREQUENCY   2000000

Definition at line 428 of file board.h.

#define PWM2_CH1   15U

Definition at line 618 of file board.h.

#define PWM2_CH2   3U

Definition at line 623 of file board.h.

#define PWM2_CH3   2U

Definition at line 605 of file board.h.

#define PWM3_CH1   4U

Definition at line 624 of file board.h.

#define PWM3_CH2   5U

Definition at line 625 of file board.h.

#define PWM3_CH3   0U

Definition at line 620 of file board.h.

#define PWM_CONF2_DEF
Value:
{ \
NULL, \
{ \
{ PWM_SERVO_5_ACTIVE, NULL }, \
{ PWM_SERVO_4_ACTIVE, NULL }, \
{ PWM_SERVO_1_ACTIVE, NULL }, \
{ PWM_OUTPUT_DISABLED, NULL }, \
}, \
0, \
0 \
}
#define PWM_SERVO_1_ACTIVE
Definition: board.h:233
#define PWM_SERVO_4_ACTIVE
Definition: board.h:278
#define PWM_SERVO_5_ACTIVE
Definition: board.h:293
#define PWM_FREQUENCY
#define TIM2_SERVO_HZ

Definition at line 316 of file board.h.

#define PWM_CONF3_DEF
Value:
{ \
NULL, \
{ \
{ PWM_SERVO_3_ACTIVE, NULL }, \
{ PWM_SERVO_2_ACTIVE, NULL }, \
{ PWM_SERVO_0_ACTIVE, NULL }, \
{ PWM_SERVO_6_ACTIVE, NULL }, \
}, \
0, \
0 \
}
#define PWM_SERVO_3_ACTIVE
Definition: board.h:263
#define PWM_SERVO_2_ACTIVE
Definition: board.h:248
#define TIM3_SERVO_HZ
#define PWM_SERVO_0_ACTIVE
Definition: board.h:218
#define PWM_FREQUENCY
#define PWM_SERVO_6_ACTIVE
Definition: board.h:307

Definition at line 335 of file board.h.

#define PWM_CONF_TIM2   1

Definition at line 314 of file board.h.

#define PWM_CONF_TIM3   1

Definition at line 333 of file board.h.

#define PWM_INPUT1_CHANNEL   ICU_CHANNEL_1

Definition at line 459 of file board.h.

#define PWM_INPUT1_GPIO_AF   GPIO_AF1

Definition at line 463 of file board.h.

Referenced by pwm_input_init().

#define PWM_INPUT1_GPIO_PIN   GPIO8

Definition at line 462 of file board.h.

Referenced by pwm_input_init().

#define PWM_INPUT1_GPIO_PORT   GPIOA

Definition at line 461 of file board.h.

Referenced by pwm_input_init().

#define PWM_INPUT1_ICU   ICUD1

Definition at line 458 of file board.h.

Referenced by pwm_input_init().

#define PWM_INPUT2_CHANNEL   ICU_CHANNEL_1

Definition at line 470 of file board.h.

#define PWM_INPUT2_GPIO_AF   GPIO_AF3

Definition at line 473 of file board.h.

Referenced by pwm_input_init().

#define PWM_INPUT2_GPIO_PIN   GPIO2

Definition at line 472 of file board.h.

Referenced by pwm_input_init().

#define PWM_INPUT2_GPIO_PORT   GPIOA

Definition at line 471 of file board.h.

Referenced by pwm_input_init().

#define PWM_INPUT2_ICU   ICUD9

Definition at line 469 of file board.h.

Referenced by pwm_input_init().

#define PWM_SERVO_0   0

Definition at line 212 of file board.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_0_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 218 of file board.h.

#define PWM_SERVO_0_AF   GPIO_AF2

Definition at line 215 of file board.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_0_CHANNEL   2

Definition at line 217 of file board.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_0_DRIVER   PWMD3

Definition at line 216 of file board.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_0_GPIO   GPIOB

Definition at line 213 of file board.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_0_PIN   GPIO0

Definition at line 214 of file board.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_1   1

Definition at line 227 of file board.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_1_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 233 of file board.h.

#define PWM_SERVO_1_AF   GPIO_AF1

Definition at line 230 of file board.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_1_CHANNEL   2

Definition at line 232 of file board.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_1_DRIVER   PWMD2

Definition at line 231 of file board.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_1_GPIO   GPIOA

Definition at line 228 of file board.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_1_PIN   GPIO2

Definition at line 229 of file board.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_2   2

Definition at line 242 of file board.h.

Referenced by actuators_pwm_commit(), and actuators_xvert_commit().

#define PWM_SERVO_2_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 248 of file board.h.

#define PWM_SERVO_2_AF   GPIO_AF2

Definition at line 245 of file board.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_2_CHANNEL   1

Definition at line 247 of file board.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_2_DRIVER   PWMD3

Definition at line 246 of file board.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_2_GPIO   GPIOB

Definition at line 243 of file board.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_2_PIN   GPIO5

Definition at line 244 of file board.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_3   3

Definition at line 257 of file board.h.

Referenced by actuators_pwm_commit(), and actuators_xvert_commit().

#define PWM_SERVO_3_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 263 of file board.h.

#define PWM_SERVO_3_AF   GPIO_AF2

Definition at line 260 of file board.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_3_CHANNEL   0

Definition at line 262 of file board.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_3_DRIVER   PWMD3

Definition at line 261 of file board.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_3_GPIO   GPIOB

Definition at line 258 of file board.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_3_PIN   GPIO4

Definition at line 259 of file board.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_4   4

Definition at line 272 of file board.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_4_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 278 of file board.h.

#define PWM_SERVO_4_AF   GPIO_AF1

Definition at line 275 of file board.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_4_CHANNEL   1

Definition at line 277 of file board.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_4_DRIVER   PWMD2

Definition at line 276 of file board.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_4_GPIO   GPIOB

Definition at line 273 of file board.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_4_PIN   GPIO3

Definition at line 274 of file board.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_5   5

Definition at line 287 of file board.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_5_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 293 of file board.h.

#define PWM_SERVO_5_AF   GPIO_AF1

Definition at line 290 of file board.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_5_CHANNEL   0

Definition at line 292 of file board.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_5_DRIVER   PWMD2

Definition at line 291 of file board.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_5_GPIO   GPIOA

Definition at line 288 of file board.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_5_PIN   GPIO15

Definition at line 289 of file board.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_6_ACTIVE   PWM_OUTPUT_DISABLED

Definition at line 307 of file board.h.

#define RC_POLARITY_GPIO_PIN   GPIO13

Definition at line 158 of file board.h.

Referenced by radio_control_impl_init().

#define RC_POLARITY_GPIO_PORT   GPIOB

Definition at line 157 of file board.h.

Referenced by radio_control_impl_init().

#define RC_PPM_TICKS_PER_USEC   2

PPM radio defines.

Definition at line 427 of file board.h.

#define RX2_POL   13U

Definition at line 633 of file board.h.

#define SDIO_AF   12

Definition at line 572 of file board.h.

Referenced by sdio_connect().

#define SDIO_CK   12U

Definition at line 649 of file board.h.

#define SDIO_CK_PIN   SDIO_CK

Definition at line 569 of file board.h.

Referenced by sdio_connect().

#define SDIO_CK_PORT   GPIOC

Definition at line 568 of file board.h.

Referenced by sdio_connect().

#define SDIO_CMD   2U

Definition at line 656 of file board.h.

#define SDIO_CMD_PIN   SDIO_CMD

Definition at line 571 of file board.h.

Referenced by sdio_connect().

#define SDIO_CMD_PORT   GPIOD

Definition at line 570 of file board.h.

Referenced by sdio_connect().

#define SDIO_D0   8U

Definition at line 645 of file board.h.

#define SDIO_D0_PIN   SDIO_D0

Definition at line 561 of file board.h.

Referenced by sdio_connect().

#define SDIO_D0_PORT   GPIOC

SDIO.

Definition at line 560 of file board.h.

Referenced by sdio_connect().

#define SDIO_D1   9U

Definition at line 646 of file board.h.

#define SDIO_D1_PIN   SDIO_D1

Definition at line 563 of file board.h.

Referenced by sdio_connect().

#define SDIO_D1_PORT   GPIOC

Definition at line 562 of file board.h.

Referenced by sdio_connect().

#define SDIO_D2   10U

Definition at line 647 of file board.h.

#define SDIO_D2_PIN   SDIO_D2

Definition at line 565 of file board.h.

Referenced by sdio_connect().

#define SDIO_D2_PORT   GPIOC

Definition at line 564 of file board.h.

Referenced by sdio_connect().

#define SDIO_D3   11U

Definition at line 648 of file board.h.

#define SDIO_D3_PIN   SDIO_D3

Definition at line 567 of file board.h.

Referenced by sdio_connect().

#define SDIO_D3_PORT   GPIOC

Definition at line 566 of file board.h.

Referenced by sdio_connect().

#define SDIO_DETECT   14U

Definition at line 634 of file board.h.

#define SDLOG_BAT_ADC   ADCD1

Definition at line 574 of file board.h.

Referenced by thd_bat_survey().

#define SDLOG_BAT_CHAN   AD1_4_CHANNEL

Definition at line 575 of file board.h.

Referenced by thd_bat_survey().

#define SDLOG_USB_LED   4

Definition at line 577 of file board.h.

Referenced by usbActivity().

#define SDLOG_USB_VBUS_PIN   GPIO9

Definition at line 579 of file board.h.

Referenced by thdUsbStorage().

#define SDLOG_USB_VBUS_PORT   GPIOA

Definition at line 578 of file board.h.

Referenced by thdUsbStorage().

#define SPEKTRUM_BIND_PIN   GPIO15

Definition at line 442 of file board.h.

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

#define SPEKTRUM_BIND_PIN_PORT   GPIOB

Definition at line 443 of file board.h.

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

#define SPEKTRUM_BIND_WAIT   30000

Definition at line 437 of file board.h.

#define SPEKTRUM_PRIMARY_BIND_CONF_PIN   GPIO8

Definition at line 451 of file board.h.

#define SPEKTRUM_PRIMARY_BIND_CONF_PORT   GPIOA

Definition at line 450 of file board.h.

#define SPI1_CS   9U

Definition at line 629 of file board.h.

#define SPI1_GPIO_AF   GPIO_AF5

SPI Config.

Definition at line 513 of file board.h.

Referenced by spi1_arch_init().

#define SPI1_GPIO_MISO   GPIO6

Definition at line 515 of file board.h.

Referenced by spi1_arch_init().

#define SPI1_GPIO_MOSI   GPIO7

Definition at line 517 of file board.h.

Referenced by spi1_arch_init().

#define SPI1_GPIO_PORT_MISO   GPIOA

Definition at line 514 of file board.h.

Referenced by spi1_arch_init().

#define SPI1_GPIO_PORT_MOSI   GPIOA

Definition at line 516 of file board.h.

Referenced by spi1_arch_init().

#define SPI1_GPIO_PORT_SCK   GPIOA

Definition at line 518 of file board.h.

Referenced by spi1_arch_init().

#define SPI1_GPIO_SCK   GPIO5

Definition at line 519 of file board.h.

Referenced by spi1_arch_init().

#define SPI1_MISO   6U

Definition at line 609 of file board.h.

#define SPI1_MOSI   7U

Definition at line 610 of file board.h.

#define SPI1_SCK   5U

Definition at line 608 of file board.h.

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

Definition at line 50 of file board.h.

#define STM32_LSECLK   32768

Definition at line 46 of file board.h.

#define STM32_VDD   300

Definition at line 58 of file board.h.

#define STM32F407xx

Definition at line 63 of file board.h.

#define SWCLK   14U

Definition at line 617 of file board.h.

#define SWDIO   13U

Definition at line 616 of file board.h.

#define UART2_RX   3U

Definition at line 606 of file board.h.

#define UART4_RX   1U

Definition at line 604 of file board.h.

#define UART4_TX   0U

Definition at line 603 of file board.h.

#define USART1_RX   10U

Definition at line 613 of file board.h.

#define USART1_TX   6U

Definition at line 626 of file board.h.

#define USART6_RX   7U

Definition at line 644 of file board.h.

#define USART6_TX   6U

Definition at line 643 of file board.h.

#define USE_ADC_4   1

Definition at line 189 of file board.h.

#define USE_BARO_BOARD   1

Baro.

Apparently needed for backwards compatibility with the ancient onboard baro boards

Definition at line 544 of file board.h.

#define USE_LED_1   1

Definition at line 82 of file board.h.

#define USE_LED_2   1

Definition at line 91 of file board.h.

#define USE_LED_3   1

Definition at line 100 of file board.h.

#define USE_LED_4   1

Definition at line 109 of file board.h.

#define USE_LED_5   0

Definition at line 118 of file board.h.

#define USE_LED_6   0

Definition at line 127 of file board.h.

#define USE_LED_7   0

Definition at line 136 of file board.h.

#define USE_LED_8   0

Definition at line 145 of file board.h.

#define USE_PWM0   1

Definition at line 209 of file board.h.

#define USE_PWM1   1

Definition at line 224 of file board.h.

#define USE_PWM2   1

Definition at line 239 of file board.h.

#define USE_PWM3   1

Definition at line 254 of file board.h.

#define USE_PWM4   1

Definition at line 269 of file board.h.

#define USE_PWM5   1

Definition at line 284 of file board.h.

#define VAL_GPIOA_AFRH
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:869
#define CU1_CH1
Definition: board.h:611
#define OTG_FS_VBUS
Definition: board.h:612
#define PWM2_CH1
Definition: board.h:618
#define OTG_FS_DM
Definition: board.h:614
#define SWDIO
Definition: board.h:616
#define SWCLK
Definition: board.h:617
#define USART1_RX
Definition: board.h:613
#define OTG_FS_DP
Definition: board.h:615

Definition at line 965 of file board.h.

#define VAL_GPIOA_AFRL
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:869
#define SPI1_SCK
Definition: board.h:608
#define UART4_RX
Definition: board.h:604
#define SPI1_MOSI
Definition: board.h:610
#define UART2_RX
Definition: board.h:606
#define SPI1_MISO
Definition: board.h:609
#define ADC1_IN4
Definition: board.h:607
#define UART4_TX
Definition: board.h:603
#define PWM2_CH3
Definition: board.h:605

Definition at line 956 of file board.h.

#define VAL_GPIOA_MODER
Value:
#define PIN_MODE_ANALOG(n)
Definition: board.h:857
#define CU1_CH1
Definition: board.h:611
#define SPI1_SCK
Definition: board.h:608
#define OTG_FS_VBUS
Definition: board.h:612
#define PIN_MODE_INPUT(n)
Definition: board.h:854
#define UART4_RX
Definition: board.h:604
#define PWM2_CH1
Definition: board.h:618
#define PIN_MODE_ALTERNATE(n)
Definition: board.h:856
#define SPI1_MOSI
Definition: board.h:610
#define OTG_FS_DM
Definition: board.h:614
#define UART2_RX
Definition: board.h:606
#define SWDIO
Definition: board.h:616
#define SWCLK
Definition: board.h:617
#define SPI1_MISO
Definition: board.h:609
#define USART1_RX
Definition: board.h:613
#define ADC1_IN4
Definition: board.h:607
#define UART4_TX
Definition: board.h:603
#define OTG_FS_DP
Definition: board.h:615
#define PWM2_CH3
Definition: board.h:605

Definition at line 871 of file board.h.

#define VAL_GPIOA_ODR
Value:
#define CU1_CH1
Definition: board.h:611
#define SPI1_SCK
Definition: board.h:608
#define OTG_FS_VBUS
Definition: board.h:612
#define UART4_RX
Definition: board.h:604
#define PWM2_CH1
Definition: board.h:618
#define PIN_ODR_LEVEL_HIGH(n)
Definition: board.h:859
#define SPI1_MOSI
Definition: board.h:610
#define OTG_FS_DM
Definition: board.h:614
#define UART2_RX
Definition: board.h:606
#define SWDIO
Definition: board.h:616
#define PIN_ODR_LEVEL_LOW(n)
Definition: board.h:858
#define SWCLK
Definition: board.h:617
#define SPI1_MISO
Definition: board.h:609
#define USART1_RX
Definition: board.h:613
#define ADC1_IN4
Definition: board.h:607
#define UART4_TX
Definition: board.h:603
#define OTG_FS_DP
Definition: board.h:615
#define PWM2_CH3
Definition: board.h:605

Definition at line 939 of file board.h.

#define VAL_GPIOA_OSPEEDR
Value:
#define CU1_CH1
Definition: board.h:611
#define SPI1_SCK
Definition: board.h:608
#define OTG_FS_VBUS
Definition: board.h:612
#define PIN_OSPEED_SPEED_HIGH(n)
Definition: board.h:865
#define UART4_RX
Definition: board.h:604
#define PWM2_CH1
Definition: board.h:618
#define SPI1_MOSI
Definition: board.h:610
#define OTG_FS_DM
Definition: board.h:614
#define PIN_OSPEED_SPEED_VERYLOW(n)
Definition: board.h:862
#define UART2_RX
Definition: board.h:606
#define SWDIO
Definition: board.h:616
#define SWCLK
Definition: board.h:617
#define SPI1_MISO
Definition: board.h:609
#define USART1_RX
Definition: board.h:613
#define ADC1_IN4
Definition: board.h:607
#define UART4_TX
Definition: board.h:603
#define OTG_FS_DP
Definition: board.h:615
#define PWM2_CH3
Definition: board.h:605

Definition at line 905 of file board.h.

#define VAL_GPIOA_OTYPER
Value:
#define CU1_CH1
Definition: board.h:611
#define SPI1_SCK
Definition: board.h:608
#define OTG_FS_VBUS
Definition: board.h:612
#define UART4_RX
Definition: board.h:604
#define PWM2_CH1
Definition: board.h:618
#define SPI1_MOSI
Definition: board.h:610
#define OTG_FS_DM
Definition: board.h:614
#define PIN_OTYPE_OPENDRAIN(n)
Definition: board.h:861
#define UART2_RX
Definition: board.h:606
#define SWDIO
Definition: board.h:616
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:860
#define SWCLK
Definition: board.h:617
#define SPI1_MISO
Definition: board.h:609
#define USART1_RX
Definition: board.h:613
#define ADC1_IN4
Definition: board.h:607
#define UART4_TX
Definition: board.h:603
#define OTG_FS_DP
Definition: board.h:615
#define PWM2_CH3
Definition: board.h:605

Definition at line 888 of file board.h.

#define VAL_GPIOA_PUPDR
Value:
#define CU1_CH1
Definition: board.h:611
#define SPI1_SCK
Definition: board.h:608
#define OTG_FS_VBUS
Definition: board.h:612
#define PIN_PUPDR_PULLDOWN(n)
Definition: board.h:868
#define UART4_RX
Definition: board.h:604
#define PWM2_CH1
Definition: board.h:618
#define SPI1_MOSI
Definition: board.h:610
#define OTG_FS_DM
Definition: board.h:614
#define UART2_RX
Definition: board.h:606
#define PIN_PUPDR_FLOATING(n)
Definition: board.h:866
#define SWDIO
Definition: board.h:616
#define SWCLK
Definition: board.h:617
#define SPI1_MISO
Definition: board.h:609
#define USART1_RX
Definition: board.h:613
#define ADC1_IN4
Definition: board.h:607
#define UART4_TX
Definition: board.h:603
#define OTG_FS_DP
Definition: board.h:615
#define PWM2_CH3
Definition: board.h:605

Definition at line 922 of file board.h.

#define VAL_GPIOB_AFRH
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:869
#define I2C2_SDA
Definition: board.h:631
#define I2C2_SCL
Definition: board.h:630
#define I2C1_SCL
Definition: board.h:628
#define RX2_POL
Definition: board.h:633
#define POWER_SWITCH
Definition: board.h:632
#define SDIO_DETECT
Definition: board.h:634
#define SPI1_CS
Definition: board.h:629
#define AUX4
Definition: board.h:635

Definition at line 1068 of file board.h.

#define VAL_GPIOB_AFRL
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:869
#define PWM3_CH2
Definition: board.h:625
#define PWM2_CH2
Definition: board.h:623
#define AUX1
Definition: board.h:621
#define PWM3_CH1
Definition: board.h:624
#define I2C1_SDA
Definition: board.h:627
#define BOOT1
Definition: board.h:622
#define USART1_TX
Definition: board.h:626
#define PWM3_CH3
Definition: board.h:620

Definition at line 1059 of file board.h.

#define VAL_GPIOB_MODER
Value:
#define I2C2_SDA
Definition: board.h:631
#define I2C2_SCL
Definition: board.h:630
#define PWM3_CH2
Definition: board.h:625
#define I2C1_SCL
Definition: board.h:628
#define PWM2_CH2
Definition: board.h:623
#define AUX1
Definition: board.h:621
#define RX2_POL
Definition: board.h:633
#define PIN_MODE_INPUT(n)
Definition: board.h:854
#define POWER_SWITCH
Definition: board.h:632
#define PIN_MODE_ALTERNATE(n)
Definition: board.h:856
#define SDIO_DETECT
Definition: board.h:634
#define SPI1_CS
Definition: board.h:629
#define PIN_MODE_OUTPUT(n)
Definition: board.h:855
#define PWM3_CH1
Definition: board.h:624
#define AUX4
Definition: board.h:635
#define I2C1_SDA
Definition: board.h:627
#define BOOT1
Definition: board.h:622
#define USART1_TX
Definition: board.h:626
#define PWM3_CH3
Definition: board.h:620

Definition at line 974 of file board.h.

#define VAL_GPIOB_ODR
Value:
#define I2C2_SDA
Definition: board.h:631
#define I2C2_SCL
Definition: board.h:630
#define PWM3_CH2
Definition: board.h:625
#define I2C1_SCL
Definition: board.h:628
#define PWM2_CH2
Definition: board.h:623
#define AUX1
Definition: board.h:621
#define RX2_POL
Definition: board.h:633
#define POWER_SWITCH
Definition: board.h:632
#define SDIO_DETECT
Definition: board.h:634
#define SPI1_CS
Definition: board.h:629
#define PIN_ODR_LEVEL_HIGH(n)
Definition: board.h:859
#define PWM3_CH1
Definition: board.h:624
#define AUX4
Definition: board.h:635
#define I2C1_SDA
Definition: board.h:627
#define BOOT1
Definition: board.h:622
#define PIN_ODR_LEVEL_LOW(n)
Definition: board.h:858
#define USART1_TX
Definition: board.h:626
#define PWM3_CH3
Definition: board.h:620

Definition at line 1042 of file board.h.

#define VAL_GPIOB_OSPEEDR
Value:
#define I2C2_SDA
Definition: board.h:631
#define I2C2_SCL
Definition: board.h:630
#define PWM3_CH2
Definition: board.h:625
#define I2C1_SCL
Definition: board.h:628
#define PWM2_CH2
Definition: board.h:623
#define AUX1
Definition: board.h:621
#define RX2_POL
Definition: board.h:633
#define PIN_OSPEED_SPEED_HIGH(n)
Definition: board.h:865
#define POWER_SWITCH
Definition: board.h:632
#define SDIO_DETECT
Definition: board.h:634
#define SPI1_CS
Definition: board.h:629
#define PWM3_CH1
Definition: board.h:624
#define PIN_OSPEED_SPEED_VERYLOW(n)
Definition: board.h:862
#define AUX4
Definition: board.h:635
#define I2C1_SDA
Definition: board.h:627
#define BOOT1
Definition: board.h:622
#define USART1_TX
Definition: board.h:626
#define PWM3_CH3
Definition: board.h:620

Definition at line 1008 of file board.h.

#define VAL_GPIOB_OTYPER
Value:
#define I2C2_SDA
Definition: board.h:631
#define I2C2_SCL
Definition: board.h:630
#define PWM3_CH2
Definition: board.h:625
#define I2C1_SCL
Definition: board.h:628
#define PWM2_CH2
Definition: board.h:623
#define AUX1
Definition: board.h:621
#define RX2_POL
Definition: board.h:633
#define POWER_SWITCH
Definition: board.h:632
#define SDIO_DETECT
Definition: board.h:634
#define SPI1_CS
Definition: board.h:629
#define PIN_OTYPE_OPENDRAIN(n)
Definition: board.h:861
#define PWM3_CH1
Definition: board.h:624
#define AUX4
Definition: board.h:635
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:860
#define I2C1_SDA
Definition: board.h:627
#define BOOT1
Definition: board.h:622
#define USART1_TX
Definition: board.h:626
#define PWM3_CH3
Definition: board.h:620

Definition at line 991 of file board.h.

#define VAL_GPIOB_PUPDR
Value:
#define I2C2_SDA
Definition: board.h:631
#define I2C2_SCL
Definition: board.h:630
#define PWM3_CH2
Definition: board.h:625
#define I2C1_SCL
Definition: board.h:628
#define PWM2_CH2
Definition: board.h:623
#define AUX1
Definition: board.h:621
#define RX2_POL
Definition: board.h:633
#define POWER_SWITCH
Definition: board.h:632
#define PIN_PUPDR_PULLUP(n)
Definition: board.h:867
#define SDIO_DETECT
Definition: board.h:634
#define SPI1_CS
Definition: board.h:629
#define PWM3_CH1
Definition: board.h:624
#define PIN_PUPDR_FLOATING(n)
Definition: board.h:866
#define AUX4
Definition: board.h:635
#define I2C1_SDA
Definition: board.h:627
#define BOOT1
Definition: board.h:622
#define USART1_TX
Definition: board.h:626
#define PWM3_CH3
Definition: board.h:620

Definition at line 1025 of file board.h.

#define VAL_GPIOC_AFRH
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:869
#define OSC32_IN
Definition: board.h:651
#define SDIO_D0
Definition: board.h:645
#define SDIO_D3
Definition: board.h:648
#define LED2
Definition: board.h:650
#define SDIO_D1
Definition: board.h:646
#define OSC32_OUT
Definition: board.h:652
#define SDIO_CK
Definition: board.h:649
#define SDIO_D2
Definition: board.h:647

Definition at line 1171 of file board.h.

#define VAL_GPIOC_AFRL
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:869
#define LED3
Definition: board.h:638
#define LED1
Definition: board.h:637
#define USART6_TX
Definition: board.h:643
#define AUX3
Definition: board.h:641
#define PC02
Definition: board.h:639
#define LED4
Definition: board.h:640
#define USART6_RX
Definition: board.h:644
#define AUX2
Definition: board.h:642

Definition at line 1162 of file board.h.

#define VAL_GPIOC_MODER
Value:
#define LED3
Definition: board.h:638
#define OSC32_IN
Definition: board.h:651
#define SDIO_D0
Definition: board.h:645
#define SDIO_D3
Definition: board.h:648
#define LED2
Definition: board.h:650
#define LED1
Definition: board.h:637
#define USART6_TX
Definition: board.h:643
#define PIN_MODE_INPUT(n)
Definition: board.h:854
#define AUX3
Definition: board.h:641
#define SDIO_D1
Definition: board.h:646
#define OSC32_OUT
Definition: board.h:652
#define PIN_MODE_ALTERNATE(n)
Definition: board.h:856
#define PIN_MODE_OUTPUT(n)
Definition: board.h:855
#define PC02
Definition: board.h:639
#define LED4
Definition: board.h:640
#define USART6_RX
Definition: board.h:644
#define AUX2
Definition: board.h:642
#define SDIO_CK
Definition: board.h:649
#define SDIO_D2
Definition: board.h:647

Definition at line 1077 of file board.h.

#define VAL_GPIOC_ODR
Value:
#define LED3
Definition: board.h:638
#define OSC32_IN
Definition: board.h:651
#define SDIO_D0
Definition: board.h:645
#define SDIO_D3
Definition: board.h:648
#define LED2
Definition: board.h:650
#define LED1
Definition: board.h:637
#define USART6_TX
Definition: board.h:643
#define AUX3
Definition: board.h:641
#define SDIO_D1
Definition: board.h:646
#define OSC32_OUT
Definition: board.h:652
#define PIN_ODR_LEVEL_HIGH(n)
Definition: board.h:859
#define PC02
Definition: board.h:639
#define LED4
Definition: board.h:640
#define USART6_RX
Definition: board.h:644
#define AUX2
Definition: board.h:642
#define SDIO_CK
Definition: board.h:649
#define PIN_ODR_LEVEL_LOW(n)
Definition: board.h:858
#define SDIO_D2
Definition: board.h:647

Definition at line 1145 of file board.h.

#define VAL_GPIOC_OSPEEDR
Value:
#define LED3
Definition: board.h:638
#define OSC32_IN
Definition: board.h:651
#define SDIO_D0
Definition: board.h:645
#define SDIO_D3
Definition: board.h:648
#define LED2
Definition: board.h:650
#define LED1
Definition: board.h:637
#define USART6_TX
Definition: board.h:643
#define PIN_OSPEED_SPEED_HIGH(n)
Definition: board.h:865
#define AUX3
Definition: board.h:641
#define SDIO_D1
Definition: board.h:646
#define OSC32_OUT
Definition: board.h:652
#define PC02
Definition: board.h:639
#define LED4
Definition: board.h:640
#define USART6_RX
Definition: board.h:644
#define PIN_OSPEED_SPEED_VERYLOW(n)
Definition: board.h:862
#define AUX2
Definition: board.h:642
#define SDIO_CK
Definition: board.h:649
#define SDIO_D2
Definition: board.h:647

Definition at line 1111 of file board.h.

#define VAL_GPIOC_OTYPER
Value:
#define LED3
Definition: board.h:638
#define OSC32_IN
Definition: board.h:651
#define SDIO_D0
Definition: board.h:645
#define SDIO_D3
Definition: board.h:648
#define LED2
Definition: board.h:650
#define LED1
Definition: board.h:637
#define USART6_TX
Definition: board.h:643
#define AUX3
Definition: board.h:641
#define SDIO_D1
Definition: board.h:646
#define OSC32_OUT
Definition: board.h:652
#define PC02
Definition: board.h:639
#define LED4
Definition: board.h:640
#define PIN_OTYPE_OPENDRAIN(n)
Definition: board.h:861
#define USART6_RX
Definition: board.h:644
#define AUX2
Definition: board.h:642
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:860
#define SDIO_CK
Definition: board.h:649
#define SDIO_D2
Definition: board.h:647

Definition at line 1094 of file board.h.

#define VAL_GPIOC_PUPDR
Value:
#define LED3
Definition: board.h:638
#define OSC32_IN
Definition: board.h:651
#define SDIO_D0
Definition: board.h:645
#define SDIO_D3
Definition: board.h:648
#define LED2
Definition: board.h:650
#define LED1
Definition: board.h:637
#define USART6_TX
Definition: board.h:643
#define PIN_PUPDR_PULLDOWN(n)
Definition: board.h:868
#define AUX3
Definition: board.h:641
#define SDIO_D1
Definition: board.h:646
#define OSC32_OUT
Definition: board.h:652
#define PIN_PUPDR_PULLUP(n)
Definition: board.h:867
#define PC02
Definition: board.h:639
#define LED4
Definition: board.h:640
#define USART6_RX
Definition: board.h:644
#define PIN_PUPDR_FLOATING(n)
Definition: board.h:866
#define AUX2
Definition: board.h:642
#define SDIO_CK
Definition: board.h:649
#define SDIO_D2
Definition: board.h:647

Definition at line 1128 of file board.h.

#define VAL_GPIOD_AFRH
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:869
#define PD12
Definition: board.h:666
#define PD13
Definition: board.h:667
#define PD14
Definition: board.h:668
#define PD15
Definition: board.h:669
#define PD10
Definition: board.h:664
#define PD08
Definition: board.h:662
#define PD09
Definition: board.h:663
#define PD11
Definition: board.h:665

Definition at line 1274 of file board.h.

#define VAL_GPIOD_AFRL
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:869
#define SDIO_CMD
Definition: board.h:656
#define PD00
Definition: board.h:654
#define PD06
Definition: board.h:660
#define PD03
Definition: board.h:657
#define PD07
Definition: board.h:661
#define PD05
Definition: board.h:659
#define PD04
Definition: board.h:658
#define PD01
Definition: board.h:655

Definition at line 1265 of file board.h.

#define VAL_GPIOD_MODER
Value:
#define SDIO_CMD
Definition: board.h:656
#define PD12
Definition: board.h:666
#define PD00
Definition: board.h:654
#define PIN_MODE_INPUT(n)
Definition: board.h:854
#define PD13
Definition: board.h:667
#define PD14
Definition: board.h:668
#define PIN_MODE_ALTERNATE(n)
Definition: board.h:856
#define PD15
Definition: board.h:669
#define PD06
Definition: board.h:660
#define PD03
Definition: board.h:657
#define PD07
Definition: board.h:661
#define PD10
Definition: board.h:664
#define PD05
Definition: board.h:659
#define PD04
Definition: board.h:658
#define PD01
Definition: board.h:655
#define PD08
Definition: board.h:662
#define PD09
Definition: board.h:663
#define PD11
Definition: board.h:665

Definition at line 1180 of file board.h.

#define VAL_GPIOD_ODR
Value:
#define SDIO_CMD
Definition: board.h:656
#define PD12
Definition: board.h:666
#define PD00
Definition: board.h:654
#define PD13
Definition: board.h:667
#define PD14
Definition: board.h:668
#define PIN_ODR_LEVEL_HIGH(n)
Definition: board.h:859
#define PD15
Definition: board.h:669
#define PD06
Definition: board.h:660
#define PD03
Definition: board.h:657
#define PD07
Definition: board.h:661
#define PD10
Definition: board.h:664
#define PD05
Definition: board.h:659
#define PIN_ODR_LEVEL_LOW(n)
Definition: board.h:858
#define PD04
Definition: board.h:658
#define PD01
Definition: board.h:655
#define PD08
Definition: board.h:662
#define PD09
Definition: board.h:663
#define PD11
Definition: board.h:665

Definition at line 1248 of file board.h.

#define VAL_GPIOD_OSPEEDR
Value:
#define SDIO_CMD
Definition: board.h:656
#define PD12
Definition: board.h:666
#define PD00
Definition: board.h:654
#define PIN_OSPEED_SPEED_HIGH(n)
Definition: board.h:865
#define PD13
Definition: board.h:667
#define PD14
Definition: board.h:668
#define PD15
Definition: board.h:669
#define PD06
Definition: board.h:660
#define PIN_OSPEED_SPEED_VERYLOW(n)
Definition: board.h:862
#define PD03
Definition: board.h:657
#define PD07
Definition: board.h:661
#define PD10
Definition: board.h:664
#define PD05
Definition: board.h:659
#define PD04
Definition: board.h:658
#define PD01
Definition: board.h:655
#define PD08
Definition: board.h:662
#define PD09
Definition: board.h:663
#define PD11
Definition: board.h:665

Definition at line 1214 of file board.h.

#define VAL_GPIOD_OTYPER
Value:
#define SDIO_CMD
Definition: board.h:656
#define PD12
Definition: board.h:666
#define PD00
Definition: board.h:654
#define PD13
Definition: board.h:667
#define PD14
Definition: board.h:668
#define PD15
Definition: board.h:669
#define PD06
Definition: board.h:660
#define PD03
Definition: board.h:657
#define PD07
Definition: board.h:661
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:860
#define PD10
Definition: board.h:664
#define PD05
Definition: board.h:659
#define PD04
Definition: board.h:658
#define PD01
Definition: board.h:655
#define PD08
Definition: board.h:662
#define PD09
Definition: board.h:663
#define PD11
Definition: board.h:665

Definition at line 1197 of file board.h.

#define VAL_GPIOD_PUPDR
Value:
#define SDIO_CMD
Definition: board.h:656
#define PD12
Definition: board.h:666
#define PD00
Definition: board.h:654
#define PIN_PUPDR_PULLDOWN(n)
Definition: board.h:868
#define PD13
Definition: board.h:667
#define PD14
Definition: board.h:668
#define PIN_PUPDR_PULLUP(n)
Definition: board.h:867
#define PD15
Definition: board.h:669
#define PD06
Definition: board.h:660
#define PD03
Definition: board.h:657
#define PD07
Definition: board.h:661
#define PD10
Definition: board.h:664
#define PD05
Definition: board.h:659
#define PD04
Definition: board.h:658
#define PD01
Definition: board.h:655
#define PD08
Definition: board.h:662
#define PD09
Definition: board.h:663
#define PD11
Definition: board.h:665

Definition at line 1231 of file board.h.

#define VAL_GPIOE_AFRH
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:869
#define PE09
Definition: board.h:680
#define PE08
Definition: board.h:679
#define PE12
Definition: board.h:683
#define PE10
Definition: board.h:681
#define PE11
Definition: board.h:682
#define PE15
Definition: board.h:686
#define PE13
Definition: board.h:684
#define PE14
Definition: board.h:685

Definition at line 1377 of file board.h.

#define VAL_GPIOE_AFRL
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:869
#define PE03
Definition: board.h:674
#define PE05
Definition: board.h:676
#define PE02
Definition: board.h:673
#define PE00
Definition: board.h:671
#define PE07
Definition: board.h:678
#define PE01
Definition: board.h:672
#define PE04
Definition: board.h:675
#define PE06
Definition: board.h:677

Definition at line 1368 of file board.h.

#define VAL_GPIOE_MODER
Value:
#define PE03
Definition: board.h:674
#define PE09
Definition: board.h:680
#define PIN_MODE_INPUT(n)
Definition: board.h:854
#define PE08
Definition: board.h:679
#define PE12
Definition: board.h:683
#define PE05
Definition: board.h:676
#define PE02
Definition: board.h:673
#define PE00
Definition: board.h:671
#define PE10
Definition: board.h:681
#define PE11
Definition: board.h:682
#define PE15
Definition: board.h:686
#define PE07
Definition: board.h:678
#define PE13
Definition: board.h:684
#define PE01
Definition: board.h:672
#define PE04
Definition: board.h:675
#define PE14
Definition: board.h:685
#define PE06
Definition: board.h:677

Definition at line 1283 of file board.h.

#define VAL_GPIOE_ODR
Value:
#define PE03
Definition: board.h:674
#define PE09
Definition: board.h:680
#define PE08
Definition: board.h:679
#define PE12
Definition: board.h:683
#define PE05
Definition: board.h:676
#define PE02
Definition: board.h:673
#define PE00
Definition: board.h:671
#define PE10
Definition: board.h:681
#define PE11
Definition: board.h:682
#define PE15
Definition: board.h:686
#define PE07
Definition: board.h:678
#define PE13
Definition: board.h:684
#define PIN_ODR_LEVEL_LOW(n)
Definition: board.h:858
#define PE01
Definition: board.h:672
#define PE04
Definition: board.h:675
#define PE14
Definition: board.h:685
#define PE06
Definition: board.h:677

Definition at line 1351 of file board.h.

#define VAL_GPIOE_OSPEEDR
Value:
#define PE03
Definition: board.h:674
#define PE09
Definition: board.h:680
#define PE08
Definition: board.h:679
#define PE12
Definition: board.h:683
#define PE05
Definition: board.h:676
#define PIN_OSPEED_SPEED_VERYLOW(n)
Definition: board.h:862
#define PE02
Definition: board.h:673
#define PE00
Definition: board.h:671
#define PE10
Definition: board.h:681
#define PE11
Definition: board.h:682
#define PE15
Definition: board.h:686
#define PE07
Definition: board.h:678
#define PE13
Definition: board.h:684
#define PE01
Definition: board.h:672
#define PE04
Definition: board.h:675
#define PE14
Definition: board.h:685
#define PE06
Definition: board.h:677

Definition at line 1317 of file board.h.

#define VAL_GPIOE_OTYPER
Value:
#define PE03
Definition: board.h:674
#define PE09
Definition: board.h:680
#define PE08
Definition: board.h:679
#define PE12
Definition: board.h:683
#define PE05
Definition: board.h:676
#define PE02
Definition: board.h:673
#define PE00
Definition: board.h:671
#define PE10
Definition: board.h:681
#define PE11
Definition: board.h:682
#define PE15
Definition: board.h:686
#define PE07
Definition: board.h:678
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:860
#define PE13
Definition: board.h:684
#define PE01
Definition: board.h:672
#define PE04
Definition: board.h:675
#define PE14
Definition: board.h:685
#define PE06
Definition: board.h:677

Definition at line 1300 of file board.h.

#define VAL_GPIOE_PUPDR
Value:
#define PE03
Definition: board.h:674
#define PE09
Definition: board.h:680
#define PE08
Definition: board.h:679
#define PIN_PUPDR_PULLDOWN(n)
Definition: board.h:868
#define PE12
Definition: board.h:683
#define PE05
Definition: board.h:676
#define PE02
Definition: board.h:673
#define PE00
Definition: board.h:671
#define PE10
Definition: board.h:681
#define PE11
Definition: board.h:682
#define PE15
Definition: board.h:686
#define PE07
Definition: board.h:678
#define PE13
Definition: board.h:684
#define PE01
Definition: board.h:672
#define PE04
Definition: board.h:675
#define PE14
Definition: board.h:685
#define PE06
Definition: board.h:677

Definition at line 1334 of file board.h.

#define VAL_GPIOF_AFRH
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:869
#define PF15
Definition: board.h:703
#define PF09
Definition: board.h:697
#define PF08
Definition: board.h:696
#define PF10
Definition: board.h:698
#define PF14
Definition: board.h:702
#define PF13
Definition: board.h:701
#define PF11
Definition: board.h:699
#define PF12
Definition: board.h:700

Definition at line 1480 of file board.h.

#define VAL_GPIOF_AFRL
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:869
#define PF03
Definition: board.h:691
#define PF01
Definition: board.h:689
#define PF07
Definition: board.h:695
#define PF04
Definition: board.h:692
#define PF00
Definition: board.h:688
#define PF05
Definition: board.h:693
#define PF02
Definition: board.h:690
#define PF06
Definition: board.h:694

Definition at line 1471 of file board.h.

#define VAL_GPIOF_MODER
Value:
#define PF03
Definition: board.h:691
#define PF15
Definition: board.h:703
#define PIN_MODE_INPUT(n)
Definition: board.h:854
#define PF09
Definition: board.h:697
#define PF08
Definition: board.h:696
#define PF01
Definition: board.h:689
#define PF07
Definition: board.h:695
#define PF10
Definition: board.h:698
#define PF04
Definition: board.h:692
#define PF14
Definition: board.h:702
#define PF00
Definition: board.h:688
#define PF13
Definition: board.h:701
#define PF05
Definition: board.h:693
#define PF02
Definition: board.h:690
#define PF11
Definition: board.h:699
#define PF06
Definition: board.h:694
#define PF12
Definition: board.h:700

Definition at line 1386 of file board.h.

#define VAL_GPIOF_ODR
Value:
#define PF03
Definition: board.h:691
#define PF15
Definition: board.h:703
#define PF09
Definition: board.h:697
#define PF08
Definition: board.h:696
#define PF01
Definition: board.h:689
#define PF07
Definition: board.h:695
#define PF10
Definition: board.h:698
#define PF04
Definition: board.h:692
#define PF14
Definition: board.h:702
#define PF00
Definition: board.h:688
#define PF13
Definition: board.h:701
#define PF05
Definition: board.h:693
#define PF02
Definition: board.h:690
#define PIN_ODR_LEVEL_LOW(n)
Definition: board.h:858
#define PF11
Definition: board.h:699
#define PF06
Definition: board.h:694
#define PF12
Definition: board.h:700

Definition at line 1454 of file board.h.

#define VAL_GPIOF_OSPEEDR
Value:
#define PF03
Definition: board.h:691
#define PF15
Definition: board.h:703
#define PF09
Definition: board.h:697
#define PF08
Definition: board.h:696
#define PF01
Definition: board.h:689
#define PF07
Definition: board.h:695
#define PF10
Definition: board.h:698
#define PF04
Definition: board.h:692
#define PF14
Definition: board.h:702
#define PIN_OSPEED_SPEED_VERYLOW(n)
Definition: board.h:862
#define PF00
Definition: board.h:688
#define PF13
Definition: board.h:701
#define PF05
Definition: board.h:693
#define PF02
Definition: board.h:690
#define PF11
Definition: board.h:699
#define PF06
Definition: board.h:694
#define PF12
Definition: board.h:700

Definition at line 1420 of file board.h.

#define VAL_GPIOF_OTYPER
Value:
#define PF03
Definition: board.h:691
#define PF15
Definition: board.h:703
#define PF09
Definition: board.h:697
#define PF08
Definition: board.h:696
#define PF01
Definition: board.h:689
#define PF07
Definition: board.h:695
#define PF10
Definition: board.h:698
#define PF04
Definition: board.h:692
#define PF14
Definition: board.h:702
#define PF00
Definition: board.h:688
#define PF13
Definition: board.h:701
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:860
#define PF05
Definition: board.h:693
#define PF02
Definition: board.h:690
#define PF11
Definition: board.h:699
#define PF06
Definition: board.h:694
#define PF12
Definition: board.h:700

Definition at line 1403 of file board.h.

#define VAL_GPIOF_PUPDR
Value:
#define PF03
Definition: board.h:691
#define PF15
Definition: board.h:703
#define PF09
Definition: board.h:697
#define PF08
Definition: board.h:696
#define PIN_PUPDR_PULLDOWN(n)
Definition: board.h:868
#define PF01
Definition: board.h:689
#define PF07
Definition: board.h:695
#define PF10
Definition: board.h:698
#define PF04
Definition: board.h:692
#define PF14
Definition: board.h:702
#define PF00
Definition: board.h:688
#define PF13
Definition: board.h:701
#define PF05
Definition: board.h:693
#define PF02
Definition: board.h:690
#define PF11
Definition: board.h:699
#define PF06
Definition: board.h:694
#define PF12
Definition: board.h:700

Definition at line 1437 of file board.h.

#define VAL_GPIOG_AFRH
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:869
#define PG08
Definition: board.h:713
#define PG09
Definition: board.h:714
#define PG10
Definition: board.h:715
#define PG11
Definition: board.h:716
#define PG12
Definition: board.h:717
#define PG13
Definition: board.h:718
#define PG15
Definition: board.h:720
#define PG14
Definition: board.h:719

Definition at line 1583 of file board.h.

#define VAL_GPIOG_AFRL
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:869
#define PG04
Definition: board.h:709
#define PG01
Definition: board.h:706
#define PG02
Definition: board.h:707
#define PG07
Definition: board.h:712
#define PG06
Definition: board.h:711
#define PG00
Definition: board.h:705
#define PG05
Definition: board.h:710
#define PG03
Definition: board.h:708

Definition at line 1574 of file board.h.

#define VAL_GPIOG_MODER
Value:
#define PG04
Definition: board.h:709
#define PG08
Definition: board.h:713
#define PG01
Definition: board.h:706
#define PIN_MODE_INPUT(n)
Definition: board.h:854
#define PG09
Definition: board.h:714
#define PG02
Definition: board.h:707
#define PG10
Definition: board.h:715
#define PG07
Definition: board.h:712
#define PG06
Definition: board.h:711
#define PG11
Definition: board.h:716
#define PG00
Definition: board.h:705
#define PG12
Definition: board.h:717
#define PG13
Definition: board.h:718
#define PG05
Definition: board.h:710
#define PG03
Definition: board.h:708
#define PG15
Definition: board.h:720
#define PG14
Definition: board.h:719

Definition at line 1489 of file board.h.

#define VAL_GPIOG_ODR
Value:
#define PG04
Definition: board.h:709
#define PG08
Definition: board.h:713
#define PG01
Definition: board.h:706
#define PG09
Definition: board.h:714
#define PG02
Definition: board.h:707
#define PG10
Definition: board.h:715
#define PG07
Definition: board.h:712
#define PG06
Definition: board.h:711
#define PG11
Definition: board.h:716
#define PG00
Definition: board.h:705
#define PG12
Definition: board.h:717
#define PG13
Definition: board.h:718
#define PG05
Definition: board.h:710
#define PG03
Definition: board.h:708
#define PIN_ODR_LEVEL_LOW(n)
Definition: board.h:858
#define PG15
Definition: board.h:720
#define PG14
Definition: board.h:719

Definition at line 1557 of file board.h.

#define VAL_GPIOG_OSPEEDR
Value:
#define PG04
Definition: board.h:709
#define PG08
Definition: board.h:713
#define PG01
Definition: board.h:706
#define PG09
Definition: board.h:714
#define PG02
Definition: board.h:707
#define PG10
Definition: board.h:715
#define PG07
Definition: board.h:712
#define PG06
Definition: board.h:711
#define PG11
Definition: board.h:716
#define PIN_OSPEED_SPEED_VERYLOW(n)
Definition: board.h:862
#define PG00
Definition: board.h:705
#define PG12
Definition: board.h:717
#define PG13
Definition: board.h:718
#define PG05
Definition: board.h:710
#define PG03
Definition: board.h:708
#define PG15
Definition: board.h:720
#define PG14
Definition: board.h:719

Definition at line 1523 of file board.h.

#define VAL_GPIOG_OTYPER
Value:
#define PG04
Definition: board.h:709
#define PG08
Definition: board.h:713
#define PG01
Definition: board.h:706
#define PG09
Definition: board.h:714
#define PG02
Definition: board.h:707
#define PG10
Definition: board.h:715
#define PG07
Definition: board.h:712
#define PG06
Definition: board.h:711
#define PG11
Definition: board.h:716
#define PG00
Definition: board.h:705
#define PG12
Definition: board.h:717
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:860
#define PG13
Definition: board.h:718
#define PG05
Definition: board.h:710
#define PG03
Definition: board.h:708
#define PG15
Definition: board.h:720
#define PG14
Definition: board.h:719

Definition at line 1506 of file board.h.

#define VAL_GPIOG_PUPDR
Value:
#define PG04
Definition: board.h:709
#define PG08
Definition: board.h:713
#define PG01
Definition: board.h:706
#define PG09
Definition: board.h:714
#define PIN_PUPDR_PULLDOWN(n)
Definition: board.h:868
#define PG02
Definition: board.h:707
#define PG10
Definition: board.h:715
#define PG07
Definition: board.h:712
#define PG06
Definition: board.h:711
#define PG11
Definition: board.h:716
#define PG00
Definition: board.h:705
#define PG12
Definition: board.h:717
#define PG13
Definition: board.h:718
#define PG05
Definition: board.h:710
#define PG03
Definition: board.h:708
#define PG15
Definition: board.h:720
#define PG14
Definition: board.h:719

Definition at line 1540 of file board.h.

#define VAL_GPIOH_AFRH
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:869
#define PH15
Definition: board.h:737
#define PH14
Definition: board.h:736
#define PH09
Definition: board.h:731
#define PH13
Definition: board.h:735
#define PH11
Definition: board.h:733
#define PH12
Definition: board.h:734
#define PH08
Definition: board.h:730
#define PH10
Definition: board.h:732

Definition at line 1686 of file board.h.

#define VAL_GPIOH_AFRL
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:869
#define PH03
Definition: board.h:725
#define OSC_OUT
Definition: board.h:723
#define PH07
Definition: board.h:729
#define OSC_IN
Definition: board.h:722
#define PH05
Definition: board.h:727
#define PH04
Definition: board.h:726
#define PH06
Definition: board.h:728
#define PH02
Definition: board.h:724

Definition at line 1677 of file board.h.

#define VAL_GPIOH_MODER
Value:
#define PH03
Definition: board.h:725
#define OSC_OUT
Definition: board.h:723
#define PH15
Definition: board.h:737
#define PIN_MODE_INPUT(n)
Definition: board.h:854
#define PH14
Definition: board.h:736
#define PH07
Definition: board.h:729
#define PH09
Definition: board.h:731
#define OSC_IN
Definition: board.h:722
#define PIN_MODE_ALTERNATE(n)
Definition: board.h:856
#define PH13
Definition: board.h:735
#define PH11
Definition: board.h:733
#define PH12
Definition: board.h:734
#define PH05
Definition: board.h:727
#define PH04
Definition: board.h:726
#define PH08
Definition: board.h:730
#define PH06
Definition: board.h:728
#define PH02
Definition: board.h:724
#define PH10
Definition: board.h:732

Definition at line 1592 of file board.h.

#define VAL_GPIOH_ODR
Value:
#define PH03
Definition: board.h:725
#define OSC_OUT
Definition: board.h:723
#define PH15
Definition: board.h:737
#define PH14
Definition: board.h:736
#define PH07
Definition: board.h:729
#define PH09
Definition: board.h:731
#define OSC_IN
Definition: board.h:722
#define PIN_ODR_LEVEL_HIGH(n)
Definition: board.h:859
#define PH13
Definition: board.h:735
#define PH11
Definition: board.h:733
#define PH12
Definition: board.h:734
#define PH05
Definition: board.h:727
#define PH04
Definition: board.h:726
#define PH08
Definition: board.h:730
#define PH06
Definition: board.h:728
#define PH02
Definition: board.h:724
#define PIN_ODR_LEVEL_LOW(n)
Definition: board.h:858
#define PH10
Definition: board.h:732

Definition at line 1660 of file board.h.

#define VAL_GPIOH_OSPEEDR
Value:
#define PH03
Definition: board.h:725
#define OSC_OUT
Definition: board.h:723
#define PH15
Definition: board.h:737
#define PIN_OSPEED_SPEED_HIGH(n)
Definition: board.h:865
#define PH14
Definition: board.h:736
#define PH07
Definition: board.h:729
#define PH09
Definition: board.h:731
#define OSC_IN
Definition: board.h:722
#define PH13
Definition: board.h:735
#define PH11
Definition: board.h:733
#define PH12
Definition: board.h:734
#define PIN_OSPEED_SPEED_VERYLOW(n)
Definition: board.h:862
#define PH05
Definition: board.h:727
#define PH04
Definition: board.h:726
#define PH08
Definition: board.h:730
#define PH06
Definition: board.h:728
#define PH02
Definition: board.h:724
#define PH10
Definition: board.h:732

Definition at line 1626 of file board.h.

#define VAL_GPIOH_OTYPER
Value:
#define PH03
Definition: board.h:725
#define OSC_OUT
Definition: board.h:723
#define PH15
Definition: board.h:737
#define PH14
Definition: board.h:736
#define PH07
Definition: board.h:729
#define PH09
Definition: board.h:731
#define OSC_IN
Definition: board.h:722
#define PH13
Definition: board.h:735
#define PH11
Definition: board.h:733
#define PH12
Definition: board.h:734
#define PH05
Definition: board.h:727
#define PH04
Definition: board.h:726
#define PH08
Definition: board.h:730
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:860
#define PH06
Definition: board.h:728
#define PH02
Definition: board.h:724
#define PH10
Definition: board.h:732

Definition at line 1609 of file board.h.

#define VAL_GPIOH_PUPDR
Value:
#define PH03
Definition: board.h:725
#define OSC_OUT
Definition: board.h:723
#define PH15
Definition: board.h:737
#define PH14
Definition: board.h:736
#define PH07
Definition: board.h:729
#define PIN_PUPDR_PULLDOWN(n)
Definition: board.h:868
#define PH09
Definition: board.h:731
#define OSC_IN
Definition: board.h:722
#define PH13
Definition: board.h:735
#define PH11
Definition: board.h:733
#define PH12
Definition: board.h:734
#define PIN_PUPDR_FLOATING(n)
Definition: board.h:866
#define PH05
Definition: board.h:727
#define PH04
Definition: board.h:726
#define PH08
Definition: board.h:730
#define PH06
Definition: board.h:728
#define PH02
Definition: board.h:724
#define PH10
Definition: board.h:732

Definition at line 1643 of file board.h.

#define VAL_GPIOI_AFRH
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:869
#define PI13
Definition: board.h:752
#define PI15
Definition: board.h:754
#define PI10
Definition: board.h:749
#define PI09
Definition: board.h:748
#define PI11
Definition: board.h:750
#define PI12
Definition: board.h:751
#define PI14
Definition: board.h:753
#define PI08
Definition: board.h:747

Definition at line 1789 of file board.h.

#define VAL_GPIOI_AFRL
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:869
#define PI01
Definition: board.h:740
#define PI07
Definition: board.h:746
#define PI02
Definition: board.h:741
#define PI00
Definition: board.h:739
#define PI04
Definition: board.h:743
#define PI05
Definition: board.h:744
#define PI03
Definition: board.h:742
#define PI06
Definition: board.h:745

Definition at line 1780 of file board.h.

#define VAL_GPIOI_MODER
Value:
#define PI13
Definition: board.h:752
#define PI15
Definition: board.h:754
#define PI01
Definition: board.h:740
#define PIN_MODE_INPUT(n)
Definition: board.h:854
#define PI10
Definition: board.h:749
#define PI07
Definition: board.h:746
#define PI02
Definition: board.h:741
#define PI09
Definition: board.h:748
#define PI00
Definition: board.h:739
#define PI04
Definition: board.h:743
#define PI11
Definition: board.h:750
#define PI05
Definition: board.h:744
#define PI03
Definition: board.h:742
#define PI12
Definition: board.h:751
#define PI14
Definition: board.h:753
#define PI06
Definition: board.h:745
#define PI08
Definition: board.h:747

Definition at line 1695 of file board.h.

#define VAL_GPIOI_ODR
Value:
#define PI13
Definition: board.h:752
#define PI15
Definition: board.h:754
#define PI01
Definition: board.h:740
#define PI10
Definition: board.h:749
#define PI07
Definition: board.h:746
#define PI02
Definition: board.h:741
#define PI09
Definition: board.h:748
#define PI00
Definition: board.h:739
#define PI04
Definition: board.h:743
#define PI11
Definition: board.h:750
#define PI05
Definition: board.h:744
#define PI03
Definition: board.h:742
#define PI12
Definition: board.h:751
#define PI14
Definition: board.h:753
#define PIN_ODR_LEVEL_LOW(n)
Definition: board.h:858
#define PI06
Definition: board.h:745
#define PI08
Definition: board.h:747

Definition at line 1763 of file board.h.

#define VAL_GPIOI_OSPEEDR
Value:
#define PI13
Definition: board.h:752
#define PI15
Definition: board.h:754
#define PI01
Definition: board.h:740
#define PI10
Definition: board.h:749
#define PI07
Definition: board.h:746
#define PI02
Definition: board.h:741
#define PI09
Definition: board.h:748
#define PI00
Definition: board.h:739
#define PI04
Definition: board.h:743
#define PIN_OSPEED_SPEED_VERYLOW(n)
Definition: board.h:862
#define PI11
Definition: board.h:750
#define PI05
Definition: board.h:744
#define PI03
Definition: board.h:742
#define PI12
Definition: board.h:751
#define PI14
Definition: board.h:753
#define PI06
Definition: board.h:745
#define PI08
Definition: board.h:747

Definition at line 1729 of file board.h.

#define VAL_GPIOI_OTYPER
Value:
#define PI13
Definition: board.h:752
#define PI15
Definition: board.h:754
#define PI01
Definition: board.h:740
#define PI10
Definition: board.h:749
#define PI07
Definition: board.h:746
#define PI02
Definition: board.h:741
#define PI09
Definition: board.h:748
#define PI00
Definition: board.h:739
#define PI04
Definition: board.h:743
#define PI11
Definition: board.h:750
#define PI05
Definition: board.h:744
#define PI03
Definition: board.h:742
#define PI12
Definition: board.h:751
#define PI14
Definition: board.h:753
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:860
#define PI06
Definition: board.h:745
#define PI08
Definition: board.h:747

Definition at line 1712 of file board.h.

#define VAL_GPIOI_PUPDR
Value:
#define PI13
Definition: board.h:752
#define PI15
Definition: board.h:754
#define PI01
Definition: board.h:740
#define PI10
Definition: board.h:749
#define PI07
Definition: board.h:746
#define PIN_PUPDR_PULLDOWN(n)
Definition: board.h:868
#define PI02
Definition: board.h:741
#define PI09
Definition: board.h:748
#define PI00
Definition: board.h:739
#define PI04
Definition: board.h:743
#define PI11
Definition: board.h:750
#define PI05
Definition: board.h:744
#define PI03
Definition: board.h:742
#define PI12
Definition: board.h:751
#define PI14
Definition: board.h:753
#define PI06
Definition: board.h:745
#define PI08
Definition: board.h:747

Definition at line 1746 of file board.h.

#define VAL_GPIOJ_AFRH
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:869
#define PJ13
Definition: board.h:769
#define PJ08
Definition: board.h:764
#define PJ12
Definition: board.h:768
#define PJ10
Definition: board.h:766
#define PJ09
Definition: board.h:765
#define PJ15
Definition: board.h:771
#define PJ11
Definition: board.h:767
#define PJ14
Definition: board.h:770

Definition at line 1892 of file board.h.

#define VAL_GPIOJ_AFRL
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:869
#define PJ01
Definition: board.h:757
#define PJ05
Definition: board.h:761
#define PJ02
Definition: board.h:758
#define PJ06
Definition: board.h:762
#define PJ07
Definition: board.h:763
#define PJ03
Definition: board.h:759
#define PJ04
Definition: board.h:760
#define PJ00
Definition: board.h:756

Definition at line 1883 of file board.h.

#define VAL_GPIOJ_MODER
Value:
#define PJ01
Definition: board.h:757
#define PJ13
Definition: board.h:769
#define PJ08
Definition: board.h:764
#define PIN_MODE_INPUT(n)
Definition: board.h:854
#define PJ12
Definition: board.h:768
#define PJ05
Definition: board.h:761
#define PJ10
Definition: board.h:766
#define PJ02
Definition: board.h:758
#define PJ06
Definition: board.h:762
#define PJ07
Definition: board.h:763
#define PJ03
Definition: board.h:759
#define PJ04
Definition: board.h:760
#define PJ09
Definition: board.h:765
#define PJ15
Definition: board.h:771
#define PJ00
Definition: board.h:756
#define PJ11
Definition: board.h:767
#define PJ14
Definition: board.h:770

Definition at line 1798 of file board.h.

#define VAL_GPIOJ_ODR
Value:
#define PJ01
Definition: board.h:757
#define PJ13
Definition: board.h:769
#define PJ08
Definition: board.h:764
#define PJ12
Definition: board.h:768
#define PJ05
Definition: board.h:761
#define PJ10
Definition: board.h:766
#define PJ02
Definition: board.h:758
#define PJ06
Definition: board.h:762
#define PJ07
Definition: board.h:763
#define PJ03
Definition: board.h:759
#define PJ04
Definition: board.h:760
#define PJ09
Definition: board.h:765
#define PJ15
Definition: board.h:771
#define PIN_ODR_LEVEL_LOW(n)
Definition: board.h:858
#define PJ00
Definition: board.h:756
#define PJ11
Definition: board.h:767
#define PJ14
Definition: board.h:770

Definition at line 1866 of file board.h.

#define VAL_GPIOJ_OSPEEDR
Value:
#define PJ01
Definition: board.h:757
#define PJ13
Definition: board.h:769
#define PJ08
Definition: board.h:764
#define PJ12
Definition: board.h:768
#define PJ05
Definition: board.h:761
#define PJ10
Definition: board.h:766
#define PJ02
Definition: board.h:758
#define PJ06
Definition: board.h:762
#define PJ07
Definition: board.h:763
#define PJ03
Definition: board.h:759
#define PIN_OSPEED_SPEED_VERYLOW(n)
Definition: board.h:862
#define PJ04
Definition: board.h:760
#define PJ09
Definition: board.h:765
#define PJ15
Definition: board.h:771
#define PJ00
Definition: board.h:756
#define PJ11
Definition: board.h:767
#define PJ14
Definition: board.h:770

Definition at line 1832 of file board.h.

#define VAL_GPIOJ_OTYPER
Value:
#define PJ01
Definition: board.h:757
#define PJ13
Definition: board.h:769
#define PJ08
Definition: board.h:764
#define PJ12
Definition: board.h:768
#define PJ05
Definition: board.h:761
#define PJ10
Definition: board.h:766
#define PJ02
Definition: board.h:758
#define PJ06
Definition: board.h:762
#define PJ07
Definition: board.h:763
#define PJ03
Definition: board.h:759
#define PJ04
Definition: board.h:760
#define PJ09
Definition: board.h:765
#define PJ15
Definition: board.h:771
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:860
#define PJ00
Definition: board.h:756
#define PJ11
Definition: board.h:767
#define PJ14
Definition: board.h:770

Definition at line 1815 of file board.h.

#define VAL_GPIOJ_PUPDR
Value:
#define PJ01
Definition: board.h:757
#define PJ13
Definition: board.h:769
#define PJ08
Definition: board.h:764
#define PIN_PUPDR_PULLDOWN(n)
Definition: board.h:868
#define PJ12
Definition: board.h:768
#define PJ05
Definition: board.h:761
#define PJ10
Definition: board.h:766
#define PJ02
Definition: board.h:758
#define PJ06
Definition: board.h:762
#define PJ07
Definition: board.h:763
#define PJ03
Definition: board.h:759
#define PJ04
Definition: board.h:760
#define PJ09
Definition: board.h:765
#define PJ15
Definition: board.h:771
#define PJ00
Definition: board.h:756
#define PJ11
Definition: board.h:767
#define PJ14
Definition: board.h:770

Definition at line 1849 of file board.h.

#define VAL_GPIOK_AFRH
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:869
#define PK11
Definition: board.h:784
#define PK10
Definition: board.h:783
#define PK14
Definition: board.h:787
#define PK15
Definition: board.h:788
#define PK13
Definition: board.h:786
#define PK08
Definition: board.h:781
#define PK12
Definition: board.h:785
#define PK09
Definition: board.h:782

Definition at line 1995 of file board.h.

#define VAL_GPIOK_AFRL
Value:
#define PIN_AFIO_AF(n, v)
Definition: board.h:869
#define PK04
Definition: board.h:777
#define PK07
Definition: board.h:780
#define PK01
Definition: board.h:774
#define PK00
Definition: board.h:773
#define PK02
Definition: board.h:775
#define PK06
Definition: board.h:779
#define PK05
Definition: board.h:778
#define PK03
Definition: board.h:776

Definition at line 1986 of file board.h.

#define VAL_GPIOK_MODER
Value:
#define PK04
Definition: board.h:777
#define PK07
Definition: board.h:780
#define PIN_MODE_INPUT(n)
Definition: board.h:854
#define PK11
Definition: board.h:784
#define PK10
Definition: board.h:783
#define PK01
Definition: board.h:774
#define PK14
Definition: board.h:787
#define PK15
Definition: board.h:788
#define PK13
Definition: board.h:786
#define PK00
Definition: board.h:773
#define PK08
Definition: board.h:781
#define PK02
Definition: board.h:775
#define PK12
Definition: board.h:785
#define PK06
Definition: board.h:779
#define PK05
Definition: board.h:778
#define PK09
Definition: board.h:782
#define PK03
Definition: board.h:776

Definition at line 1901 of file board.h.

#define VAL_GPIOK_ODR
Value:
#define PK04
Definition: board.h:777
#define PK07
Definition: board.h:780
#define PK11
Definition: board.h:784
#define PK10
Definition: board.h:783
#define PK01
Definition: board.h:774
#define PK14
Definition: board.h:787
#define PK15
Definition: board.h:788
#define PK13
Definition: board.h:786
#define PK00
Definition: board.h:773
#define PK08
Definition: board.h:781
#define PK02
Definition: board.h:775
#define PK12
Definition: board.h:785
#define PK06
Definition: board.h:779
#define PIN_ODR_LEVEL_LOW(n)
Definition: board.h:858
#define PK05
Definition: board.h:778
#define PK09
Definition: board.h:782
#define PK03
Definition: board.h:776

Definition at line 1969 of file board.h.

#define VAL_GPIOK_OSPEEDR
Value:
#define PK04
Definition: board.h:777
#define PK07
Definition: board.h:780
#define PK11
Definition: board.h:784
#define PK10
Definition: board.h:783
#define PK01
Definition: board.h:774
#define PK14
Definition: board.h:787
#define PK15
Definition: board.h:788
#define PK13
Definition: board.h:786
#define PK00
Definition: board.h:773
#define PIN_OSPEED_SPEED_VERYLOW(n)
Definition: board.h:862
#define PK08
Definition: board.h:781
#define PK02
Definition: board.h:775
#define PK12
Definition: board.h:785
#define PK06
Definition: board.h:779
#define PK05
Definition: board.h:778
#define PK09
Definition: board.h:782
#define PK03
Definition: board.h:776

Definition at line 1935 of file board.h.

#define VAL_GPIOK_OTYPER
Value:
#define PK04
Definition: board.h:777
#define PK07
Definition: board.h:780
#define PK11
Definition: board.h:784
#define PK10
Definition: board.h:783
#define PK01
Definition: board.h:774
#define PK14
Definition: board.h:787
#define PK15
Definition: board.h:788
#define PK13
Definition: board.h:786
#define PK00
Definition: board.h:773
#define PK08
Definition: board.h:781
#define PK02
Definition: board.h:775
#define PK12
Definition: board.h:785
#define PK06
Definition: board.h:779
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:860
#define PK05
Definition: board.h:778
#define PK09
Definition: board.h:782
#define PK03
Definition: board.h:776

Definition at line 1918 of file board.h.

#define VAL_GPIOK_PUPDR
Value:
#define PK04
Definition: board.h:777
#define PK07
Definition: board.h:780
#define PK11
Definition: board.h:784
#define PK10
Definition: board.h:783
#define PIN_PUPDR_PULLDOWN(n)
Definition: board.h:868
#define PK01
Definition: board.h:774
#define PK14
Definition: board.h:787
#define PK15
Definition: board.h:788
#define PK13
Definition: board.h:786
#define PK00
Definition: board.h:773
#define PK08
Definition: board.h:781
#define PK02
Definition: board.h:775
#define PK12
Definition: board.h:785
#define PK06
Definition: board.h:779
#define PK05
Definition: board.h:778
#define PK09
Definition: board.h:782
#define PK03
Definition: board.h:776

Definition at line 1952 of file board.h.

#define WS2812D1_AF   1

Definition at line 587 of file board.h.

#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_CHANNEL
Definition: mcuconf.h:248
#define STM32_PWM1_UP_DMA_STREAM
Definition: mcuconf.h:247
#define STM32_PWM1_UP_DMA_PRIORITY
Definition: mcuconf.h:250

Definition at line 588 of file board.h.

#define WS2812D1_GPIO   GPIOA

For WS2812.

Definition at line 585 of file board.h.

#define WS2812D1_PIN   GPIO8

Definition at line 586 of file board.h.

Function Documentation

void boardInit ( void  )

Board-specific initialization code.

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

Definition at line 261 of file board.c.