Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
board.h File Reference

Go to the source code of this file.

Macros

#define BOARD_CUBE_ORANGE
 
#define BOARD_NAME   "ProfiCNC Cube Orange"
 
#define STM32_LSECLK   32768U
 
#define STM32_LSEDRV   (3U << 3U)
 
#define STM32_HSECLK   24000000U
 
#define STM32H743xx
 
#define MCUCONF_H7
 
#define ADC_CHANNEL_VSUPPLY   ADC_1
 
#define ADC_CHANNEL_VBOARD   ADC_3
 
#define ADC_CHANNEL_CURRENT   ADC_2
 
#define DefaultVoltageOfAdc(adc)   ((3.3f/65536.0f) * 13.38f * adc)
 
#define DefaultVBoardOfAdc(adc)   ((3.3f/65536.0f) * 1.89036f * adc)
 
#define DefaultMilliAmpereOfAdc(adc)   ((3.3f/65536.0f) * 39.877f * adc)
 
#define SDLOG_BAT_ADC   ADCD1
 
#define SDLOG_BAT_CHAN   AD1_1_CHANNEL
 
#define USE_PWM_TIM1   1
 
#define USE_PWM_TIM4   1
 
#define PA00_UART4_TX   0U
 
#define PA01_UART4_RX   1U
 
#define PA02_ADC1   2U
 
#define PA03_ADC2   3U
 
#define PA04_ADC3   4U
 
#define PA05_SPI1_SCK   5U
 
#define PA06_SPI1_MISO   6U
 
#define PA07_SPI1_MOSI   7U
 
#define PA08_VDD_5V_PERIPH_EN   8U
 
#define PA09_USB_VBUS   9U
 
#define PA10_UART1_RX   10U
 
#define PA11_USB_DM   11U
 
#define PA12_USB_DP   12U
 
#define PA13_SWDIO   13U
 
#define PA14_SWCLK   14U
 
#define PA15_ALARM   15U
 
#define PB00_SPI_SLAVE0_DRDY   0U
 
#define PB01_SPI_SLAVE0   1U
 
#define PB02   2U
 
#define PB03   3U
 
#define PB04_PWM_VOLT_SEL   4U
 
#define PB05_VDD_BRICK_VALID   5U
 
#define PB06_CAN2_TX   6U
 
#define PB07_VDD_BACKUP_VALID   7U
 
#define PB08_I2C1_SCL   8U
 
#define PB09_I2C1_SDA   9U
 
#define PB10_I2C2_SCL   10U
 
#define PB11_I2C2_SDA   11U
 
#define PB12_CAN2_RX   12U
 
#define PB13_SPI2_SCK   13U
 
#define PB14_SPI2_MISO   14U
 
#define PB15_SPI2_MOSI   15U
 
#define PC00_VBUS_VALID   0U
 
#define PC01_SPI_SLAVE1   1U
 
#define PC02_SPI_SLAVE2   2U
 
#define PC03_ADC6   3U
 
#define PC04_ADC4   4U
 
#define PC05_ADC5   5U
 
#define PC06_UART6_TX   6U
 
#define PC07_UART6_RX   7U
 
#define PC08_SDIO_D0   8U
 
#define PC09_SDIO_D1   9U
 
#define PC10_SDIO_D2   10U
 
#define PC11_SDIO_D3   11U
 
#define PC12_SDIO_CK   12U
 
#define PC13_SPI_SLAVE3   13U
 
#define PC14_SPI_SLAVE4   14U
 
#define PC15_SPI_SLAVE5   15U
 
#define PD00_CAN1_RX   0U
 
#define PD01_CAN1_TX   1U
 
#define PD02_SDIO_CMD   2U
 
#define PD03_UART2_CTS   3U
 
#define PD04_UART2_RTS   4U
 
#define PD05_UART2_TX   5U
 
#define PD06_UART2_RX   6U
 
#define PD07_SPI_SLAVE6   7U
 
#define PD08_UART3_TX   8U
 
#define PD09_UART3_RX   9U
 
#define PD10_SPI_SLAVE7   10U
 
#define PD11_UART3_CTS   11U
 
#define PD12_UART3_RTS   12U
 
#define PD13_SERVO5   13U
 
#define PD14_SERVO6   14U
 
#define PD15_MPU_DRDY   15U
 
#define PE00_UART8_RX   0U
 
#define PE01_UART8_TX   1U
 
#define PE02_SPI4_SCK   2U
 
#define PE03_VDD_3V3_SENSORS_EN   3U
 
#define PE04_SPI_SLAVE8   4U
 
#define PE05_SPI4_MISO   5U
 
#define PE06_SPI4_MOSI   6U
 
#define PE07_UART7_RX   7U
 
#define PE08_UART7_TX   8U
 
#define PE09_SERVO4   9U
 
#define PE10_VDD_5V_HIPOWER_OC   10U
 
#define PE11_SERVO3   11U
 
#define PE12_LED1   12U
 
#define PE13_SERVO2   13U
 
#define PE14_SERVO1   14U
 
#define PE15_VDD_5V_PERIPH_OC   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 PH00_OSC_IN   0U
 
#define PH01_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_ADC1   PAL_LINE(GPIOA, 2U)
 
#define LINE_ADC2   PAL_LINE(GPIOA, 3U)
 
#define LINE_ADC3   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_VDD_5V_PERIPH_EN   PAL_LINE(GPIOA, 8U)
 
#define LINE_USB_VBUS   PAL_LINE(GPIOA, 9U)
 
#define LINE_UART1_RX   PAL_LINE(GPIOA, 10U)
 
#define LINE_USB_DM   PAL_LINE(GPIOA, 11U)
 
#define LINE_USB_DP   PAL_LINE(GPIOA, 12U)
 
#define LINE_SWDIO   PAL_LINE(GPIOA, 13U)
 
#define LINE_SWCLK   PAL_LINE(GPIOA, 14U)
 
#define LINE_ALARM   PAL_LINE(GPIOA, 15U)
 
#define LINE_SPI_SLAVE0_DRDY   PAL_LINE(GPIOB, 0U)
 
#define LINE_SPI_SLAVE0   PAL_LINE(GPIOB, 1U)
 
#define LINE_PWM_VOLT_SEL   PAL_LINE(GPIOB, 4U)
 
#define LINE_VDD_BRICK_VALID   PAL_LINE(GPIOB, 5U)
 
#define LINE_CAN2_TX   PAL_LINE(GPIOB, 6U)
 
#define LINE_VDD_BACKUP_VALID   PAL_LINE(GPIOB, 7U)
 
#define LINE_I2C1_SCL   PAL_LINE(GPIOB, 8U)
 
#define LINE_I2C1_SDA   PAL_LINE(GPIOB, 9U)
 
#define LINE_I2C2_SCL   PAL_LINE(GPIOB, 10U)
 
#define LINE_I2C2_SDA   PAL_LINE(GPIOB, 11U)
 
#define LINE_CAN2_RX   PAL_LINE(GPIOB, 12U)
 
#define LINE_SPI2_SCK   PAL_LINE(GPIOB, 13U)
 
#define LINE_SPI2_MISO   PAL_LINE(GPIOB, 14U)
 
#define LINE_SPI2_MOSI   PAL_LINE(GPIOB, 15U)
 
#define LINE_VBUS_VALID   PAL_LINE(GPIOC, 0U)
 
#define LINE_SPI_SLAVE1   PAL_LINE(GPIOC, 1U)
 
#define LINE_SPI_SLAVE2   PAL_LINE(GPIOC, 2U)
 
#define LINE_ADC6   PAL_LINE(GPIOC, 3U)
 
#define LINE_ADC4   PAL_LINE(GPIOC, 4U)
 
#define LINE_ADC5   PAL_LINE(GPIOC, 5U)
 
#define LINE_UART6_TX   PAL_LINE(GPIOC, 6U)
 
#define LINE_UART6_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_SPI_SLAVE3   PAL_LINE(GPIOC, 13U)
 
#define LINE_SPI_SLAVE4   PAL_LINE(GPIOC, 14U)
 
#define LINE_SPI_SLAVE5   PAL_LINE(GPIOC, 15U)
 
#define LINE_CAN1_RX   PAL_LINE(GPIOD, 0U)
 
#define LINE_CAN1_TX   PAL_LINE(GPIOD, 1U)
 
#define LINE_SDIO_CMD   PAL_LINE(GPIOD, 2U)
 
#define LINE_UART2_CTS   PAL_LINE(GPIOD, 3U)
 
#define LINE_UART2_RTS   PAL_LINE(GPIOD, 4U)
 
#define LINE_UART2_TX   PAL_LINE(GPIOD, 5U)
 
#define LINE_UART2_RX   PAL_LINE(GPIOD, 6U)
 
#define LINE_SPI_SLAVE6   PAL_LINE(GPIOD, 7U)
 
#define LINE_UART3_TX   PAL_LINE(GPIOD, 8U)
 
#define LINE_UART3_RX   PAL_LINE(GPIOD, 9U)
 
#define LINE_SPI_SLAVE7   PAL_LINE(GPIOD, 10U)
 
#define LINE_UART3_CTS   PAL_LINE(GPIOD, 11U)
 
#define LINE_UART3_RTS   PAL_LINE(GPIOD, 12U)
 
#define LINE_SERVO5   PAL_LINE(GPIOD, 13U)
 
#define LINE_SERVO6   PAL_LINE(GPIOD, 14U)
 
#define LINE_MPU_DRDY   PAL_LINE(GPIOD, 15U)
 
#define LINE_UART8_RX   PAL_LINE(GPIOE, 0U)
 
#define LINE_UART8_TX   PAL_LINE(GPIOE, 1U)
 
#define LINE_SPI4_SCK   PAL_LINE(GPIOE, 2U)
 
#define LINE_VDD_3V3_SENSORS_EN   PAL_LINE(GPIOE, 3U)
 
#define LINE_SPI_SLAVE8   PAL_LINE(GPIOE, 4U)
 
#define LINE_SPI4_MISO   PAL_LINE(GPIOE, 5U)
 
#define LINE_SPI4_MOSI   PAL_LINE(GPIOE, 6U)
 
#define LINE_UART7_RX   PAL_LINE(GPIOE, 7U)
 
#define LINE_UART7_TX   PAL_LINE(GPIOE, 8U)
 
#define LINE_SERVO4   PAL_LINE(GPIOE, 9U)
 
#define LINE_VDD_5V_HIPOWER_OC   PAL_LINE(GPIOE, 10U)
 
#define LINE_SERVO3   PAL_LINE(GPIOE, 11U)
 
#define LINE_LED1   PAL_LINE(GPIOE, 12U)
 
#define LINE_SERVO2   PAL_LINE(GPIOE, 13U)
 
#define LINE_SERVO1   PAL_LINE(GPIOE, 14U)
 
#define LINE_VDD_5V_PERIPH_OC   PAL_LINE(GPIOE, 15U)
 
#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_PA00_UART4_TX   8U
 
#define AF_LINE_UART4_TX   8U
 
#define AF_PA01_UART4_RX   8U
 
#define AF_LINE_UART4_RX   8U
 
#define AF_PA05_SPI1_SCK   5U
 
#define AF_LINE_SPI1_SCK   5U
 
#define AF_PA06_SPI1_MISO   5U
 
#define AF_LINE_SPI1_MISO   5U
 
#define AF_PA07_SPI1_MOSI   5U
 
#define AF_LINE_SPI1_MOSI   5U
 
#define AF_PA10_UART1_RX   7U
 
#define AF_LINE_UART1_RX   7U
 
#define AF_PA11_USB_DM   10U
 
#define AF_LINE_USB_DM   10U
 
#define AF_PA12_USB_DP   10U
 
#define AF_LINE_USB_DP   10U
 
#define AF_PA13_SWDIO   0U
 
#define AF_LINE_SWDIO   0U
 
#define AF_PA14_SWCLK   0U
 
#define AF_LINE_SWCLK   0U
 
#define AF_PB06_CAN2_TX   9U
 
#define AF_LINE_CAN2_TX   9U
 
#define AF_PB08_I2C1_SCL   4U
 
#define AF_LINE_I2C1_SCL   4U
 
#define AF_PB09_I2C1_SDA   4U
 
#define AF_LINE_I2C1_SDA   4U
 
#define AF_PB10_I2C2_SCL   4U
 
#define AF_LINE_I2C2_SCL   4U
 
#define AF_PB11_I2C2_SDA   4U
 
#define AF_LINE_I2C2_SDA   4U
 
#define AF_PB12_CAN2_RX   9U
 
#define AF_LINE_CAN2_RX   9U
 
#define AF_PB13_SPI2_SCK   5U
 
#define AF_LINE_SPI2_SCK   5U
 
#define AF_PB14_SPI2_MISO   5U
 
#define AF_LINE_SPI2_MISO   5U
 
#define AF_PB15_SPI2_MOSI   5U
 
#define AF_LINE_SPI2_MOSI   5U
 
#define AF_PC06_UART6_TX   7U
 
#define AF_LINE_UART6_TX   7U
 
#define AF_PC07_UART6_RX   7U
 
#define AF_LINE_UART6_RX   7U
 
#define AF_PC08_SDIO_D0   12U
 
#define AF_LINE_SDIO_D0   12U
 
#define AF_PC09_SDIO_D1   12U
 
#define AF_LINE_SDIO_D1   12U
 
#define AF_PC10_SDIO_D2   12U
 
#define AF_LINE_SDIO_D2   12U
 
#define AF_PC11_SDIO_D3   12U
 
#define AF_LINE_SDIO_D3   12U
 
#define AF_PC12_SDIO_CK   12U
 
#define AF_LINE_SDIO_CK   12U
 
#define AF_PD00_CAN1_RX   9U
 
#define AF_LINE_CAN1_RX   9U
 
#define AF_PD01_CAN1_TX   9U
 
#define AF_LINE_CAN1_TX   9U
 
#define AF_PD02_SDIO_CMD   12U
 
#define AF_LINE_SDIO_CMD   12U
 
#define AF_PD05_UART2_TX   7U
 
#define AF_LINE_UART2_TX   7U
 
#define AF_PD06_UART2_RX   7U
 
#define AF_LINE_UART2_RX   7U
 
#define AF_PD08_UART3_TX   7U
 
#define AF_LINE_UART3_TX   7U
 
#define AF_PD09_UART3_RX   7U
 
#define AF_LINE_UART3_RX   7U
 
#define AF_PD13_SERVO5   2U
 
#define AF_LINE_SERVO5   2U
 
#define AF_PD14_SERVO6   2U
 
#define AF_LINE_SERVO6   2U
 
#define AF_PE00_UART8_RX   8U
 
#define AF_LINE_UART8_RX   8U
 
#define AF_PE01_UART8_TX   8U
 
#define AF_LINE_UART8_TX   8U
 
#define AF_PE02_SPI4_SCK   5U
 
#define AF_LINE_SPI4_SCK   5U
 
#define AF_PE05_SPI4_MISO   5U
 
#define AF_LINE_SPI4_MISO   5U
 
#define AF_PE06_SPI4_MOSI   5U
 
#define AF_LINE_SPI4_MOSI   5U
 
#define AF_PE07_UART7_RX   7U
 
#define AF_LINE_UART7_RX   7U
 
#define AF_PE08_UART7_TX   7U
 
#define AF_LINE_UART7_TX   7U
 
#define AF_PE09_SERVO4   1U
 
#define AF_LINE_SERVO4   1U
 
#define AF_PE11_SERVO3   1U
 
#define AF_LINE_SERVO3   1U
 
#define AF_PE13_SERVO2   1U
 
#define AF_LINE_SERVO2   1U
 
#define AF_PE14_SERVO1   1U
 
#define AF_LINE_SERVO1   1U
 
#define AF_PH00_OSC_IN   0U
 
#define AF_LINE_OSC_IN   0U
 
#define AF_PH01_OSC_OUT   0U
 
#define AF_LINE_OSC_OUT   0U
 
#define ADC1_ADC   1
 
#define ADC1_ADC_FN   INP
 
#define ADC1_ADC_INP   14
 
#define ADC2_ADC   1
 
#define ADC2_ADC_FN   INP
 
#define ADC2_ADC_INP   15
 
#define ADC3_ADC   1
 
#define ADC3_ADC_FN   INP
 
#define ADC3_ADC_INP   18
 
#define ADC6_ADC   3
 
#define ADC6_ADC_FN   INP
 
#define ADC6_ADC_INP   1
 
#define ADC4_ADC   1
 
#define ADC4_ADC_FN   INP
 
#define ADC4_ADC_INP   4
 
#define ADC5_ADC   1
 
#define ADC5_ADC_FN   INP
 
#define ADC5_ADC_INP   8
 
#define SERVO5_TIM   4
 
#define SERVO5_TIM_FN   CH
 
#define SERVO5_TIM_CH   2
 
#define SERVO5_TIM_AF   2
 
#define SERVO6_TIM   4
 
#define SERVO6_TIM_FN   CH
 
#define SERVO6_TIM_CH   3
 
#define SERVO6_TIM_AF   2
 
#define SERVO4_TIM   1
 
#define SERVO4_TIM_FN   CH
 
#define SERVO4_TIM_CH   1
 
#define SERVO4_TIM_AF   1
 
#define SERVO3_TIM   1
 
#define SERVO3_TIM_FN   CH
 
#define SERVO3_TIM_CH   2
 
#define SERVO3_TIM_AF   1
 
#define SERVO2_TIM   1
 
#define SERVO2_TIM_FN   CH
 
#define SERVO2_TIM_CH   3
 
#define SERVO2_TIM_AF   1
 
#define SERVO1_TIM   1
 
#define SERVO1_TIM_FN   CH
 
#define SERVO1_TIM_CH   4
 
#define SERVO1_TIM_AF   1
 
#define BOARD_GROUP_DECLFOREACH(line, group)
 
#define BOARD_GROUP_FOREACH(line, group)    for (ioline_t i=0, line = group ## _ARRAY[i]; (i < group ## _SIZE) && (line = group ## _ARRAY[i]); i++)
 
#define BOARD_GROUP_DECLFOR(array, index, group)
 
#define BOARD_GROUP_FOR(array, index, group)    for (ioline_t index=0, *array = (ioline_t *) group ## _ARRAY; index < group ## _SIZE; index++)
 
#define ENERGY_SAVE_LOWS
 
#define ENERGY_SAVE_LOWS_SIZE   4
 
#define ENERGY_SAVE_INPUTS
 
#define ENERGY_SAVE_INPUTS_SIZE   16
 

Functions

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

Macro Definition Documentation

◆ ADC1_ADC

#define ADC1_ADC   1

Definition at line 1613 of file board.h.

◆ ADC1_ADC_FN

#define ADC1_ADC_FN   INP

Definition at line 1614 of file board.h.

◆ ADC1_ADC_INP

#define ADC1_ADC_INP   14

Definition at line 1615 of file board.h.

◆ ADC2_ADC

#define ADC2_ADC   1

Definition at line 1616 of file board.h.

◆ ADC2_ADC_FN

#define ADC2_ADC_FN   INP

Definition at line 1617 of file board.h.

◆ ADC2_ADC_INP

#define ADC2_ADC_INP   15

Definition at line 1618 of file board.h.

◆ ADC3_ADC

#define ADC3_ADC   1

Definition at line 1619 of file board.h.

◆ ADC3_ADC_FN

#define ADC3_ADC_FN   INP

Definition at line 1620 of file board.h.

◆ ADC3_ADC_INP

#define ADC3_ADC_INP   18

Definition at line 1621 of file board.h.

◆ ADC4_ADC

#define ADC4_ADC   1

Definition at line 1625 of file board.h.

◆ ADC4_ADC_FN

#define ADC4_ADC_FN   INP

Definition at line 1626 of file board.h.

◆ ADC4_ADC_INP

#define ADC4_ADC_INP   4

Definition at line 1627 of file board.h.

◆ ADC5_ADC

#define ADC5_ADC   1

Definition at line 1628 of file board.h.

◆ ADC5_ADC_FN

#define ADC5_ADC_FN   INP

Definition at line 1629 of file board.h.

◆ ADC5_ADC_INP

#define ADC5_ADC_INP   8

Definition at line 1630 of file board.h.

◆ ADC6_ADC

#define ADC6_ADC   3

Definition at line 1622 of file board.h.

◆ ADC6_ADC_FN

#define ADC6_ADC_FN   INP

Definition at line 1623 of file board.h.

◆ ADC6_ADC_INP

#define ADC6_ADC_INP   1

Definition at line 1624 of file board.h.

◆ ADC_CHANNEL_CURRENT

#define ADC_CHANNEL_CURRENT   ADC_2

Definition at line 56 of file board.h.

◆ ADC_CHANNEL_VBOARD

#define ADC_CHANNEL_VBOARD   ADC_3

Definition at line 51 of file board.h.

◆ ADC_CHANNEL_VSUPPLY

#define ADC_CHANNEL_VSUPPLY   ADC_1

Definition at line 46 of file board.h.

◆ AF_LINE_CAN1_RX

#define AF_LINE_CAN1_RX   9U

Definition at line 1568 of file board.h.

◆ AF_LINE_CAN1_TX

#define AF_LINE_CAN1_TX   9U

Definition at line 1570 of file board.h.

◆ AF_LINE_CAN2_RX

#define AF_LINE_CAN2_RX   9U

Definition at line 1546 of file board.h.

◆ AF_LINE_CAN2_TX

#define AF_LINE_CAN2_TX   9U

Definition at line 1536 of file board.h.

◆ AF_LINE_I2C1_SCL

#define AF_LINE_I2C1_SCL   4U

Definition at line 1538 of file board.h.

◆ AF_LINE_I2C1_SDA

#define AF_LINE_I2C1_SDA   4U

Definition at line 1540 of file board.h.

◆ AF_LINE_I2C2_SCL

#define AF_LINE_I2C2_SCL   4U

Definition at line 1542 of file board.h.

◆ AF_LINE_I2C2_SDA

#define AF_LINE_I2C2_SDA   4U

Definition at line 1544 of file board.h.

◆ AF_LINE_OSC_IN

#define AF_LINE_OSC_IN   0U

Definition at line 1608 of file board.h.

◆ AF_LINE_OSC_OUT

#define AF_LINE_OSC_OUT   0U

Definition at line 1610 of file board.h.

◆ AF_LINE_SDIO_CK

#define AF_LINE_SDIO_CK   12U

Definition at line 1566 of file board.h.

◆ AF_LINE_SDIO_CMD

#define AF_LINE_SDIO_CMD   12U

Definition at line 1572 of file board.h.

◆ AF_LINE_SDIO_D0

#define AF_LINE_SDIO_D0   12U

Definition at line 1558 of file board.h.

◆ AF_LINE_SDIO_D1

#define AF_LINE_SDIO_D1   12U

Definition at line 1560 of file board.h.

◆ AF_LINE_SDIO_D2

#define AF_LINE_SDIO_D2   12U

Definition at line 1562 of file board.h.

◆ AF_LINE_SDIO_D3

#define AF_LINE_SDIO_D3   12U

Definition at line 1564 of file board.h.

◆ AF_LINE_SERVO1

#define AF_LINE_SERVO1   1U

Definition at line 1606 of file board.h.

◆ AF_LINE_SERVO2

#define AF_LINE_SERVO2   1U

Definition at line 1604 of file board.h.

◆ AF_LINE_SERVO3

#define AF_LINE_SERVO3   1U

Definition at line 1602 of file board.h.

◆ AF_LINE_SERVO4

#define AF_LINE_SERVO4   1U

Definition at line 1600 of file board.h.

◆ AF_LINE_SERVO5

#define AF_LINE_SERVO5   2U

Definition at line 1582 of file board.h.

◆ AF_LINE_SERVO6

#define AF_LINE_SERVO6   2U

Definition at line 1584 of file board.h.

◆ AF_LINE_SPI1_MISO

#define AF_LINE_SPI1_MISO   5U

Definition at line 1522 of file board.h.

◆ AF_LINE_SPI1_MOSI

#define AF_LINE_SPI1_MOSI   5U

Definition at line 1524 of file board.h.

◆ AF_LINE_SPI1_SCK

#define AF_LINE_SPI1_SCK   5U

Definition at line 1520 of file board.h.

◆ AF_LINE_SPI2_MISO

#define AF_LINE_SPI2_MISO   5U

Definition at line 1550 of file board.h.

◆ AF_LINE_SPI2_MOSI

#define AF_LINE_SPI2_MOSI   5U

Definition at line 1552 of file board.h.

◆ AF_LINE_SPI2_SCK

#define AF_LINE_SPI2_SCK   5U

Definition at line 1548 of file board.h.

◆ AF_LINE_SPI4_MISO

#define AF_LINE_SPI4_MISO   5U

Definition at line 1592 of file board.h.

◆ AF_LINE_SPI4_MOSI

#define AF_LINE_SPI4_MOSI   5U

Definition at line 1594 of file board.h.

◆ AF_LINE_SPI4_SCK

#define AF_LINE_SPI4_SCK   5U

Definition at line 1590 of file board.h.

◆ AF_LINE_SWCLK

#define AF_LINE_SWCLK   0U

Definition at line 1534 of file board.h.

◆ AF_LINE_SWDIO

#define AF_LINE_SWDIO   0U

Definition at line 1532 of file board.h.

◆ AF_LINE_UART1_RX

#define AF_LINE_UART1_RX   7U

Definition at line 1526 of file board.h.

◆ AF_LINE_UART2_RX

#define AF_LINE_UART2_RX   7U

Definition at line 1576 of file board.h.

◆ AF_LINE_UART2_TX

#define AF_LINE_UART2_TX   7U

Definition at line 1574 of file board.h.

◆ AF_LINE_UART3_RX

#define AF_LINE_UART3_RX   7U

Definition at line 1580 of file board.h.

◆ AF_LINE_UART3_TX

#define AF_LINE_UART3_TX   7U

Definition at line 1578 of file board.h.

◆ AF_LINE_UART4_RX

#define AF_LINE_UART4_RX   8U

Definition at line 1518 of file board.h.

◆ AF_LINE_UART4_TX

#define AF_LINE_UART4_TX   8U

Definition at line 1516 of file board.h.

◆ AF_LINE_UART6_RX

#define AF_LINE_UART6_RX   7U

Definition at line 1556 of file board.h.

◆ AF_LINE_UART6_TX

#define AF_LINE_UART6_TX   7U

Definition at line 1554 of file board.h.

◆ AF_LINE_UART7_RX

#define AF_LINE_UART7_RX   7U

Definition at line 1596 of file board.h.

◆ AF_LINE_UART7_TX

#define AF_LINE_UART7_TX   7U

Definition at line 1598 of file board.h.

◆ AF_LINE_UART8_RX

#define AF_LINE_UART8_RX   8U

Definition at line 1586 of file board.h.

◆ AF_LINE_UART8_TX

#define AF_LINE_UART8_TX   8U

Definition at line 1588 of file board.h.

◆ AF_LINE_USB_DM

#define AF_LINE_USB_DM   10U

Definition at line 1528 of file board.h.

◆ AF_LINE_USB_DP

#define AF_LINE_USB_DP   10U

Definition at line 1530 of file board.h.

◆ AF_PA00_UART4_TX

#define AF_PA00_UART4_TX   8U

Definition at line 1515 of file board.h.

◆ AF_PA01_UART4_RX

#define AF_PA01_UART4_RX   8U

Definition at line 1517 of file board.h.

◆ AF_PA05_SPI1_SCK

#define AF_PA05_SPI1_SCK   5U

Definition at line 1519 of file board.h.

◆ AF_PA06_SPI1_MISO

#define AF_PA06_SPI1_MISO   5U

Definition at line 1521 of file board.h.

◆ AF_PA07_SPI1_MOSI

#define AF_PA07_SPI1_MOSI   5U

Definition at line 1523 of file board.h.

◆ AF_PA10_UART1_RX

#define AF_PA10_UART1_RX   7U

Definition at line 1525 of file board.h.

◆ AF_PA11_USB_DM

#define AF_PA11_USB_DM   10U

Definition at line 1527 of file board.h.

◆ AF_PA12_USB_DP

#define AF_PA12_USB_DP   10U

Definition at line 1529 of file board.h.

◆ AF_PA13_SWDIO

#define AF_PA13_SWDIO   0U

Definition at line 1531 of file board.h.

◆ AF_PA14_SWCLK

#define AF_PA14_SWCLK   0U

Definition at line 1533 of file board.h.

◆ AF_PB06_CAN2_TX

#define AF_PB06_CAN2_TX   9U

Definition at line 1535 of file board.h.

◆ AF_PB08_I2C1_SCL

#define AF_PB08_I2C1_SCL   4U

Definition at line 1537 of file board.h.

◆ AF_PB09_I2C1_SDA

#define AF_PB09_I2C1_SDA   4U

Definition at line 1539 of file board.h.

◆ AF_PB10_I2C2_SCL

#define AF_PB10_I2C2_SCL   4U

Definition at line 1541 of file board.h.

◆ AF_PB11_I2C2_SDA

#define AF_PB11_I2C2_SDA   4U

Definition at line 1543 of file board.h.

◆ AF_PB12_CAN2_RX

#define AF_PB12_CAN2_RX   9U

Definition at line 1545 of file board.h.

◆ AF_PB13_SPI2_SCK

#define AF_PB13_SPI2_SCK   5U

Definition at line 1547 of file board.h.

◆ AF_PB14_SPI2_MISO

#define AF_PB14_SPI2_MISO   5U

Definition at line 1549 of file board.h.

◆ AF_PB15_SPI2_MOSI

#define AF_PB15_SPI2_MOSI   5U

Definition at line 1551 of file board.h.

◆ AF_PC06_UART6_TX

#define AF_PC06_UART6_TX   7U

Definition at line 1553 of file board.h.

◆ AF_PC07_UART6_RX

#define AF_PC07_UART6_RX   7U

Definition at line 1555 of file board.h.

◆ AF_PC08_SDIO_D0

#define AF_PC08_SDIO_D0   12U

Definition at line 1557 of file board.h.

◆ AF_PC09_SDIO_D1

#define AF_PC09_SDIO_D1   12U

Definition at line 1559 of file board.h.

◆ AF_PC10_SDIO_D2

#define AF_PC10_SDIO_D2   12U

Definition at line 1561 of file board.h.

◆ AF_PC11_SDIO_D3

#define AF_PC11_SDIO_D3   12U

Definition at line 1563 of file board.h.

◆ AF_PC12_SDIO_CK

#define AF_PC12_SDIO_CK   12U

Definition at line 1565 of file board.h.

◆ AF_PD00_CAN1_RX

#define AF_PD00_CAN1_RX   9U

Definition at line 1567 of file board.h.

◆ AF_PD01_CAN1_TX

#define AF_PD01_CAN1_TX   9U

Definition at line 1569 of file board.h.

◆ AF_PD02_SDIO_CMD

#define AF_PD02_SDIO_CMD   12U

Definition at line 1571 of file board.h.

◆ AF_PD05_UART2_TX

#define AF_PD05_UART2_TX   7U

Definition at line 1573 of file board.h.

◆ AF_PD06_UART2_RX

#define AF_PD06_UART2_RX   7U

Definition at line 1575 of file board.h.

◆ AF_PD08_UART3_TX

#define AF_PD08_UART3_TX   7U

Definition at line 1577 of file board.h.

◆ AF_PD09_UART3_RX

#define AF_PD09_UART3_RX   7U

Definition at line 1579 of file board.h.

◆ AF_PD13_SERVO5

#define AF_PD13_SERVO5   2U

Definition at line 1581 of file board.h.

◆ AF_PD14_SERVO6

#define AF_PD14_SERVO6   2U

Definition at line 1583 of file board.h.

◆ AF_PE00_UART8_RX

#define AF_PE00_UART8_RX   8U

Definition at line 1585 of file board.h.

◆ AF_PE01_UART8_TX

#define AF_PE01_UART8_TX   8U

Definition at line 1587 of file board.h.

◆ AF_PE02_SPI4_SCK

#define AF_PE02_SPI4_SCK   5U

Definition at line 1589 of file board.h.

◆ AF_PE05_SPI4_MISO

#define AF_PE05_SPI4_MISO   5U

Definition at line 1591 of file board.h.

◆ AF_PE06_SPI4_MOSI

#define AF_PE06_SPI4_MOSI   5U

Definition at line 1593 of file board.h.

◆ AF_PE07_UART7_RX

#define AF_PE07_UART7_RX   7U

Definition at line 1595 of file board.h.

◆ AF_PE08_UART7_TX

#define AF_PE08_UART7_TX   7U

Definition at line 1597 of file board.h.

◆ AF_PE09_SERVO4

#define AF_PE09_SERVO4   1U

Definition at line 1599 of file board.h.

◆ AF_PE11_SERVO3

#define AF_PE11_SERVO3   1U

Definition at line 1601 of file board.h.

◆ AF_PE13_SERVO2

#define AF_PE13_SERVO2   1U

Definition at line 1603 of file board.h.

◆ AF_PE14_SERVO1

#define AF_PE14_SERVO1   1U

Definition at line 1605 of file board.h.

◆ AF_PH00_OSC_IN

#define AF_PH00_OSC_IN   0U

Definition at line 1607 of file board.h.

◆ AF_PH01_OSC_OUT

#define AF_PH01_OSC_OUT   0U

Definition at line 1609 of file board.h.

◆ BOARD_CUBE_ORANGE

#define BOARD_CUBE_ORANGE

Definition at line 22 of file board.h.

◆ BOARD_GROUP_DECLFOR

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

Definition at line 1664 of file board.h.

◆ BOARD_GROUP_DECLFOREACH

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

Definition at line 1656 of file board.h.

◆ BOARD_GROUP_FOR

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

Definition at line 1668 of file board.h.

◆ BOARD_GROUP_FOREACH

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

Definition at line 1660 of file board.h.

◆ BOARD_NAME

#define BOARD_NAME   "ProfiCNC Cube Orange"

Definition at line 23 of file board.h.

◆ DefaultMilliAmpereOfAdc

#define DefaultMilliAmpereOfAdc (   adc)    ((3.3f/65536.0f) * 39.877f * adc)

Definition at line 62 of file board.h.

◆ DefaultVBoardOfAdc

#define DefaultVBoardOfAdc (   adc)    ((3.3f/65536.0f) * 1.89036f * adc)

Definition at line 61 of file board.h.

◆ DefaultVoltageOfAdc

#define DefaultVoltageOfAdc (   adc)    ((3.3f/65536.0f) * 13.38f * adc)

Definition at line 60 of file board.h.

◆ ENERGY_SAVE_INPUTS

#define ENERGY_SAVE_INPUTS
Value:
LINE_SPI_SLAVE1, \
LINE_SPI_SLAVE2, \
LINE_SPI_SLAVE3, \
LINE_SPI_SLAVE4, \
LINE_SPI_SLAVE5, \
LINE_SPI_SLAVE6, \
LINE_SPI_SLAVE7, \
LINE_SERVO5, \
LINE_SERVO6, \
LINE_SPI_SLAVE8, \
LINE_SERVO4, \
LINE_SERVO3, \
LINE_LED1, \
LINE_SERVO2, \
LINE_SERVO1
#define LINE_SPI_SLAVE0
Definition: board.h:291

Definition at line 1678 of file board.h.

◆ ENERGY_SAVE_INPUTS_SIZE

#define ENERGY_SAVE_INPUTS_SIZE   16

Definition at line 1695 of file board.h.

◆ ENERGY_SAVE_LOWS

#define ENERGY_SAVE_LOWS
Value:
LINE_ALARM, \
LINE_PWM_VOLT_SEL, \
LINE_VDD_3V3_SENSORS_EN
#define LINE_VDD_5V_PERIPH_EN
Definition: board.h:281

Definition at line 1671 of file board.h.

◆ ENERGY_SAVE_LOWS_SIZE

#define ENERGY_SAVE_LOWS_SIZE   4

Definition at line 1676 of file board.h.

◆ LINE_ADC1

#define LINE_ADC1   PAL_LINE(GPIOA, 2U)

Definition at line 275 of file board.h.

◆ LINE_ADC2

#define LINE_ADC2   PAL_LINE(GPIOA, 3U)

Definition at line 276 of file board.h.

◆ LINE_ADC3

#define LINE_ADC3   PAL_LINE(GPIOA, 4U)

Definition at line 277 of file board.h.

◆ LINE_ADC4

#define LINE_ADC4   PAL_LINE(GPIOC, 4U)

Definition at line 309 of file board.h.

◆ LINE_ADC5

#define LINE_ADC5   PAL_LINE(GPIOC, 5U)

Definition at line 310 of file board.h.

◆ LINE_ADC6

#define LINE_ADC6   PAL_LINE(GPIOC, 3U)

Definition at line 308 of file board.h.

◆ LINE_ALARM

#define LINE_ALARM   PAL_LINE(GPIOA, 15U)

Definition at line 288 of file board.h.

◆ LINE_CAN1_RX

#define LINE_CAN1_RX   PAL_LINE(GPIOD, 0U)

Definition at line 322 of file board.h.

◆ LINE_CAN1_TX

#define LINE_CAN1_TX   PAL_LINE(GPIOD, 1U)

Definition at line 323 of file board.h.

◆ LINE_CAN2_RX

#define LINE_CAN2_RX   PAL_LINE(GPIOB, 12U)

Definition at line 300 of file board.h.

◆ LINE_CAN2_TX

#define LINE_CAN2_TX   PAL_LINE(GPIOB, 6U)

Definition at line 294 of file board.h.

◆ LINE_I2C1_SCL

#define LINE_I2C1_SCL   PAL_LINE(GPIOB, 8U)

Definition at line 296 of file board.h.

◆ LINE_I2C1_SDA

#define LINE_I2C1_SDA   PAL_LINE(GPIOB, 9U)

Definition at line 297 of file board.h.

◆ LINE_I2C2_SCL

#define LINE_I2C2_SCL   PAL_LINE(GPIOB, 10U)

Definition at line 298 of file board.h.

◆ LINE_I2C2_SDA

#define LINE_I2C2_SDA   PAL_LINE(GPIOB, 11U)

Definition at line 299 of file board.h.

◆ LINE_LED1

#define LINE_LED1   PAL_LINE(GPIOE, 12U)

Definition at line 351 of file board.h.

◆ LINE_MPU_DRDY

#define LINE_MPU_DRDY   PAL_LINE(GPIOD, 15U)

Definition at line 337 of file board.h.

◆ LINE_OSC_IN

#define LINE_OSC_IN   PAL_LINE(GPIOH, 0U)

Definition at line 356 of file board.h.

◆ LINE_OSC_OUT

#define LINE_OSC_OUT   PAL_LINE(GPIOH, 1U)

Definition at line 357 of file board.h.

◆ LINE_PWM_VOLT_SEL

#define LINE_PWM_VOLT_SEL   PAL_LINE(GPIOB, 4U)

Definition at line 292 of file board.h.

◆ LINE_SDIO_CK

#define LINE_SDIO_CK   PAL_LINE(GPIOC, 12U)

Definition at line 317 of file board.h.

◆ LINE_SDIO_CMD

#define LINE_SDIO_CMD   PAL_LINE(GPIOD, 2U)

Definition at line 324 of file board.h.

◆ LINE_SDIO_D0

#define LINE_SDIO_D0   PAL_LINE(GPIOC, 8U)

Definition at line 313 of file board.h.

◆ LINE_SDIO_D1

#define LINE_SDIO_D1   PAL_LINE(GPIOC, 9U)

Definition at line 314 of file board.h.

◆ LINE_SDIO_D2

#define LINE_SDIO_D2   PAL_LINE(GPIOC, 10U)

Definition at line 315 of file board.h.

◆ LINE_SDIO_D3

#define LINE_SDIO_D3   PAL_LINE(GPIOC, 11U)

Definition at line 316 of file board.h.

◆ LINE_SERVO1

#define LINE_SERVO1   PAL_LINE(GPIOE, 14U)

Definition at line 353 of file board.h.

◆ LINE_SERVO2

#define LINE_SERVO2   PAL_LINE(GPIOE, 13U)

Definition at line 352 of file board.h.

◆ LINE_SERVO3

#define LINE_SERVO3   PAL_LINE(GPIOE, 11U)

Definition at line 350 of file board.h.

◆ LINE_SERVO4

#define LINE_SERVO4   PAL_LINE(GPIOE, 9U)

Definition at line 348 of file board.h.

◆ LINE_SERVO5

#define LINE_SERVO5   PAL_LINE(GPIOD, 13U)

Definition at line 335 of file board.h.

◆ LINE_SERVO6

#define LINE_SERVO6   PAL_LINE(GPIOD, 14U)

Definition at line 336 of file board.h.

◆ LINE_SPI1_MISO

#define LINE_SPI1_MISO   PAL_LINE(GPIOA, 6U)

Definition at line 279 of file board.h.

◆ LINE_SPI1_MOSI

#define LINE_SPI1_MOSI   PAL_LINE(GPIOA, 7U)

Definition at line 280 of file board.h.

◆ LINE_SPI1_SCK

#define LINE_SPI1_SCK   PAL_LINE(GPIOA, 5U)

Definition at line 278 of file board.h.

◆ LINE_SPI2_MISO

#define LINE_SPI2_MISO   PAL_LINE(GPIOB, 14U)

Definition at line 302 of file board.h.

◆ LINE_SPI2_MOSI

#define LINE_SPI2_MOSI   PAL_LINE(GPIOB, 15U)

Definition at line 303 of file board.h.

◆ LINE_SPI2_SCK

#define LINE_SPI2_SCK   PAL_LINE(GPIOB, 13U)

Definition at line 301 of file board.h.

◆ LINE_SPI4_MISO

#define LINE_SPI4_MISO   PAL_LINE(GPIOE, 5U)

Definition at line 344 of file board.h.

◆ LINE_SPI4_MOSI

#define LINE_SPI4_MOSI   PAL_LINE(GPIOE, 6U)

Definition at line 345 of file board.h.

◆ LINE_SPI4_SCK

#define LINE_SPI4_SCK   PAL_LINE(GPIOE, 2U)

Definition at line 341 of file board.h.

◆ LINE_SPI_SLAVE0

#define LINE_SPI_SLAVE0   PAL_LINE(GPIOB, 1U)

Definition at line 291 of file board.h.

◆ LINE_SPI_SLAVE0_DRDY

#define LINE_SPI_SLAVE0_DRDY   PAL_LINE(GPIOB, 0U)

Definition at line 290 of file board.h.

◆ LINE_SPI_SLAVE1

#define LINE_SPI_SLAVE1   PAL_LINE(GPIOC, 1U)

Definition at line 306 of file board.h.

◆ LINE_SPI_SLAVE2

#define LINE_SPI_SLAVE2   PAL_LINE(GPIOC, 2U)

Definition at line 307 of file board.h.

◆ LINE_SPI_SLAVE3

#define LINE_SPI_SLAVE3   PAL_LINE(GPIOC, 13U)

Definition at line 318 of file board.h.

◆ LINE_SPI_SLAVE4

#define LINE_SPI_SLAVE4   PAL_LINE(GPIOC, 14U)

Definition at line 319 of file board.h.

◆ LINE_SPI_SLAVE5

#define LINE_SPI_SLAVE5   PAL_LINE(GPIOC, 15U)

Definition at line 320 of file board.h.

◆ LINE_SPI_SLAVE6

#define LINE_SPI_SLAVE6   PAL_LINE(GPIOD, 7U)

Definition at line 329 of file board.h.

◆ LINE_SPI_SLAVE7

#define LINE_SPI_SLAVE7   PAL_LINE(GPIOD, 10U)

Definition at line 332 of file board.h.

◆ LINE_SPI_SLAVE8

#define LINE_SPI_SLAVE8   PAL_LINE(GPIOE, 4U)

Definition at line 343 of file board.h.

◆ LINE_SWCLK

#define LINE_SWCLK   PAL_LINE(GPIOA, 14U)

Definition at line 287 of file board.h.

◆ LINE_SWDIO

#define LINE_SWDIO   PAL_LINE(GPIOA, 13U)

Definition at line 286 of file board.h.

◆ LINE_UART1_RX

#define LINE_UART1_RX   PAL_LINE(GPIOA, 10U)

Definition at line 283 of file board.h.

◆ LINE_UART2_CTS

#define LINE_UART2_CTS   PAL_LINE(GPIOD, 3U)

Definition at line 325 of file board.h.

◆ LINE_UART2_RTS

#define LINE_UART2_RTS   PAL_LINE(GPIOD, 4U)

Definition at line 326 of file board.h.

◆ LINE_UART2_RX

#define LINE_UART2_RX   PAL_LINE(GPIOD, 6U)

Definition at line 328 of file board.h.

◆ LINE_UART2_TX

#define LINE_UART2_TX   PAL_LINE(GPIOD, 5U)

Definition at line 327 of file board.h.

◆ LINE_UART3_CTS

#define LINE_UART3_CTS   PAL_LINE(GPIOD, 11U)

Definition at line 333 of file board.h.

◆ LINE_UART3_RTS

#define LINE_UART3_RTS   PAL_LINE(GPIOD, 12U)

Definition at line 334 of file board.h.

◆ LINE_UART3_RX

#define LINE_UART3_RX   PAL_LINE(GPIOD, 9U)

Definition at line 331 of file board.h.

◆ LINE_UART3_TX

#define LINE_UART3_TX   PAL_LINE(GPIOD, 8U)

Definition at line 330 of file board.h.

◆ LINE_UART4_RX

#define LINE_UART4_RX   PAL_LINE(GPIOA, 1U)

Definition at line 274 of file board.h.

◆ LINE_UART4_TX

#define LINE_UART4_TX   PAL_LINE(GPIOA, 0U)

Definition at line 273 of file board.h.

◆ LINE_UART6_RX

#define LINE_UART6_RX   PAL_LINE(GPIOC, 7U)

Definition at line 312 of file board.h.

◆ LINE_UART6_TX

#define LINE_UART6_TX   PAL_LINE(GPIOC, 6U)

Definition at line 311 of file board.h.

◆ LINE_UART7_RX

#define LINE_UART7_RX   PAL_LINE(GPIOE, 7U)

Definition at line 346 of file board.h.

◆ LINE_UART7_TX

#define LINE_UART7_TX   PAL_LINE(GPIOE, 8U)

Definition at line 347 of file board.h.

◆ LINE_UART8_RX

#define LINE_UART8_RX   PAL_LINE(GPIOE, 0U)

Definition at line 339 of file board.h.

◆ LINE_UART8_TX

#define LINE_UART8_TX   PAL_LINE(GPIOE, 1U)

Definition at line 340 of file board.h.

◆ LINE_USB_DM

#define LINE_USB_DM   PAL_LINE(GPIOA, 11U)

Definition at line 284 of file board.h.

◆ LINE_USB_DP

#define LINE_USB_DP   PAL_LINE(GPIOA, 12U)

Definition at line 285 of file board.h.

◆ LINE_USB_VBUS

#define LINE_USB_VBUS   PAL_LINE(GPIOA, 9U)

Definition at line 282 of file board.h.

◆ LINE_VBUS_VALID

#define LINE_VBUS_VALID   PAL_LINE(GPIOC, 0U)

Definition at line 305 of file board.h.

◆ LINE_VDD_3V3_SENSORS_EN

#define LINE_VDD_3V3_SENSORS_EN   PAL_LINE(GPIOE, 3U)

Definition at line 342 of file board.h.

◆ LINE_VDD_5V_HIPOWER_OC

#define LINE_VDD_5V_HIPOWER_OC   PAL_LINE(GPIOE, 10U)

Definition at line 349 of file board.h.

◆ LINE_VDD_5V_PERIPH_EN

#define LINE_VDD_5V_PERIPH_EN   PAL_LINE(GPIOA, 8U)

Definition at line 281 of file board.h.

◆ LINE_VDD_5V_PERIPH_OC

#define LINE_VDD_5V_PERIPH_OC   PAL_LINE(GPIOE, 15U)

Definition at line 354 of file board.h.

◆ LINE_VDD_BACKUP_VALID

#define LINE_VDD_BACKUP_VALID   PAL_LINE(GPIOB, 7U)

Definition at line 295 of file board.h.

◆ LINE_VDD_BRICK_VALID

#define LINE_VDD_BRICK_VALID   PAL_LINE(GPIOB, 5U)

Definition at line 293 of file board.h.

◆ MCUCONF_H7

#define MCUCONF_H7

Definition at line 42 of file board.h.

◆ PA00_UART4_TX

#define PA00_UART4_TX   0U

Definition at line 83 of file board.h.

◆ PA01_UART4_RX

#define PA01_UART4_RX   1U

Definition at line 84 of file board.h.

◆ PA02_ADC1

#define PA02_ADC1   2U

Definition at line 85 of file board.h.

◆ PA03_ADC2

#define PA03_ADC2   3U

Definition at line 86 of file board.h.

◆ PA04_ADC3

#define PA04_ADC3   4U

Definition at line 87 of file board.h.

◆ PA05_SPI1_SCK

#define PA05_SPI1_SCK   5U

Definition at line 88 of file board.h.

◆ PA06_SPI1_MISO

#define PA06_SPI1_MISO   6U

Definition at line 89 of file board.h.

◆ PA07_SPI1_MOSI

#define PA07_SPI1_MOSI   7U

Definition at line 90 of file board.h.

◆ PA08_VDD_5V_PERIPH_EN

#define PA08_VDD_5V_PERIPH_EN   8U

Definition at line 91 of file board.h.

◆ PA09_USB_VBUS

#define PA09_USB_VBUS   9U

Definition at line 92 of file board.h.

◆ PA10_UART1_RX

#define PA10_UART1_RX   10U

Definition at line 93 of file board.h.

◆ PA11_USB_DM

#define PA11_USB_DM   11U

Definition at line 94 of file board.h.

◆ PA12_USB_DP

#define PA12_USB_DP   12U

Definition at line 95 of file board.h.

◆ PA13_SWDIO

#define PA13_SWDIO   13U

Definition at line 96 of file board.h.

◆ PA14_SWCLK

#define PA14_SWCLK   14U

Definition at line 97 of file board.h.

◆ PA15_ALARM

#define PA15_ALARM   15U

Definition at line 98 of file board.h.

◆ PB00_SPI_SLAVE0_DRDY

#define PB00_SPI_SLAVE0_DRDY   0U

Definition at line 100 of file board.h.

◆ PB01_SPI_SLAVE0

#define PB01_SPI_SLAVE0   1U

Definition at line 101 of file board.h.

◆ PB02

#define PB02   2U

Definition at line 102 of file board.h.

◆ PB03

#define PB03   3U

Definition at line 103 of file board.h.

◆ PB04_PWM_VOLT_SEL

#define PB04_PWM_VOLT_SEL   4U

Definition at line 104 of file board.h.

◆ PB05_VDD_BRICK_VALID

#define PB05_VDD_BRICK_VALID   5U

Definition at line 105 of file board.h.

◆ PB06_CAN2_TX

#define PB06_CAN2_TX   6U

Definition at line 106 of file board.h.

◆ PB07_VDD_BACKUP_VALID

#define PB07_VDD_BACKUP_VALID   7U

Definition at line 107 of file board.h.

◆ PB08_I2C1_SCL

#define PB08_I2C1_SCL   8U

Definition at line 108 of file board.h.

◆ PB09_I2C1_SDA

#define PB09_I2C1_SDA   9U

Definition at line 109 of file board.h.

◆ PB10_I2C2_SCL

#define PB10_I2C2_SCL   10U

Definition at line 110 of file board.h.

◆ PB11_I2C2_SDA

#define PB11_I2C2_SDA   11U

Definition at line 111 of file board.h.

◆ PB12_CAN2_RX

#define PB12_CAN2_RX   12U

Definition at line 112 of file board.h.

◆ PB13_SPI2_SCK

#define PB13_SPI2_SCK   13U

Definition at line 113 of file board.h.

◆ PB14_SPI2_MISO

#define PB14_SPI2_MISO   14U

Definition at line 114 of file board.h.

◆ PB15_SPI2_MOSI

#define PB15_SPI2_MOSI   15U

Definition at line 115 of file board.h.

◆ PC00_VBUS_VALID

#define PC00_VBUS_VALID   0U

Definition at line 117 of file board.h.

◆ PC01_SPI_SLAVE1

#define PC01_SPI_SLAVE1   1U

Definition at line 118 of file board.h.

◆ PC02_SPI_SLAVE2

#define PC02_SPI_SLAVE2   2U

Definition at line 119 of file board.h.

◆ PC03_ADC6

#define PC03_ADC6   3U

Definition at line 120 of file board.h.

◆ PC04_ADC4

#define PC04_ADC4   4U

Definition at line 121 of file board.h.

◆ PC05_ADC5

#define PC05_ADC5   5U

Definition at line 122 of file board.h.

◆ PC06_UART6_TX

#define PC06_UART6_TX   6U

Definition at line 123 of file board.h.

◆ PC07_UART6_RX

#define PC07_UART6_RX   7U

Definition at line 124 of file board.h.

◆ PC08_SDIO_D0

#define PC08_SDIO_D0   8U

Definition at line 125 of file board.h.

◆ PC09_SDIO_D1

#define PC09_SDIO_D1   9U

Definition at line 126 of file board.h.

◆ PC10_SDIO_D2

#define PC10_SDIO_D2   10U

Definition at line 127 of file board.h.

◆ PC11_SDIO_D3

#define PC11_SDIO_D3   11U

Definition at line 128 of file board.h.

◆ PC12_SDIO_CK

#define PC12_SDIO_CK   12U

Definition at line 129 of file board.h.

◆ PC13_SPI_SLAVE3

#define PC13_SPI_SLAVE3   13U

Definition at line 130 of file board.h.

◆ PC14_SPI_SLAVE4

#define PC14_SPI_SLAVE4   14U

Definition at line 131 of file board.h.

◆ PC15_SPI_SLAVE5

#define PC15_SPI_SLAVE5   15U

Definition at line 132 of file board.h.

◆ PD00_CAN1_RX

#define PD00_CAN1_RX   0U

Definition at line 134 of file board.h.

◆ PD01_CAN1_TX

#define PD01_CAN1_TX   1U

Definition at line 135 of file board.h.

◆ PD02_SDIO_CMD

#define PD02_SDIO_CMD   2U

Definition at line 136 of file board.h.

◆ PD03_UART2_CTS

#define PD03_UART2_CTS   3U

Definition at line 137 of file board.h.

◆ PD04_UART2_RTS

#define PD04_UART2_RTS   4U

Definition at line 138 of file board.h.

◆ PD05_UART2_TX

#define PD05_UART2_TX   5U

Definition at line 139 of file board.h.

◆ PD06_UART2_RX

#define PD06_UART2_RX   6U

Definition at line 140 of file board.h.

◆ PD07_SPI_SLAVE6

#define PD07_SPI_SLAVE6   7U

Definition at line 141 of file board.h.

◆ PD08_UART3_TX

#define PD08_UART3_TX   8U

Definition at line 142 of file board.h.

◆ PD09_UART3_RX

#define PD09_UART3_RX   9U

Definition at line 143 of file board.h.

◆ PD10_SPI_SLAVE7

#define PD10_SPI_SLAVE7   10U

Definition at line 144 of file board.h.

◆ PD11_UART3_CTS

#define PD11_UART3_CTS   11U

Definition at line 145 of file board.h.

◆ PD12_UART3_RTS

#define PD12_UART3_RTS   12U

Definition at line 146 of file board.h.

◆ PD13_SERVO5

#define PD13_SERVO5   13U

Definition at line 147 of file board.h.

◆ PD14_SERVO6

#define PD14_SERVO6   14U

Definition at line 148 of file board.h.

◆ PD15_MPU_DRDY

#define PD15_MPU_DRDY   15U

Definition at line 149 of file board.h.

◆ PE00_UART8_RX

#define PE00_UART8_RX   0U

Definition at line 151 of file board.h.

◆ PE01_UART8_TX

#define PE01_UART8_TX   1U

Definition at line 152 of file board.h.

◆ PE02_SPI4_SCK

#define PE02_SPI4_SCK   2U

Definition at line 153 of file board.h.

◆ PE03_VDD_3V3_SENSORS_EN

#define PE03_VDD_3V3_SENSORS_EN   3U

Definition at line 154 of file board.h.

◆ PE04_SPI_SLAVE8

#define PE04_SPI_SLAVE8   4U

Definition at line 155 of file board.h.

◆ PE05_SPI4_MISO

#define PE05_SPI4_MISO   5U

Definition at line 156 of file board.h.

◆ PE06_SPI4_MOSI

#define PE06_SPI4_MOSI   6U

Definition at line 157 of file board.h.

◆ PE07_UART7_RX

#define PE07_UART7_RX   7U

Definition at line 158 of file board.h.

◆ PE08_UART7_TX

#define PE08_UART7_TX   8U

Definition at line 159 of file board.h.

◆ PE09_SERVO4

#define PE09_SERVO4   9U

Definition at line 160 of file board.h.

◆ PE10_VDD_5V_HIPOWER_OC

#define PE10_VDD_5V_HIPOWER_OC   10U

Definition at line 161 of file board.h.

◆ PE11_SERVO3

#define PE11_SERVO3   11U

Definition at line 162 of file board.h.

◆ PE12_LED1

#define PE12_LED1   12U

Definition at line 163 of file board.h.

◆ PE13_SERVO2

#define PE13_SERVO2   13U

Definition at line 164 of file board.h.

◆ PE14_SERVO1

#define PE14_SERVO1   14U

Definition at line 165 of file board.h.

◆ PE15_VDD_5V_PERIPH_OC

#define PE15_VDD_5V_PERIPH_OC   15U

Definition at line 166 of file board.h.

◆ PF00

#define PF00   0U

Definition at line 168 of file board.h.

◆ PF01

#define PF01   1U

Definition at line 169 of file board.h.

◆ PF02

#define PF02   2U

Definition at line 170 of file board.h.

◆ PF03

#define PF03   3U

Definition at line 171 of file board.h.

◆ PF04

#define PF04   4U

Definition at line 172 of file board.h.

◆ PF05

#define PF05   5U

Definition at line 173 of file board.h.

◆ PF06

#define PF06   6U

Definition at line 174 of file board.h.

◆ PF07

#define PF07   7U

Definition at line 175 of file board.h.

◆ PF08

#define PF08   8U

Definition at line 176 of file board.h.

◆ PF09

#define PF09   9U

Definition at line 177 of file board.h.

◆ PF10

#define PF10   10U

Definition at line 178 of file board.h.

◆ PF11

#define PF11   11U

Definition at line 179 of file board.h.

◆ PF12

#define PF12   12U

Definition at line 180 of file board.h.

◆ PF13

#define PF13   13U

Definition at line 181 of file board.h.

◆ PF14

#define PF14   14U

Definition at line 182 of file board.h.

◆ PF15

#define PF15   15U

Definition at line 183 of file board.h.

◆ PG00

#define PG00   0U

Definition at line 185 of file board.h.

◆ PG01

#define PG01   1U

Definition at line 186 of file board.h.

◆ PG02

#define PG02   2U

Definition at line 187 of file board.h.

◆ PG03

#define PG03   3U

Definition at line 188 of file board.h.

◆ PG04

#define PG04   4U

Definition at line 189 of file board.h.

◆ PG05

#define PG05   5U

Definition at line 190 of file board.h.

◆ PG06

#define PG06   6U

Definition at line 191 of file board.h.

◆ PG07

#define PG07   7U

Definition at line 192 of file board.h.

◆ PG08

#define PG08   8U

Definition at line 193 of file board.h.

◆ PG09

#define PG09   9U

Definition at line 194 of file board.h.

◆ PG10

#define PG10   10U

Definition at line 195 of file board.h.

◆ PG11

#define PG11   11U

Definition at line 196 of file board.h.

◆ PG12

#define PG12   12U

Definition at line 197 of file board.h.

◆ PG13

#define PG13   13U

Definition at line 198 of file board.h.

◆ PG14

#define PG14   14U

Definition at line 199 of file board.h.

◆ PG15

#define PG15   15U

Definition at line 200 of file board.h.

◆ PH00_OSC_IN

#define PH00_OSC_IN   0U

Definition at line 202 of file board.h.

◆ PH01_OSC_OUT

#define PH01_OSC_OUT   1U

Definition at line 203 of file board.h.

◆ PH02

#define PH02   2U

Definition at line 204 of file board.h.

◆ PH03

#define PH03   3U

Definition at line 205 of file board.h.

◆ PH04

#define PH04   4U

Definition at line 206 of file board.h.

◆ PH05

#define PH05   5U

Definition at line 207 of file board.h.

◆ PH06

#define PH06   6U

Definition at line 208 of file board.h.

◆ PH07

#define PH07   7U

Definition at line 209 of file board.h.

◆ PH08

#define PH08   8U

Definition at line 210 of file board.h.

◆ PH09

#define PH09   9U

Definition at line 211 of file board.h.

◆ PH10

#define PH10   10U

Definition at line 212 of file board.h.

◆ PH11

#define PH11   11U

Definition at line 213 of file board.h.

◆ PH12

#define PH12   12U

Definition at line 214 of file board.h.

◆ PH13

#define PH13   13U

Definition at line 215 of file board.h.

◆ PH14

#define PH14   14U

Definition at line 216 of file board.h.

◆ PH15

#define PH15   15U

Definition at line 217 of file board.h.

◆ PI00

#define PI00   0U

Definition at line 219 of file board.h.

◆ PI01

#define PI01   1U

Definition at line 220 of file board.h.

◆ PI02

#define PI02   2U

Definition at line 221 of file board.h.

◆ PI03

#define PI03   3U

Definition at line 222 of file board.h.

◆ PI04

#define PI04   4U

Definition at line 223 of file board.h.

◆ PI05

#define PI05   5U

Definition at line 224 of file board.h.

◆ PI06

#define PI06   6U

Definition at line 225 of file board.h.

◆ PI07

#define PI07   7U

Definition at line 226 of file board.h.

◆ PI08

#define PI08   8U

Definition at line 227 of file board.h.

◆ PI09

#define PI09   9U

Definition at line 228 of file board.h.

◆ PI10

#define PI10   10U

Definition at line 229 of file board.h.

◆ PI11

#define PI11   11U

Definition at line 230 of file board.h.

◆ PI12

#define PI12   12U

Definition at line 231 of file board.h.

◆ PI13

#define PI13   13U

Definition at line 232 of file board.h.

◆ PI14

#define PI14   14U

Definition at line 233 of file board.h.

◆ PI15

#define PI15   15U

Definition at line 234 of file board.h.

◆ PIN_AFIO_AF

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

Definition at line 380 of file board.h.

◆ PIN_MODE_ALTERNATE

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

Definition at line 367 of file board.h.

◆ PIN_MODE_ANALOG

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

Definition at line 368 of file board.h.

◆ PIN_MODE_INPUT

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

Definition at line 365 of file board.h.

◆ PIN_MODE_OUTPUT

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

Definition at line 366 of file board.h.

◆ PIN_ODR_LEVEL_HIGH

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

Definition at line 370 of file board.h.

◆ PIN_ODR_LEVEL_LOW

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

Definition at line 369 of file board.h.

◆ PIN_OSPEED_SPEED_HIGH

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

Definition at line 376 of file board.h.

◆ PIN_OSPEED_SPEED_LOW

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

Definition at line 374 of file board.h.

◆ PIN_OSPEED_SPEED_MEDIUM

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

Definition at line 375 of file board.h.

◆ PIN_OSPEED_SPEED_VERYLOW

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

Definition at line 373 of file board.h.

◆ PIN_OTYPE_OPENDRAIN

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

Definition at line 372 of file board.h.

◆ PIN_OTYPE_PUSHPULL

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

Definition at line 371 of file board.h.

◆ PIN_PUPDR_FLOATING

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

Definition at line 377 of file board.h.

◆ PIN_PUPDR_PULLDOWN

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

Definition at line 379 of file board.h.

◆ PIN_PUPDR_PULLUP

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

Definition at line 378 of file board.h.

◆ PJ00

#define PJ00   0U

Definition at line 236 of file board.h.

◆ PJ01

#define PJ01   1U

Definition at line 237 of file board.h.

◆ PJ02

#define PJ02   2U

Definition at line 238 of file board.h.

◆ PJ03

#define PJ03   3U

Definition at line 239 of file board.h.

◆ PJ04

#define PJ04   4U

Definition at line 240 of file board.h.

◆ PJ05

#define PJ05   5U

Definition at line 241 of file board.h.

◆ PJ06

#define PJ06   6U

Definition at line 242 of file board.h.

◆ PJ07

#define PJ07   7U

Definition at line 243 of file board.h.

◆ PJ08

#define PJ08   8U

Definition at line 244 of file board.h.

◆ PJ09

#define PJ09   9U

Definition at line 245 of file board.h.

◆ PJ10

#define PJ10   10U

Definition at line 246 of file board.h.

◆ PJ11

#define PJ11   11U

Definition at line 247 of file board.h.

◆ PJ12

#define PJ12   12U

Definition at line 248 of file board.h.

◆ PJ13

#define PJ13   13U

Definition at line 249 of file board.h.

◆ PJ14

#define PJ14   14U

Definition at line 250 of file board.h.

◆ PJ15

#define PJ15   15U

Definition at line 251 of file board.h.

◆ PK00

#define PK00   0U

Definition at line 253 of file board.h.

◆ PK01

#define PK01   1U

Definition at line 254 of file board.h.

◆ PK02

#define PK02   2U

Definition at line 255 of file board.h.

◆ PK03

#define PK03   3U

Definition at line 256 of file board.h.

◆ PK04

#define PK04   4U

Definition at line 257 of file board.h.

◆ PK05

#define PK05   5U

Definition at line 258 of file board.h.

◆ PK06

#define PK06   6U

Definition at line 259 of file board.h.

◆ PK07

#define PK07   7U

Definition at line 260 of file board.h.

◆ PK08

#define PK08   8U

Definition at line 261 of file board.h.

◆ PK09

#define PK09   9U

Definition at line 262 of file board.h.

◆ PK10

#define PK10   10U

Definition at line 263 of file board.h.

◆ PK11

#define PK11   11U

Definition at line 264 of file board.h.

◆ PK12

#define PK12   12U

Definition at line 265 of file board.h.

◆ PK13

#define PK13   13U

Definition at line 266 of file board.h.

◆ PK14

#define PK14   14U

Definition at line 267 of file board.h.

◆ PK15

#define PK15   15U

Definition at line 268 of file board.h.

◆ SDLOG_BAT_ADC

#define SDLOG_BAT_ADC   ADCD1

Definition at line 65 of file board.h.

◆ SDLOG_BAT_CHAN

#define SDLOG_BAT_CHAN   AD1_1_CHANNEL

Definition at line 66 of file board.h.

◆ SERVO1_TIM

#define SERVO1_TIM   1

Definition at line 1651 of file board.h.

◆ SERVO1_TIM_AF

#define SERVO1_TIM_AF   1

Definition at line 1654 of file board.h.

◆ SERVO1_TIM_CH

#define SERVO1_TIM_CH   4

Definition at line 1653 of file board.h.

◆ SERVO1_TIM_FN

#define SERVO1_TIM_FN   CH

Definition at line 1652 of file board.h.

◆ SERVO2_TIM

#define SERVO2_TIM   1

Definition at line 1647 of file board.h.

◆ SERVO2_TIM_AF

#define SERVO2_TIM_AF   1

Definition at line 1650 of file board.h.

◆ SERVO2_TIM_CH

#define SERVO2_TIM_CH   3

Definition at line 1649 of file board.h.

◆ SERVO2_TIM_FN

#define SERVO2_TIM_FN   CH

Definition at line 1648 of file board.h.

◆ SERVO3_TIM

#define SERVO3_TIM   1

Definition at line 1643 of file board.h.

◆ SERVO3_TIM_AF

#define SERVO3_TIM_AF   1

Definition at line 1646 of file board.h.

◆ SERVO3_TIM_CH

#define SERVO3_TIM_CH   2

Definition at line 1645 of file board.h.

◆ SERVO3_TIM_FN

#define SERVO3_TIM_FN   CH

Definition at line 1644 of file board.h.

◆ SERVO4_TIM

#define SERVO4_TIM   1

Definition at line 1639 of file board.h.

◆ SERVO4_TIM_AF

#define SERVO4_TIM_AF   1

Definition at line 1642 of file board.h.

◆ SERVO4_TIM_CH

#define SERVO4_TIM_CH   1

Definition at line 1641 of file board.h.

◆ SERVO4_TIM_FN

#define SERVO4_TIM_FN   CH

Definition at line 1640 of file board.h.

◆ SERVO5_TIM

#define SERVO5_TIM   4

Definition at line 1631 of file board.h.

◆ SERVO5_TIM_AF

#define SERVO5_TIM_AF   2

Definition at line 1634 of file board.h.

◆ SERVO5_TIM_CH

#define SERVO5_TIM_CH   2

Definition at line 1633 of file board.h.

◆ SERVO5_TIM_FN

#define SERVO5_TIM_FN   CH

Definition at line 1632 of file board.h.

◆ SERVO6_TIM

#define SERVO6_TIM   4

Definition at line 1635 of file board.h.

◆ SERVO6_TIM_AF

#define SERVO6_TIM_AF   2

Definition at line 1638 of file board.h.

◆ SERVO6_TIM_CH

#define SERVO6_TIM_CH   3

Definition at line 1637 of file board.h.

◆ SERVO6_TIM_FN

#define SERVO6_TIM_FN   CH

Definition at line 1636 of file board.h.

◆ STM32_HSECLK

#define STM32_HSECLK   24000000U

Definition at line 35 of file board.h.

◆ STM32_LSECLK

#define STM32_LSECLK   32768U

Definition at line 29 of file board.h.

◆ STM32_LSEDRV

#define STM32_LSEDRV   (3U << 3U)

Definition at line 32 of file board.h.

◆ STM32H743xx

#define STM32H743xx

Definition at line 41 of file board.h.

◆ USE_PWM_TIM1

#define USE_PWM_TIM1   1

Definition at line 73 of file board.h.

◆ USE_PWM_TIM4

#define USE_PWM_TIM4   1

Definition at line 77 of file board.h.

◆ VAL_GPIOA_AFRH

#define VAL_GPIOA_AFRH
Value:
PIN_AFIO_AF(PA09_USB_VBUS, 0) | \
PIN_AFIO_AF(PA10_UART1_RX, 7) | \
PIN_AFIO_AF(PA11_USB_DM, 10) | \
PIN_AFIO_AF(PA12_USB_DP, 10) | \
PIN_AFIO_AF(PA13_SWDIO, 0) | \
PIN_AFIO_AF(PA14_SWCLK, 0) | \
PIN_AFIO_AF(PA15_ALARM, 0))
#define PA09_USB_VBUS
Definition: board.h:92
#define PA13_SWDIO
Definition: board.h:96
#define PIN_AFIO_AF(n, v)
Definition: board.h:380
#define PA15_ALARM
Definition: board.h:98
#define PA11_USB_DM
Definition: board.h:94
#define PA14_SWCLK
Definition: board.h:97
#define PA08_VDD_5V_PERIPH_EN
Definition: board.h:91
#define PA12_USB_DP
Definition: board.h:95
#define PA10_UART1_RX
Definition: board.h:93

Definition at line 476 of file board.h.

◆ VAL_GPIOA_AFRL

#define VAL_GPIOA_AFRL
Value:
PIN_AFIO_AF(PA01_UART4_RX, 8) | \
PIN_AFIO_AF(PA02_ADC1, 0) | \
PIN_AFIO_AF(PA03_ADC2, 0) | \
PIN_AFIO_AF(PA04_ADC3, 0) | \
PIN_AFIO_AF(PA05_SPI1_SCK, 5) | \
PIN_AFIO_AF(PA06_SPI1_MISO, 5) | \
PIN_AFIO_AF(PA07_SPI1_MOSI, 5))
#define PA02_ADC1
Definition: board.h:85
#define PA04_ADC3
Definition: board.h:87
#define PA01_UART4_RX
Definition: board.h:84
#define PA00_UART4_TX
Definition: board.h:83
#define PA06_SPI1_MISO
Definition: board.h:89
#define PA05_SPI1_SCK
Definition: board.h:88
#define PA03_ADC2
Definition: board.h:86
#define PA07_SPI1_MOSI
Definition: board.h:90

Definition at line 467 of file board.h.

◆ VAL_GPIOA_MODER

#define VAL_GPIOA_MODER
Value:
PIN_MODE_ALTERNATE(PA01_UART4_RX) | \
PIN_MODE_ANALOG(PA02_ADC1) | \
PIN_MODE_ANALOG(PA03_ADC2) | \
PIN_MODE_ANALOG(PA04_ADC3) | \
PIN_MODE_ALTERNATE(PA05_SPI1_SCK) | \
PIN_MODE_ALTERNATE(PA06_SPI1_MISO) | \
PIN_MODE_ALTERNATE(PA07_SPI1_MOSI) | \
PIN_MODE_OUTPUT(PA08_VDD_5V_PERIPH_EN) | \
PIN_MODE_INPUT(PA09_USB_VBUS) | \
PIN_MODE_ALTERNATE(PA10_UART1_RX) | \
PIN_MODE_ALTERNATE(PA11_USB_DM) | \
PIN_MODE_ALTERNATE(PA12_USB_DP) | \
PIN_MODE_ALTERNATE(PA13_SWDIO) | \
PIN_MODE_ALTERNATE(PA14_SWCLK) | \
PIN_MODE_OUTPUT(PA15_ALARM))
#define PIN_MODE_ALTERNATE(n)
Definition: board.h:367

Definition at line 382 of file board.h.

◆ VAL_GPIOA_ODR

#define VAL_GPIOA_ODR
Value:
PIN_ODR_LEVEL_HIGH(PA01_UART4_RX) | \
PIN_ODR_LEVEL_LOW(PA02_ADC1) | \
PIN_ODR_LEVEL_LOW(PA03_ADC2) | \
PIN_ODR_LEVEL_LOW(PA04_ADC3) | \
PIN_ODR_LEVEL_HIGH(PA05_SPI1_SCK) | \
PIN_ODR_LEVEL_HIGH(PA06_SPI1_MISO) | \
PIN_ODR_LEVEL_HIGH(PA07_SPI1_MOSI) | \
PIN_ODR_LEVEL_LOW(PA08_VDD_5V_PERIPH_EN) | \
PIN_ODR_LEVEL_LOW(PA09_USB_VBUS) | \
PIN_ODR_LEVEL_HIGH(PA10_UART1_RX) | \
PIN_ODR_LEVEL_HIGH(PA11_USB_DM) | \
PIN_ODR_LEVEL_HIGH(PA12_USB_DP) | \
PIN_ODR_LEVEL_HIGH(PA13_SWDIO) | \
PIN_ODR_LEVEL_HIGH(PA14_SWCLK) | \
PIN_ODR_LEVEL_LOW(PA15_ALARM))
#define PIN_ODR_LEVEL_HIGH(n)
Definition: board.h:370

Definition at line 450 of file board.h.

◆ VAL_GPIOA_OSPEEDR

#define VAL_GPIOA_OSPEEDR
Value:
PIN_OSPEED_SPEED_HIGH(PA01_UART4_RX) | \
PIN_OSPEED_SPEED_VERYLOW(PA02_ADC1) | \
PIN_OSPEED_SPEED_VERYLOW(PA03_ADC2) | \
PIN_OSPEED_SPEED_VERYLOW(PA04_ADC3) | \
PIN_OSPEED_SPEED_HIGH(PA05_SPI1_SCK) | \
PIN_OSPEED_SPEED_HIGH(PA06_SPI1_MISO) | \
PIN_OSPEED_SPEED_HIGH(PA07_SPI1_MOSI) | \
PIN_OSPEED_SPEED_VERYLOW(PA08_VDD_5V_PERIPH_EN) | \
PIN_OSPEED_SPEED_VERYLOW(PA09_USB_VBUS) | \
PIN_OSPEED_SPEED_HIGH(PA10_UART1_RX) | \
PIN_OSPEED_SPEED_HIGH(PA11_USB_DM) | \
PIN_OSPEED_SPEED_HIGH(PA12_USB_DP) | \
PIN_OSPEED_SPEED_HIGH(PA13_SWDIO) | \
PIN_OSPEED_SPEED_HIGH(PA14_SWCLK) | \
PIN_OSPEED_SPEED_VERYLOW(PA15_ALARM))
#define PIN_OSPEED_SPEED_HIGH(n)
Definition: board.h:376

Definition at line 416 of file board.h.

◆ VAL_GPIOA_OTYPER

#define VAL_GPIOA_OTYPER
Value:
PIN_OTYPE_PUSHPULL(PA01_UART4_RX) | \
PIN_OTYPE_PUSHPULL(PA02_ADC1) | \
PIN_OTYPE_PUSHPULL(PA03_ADC2) | \
PIN_OTYPE_PUSHPULL(PA04_ADC3) | \
PIN_OTYPE_PUSHPULL(PA05_SPI1_SCK) | \
PIN_OTYPE_PUSHPULL(PA06_SPI1_MISO) | \
PIN_OTYPE_PUSHPULL(PA07_SPI1_MOSI) | \
PIN_OTYPE_PUSHPULL(PA08_VDD_5V_PERIPH_EN) | \
PIN_OTYPE_OPENDRAIN(PA09_USB_VBUS) | \
PIN_OTYPE_PUSHPULL(PA10_UART1_RX) | \
PIN_OTYPE_PUSHPULL(PA11_USB_DM) | \
PIN_OTYPE_PUSHPULL(PA12_USB_DP) | \
PIN_OTYPE_PUSHPULL(PA13_SWDIO) | \
PIN_OTYPE_PUSHPULL(PA14_SWCLK) | \
PIN_OTYPE_PUSHPULL(PA15_ALARM))
#define PIN_OTYPE_PUSHPULL(n)
Definition: board.h:371

Definition at line 399 of file board.h.

◆ VAL_GPIOA_PUPDR

#define VAL_GPIOA_PUPDR
Value:
PIN_PUPDR_FLOATING(PA01_UART4_RX) | \
PIN_PUPDR_FLOATING(PA02_ADC1) | \
PIN_PUPDR_FLOATING(PA03_ADC2) | \
PIN_PUPDR_FLOATING(PA04_ADC3) | \
PIN_PUPDR_FLOATING(PA05_SPI1_SCK) | \
PIN_PUPDR_FLOATING(PA06_SPI1_MISO) | \
PIN_PUPDR_FLOATING(PA07_SPI1_MOSI) | \
PIN_PUPDR_FLOATING(PA08_VDD_5V_PERIPH_EN) | \
PIN_PUPDR_PULLDOWN(PA09_USB_VBUS) | \
PIN_PUPDR_FLOATING(PA10_UART1_RX) | \
PIN_PUPDR_FLOATING(PA11_USB_DM) | \
PIN_PUPDR_FLOATING(PA12_USB_DP) | \
PIN_PUPDR_FLOATING(PA13_SWDIO) | \
PIN_PUPDR_FLOATING(PA14_SWCLK) | \
PIN_PUPDR_FLOATING(PA15_ALARM))
#define PIN_PUPDR_FLOATING(n)
Definition: board.h:377

Definition at line 433 of file board.h.

◆ VAL_GPIOB_AFRH

#define VAL_GPIOB_AFRH
Value:
PIN_AFIO_AF(PB09_I2C1_SDA, 4) | \
PIN_AFIO_AF(PB10_I2C2_SCL, 4) | \
PIN_AFIO_AF(PB11_I2C2_SDA, 4) | \
PIN_AFIO_AF(PB12_CAN2_RX, 9) | \
PIN_AFIO_AF(PB13_SPI2_SCK, 5) | \
PIN_AFIO_AF(PB14_SPI2_MISO, 5) | \
PIN_AFIO_AF(PB15_SPI2_MOSI, 5))
#define PB12_CAN2_RX
Definition: board.h:112
#define PB09_I2C1_SDA
Definition: board.h:109
#define PB10_I2C2_SCL
Definition: board.h:110
#define PB08_I2C1_SCL
Definition: board.h:108
#define PB15_SPI2_MOSI
Definition: board.h:115
#define PB13_SPI2_SCK
Definition: board.h:113
#define PB14_SPI2_MISO
Definition: board.h:114
#define PB11_I2C2_SDA
Definition: board.h:111

Definition at line 579 of file board.h.

◆ VAL_GPIOB_AFRL

#define VAL_GPIOB_AFRL
Value:
PIN_AFIO_AF(PB01_SPI_SLAVE0, 0) | \
PIN_AFIO_AF(PB02, 0) | \
PIN_AFIO_AF(PB03, 0) | \
PIN_AFIO_AF(PB04_PWM_VOLT_SEL, 0) | \
PIN_AFIO_AF(PB05_VDD_BRICK_VALID, 0) | \
PIN_AFIO_AF(PB06_CAN2_TX, 9) | \
PIN_AFIO_AF(PB07_VDD_BACKUP_VALID, 0))
#define PB07_VDD_BACKUP_VALID
Definition: board.h:107
#define PB00_SPI_SLAVE0_DRDY
Definition: board.h:100
#define PB02
Definition: board.h:102
#define PB05_VDD_BRICK_VALID
Definition: board.h:105
#define PB04_PWM_VOLT_SEL
Definition: board.h:104
#define PB06_CAN2_TX
Definition: board.h:106
#define PB03
Definition: board.h:103
#define PB01_SPI_SLAVE0
Definition: board.h:101

Definition at line 570 of file board.h.

◆ VAL_GPIOB_MODER

#define VAL_GPIOB_MODER
Value:
PIN_MODE_OUTPUT(PB01_SPI_SLAVE0) | \
PIN_MODE_INPUT(PB02) | \
PIN_MODE_INPUT(PB03) | \
PIN_MODE_OUTPUT(PB04_PWM_VOLT_SEL) | \
PIN_MODE_INPUT(PB05_VDD_BRICK_VALID) | \
PIN_MODE_ALTERNATE(PB06_CAN2_TX) | \
PIN_MODE_INPUT(PB07_VDD_BACKUP_VALID) | \
PIN_MODE_ALTERNATE(PB08_I2C1_SCL) | \
PIN_MODE_ALTERNATE(PB09_I2C1_SDA) | \
PIN_MODE_ALTERNATE(PB10_I2C2_SCL) | \
PIN_MODE_ALTERNATE(PB11_I2C2_SDA) | \
PIN_MODE_ALTERNATE(PB12_CAN2_RX) | \
PIN_MODE_ALTERNATE(PB13_SPI2_SCK) | \
PIN_MODE_ALTERNATE(PB14_SPI2_MISO) | \
PIN_MODE_ALTERNATE(PB15_SPI2_MOSI))
#define PIN_MODE_INPUT(n)
Definition: board.h:365

Definition at line 485 of file board.h.

◆ VAL_GPIOB_ODR

#define VAL_GPIOB_ODR
Value:
PIN_ODR_LEVEL_HIGH(PB01_SPI_SLAVE0) | \
PIN_ODR_LEVEL_LOW(PB02) | \
PIN_ODR_LEVEL_LOW(PB03) | \
PIN_ODR_LEVEL_LOW(PB04_PWM_VOLT_SEL) | \
PIN_ODR_LEVEL_HIGH(PB05_VDD_BRICK_VALID) | \
PIN_ODR_LEVEL_HIGH(PB06_CAN2_TX) | \
PIN_ODR_LEVEL_HIGH(PB07_VDD_BACKUP_VALID) | \
PIN_ODR_LEVEL_HIGH(PB08_I2C1_SCL) | \
PIN_ODR_LEVEL_HIGH(PB09_I2C1_SDA) | \
PIN_ODR_LEVEL_HIGH(PB10_I2C2_SCL) | \
PIN_ODR_LEVEL_HIGH(PB11_I2C2_SDA) | \
PIN_ODR_LEVEL_HIGH(PB12_CAN2_RX) | \
PIN_ODR_LEVEL_HIGH(PB13_SPI2_SCK) | \
PIN_ODR_LEVEL_HIGH(PB14_SPI2_MISO) | \
PIN_ODR_LEVEL_HIGH(PB15_SPI2_MOSI))

Definition at line 553 of file board.h.

◆ VAL_GPIOB_OSPEEDR

#define VAL_GPIOB_OSPEEDR
Value:
PIN_OSPEED_SPEED_HIGH(PB01_SPI_SLAVE0) | \
PIN_OSPEED_SPEED_VERYLOW(PB02) | \
PIN_OSPEED_SPEED_VERYLOW(PB03) | \
PIN_OSPEED_SPEED_VERYLOW(PB04_PWM_VOLT_SEL) | \
PIN_OSPEED_SPEED_VERYLOW(PB05_VDD_BRICK_VALID) | \
PIN_OSPEED_SPEED_HIGH(PB06_CAN2_TX) | \
PIN_OSPEED_SPEED_VERYLOW(PB07_VDD_BACKUP_VALID) | \
PIN_OSPEED_SPEED_HIGH(PB08_I2C1_SCL) | \
PIN_OSPEED_SPEED_HIGH(PB09_I2C1_SDA) | \
PIN_OSPEED_SPEED_HIGH(PB10_I2C2_SCL) | \
PIN_OSPEED_SPEED_HIGH(PB11_I2C2_SDA) | \
PIN_OSPEED_SPEED_HIGH(PB12_CAN2_RX) | \
PIN_OSPEED_SPEED_HIGH(PB13_SPI2_SCK) | \
PIN_OSPEED_SPEED_HIGH(PB14_SPI2_MISO) | \
PIN_OSPEED_SPEED_HIGH(PB15_SPI2_MOSI))
#define PIN_OSPEED_SPEED_VERYLOW(n)
Definition: board.h:373

Definition at line 519 of file board.h.

◆ VAL_GPIOB_OTYPER

#define VAL_GPIOB_OTYPER
Value:
PIN_OTYPE_PUSHPULL(PB01_SPI_SLAVE0) | \
PIN_OTYPE_PUSHPULL(PB02) | \
PIN_OTYPE_PUSHPULL(PB03) | \
PIN_OTYPE_PUSHPULL(PB04_PWM_VOLT_SEL) | \
PIN_OTYPE_OPENDRAIN(PB05_VDD_BRICK_VALID) | \
PIN_OTYPE_PUSHPULL(PB06_CAN2_TX) | \
PIN_OTYPE_OPENDRAIN(PB07_VDD_BACKUP_VALID) | \
PIN_OTYPE_OPENDRAIN(PB08_I2C1_SCL) | \
PIN_OTYPE_OPENDRAIN(PB09_I2C1_SDA) | \
PIN_OTYPE_OPENDRAIN(PB10_I2C2_SCL) | \
PIN_OTYPE_OPENDRAIN(PB11_I2C2_SDA) | \
PIN_OTYPE_PUSHPULL(PB12_CAN2_RX) | \
PIN_OTYPE_PUSHPULL(PB13_SPI2_SCK) | \
PIN_OTYPE_PUSHPULL(PB14_SPI2_MISO) | \
PIN_OTYPE_PUSHPULL(PB15_SPI2_MOSI))
#define PIN_OTYPE_OPENDRAIN(n)
Definition: board.h:372

Definition at line 502 of file board.h.

◆ VAL_GPIOB_PUPDR

#define VAL_GPIOB_PUPDR
Value:
PIN_PUPDR_FLOATING(PB01_SPI_SLAVE0) | \
PIN_PUPDR_PULLDOWN(PB02) | \
PIN_PUPDR_PULLDOWN(PB03) | \
PIN_PUPDR_FLOATING(PB04_PWM_VOLT_SEL) | \
PIN_PUPDR_PULLDOWN(PB05_VDD_BRICK_VALID) | \
PIN_PUPDR_FLOATING(PB06_CAN2_TX) | \
PIN_PUPDR_PULLDOWN(PB07_VDD_BACKUP_VALID) | \
PIN_PUPDR_PULLUP(PB08_I2C1_SCL) | \
PIN_PUPDR_PULLUP(PB09_I2C1_SDA) | \
PIN_PUPDR_PULLUP(PB10_I2C2_SCL) | \
PIN_PUPDR_PULLUP(PB11_I2C2_SDA) | \
PIN_PUPDR_FLOATING(PB12_CAN2_RX) | \
PIN_PUPDR_FLOATING(PB13_SPI2_SCK) | \
PIN_PUPDR_FLOATING(PB14_SPI2_MISO) | \
PIN_PUPDR_FLOATING(PB15_SPI2_MOSI))
#define PIN_PUPDR_PULLDOWN(n)
Definition: board.h:379

Definition at line 536 of file board.h.

◆ VAL_GPIOC_AFRH

#define VAL_GPIOC_AFRH
Value:
PIN_AFIO_AF(PC09_SDIO_D1, 12) | \
PIN_AFIO_AF(PC10_SDIO_D2, 12) | \
PIN_AFIO_AF(PC11_SDIO_D3, 12) | \
PIN_AFIO_AF(PC12_SDIO_CK, 12) | \
PIN_AFIO_AF(PC13_SPI_SLAVE3, 0) | \
PIN_AFIO_AF(PC14_SPI_SLAVE4, 0) | \
PIN_AFIO_AF(PC15_SPI_SLAVE5, 0))
#define PC08_SDIO_D0
Definition: board.h:125
#define PC14_SPI_SLAVE4
Definition: board.h:131
#define PC10_SDIO_D2
Definition: board.h:127
#define PC11_SDIO_D3
Definition: board.h:128
#define PC15_SPI_SLAVE5
Definition: board.h:132
#define PC13_SPI_SLAVE3
Definition: board.h:130
#define PC09_SDIO_D1
Definition: board.h:126
#define PC12_SDIO_CK
Definition: board.h:129

Definition at line 682 of file board.h.

◆ VAL_GPIOC_AFRL

#define VAL_GPIOC_AFRL
Value:
PIN_AFIO_AF(PC01_SPI_SLAVE1, 0) | \
PIN_AFIO_AF(PC02_SPI_SLAVE2, 0) | \
PIN_AFIO_AF(PC03_ADC6, 0) | \
PIN_AFIO_AF(PC04_ADC4, 0) | \
PIN_AFIO_AF(PC05_ADC5, 0) | \
PIN_AFIO_AF(PC06_UART6_TX, 7) | \
PIN_AFIO_AF(PC07_UART6_RX, 7))
#define PC04_ADC4
Definition: board.h:121
#define PC06_UART6_TX
Definition: board.h:123
#define PC02_SPI_SLAVE2
Definition: board.h:119
#define PC01_SPI_SLAVE1
Definition: board.h:118
#define PC05_ADC5
Definition: board.h:122
#define PC03_ADC6
Definition: board.h:120
#define PC07_UART6_RX
Definition: board.h:124
#define PC00_VBUS_VALID
Definition: board.h:117

Definition at line 673 of file board.h.

◆ VAL_GPIOC_MODER

#define VAL_GPIOC_MODER
Value:
PIN_MODE_OUTPUT(PC01_SPI_SLAVE1) | \
PIN_MODE_OUTPUT(PC02_SPI_SLAVE2) | \
PIN_MODE_ANALOG(PC03_ADC6) | \
PIN_MODE_ANALOG(PC04_ADC4) | \
PIN_MODE_ANALOG(PC05_ADC5) | \
PIN_MODE_ALTERNATE(PC06_UART6_TX) | \
PIN_MODE_ALTERNATE(PC07_UART6_RX) | \
PIN_MODE_ALTERNATE(PC08_SDIO_D0) | \
PIN_MODE_ALTERNATE(PC09_SDIO_D1) | \
PIN_MODE_ALTERNATE(PC10_SDIO_D2) | \
PIN_MODE_ALTERNATE(PC11_SDIO_D3) | \
PIN_MODE_ALTERNATE(PC12_SDIO_CK) | \
PIN_MODE_OUTPUT(PC13_SPI_SLAVE3) | \
PIN_MODE_OUTPUT(PC14_SPI_SLAVE4) | \
PIN_MODE_OUTPUT(PC15_SPI_SLAVE5))

Definition at line 588 of file board.h.

◆ VAL_GPIOC_ODR

#define VAL_GPIOC_ODR
Value:
PIN_ODR_LEVEL_HIGH(PC01_SPI_SLAVE1) | \
PIN_ODR_LEVEL_HIGH(PC02_SPI_SLAVE2) | \
PIN_ODR_LEVEL_LOW(PC03_ADC6) | \
PIN_ODR_LEVEL_LOW(PC04_ADC4) | \
PIN_ODR_LEVEL_LOW(PC05_ADC5) | \
PIN_ODR_LEVEL_HIGH(PC06_UART6_TX) | \
PIN_ODR_LEVEL_HIGH(PC07_UART6_RX) | \
PIN_ODR_LEVEL_HIGH(PC08_SDIO_D0) | \
PIN_ODR_LEVEL_HIGH(PC09_SDIO_D1) | \
PIN_ODR_LEVEL_HIGH(PC10_SDIO_D2) | \
PIN_ODR_LEVEL_HIGH(PC11_SDIO_D3) | \
PIN_ODR_LEVEL_HIGH(PC12_SDIO_CK) | \
PIN_ODR_LEVEL_HIGH(PC13_SPI_SLAVE3) | \
PIN_ODR_LEVEL_HIGH(PC14_SPI_SLAVE4) | \
PIN_ODR_LEVEL_HIGH(PC15_SPI_SLAVE5))

Definition at line 656 of file board.h.

◆ VAL_GPIOC_OSPEEDR

#define VAL_GPIOC_OSPEEDR
Value:
PIN_OSPEED_SPEED_HIGH(PC01_SPI_SLAVE1) | \
PIN_OSPEED_SPEED_HIGH(PC02_SPI_SLAVE2) | \
PIN_OSPEED_SPEED_VERYLOW(PC03_ADC6) | \
PIN_OSPEED_SPEED_VERYLOW(PC04_ADC4) | \
PIN_OSPEED_SPEED_VERYLOW(PC05_ADC5) | \
PIN_OSPEED_SPEED_HIGH(PC06_UART6_TX) | \
PIN_OSPEED_SPEED_HIGH(PC07_UART6_RX) | \
PIN_OSPEED_SPEED_HIGH(PC08_SDIO_D0) | \
PIN_OSPEED_SPEED_HIGH(PC09_SDIO_D1) | \
PIN_OSPEED_SPEED_HIGH(PC10_SDIO_D2) | \
PIN_OSPEED_SPEED_HIGH(PC11_SDIO_D3) | \
PIN_OSPEED_SPEED_HIGH(PC12_SDIO_CK) | \
PIN_OSPEED_SPEED_HIGH(PC13_SPI_SLAVE3) | \
PIN_OSPEED_SPEED_HIGH(PC14_SPI_SLAVE4) | \
PIN_OSPEED_SPEED_HIGH(PC15_SPI_SLAVE5))

Definition at line 622 of file board.h.

◆ VAL_GPIOC_OTYPER

#define VAL_GPIOC_OTYPER
Value:
PIN_OTYPE_PUSHPULL(PC01_SPI_SLAVE1) | \
PIN_OTYPE_PUSHPULL(PC02_SPI_SLAVE2) | \
PIN_OTYPE_PUSHPULL(PC03_ADC6) | \
PIN_OTYPE_PUSHPULL(PC04_ADC4) | \
PIN_OTYPE_PUSHPULL(PC05_ADC5) | \
PIN_OTYPE_PUSHPULL(PC06_UART6_TX) | \
PIN_OTYPE_PUSHPULL(PC07_UART6_RX) | \
PIN_OTYPE_PUSHPULL(PC08_SDIO_D0) | \
PIN_OTYPE_PUSHPULL(PC09_SDIO_D1) | \
PIN_OTYPE_PUSHPULL(PC10_SDIO_D2) | \
PIN_OTYPE_PUSHPULL(PC11_SDIO_D3) | \
PIN_OTYPE_PUSHPULL(PC12_SDIO_CK) | \
PIN_OTYPE_PUSHPULL(PC13_SPI_SLAVE3) | \
PIN_OTYPE_PUSHPULL(PC14_SPI_SLAVE4) | \
PIN_OTYPE_PUSHPULL(PC15_SPI_SLAVE5))

Definition at line 605 of file board.h.

◆ VAL_GPIOC_PUPDR

#define VAL_GPIOC_PUPDR
Value:
PIN_PUPDR_FLOATING(PC01_SPI_SLAVE1) | \
PIN_PUPDR_FLOATING(PC02_SPI_SLAVE2) | \
PIN_PUPDR_FLOATING(PC03_ADC6) | \
PIN_PUPDR_FLOATING(PC04_ADC4) | \
PIN_PUPDR_FLOATING(PC05_ADC5) | \
PIN_PUPDR_FLOATING(PC06_UART6_TX) | \
PIN_PUPDR_FLOATING(PC07_UART6_RX) | \
PIN_PUPDR_PULLUP(PC08_SDIO_D0) | \
PIN_PUPDR_PULLUP(PC09_SDIO_D1) | \
PIN_PUPDR_PULLUP(PC10_SDIO_D2) | \
PIN_PUPDR_PULLUP(PC11_SDIO_D3) | \
PIN_PUPDR_FLOATING(PC12_SDIO_CK) | \
PIN_PUPDR_FLOATING(PC13_SPI_SLAVE3) | \
PIN_PUPDR_FLOATING(PC14_SPI_SLAVE4) | \
PIN_PUPDR_FLOATING(PC15_SPI_SLAVE5))

Definition at line 639 of file board.h.

◆ VAL_GPIOD_AFRH

#define VAL_GPIOD_AFRH
Value:
PIN_AFIO_AF(PD09_UART3_RX, 7) | \
PIN_AFIO_AF(PD10_SPI_SLAVE7, 0) | \
PIN_AFIO_AF(PD11_UART3_CTS, 0) | \
PIN_AFIO_AF(PD12_UART3_RTS, 0) | \
PIN_AFIO_AF(PD13_SERVO5, 2) | \
PIN_AFIO_AF(PD14_SERVO6, 2) | \
PIN_AFIO_AF(PD15_MPU_DRDY, 0))
#define PD13_SERVO5
Definition: board.h:147
#define PD14_SERVO6
Definition: board.h:148
#define PD09_UART3_RX
Definition: board.h:143
#define PD15_MPU_DRDY
Definition: board.h:149
#define PD12_UART3_RTS
Definition: board.h:146
#define PD08_UART3_TX
Definition: board.h:142
#define PD10_SPI_SLAVE7
Definition: board.h:144
#define PD11_UART3_CTS
Definition: board.h:145

Definition at line 785 of file board.h.

◆ VAL_GPIOD_AFRL

#define VAL_GPIOD_AFRL
Value:
PIN_AFIO_AF(PD01_CAN1_TX, 9) | \
PIN_AFIO_AF(PD02_SDIO_CMD, 12) | \
PIN_AFIO_AF(PD03_UART2_CTS, 0) | \
PIN_AFIO_AF(PD04_UART2_RTS, 0) | \
PIN_AFIO_AF(PD05_UART2_TX, 7) | \
PIN_AFIO_AF(PD06_UART2_RX, 7) | \
PIN_AFIO_AF(PD07_SPI_SLAVE6, 0))
#define PD07_SPI_SLAVE6
Definition: board.h:141
#define PD04_UART2_RTS
Definition: board.h:138
#define PD02_SDIO_CMD
Definition: board.h:136
#define PD00_CAN1_RX
Definition: board.h:134
#define PD01_CAN1_TX
Definition: board.h:135
#define PD05_UART2_TX
Definition: board.h:139
#define PD03_UART2_CTS
Definition: board.h:137
#define PD06_UART2_RX
Definition: board.h:140

Definition at line 776 of file board.h.

◆ VAL_GPIOD_MODER

#define VAL_GPIOD_MODER
Value:
PIN_MODE_ALTERNATE(PD01_CAN1_TX) | \
PIN_MODE_ALTERNATE(PD02_SDIO_CMD) | \
PIN_MODE_INPUT(PD03_UART2_CTS) | \
PIN_MODE_INPUT(PD04_UART2_RTS) | \
PIN_MODE_ALTERNATE(PD05_UART2_TX) | \
PIN_MODE_ALTERNATE(PD06_UART2_RX) | \
PIN_MODE_OUTPUT(PD07_SPI_SLAVE6) | \
PIN_MODE_ALTERNATE(PD08_UART3_TX) | \
PIN_MODE_ALTERNATE(PD09_UART3_RX) | \
PIN_MODE_OUTPUT(PD10_SPI_SLAVE7) | \
PIN_MODE_INPUT(PD11_UART3_CTS) | \
PIN_MODE_INPUT(PD12_UART3_RTS) | \
PIN_MODE_ALTERNATE(PD13_SERVO5) | \
PIN_MODE_ALTERNATE(PD14_SERVO6) | \
PIN_MODE_INPUT(PD15_MPU_DRDY))

Definition at line 691 of file board.h.

◆ VAL_GPIOD_ODR

#define VAL_GPIOD_ODR
Value:
PIN_ODR_LEVEL_HIGH(PD01_CAN1_TX) | \
PIN_ODR_LEVEL_HIGH(PD02_SDIO_CMD) | \
PIN_ODR_LEVEL_HIGH(PD03_UART2_CTS) | \
PIN_ODR_LEVEL_HIGH(PD04_UART2_RTS) | \
PIN_ODR_LEVEL_HIGH(PD05_UART2_TX) | \
PIN_ODR_LEVEL_HIGH(PD06_UART2_RX) | \
PIN_ODR_LEVEL_HIGH(PD07_SPI_SLAVE6) | \
PIN_ODR_LEVEL_HIGH(PD08_UART3_TX) | \
PIN_ODR_LEVEL_HIGH(PD09_UART3_RX) | \
PIN_ODR_LEVEL_HIGH(PD10_SPI_SLAVE7) | \
PIN_ODR_LEVEL_HIGH(PD11_UART3_CTS) | \
PIN_ODR_LEVEL_HIGH(PD12_UART3_RTS) | \
PIN_ODR_LEVEL_LOW(PD13_SERVO5) | \
PIN_ODR_LEVEL_LOW(PD14_SERVO6) | \
PIN_ODR_LEVEL_HIGH(PD15_MPU_DRDY))

Definition at line 759 of file board.h.

◆ VAL_GPIOD_OSPEEDR

#define VAL_GPIOD_OSPEEDR
Value:
PIN_OSPEED_SPEED_HIGH(PD01_CAN1_TX) | \
PIN_OSPEED_SPEED_HIGH(PD02_SDIO_CMD) | \
PIN_OSPEED_SPEED_VERYLOW(PD03_UART2_CTS) | \
PIN_OSPEED_SPEED_VERYLOW(PD04_UART2_RTS) | \
PIN_OSPEED_SPEED_HIGH(PD05_UART2_TX) | \
PIN_OSPEED_SPEED_HIGH(PD06_UART2_RX) | \
PIN_OSPEED_SPEED_HIGH(PD07_SPI_SLAVE6) | \
PIN_OSPEED_SPEED_HIGH(PD08_UART3_TX) | \
PIN_OSPEED_SPEED_HIGH(PD09_UART3_RX) | \
PIN_OSPEED_SPEED_HIGH(PD10_SPI_SLAVE7) | \
PIN_OSPEED_SPEED_VERYLOW(PD11_UART3_CTS) | \
PIN_OSPEED_SPEED_VERYLOW(PD12_UART3_RTS) | \
PIN_OSPEED_SPEED_HIGH(PD13_SERVO5) | \
PIN_OSPEED_SPEED_HIGH(PD14_SERVO6) | \
PIN_OSPEED_SPEED_VERYLOW(PD15_MPU_DRDY))

Definition at line 725 of file board.h.

◆ VAL_GPIOD_OTYPER

#define VAL_GPIOD_OTYPER
Value:
PIN_OTYPE_PUSHPULL(PD01_CAN1_TX) | \
PIN_OTYPE_PUSHPULL(PD02_SDIO_CMD) | \
PIN_OTYPE_OPENDRAIN(PD03_UART2_CTS) | \
PIN_OTYPE_OPENDRAIN(PD04_UART2_RTS) | \
PIN_OTYPE_PUSHPULL(PD05_UART2_TX) | \
PIN_OTYPE_PUSHPULL(PD06_UART2_RX) | \
PIN_OTYPE_PUSHPULL(PD07_SPI_SLAVE6) | \
PIN_OTYPE_PUSHPULL(PD08_UART3_TX) | \
PIN_OTYPE_PUSHPULL(PD09_UART3_RX) | \
PIN_OTYPE_PUSHPULL(PD10_SPI_SLAVE7) | \
PIN_OTYPE_OPENDRAIN(PD11_UART3_CTS) | \
PIN_OTYPE_OPENDRAIN(PD12_UART3_RTS) | \
PIN_OTYPE_PUSHPULL(PD13_SERVO5) | \
PIN_OTYPE_PUSHPULL(PD14_SERVO6) | \
PIN_OTYPE_OPENDRAIN(PD15_MPU_DRDY))

Definition at line 708 of file board.h.

◆ VAL_GPIOD_PUPDR

#define VAL_GPIOD_PUPDR
Value:
PIN_PUPDR_FLOATING(PD01_CAN1_TX) | \
PIN_PUPDR_PULLUP(PD02_SDIO_CMD) | \
PIN_PUPDR_PULLDOWN(PD03_UART2_CTS) | \
PIN_PUPDR_PULLDOWN(PD04_UART2_RTS) | \
PIN_PUPDR_FLOATING(PD05_UART2_TX) | \
PIN_PUPDR_FLOATING(PD06_UART2_RX) | \
PIN_PUPDR_FLOATING(PD07_SPI_SLAVE6) | \
PIN_PUPDR_FLOATING(PD08_UART3_TX) | \
PIN_PUPDR_FLOATING(PD09_UART3_RX) | \
PIN_PUPDR_FLOATING(PD10_SPI_SLAVE7) | \
PIN_PUPDR_PULLDOWN(PD11_UART3_CTS) | \
PIN_PUPDR_PULLDOWN(PD12_UART3_RTS) | \
PIN_PUPDR_FLOATING(PD13_SERVO5) | \
PIN_PUPDR_FLOATING(PD14_SERVO6) | \
PIN_PUPDR_PULLDOWN(PD15_MPU_DRDY))

Definition at line 742 of file board.h.

◆ VAL_GPIOE_AFRH

#define VAL_GPIOE_AFRH
Value:
PIN_AFIO_AF(PE09_SERVO4, 1) | \
PIN_AFIO_AF(PE10_VDD_5V_HIPOWER_OC, 0) | \
PIN_AFIO_AF(PE11_SERVO3, 1) | \
PIN_AFIO_AF(PE12_LED1, 0) | \
PIN_AFIO_AF(PE13_SERVO2, 1) | \
PIN_AFIO_AF(PE14_SERVO1, 1) | \
PIN_AFIO_AF(PE15_VDD_5V_PERIPH_OC, 0))
#define PE10_VDD_5V_HIPOWER_OC
Definition: board.h:161
#define PE09_SERVO4
Definition: board.h:160
#define PE13_SERVO2
Definition: board.h:164
#define PE14_SERVO1
Definition: board.h:165
#define PE08_UART7_TX
Definition: board.h:159
#define PE11_SERVO3
Definition: board.h:162
#define PE15_VDD_5V_PERIPH_OC
Definition: board.h:166
#define PE12_LED1
Definition: board.h:163

Definition at line 888 of file board.h.

◆ VAL_GPIOE_AFRL

#define VAL_GPIOE_AFRL
Value:
PIN_AFIO_AF(PE01_UART8_TX, 8) | \
PIN_AFIO_AF(PE02_SPI4_SCK, 5) | \
PIN_AFIO_AF(PE03_VDD_3V3_SENSORS_EN, 0) | \
PIN_AFIO_AF(PE04_SPI_SLAVE8, 0) | \
PIN_AFIO_AF(PE05_SPI4_MISO, 5) | \
PIN_AFIO_AF(PE06_SPI4_MOSI, 5) | \
PIN_AFIO_AF(PE07_UART7_RX, 7))
#define PE00_UART8_RX
Definition: board.h:151
#define PE04_SPI_SLAVE8
Definition: board.h:155
#define PE05_SPI4_MISO
Definition: board.h:156
#define PE02_SPI4_SCK
Definition: board.h:153
#define PE03_VDD_3V3_SENSORS_EN
Definition: board.h:154
#define PE01_UART8_TX
Definition: board.h:152
#define PE06_SPI4_MOSI
Definition: board.h:157
#define PE07_UART7_RX
Definition: board.h:158

Definition at line 879 of file board.h.

◆ VAL_GPIOE_MODER

#define VAL_GPIOE_MODER
Value:
PIN_MODE_ALTERNATE(PE01_UART8_TX) | \
PIN_MODE_ALTERNATE(PE02_SPI4_SCK) | \
PIN_MODE_OUTPUT(PE03_VDD_3V3_SENSORS_EN) | \
PIN_MODE_OUTPUT(PE04_SPI_SLAVE8) | \
PIN_MODE_ALTERNATE(PE05_SPI4_MISO) | \
PIN_MODE_ALTERNATE(PE06_SPI4_MOSI) | \
PIN_MODE_ALTERNATE(PE07_UART7_RX) | \
PIN_MODE_ALTERNATE(PE08_UART7_TX) | \
PIN_MODE_ALTERNATE(PE09_SERVO4) | \
PIN_MODE_INPUT(PE10_VDD_5V_HIPOWER_OC) | \
PIN_MODE_ALTERNATE(PE11_SERVO3) | \
PIN_MODE_OUTPUT(PE12_LED1) | \
PIN_MODE_ALTERNATE(PE13_SERVO2) | \
PIN_MODE_ALTERNATE(PE14_SERVO1) | \
PIN_MODE_INPUT(PE15_VDD_5V_PERIPH_OC))

Definition at line 794 of file board.h.

◆ VAL_GPIOE_ODR

#define VAL_GPIOE_ODR
Value:
PIN_ODR_LEVEL_HIGH(PE01_UART8_TX) | \
PIN_ODR_LEVEL_HIGH(PE02_SPI4_SCK) | \
PIN_ODR_LEVEL_HIGH(PE03_VDD_3V3_SENSORS_EN) | \
PIN_ODR_LEVEL_HIGH(PE04_SPI_SLAVE8) | \
PIN_ODR_LEVEL_HIGH(PE05_SPI4_MISO) | \
PIN_ODR_LEVEL_HIGH(PE06_SPI4_MOSI) | \
PIN_ODR_LEVEL_HIGH(PE07_UART7_RX) | \
PIN_ODR_LEVEL_HIGH(PE08_UART7_TX) | \
PIN_ODR_LEVEL_LOW(PE09_SERVO4) | \
PIN_ODR_LEVEL_HIGH(PE10_VDD_5V_HIPOWER_OC) | \
PIN_ODR_LEVEL_LOW(PE11_SERVO3) | \
PIN_ODR_LEVEL_LOW(PE12_LED1) | \
PIN_ODR_LEVEL_LOW(PE13_SERVO2) | \
PIN_ODR_LEVEL_LOW(PE14_SERVO1) | \
PIN_ODR_LEVEL_HIGH(PE15_VDD_5V_PERIPH_OC))

Definition at line 862 of file board.h.

◆ VAL_GPIOE_OSPEEDR

#define VAL_GPIOE_OSPEEDR
Value:
PIN_OSPEED_SPEED_HIGH(PE01_UART8_TX) | \
PIN_OSPEED_SPEED_HIGH(PE02_SPI4_SCK) | \
PIN_OSPEED_SPEED_VERYLOW(PE03_VDD_3V3_SENSORS_EN) | \
PIN_OSPEED_SPEED_HIGH(PE04_SPI_SLAVE8) | \
PIN_OSPEED_SPEED_HIGH(PE05_SPI4_MISO) | \
PIN_OSPEED_SPEED_HIGH(PE06_SPI4_MOSI) | \
PIN_OSPEED_SPEED_HIGH(PE07_UART7_RX) | \
PIN_OSPEED_SPEED_HIGH(PE08_UART7_TX) | \
PIN_OSPEED_SPEED_HIGH(PE09_SERVO4) | \
PIN_OSPEED_SPEED_VERYLOW(PE10_VDD_5V_HIPOWER_OC) | \
PIN_OSPEED_SPEED_HIGH(PE11_SERVO3) | \
PIN_OSPEED_SPEED_VERYLOW(PE12_LED1) | \
PIN_OSPEED_SPEED_HIGH(PE13_SERVO2) | \
PIN_OSPEED_SPEED_HIGH(PE14_SERVO1) | \
PIN_OSPEED_SPEED_VERYLOW(PE15_VDD_5V_PERIPH_OC))

Definition at line 828 of file board.h.

◆ VAL_GPIOE_OTYPER

#define VAL_GPIOE_OTYPER
Value:
PIN_OTYPE_PUSHPULL(PE01_UART8_TX) | \
PIN_OTYPE_PUSHPULL(PE02_SPI4_SCK) | \
PIN_OTYPE_PUSHPULL(PE03_VDD_3V3_SENSORS_EN) | \
PIN_OTYPE_PUSHPULL(PE04_SPI_SLAVE8) | \
PIN_OTYPE_PUSHPULL(PE05_SPI4_MISO) | \
PIN_OTYPE_PUSHPULL(PE06_SPI4_MOSI) | \
PIN_OTYPE_PUSHPULL(PE07_UART7_RX) | \
PIN_OTYPE_PUSHPULL(PE08_UART7_TX) | \
PIN_OTYPE_PUSHPULL(PE09_SERVO4) | \
PIN_OTYPE_OPENDRAIN(PE10_VDD_5V_HIPOWER_OC) | \
PIN_OTYPE_PUSHPULL(PE11_SERVO3) | \
PIN_OTYPE_PUSHPULL(PE12_LED1) | \
PIN_OTYPE_PUSHPULL(PE13_SERVO2) | \
PIN_OTYPE_PUSHPULL(PE14_SERVO1) | \
PIN_OTYPE_OPENDRAIN(PE15_VDD_5V_PERIPH_OC))

Definition at line 811 of file board.h.

◆ VAL_GPIOE_PUPDR

#define VAL_GPIOE_PUPDR
Value:
PIN_PUPDR_FLOATING(PE01_UART8_TX) | \
PIN_PUPDR_FLOATING(PE02_SPI4_SCK) | \
PIN_PUPDR_FLOATING(PE03_VDD_3V3_SENSORS_EN) | \
PIN_PUPDR_FLOATING(PE04_SPI_SLAVE8) | \
PIN_PUPDR_FLOATING(PE05_SPI4_MISO) | \
PIN_PUPDR_FLOATING(PE06_SPI4_MOSI) | \
PIN_PUPDR_FLOATING(PE07_UART7_RX) | \
PIN_PUPDR_FLOATING(PE08_UART7_TX) | \
PIN_PUPDR_FLOATING(PE09_SERVO4) | \
PIN_PUPDR_PULLDOWN(PE10_VDD_5V_HIPOWER_OC) | \
PIN_PUPDR_FLOATING(PE11_SERVO3) | \
PIN_PUPDR_FLOATING(PE12_LED1) | \
PIN_PUPDR_FLOATING(PE13_SERVO2) | \
PIN_PUPDR_FLOATING(PE14_SERVO1) | \
PIN_PUPDR_PULLDOWN(PE15_VDD_5V_PERIPH_OC))

Definition at line 845 of file board.h.

◆ VAL_GPIOF_AFRH

#define VAL_GPIOF_AFRH
Value:
(PIN_AFIO_AF(PF08, 0) | \
PIN_AFIO_AF(PF09, 0) | \
PIN_AFIO_AF(PF10, 0) | \
PIN_AFIO_AF(PF11, 0) | \
PIN_AFIO_AF(PF12, 0) | \
PIN_AFIO_AF(PF13, 0) | \
PIN_AFIO_AF(PF14, 0) | \
PIN_AFIO_AF(PF15, 0))
#define PF11
Definition: board.h:179
#define PF08
Definition: board.h:176
#define PF13
Definition: board.h:181
#define PF10
Definition: board.h:178
#define PF12
Definition: board.h:180
#define PF15
Definition: board.h:183
#define PF14
Definition: board.h:182
#define PF09
Definition: board.h:177

Definition at line 991 of file board.h.

◆ VAL_GPIOF_AFRL

#define VAL_GPIOF_AFRL
Value:
(PIN_AFIO_AF(PF00, 0) | \
PIN_AFIO_AF(PF01, 0) | \
PIN_AFIO_AF(PF02, 0) | \
PIN_AFIO_AF(PF03, 0) | \
PIN_AFIO_AF(PF04, 0) | \
PIN_AFIO_AF(PF05, 0) | \
PIN_AFIO_AF(PF06, 0) | \
PIN_AFIO_AF(PF07, 0))
#define PF03
Definition: board.h:171
#define PF00
Definition: board.h:168
#define PF04
Definition: board.h:172
#define PF02
Definition: board.h:170
#define PF05
Definition: board.h:173
#define PF01
Definition: board.h:169
#define PF07
Definition: board.h:175
#define PF06
Definition: board.h:174

Definition at line 982 of file board.h.

◆ VAL_GPIOF_MODER

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

Definition at line 897 of file board.h.

◆ VAL_GPIOF_ODR

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

Definition at line 965 of file board.h.

◆ VAL_GPIOF_OSPEEDR

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

Definition at line 931 of file board.h.

◆ VAL_GPIOF_OTYPER

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

Definition at line 914 of file board.h.

◆ VAL_GPIOF_PUPDR

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

Definition at line 948 of file board.h.

◆ VAL_GPIOG_AFRH

#define VAL_GPIOG_AFRH
Value:
(PIN_AFIO_AF(PG08, 0) | \
PIN_AFIO_AF(PG09, 0) | \
PIN_AFIO_AF(PG10, 0) | \
PIN_AFIO_AF(PG11, 0) | \
PIN_AFIO_AF(PG12, 0) | \
PIN_AFIO_AF(PG13, 0) | \
PIN_AFIO_AF(PG14, 0) | \
PIN_AFIO_AF(PG15, 0))
#define PG13
Definition: board.h:198
#define PG08
Definition: board.h:193
#define PG14
Definition: board.h:199
#define PG12
Definition: board.h:197
#define PG15
Definition: board.h:200
#define PG10
Definition: board.h:195
#define PG09
Definition: board.h:194
#define PG11
Definition: board.h:196

Definition at line 1094 of file board.h.

◆ VAL_GPIOG_AFRL

#define VAL_GPIOG_AFRL
Value:
(PIN_AFIO_AF(PG00, 0) | \
PIN_AFIO_AF(PG01, 0) | \
PIN_AFIO_AF(PG02, 0) | \
PIN_AFIO_AF(PG03, 0) | \
PIN_AFIO_AF(PG04, 0) | \
PIN_AFIO_AF(PG05, 0) | \
PIN_AFIO_AF(PG06, 0) | \
PIN_AFIO_AF(PG07, 0))
#define PG01
Definition: board.h:186
#define PG05
Definition: board.h:190
#define PG04
Definition: board.h:189
#define PG00
Definition: board.h:185
#define PG06
Definition: board.h:191
#define PG03
Definition: board.h:188
#define PG02
Definition: board.h:187
#define PG07
Definition: board.h:192

Definition at line 1085 of file board.h.

◆ VAL_GPIOG_MODER

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

Definition at line 1000 of file board.h.

◆ VAL_GPIOG_ODR

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

Definition at line 1068 of file board.h.

◆ VAL_GPIOG_OSPEEDR

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

Definition at line 1034 of file board.h.

◆ VAL_GPIOG_OTYPER

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

Definition at line 1017 of file board.h.

◆ VAL_GPIOG_PUPDR

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

Definition at line 1051 of file board.h.

◆ VAL_GPIOH_AFRH

#define VAL_GPIOH_AFRH
Value:
(PIN_AFIO_AF(PH08, 0) | \
PIN_AFIO_AF(PH09, 0) | \
PIN_AFIO_AF(PH10, 0) | \
PIN_AFIO_AF(PH11, 0) | \
PIN_AFIO_AF(PH12, 0) | \
PIN_AFIO_AF(PH13, 0) | \
PIN_AFIO_AF(PH14, 0) | \
PIN_AFIO_AF(PH15, 0))
#define PH14
Definition: board.h:216
#define PH08
Definition: board.h:210
#define PH09
Definition: board.h:211
#define PH15
Definition: board.h:217
#define PH13
Definition: board.h:215
#define PH10
Definition: board.h:212
#define PH11
Definition: board.h:213
#define PH12
Definition: board.h:214

Definition at line 1197 of file board.h.

◆ VAL_GPIOH_AFRL

#define VAL_GPIOH_AFRL
Value:
PIN_AFIO_AF(PH01_OSC_OUT, 0) | \
PIN_AFIO_AF(PH02, 0) | \
PIN_AFIO_AF(PH03, 0) | \
PIN_AFIO_AF(PH04, 0) | \
PIN_AFIO_AF(PH05, 0) | \
PIN_AFIO_AF(PH06, 0) | \
PIN_AFIO_AF(PH07, 0))
#define PH07
Definition: board.h:209
#define PH01_OSC_OUT
Definition: board.h:203
#define PH02
Definition: board.h:204
#define PH03
Definition: board.h:205
#define PH06
Definition: board.h:208
#define PH00_OSC_IN
Definition: board.h:202
#define PH04
Definition: board.h:206
#define PH05
Definition: board.h:207

Definition at line 1188 of file board.h.

◆ VAL_GPIOH_MODER

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

Definition at line 1103 of file board.h.

◆ VAL_GPIOH_ODR

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

Definition at line 1171 of file board.h.

◆ VAL_GPIOH_OSPEEDR

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

Definition at line 1137 of file board.h.

◆ VAL_GPIOH_OTYPER

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

Definition at line 1120 of file board.h.

◆ VAL_GPIOH_PUPDR

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

Definition at line 1154 of file board.h.

◆ VAL_GPIOI_AFRH

#define VAL_GPIOI_AFRH
Value:
(PIN_AFIO_AF(PI08, 0) | \
PIN_AFIO_AF(PI09, 0) | \
PIN_AFIO_AF(PI10, 0) | \
PIN_AFIO_AF(PI11, 0) | \
PIN_AFIO_AF(PI12, 0) | \
PIN_AFIO_AF(PI13, 0) | \
PIN_AFIO_AF(PI14, 0) | \
PIN_AFIO_AF(PI15, 0))
#define PI12
Definition: board.h:231
#define PI14
Definition: board.h:233
#define PI15
Definition: board.h:234
#define PI10
Definition: board.h:229
#define PI08
Definition: board.h:227
#define PI13
Definition: board.h:232
#define PI09
Definition: board.h:228
#define PI11
Definition: board.h:230

Definition at line 1300 of file board.h.

◆ VAL_GPIOI_AFRL

#define VAL_GPIOI_AFRL
Value:
(PIN_AFIO_AF(PI00, 0) | \
PIN_AFIO_AF(PI01, 0) | \
PIN_AFIO_AF(PI02, 0) | \
PIN_AFIO_AF(PI03, 0) | \
PIN_AFIO_AF(PI04, 0) | \
PIN_AFIO_AF(PI05, 0) | \
PIN_AFIO_AF(PI06, 0) | \
PIN_AFIO_AF(PI07, 0))
#define PI04
Definition: board.h:223
#define PI02
Definition: board.h:221
#define PI01
Definition: board.h:220
#define PI00
Definition: board.h:219
#define PI03
Definition: board.h:222
#define PI07
Definition: board.h:226
#define PI06
Definition: board.h:225
#define PI05
Definition: board.h:224

Definition at line 1291 of file board.h.

◆ VAL_GPIOI_MODER

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

Definition at line 1206 of file board.h.

◆ VAL_GPIOI_ODR

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

Definition at line 1274 of file board.h.

◆ VAL_GPIOI_OSPEEDR

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

Definition at line 1240 of file board.h.

◆ VAL_GPIOI_OTYPER

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

Definition at line 1223 of file board.h.

◆ VAL_GPIOI_PUPDR

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

Definition at line 1257 of file board.h.

◆ VAL_GPIOJ_AFRH

#define VAL_GPIOJ_AFRH
Value:
(PIN_AFIO_AF(PJ08, 0) | \
PIN_AFIO_AF(PJ09, 0) | \
PIN_AFIO_AF(PJ10, 0) | \
PIN_AFIO_AF(PJ11, 0) | \
PIN_AFIO_AF(PJ12, 0) | \
PIN_AFIO_AF(PJ13, 0) | \
PIN_AFIO_AF(PJ14, 0) | \
PIN_AFIO_AF(PJ15, 0))
#define PJ08
Definition: board.h:244
#define PJ14
Definition: board.h:250
#define PJ15
Definition: board.h:251
#define PJ12
Definition: board.h:248
#define PJ10
Definition: board.h:246
#define PJ11
Definition: board.h:247
#define PJ09
Definition: board.h:245
#define PJ13
Definition: board.h:249

Definition at line 1403 of file board.h.

◆ VAL_GPIOJ_AFRL

#define VAL_GPIOJ_AFRL
Value:
(PIN_AFIO_AF(PJ00, 0) | \
PIN_AFIO_AF(PJ01, 0) | \
PIN_AFIO_AF(PJ02, 0) | \
PIN_AFIO_AF(PJ03, 0) | \
PIN_AFIO_AF(PJ04, 0) | \
PIN_AFIO_AF(PJ05, 0) | \
PIN_AFIO_AF(PJ06, 0) | \
PIN_AFIO_AF(PJ07, 0))
#define PJ03
Definition: board.h:239
#define PJ07
Definition: board.h:243
#define PJ00
Definition: board.h:236
#define PJ02
Definition: board.h:238
#define PJ01
Definition: board.h:237
#define PJ05
Definition: board.h:241
#define PJ06
Definition: board.h:242
#define PJ04
Definition: board.h:240

Definition at line 1394 of file board.h.

◆ VAL_GPIOJ_MODER

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

Definition at line 1309 of file board.h.

◆ VAL_GPIOJ_ODR

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

Definition at line 1377 of file board.h.

◆ VAL_GPIOJ_OSPEEDR

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

Definition at line 1343 of file board.h.

◆ VAL_GPIOJ_OTYPER

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

Definition at line 1326 of file board.h.

◆ VAL_GPIOJ_PUPDR

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

Definition at line 1360 of file board.h.

◆ VAL_GPIOK_AFRH

#define VAL_GPIOK_AFRH
Value:
(PIN_AFIO_AF(PK08, 0) | \
PIN_AFIO_AF(PK09, 0) | \
PIN_AFIO_AF(PK10, 0) | \
PIN_AFIO_AF(PK11, 0) | \
PIN_AFIO_AF(PK12, 0) | \
PIN_AFIO_AF(PK13, 0) | \
PIN_AFIO_AF(PK14, 0) | \
PIN_AFIO_AF(PK15, 0))
#define PK09
Definition: board.h:262
#define PK11
Definition: board.h:264
#define PK12
Definition: board.h:265
#define PK13
Definition: board.h:266
#define PK10
Definition: board.h:263
#define PK14
Definition: board.h:267
#define PK08
Definition: board.h:261
#define PK15
Definition: board.h:268

Definition at line 1506 of file board.h.

◆ VAL_GPIOK_AFRL

#define VAL_GPIOK_AFRL
Value:
(PIN_AFIO_AF(PK00, 0) | \
PIN_AFIO_AF(PK01, 0) | \
PIN_AFIO_AF(PK02, 0) | \
PIN_AFIO_AF(PK03, 0) | \
PIN_AFIO_AF(PK04, 0) | \
PIN_AFIO_AF(PK05, 0) | \
PIN_AFIO_AF(PK06, 0) | \
PIN_AFIO_AF(PK07, 0))
#define PK04
Definition: board.h:257
#define PK02
Definition: board.h:255
#define PK06
Definition: board.h:259
#define PK05
Definition: board.h:258
#define PK00
Definition: board.h:253
#define PK07
Definition: board.h:260
#define PK03
Definition: board.h:256
#define PK01
Definition: board.h:254

Definition at line 1497 of file board.h.

◆ VAL_GPIOK_MODER

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

Definition at line 1412 of file board.h.

◆ VAL_GPIOK_ODR

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

Definition at line 1480 of file board.h.

◆ VAL_GPIOK_OSPEEDR

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

Definition at line 1446 of file board.h.

◆ VAL_GPIOK_OTYPER

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

Definition at line 1429 of file board.h.

◆ VAL_GPIOK_PUPDR

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

Definition at line 1463 of file board.h.

Function Documentation

◆ boardInit()

void boardInit ( void  )

Board-specific initialization code.

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

Definition at line 317 of file board.c.