|
#define | BOARD_PX4FMU |
|
#define | BOARD_NAME "Pixhawk PX4 FMU v5.0" |
|
#define | STM32_LSECLK 32768U |
|
#define | STM32_LSEDRV (3U << 3U) |
|
#define | STM32_HSECLK 16000000U |
|
#define | STM32_VDD 330U |
|
#define | STM32F767xx |
|
#define | ADC_CHANNEL_VSUPPLY ADC_1 |
|
#define | ADC_CHANNEL_CURRENT ADC_2 |
|
#define | DefaultVoltageOfAdc(adc) ((3.3f/4096.0f) * 10.3208191126f * adc) |
|
#define | MilliAmpereOfAdc(adc) ((3.3f/4096.0f) * 24000.0f * adc) |
|
#define | SDLOG_BAT_ADC ADCD1 |
|
#define | SDLOG_BAT_CHAN AD1_1_CHANNEL |
|
#define | SDLOG_USB_LED 3 |
|
#define | USE_PWM_TIM1 1 |
|
#define | USE_PWM_TIM4 1 |
|
#define | USE_PWM_TIM12 1 |
|
#define | PA00_ADC1 0U |
|
#define | PA01_ADC2 1U |
|
#define | PA02_ADC3 2U |
|
#define | PA03_ADC4 3U |
|
#define | PA04_ADC5 4U |
|
#define | PA05_FMU_CAP1 5U |
|
#define | PA06_SPI1_MISO 6U |
|
#define | PA07_IMU_HEATER 7U |
|
#define | PA08_CAN3_RX 8U |
|
#define | PA09_USB_VBUS 9U |
|
#define | PA10_SERVO2 10U |
|
#define | PA11_USB_DM 11U |
|
#define | PA12_USB_DP 12U |
|
#define | PA13_SWDIO 13U |
|
#define | PA14_SWCLK 14U |
|
#define | PA15_CAN3_TX 15U |
|
#define | PB00_RSSI_IN 0U |
|
#define | PB01_LED1 1U |
|
#define | PB02 2U |
|
#define | PB03_FMU_CAP2 3U |
|
#define | PB04_DRDY1_ICM20689 4U |
|
#define | PB05_SPI6_MOSI 5U |
|
#define | PB06_USART1_TX 6U |
|
#define | PB07_USART1_RX 7U |
|
#define | PB08_I2C1_SCL 8U |
|
#define | PB09_I2C1_SDA 9U |
|
#define | PB10_SPI5_RESET 10U |
|
#define | PB11_FMU_CAP3 11U |
|
#define | PB12_CAN2_RX 12U |
|
#define | PB13_CAN2_TX 13U |
|
#define | PB14_DRDY2_BMI055_GYRO 14U |
|
#define | PB15_DRDY2_BMI055_ACC 15U |
|
#define | PC00_SCALED_V5 0U |
|
#define | PC01_SCALED_3V3_SENSORS 1U |
|
#define | PC02_HW_VER_SENSE 2U |
|
#define | PC03_HW_REV_SENSE 3U |
|
#define | PC04_ADC6 4U |
|
#define | PC05_DRDY4_ICM20602 5U |
|
#define | PC06_LED2 6U |
|
#define | PC07_LED3 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_DRDY5_BMI055_GYRO 13U |
|
#define | PC14_OSC32_IN 14U |
|
#define | PC15_OSC32_OUT 15U |
|
#define | PD00_UART4_RX 0U |
|
#define | PD01_UART4_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_SPI1_MOSI 7U |
|
#define | PD08_UART3_TX 8U |
|
#define | PD09_UART3_RX 9U |
|
#define | PD10_DRDY6_BMI055_ACC 10U |
|
#define | PD11_UART3_CTS 11U |
|
#define | PD12_UART3_RTS 12U |
|
#define | PD13_SERVO5 13U |
|
#define | PD14_SERVO6 14U |
|
#define | PD15_DRDY7_EXTERNAL1 15U |
|
#define | PE00_UART8_RX 0U |
|
#define | PE01_UART8_TX 1U |
|
#define | PE02_SPI4_SCK 2U |
|
#define | PE03_V3V3_SENSORS_EN 3U |
|
#define | PE04_V3V3_SPEKTRUM_EN 4U |
|
#define | PE05_BUZZER 5U |
|
#define | PE06_SPI4_MOSI 6U |
|
#define | PE07_DRDY8 7U |
|
#define | PE08_UART7_TX 8U |
|
#define | PE09_SERVO4 9U |
|
#define | PE10_SAFETY_SWITCH_IN 10U |
|
#define | PE11_SERVO3 11U |
|
#define | PE12_LED4 12U |
|
#define | PE13_SPI4_MISO 13U |
|
#define | PE14_SERVO1 14U |
|
#define | PE15_V5V_PERIPH_OC 15U |
|
#define | PF00_I2C2_SDA 0U |
|
#define | PF01_I2C2_SCL 1U |
|
#define | PF02_SPI_SLAVE0 2U |
|
#define | PF03_SPI_SLAVE1 3U |
|
#define | PF04_SPI_SLAVE2 4U |
|
#define | PF05_SPI_SLAVE3 5U |
|
#define | PF06_UART7_RX 6U |
|
#define | PF07_SPI5_SCK 7U |
|
#define | PF08_SPI5_MISO 8U |
|
#define | PF09_SPI5_MOSI 9U |
|
#define | PF10_SPI_SLAVE4 10U |
|
#define | PF11_SPI_SLAVE5 11U |
|
#define | PF12_V5V_HIPOWER_EN 12U |
|
#define | PF13_V5V_HIPOWER_OC 13U |
|
#define | PF14_I2C4_SCL 14U |
|
#define | PF15_I2C4_SDA 15U |
|
#define | PG00_HW_VER_DRIVE 0U |
|
#define | PG01_POWER_IN_A 1U |
|
#define | PG02_POWER_IN_B 2U |
|
#define | PG03_POWER_IN_C 3U |
|
#define | PG04_V5V_PERIPH_EN 4U |
|
#define | PG05_V5V_RC_EN 5U |
|
#define | PG06_V5V_WIFI_EN 6U |
|
#define | PG07_V3V3_SD_CARD_EN 7U |
|
#define | PG08_USART6_RTS 8U |
|
#define | PG09_USART6_RX 9U |
|
#define | PG10_SPI_SLAVE6 10U |
|
#define | PG11_SPI1_SCK 11U |
|
#define | PG12_SPI6_MISO 12U |
|
#define | PG13_SPI6_SCK 13U |
|
#define | PG14_USART6_TX 14U |
|
#define | PG15_USART6_CTS 15U |
|
#define | PH00_OSC_IN 0U |
|
#define | PH01_OSC_OUT 1U |
|
#define | PH02_CAN1_SILENT_S0 2U |
|
#define | PH03_CAN2_SILENT_S1 3U |
|
#define | PH04_CAN3_SILENT_S2 4U |
|
#define | PH05_SPI_SLAVE7 5U |
|
#define | PH06_SERVO7 6U |
|
#define | PH07_I2C3_SCL 7U |
|
#define | PH08_I2C3_SDA 8U |
|
#define | PH09_SERVO8 9U |
|
#define | PH10_LED5 10U |
|
#define | PH11_LED6 11U |
|
#define | PH12_LED7 12U |
|
#define | PH13_CAN1_TX 13U |
|
#define | PH14_HW_REV_DRIVE 14U |
|
#define | PH15_SPI5_SYNC 15U |
|
#define | PI00_ARMED 0U |
|
#define | PI01_SPI2_SCK 1U |
|
#define | PI02_SPI2_MISO 2U |
|
#define | PI03_SPI2_MOSI 3U |
|
#define | PI04_SPI_SLAVE8 4U |
|
#define | PI05_PWM_INPUT1 5U |
|
#define | PI06_SPI_SLAVE9 6U |
|
#define | PI07_SPI_SLAVE10 7U |
|
#define | PI08_SPI_SLAVE11 8U |
|
#define | PI09_CAN1_RX 9U |
|
#define | PI10_SPI_SLAVE12 10U |
|
#define | PI11_SPI_SLAVE13 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_ADC1 PAL_LINE(GPIOA, 0U) |
|
#define | LINE_ADC2 PAL_LINE(GPIOA, 1U) |
|
#define | LINE_ADC3 PAL_LINE(GPIOA, 2U) |
|
#define | LINE_ADC4 PAL_LINE(GPIOA, 3U) |
|
#define | LINE_ADC5 PAL_LINE(GPIOA, 4U) |
|
#define | LINE_FMU_CAP1 PAL_LINE(GPIOA, 5U) |
|
#define | LINE_SPI1_MISO PAL_LINE(GPIOA, 6U) |
|
#define | LINE_IMU_HEATER PAL_LINE(GPIOA, 7U) |
|
#define | LINE_CAN3_RX PAL_LINE(GPIOA, 8U) |
|
#define | LINE_USB_VBUS PAL_LINE(GPIOA, 9U) |
|
#define | LINE_SERVO2 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_CAN3_TX PAL_LINE(GPIOA, 15U) |
|
#define | LINE_RSSI_IN PAL_LINE(GPIOB, 0U) |
|
#define | LINE_LED1 PAL_LINE(GPIOB, 1U) |
|
#define | LINE_FMU_CAP2 PAL_LINE(GPIOB, 3U) |
|
#define | LINE_DRDY1_ICM20689 PAL_LINE(GPIOB, 4U) |
|
#define | LINE_SPI6_MOSI PAL_LINE(GPIOB, 5U) |
|
#define | LINE_USART1_TX PAL_LINE(GPIOB, 6U) |
|
#define | LINE_USART1_RX PAL_LINE(GPIOB, 7U) |
|
#define | LINE_I2C1_SCL PAL_LINE(GPIOB, 8U) |
|
#define | LINE_I2C1_SDA PAL_LINE(GPIOB, 9U) |
|
#define | LINE_SPI5_RESET PAL_LINE(GPIOB, 10U) |
|
#define | LINE_FMU_CAP3 PAL_LINE(GPIOB, 11U) |
|
#define | LINE_CAN2_RX PAL_LINE(GPIOB, 12U) |
|
#define | LINE_CAN2_TX PAL_LINE(GPIOB, 13U) |
|
#define | LINE_DRDY2_BMI055_GYRO PAL_LINE(GPIOB, 14U) |
|
#define | LINE_DRDY2_BMI055_ACC PAL_LINE(GPIOB, 15U) |
|
#define | LINE_SCALED_V5 PAL_LINE(GPIOC, 0U) |
|
#define | LINE_SCALED_3V3_SENSORS PAL_LINE(GPIOC, 1U) |
|
#define | LINE_HW_VER_SENSE PAL_LINE(GPIOC, 2U) |
|
#define | LINE_HW_REV_SENSE PAL_LINE(GPIOC, 3U) |
|
#define | LINE_ADC6 PAL_LINE(GPIOC, 4U) |
|
#define | LINE_DRDY4_ICM20602 PAL_LINE(GPIOC, 5U) |
|
#define | LINE_LED2 PAL_LINE(GPIOC, 6U) |
|
#define | LINE_LED3 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_DRDY5_BMI055_GYRO PAL_LINE(GPIOC, 13U) |
|
#define | LINE_OSC32_IN PAL_LINE(GPIOC, 14U) |
|
#define | LINE_OSC32_OUT PAL_LINE(GPIOC, 15U) |
|
#define | LINE_UART4_RX PAL_LINE(GPIOD, 0U) |
|
#define | LINE_UART4_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_SPI1_MOSI PAL_LINE(GPIOD, 7U) |
|
#define | LINE_UART3_TX PAL_LINE(GPIOD, 8U) |
|
#define | LINE_UART3_RX PAL_LINE(GPIOD, 9U) |
|
#define | LINE_DRDY6_BMI055_ACC 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_DRDY7_EXTERNAL1 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_V3V3_SENSORS_EN PAL_LINE(GPIOE, 3U) |
|
#define | LINE_V3V3_SPEKTRUM_EN PAL_LINE(GPIOE, 4U) |
|
#define | LINE_BUZZER PAL_LINE(GPIOE, 5U) |
|
#define | LINE_SPI4_MOSI PAL_LINE(GPIOE, 6U) |
|
#define | LINE_DRDY8 PAL_LINE(GPIOE, 7U) |
|
#define | LINE_UART7_TX PAL_LINE(GPIOE, 8U) |
|
#define | LINE_SERVO4 PAL_LINE(GPIOE, 9U) |
|
#define | LINE_SAFETY_SWITCH_IN PAL_LINE(GPIOE, 10U) |
|
#define | LINE_SERVO3 PAL_LINE(GPIOE, 11U) |
|
#define | LINE_LED4 PAL_LINE(GPIOE, 12U) |
|
#define | LINE_SPI4_MISO PAL_LINE(GPIOE, 13U) |
|
#define | LINE_SERVO1 PAL_LINE(GPIOE, 14U) |
|
#define | LINE_V5V_PERIPH_OC PAL_LINE(GPIOE, 15U) |
|
#define | LINE_I2C2_SDA PAL_LINE(GPIOF, 0U) |
|
#define | LINE_I2C2_SCL PAL_LINE(GPIOF, 1U) |
|
#define | LINE_SPI_SLAVE0 PAL_LINE(GPIOF, 2U) |
|
#define | LINE_SPI_SLAVE1 PAL_LINE(GPIOF, 3U) |
|
#define | LINE_SPI_SLAVE2 PAL_LINE(GPIOF, 4U) |
|
#define | LINE_SPI_SLAVE3 PAL_LINE(GPIOF, 5U) |
|
#define | LINE_UART7_RX PAL_LINE(GPIOF, 6U) |
|
#define | LINE_SPI5_SCK PAL_LINE(GPIOF, 7U) |
|
#define | LINE_SPI5_MISO PAL_LINE(GPIOF, 8U) |
|
#define | LINE_SPI5_MOSI PAL_LINE(GPIOF, 9U) |
|
#define | LINE_SPI_SLAVE4 PAL_LINE(GPIOF, 10U) |
|
#define | LINE_SPI_SLAVE5 PAL_LINE(GPIOF, 11U) |
|
#define | LINE_V5V_HIPOWER_EN PAL_LINE(GPIOF, 12U) |
|
#define | LINE_V5V_HIPOWER_OC PAL_LINE(GPIOF, 13U) |
|
#define | LINE_I2C4_SCL PAL_LINE(GPIOF, 14U) |
|
#define | LINE_I2C4_SDA PAL_LINE(GPIOF, 15U) |
|
#define | LINE_HW_VER_DRIVE PAL_LINE(GPIOG, 0U) |
|
#define | LINE_POWER_IN_A PAL_LINE(GPIOG, 1U) |
|
#define | LINE_POWER_IN_B PAL_LINE(GPIOG, 2U) |
|
#define | LINE_POWER_IN_C PAL_LINE(GPIOG, 3U) |
|
#define | LINE_V5V_PERIPH_EN PAL_LINE(GPIOG, 4U) |
|
#define | LINE_V5V_RC_EN PAL_LINE(GPIOG, 5U) |
|
#define | LINE_V5V_WIFI_EN PAL_LINE(GPIOG, 6U) |
|
#define | LINE_V3V3_SD_CARD_EN PAL_LINE(GPIOG, 7U) |
|
#define | LINE_USART6_RTS PAL_LINE(GPIOG, 8U) |
|
#define | LINE_USART6_RX PAL_LINE(GPIOG, 9U) |
|
#define | LINE_SPI_SLAVE6 PAL_LINE(GPIOG, 10U) |
|
#define | LINE_SPI1_SCK PAL_LINE(GPIOG, 11U) |
|
#define | LINE_SPI6_MISO PAL_LINE(GPIOG, 12U) |
|
#define | LINE_SPI6_SCK PAL_LINE(GPIOG, 13U) |
|
#define | LINE_USART6_TX PAL_LINE(GPIOG, 14U) |
|
#define | LINE_USART6_CTS PAL_LINE(GPIOG, 15U) |
|
#define | LINE_OSC_IN PAL_LINE(GPIOH, 0U) |
|
#define | LINE_OSC_OUT PAL_LINE(GPIOH, 1U) |
|
#define | LINE_CAN1_SILENT_S0 PAL_LINE(GPIOH, 2U) |
|
#define | LINE_CAN2_SILENT_S1 PAL_LINE(GPIOH, 3U) |
|
#define | LINE_CAN3_SILENT_S2 PAL_LINE(GPIOH, 4U) |
|
#define | LINE_SPI_SLAVE7 PAL_LINE(GPIOH, 5U) |
|
#define | LINE_SERVO7 PAL_LINE(GPIOH, 6U) |
|
#define | LINE_I2C3_SCL PAL_LINE(GPIOH, 7U) |
|
#define | LINE_I2C3_SDA PAL_LINE(GPIOH, 8U) |
|
#define | LINE_SERVO8 PAL_LINE(GPIOH, 9U) |
|
#define | LINE_LED5 PAL_LINE(GPIOH, 10U) |
|
#define | LINE_LED6 PAL_LINE(GPIOH, 11U) |
|
#define | LINE_LED7 PAL_LINE(GPIOH, 12U) |
|
#define | LINE_CAN1_TX PAL_LINE(GPIOH, 13U) |
|
#define | LINE_HW_REV_DRIVE PAL_LINE(GPIOH, 14U) |
|
#define | LINE_SPI5_SYNC PAL_LINE(GPIOH, 15U) |
|
#define | LINE_ARMED PAL_LINE(GPIOI, 0U) |
|
#define | LINE_SPI2_SCK PAL_LINE(GPIOI, 1U) |
|
#define | LINE_SPI2_MISO PAL_LINE(GPIOI, 2U) |
|
#define | LINE_SPI2_MOSI PAL_LINE(GPIOI, 3U) |
|
#define | LINE_SPI_SLAVE8 PAL_LINE(GPIOI, 4U) |
|
#define | LINE_PWM_INPUT1 PAL_LINE(GPIOI, 5U) |
|
#define | LINE_SPI_SLAVE9 PAL_LINE(GPIOI, 6U) |
|
#define | LINE_SPI_SLAVE10 PAL_LINE(GPIOI, 7U) |
|
#define | LINE_SPI_SLAVE11 PAL_LINE(GPIOI, 8U) |
|
#define | LINE_CAN1_RX PAL_LINE(GPIOI, 9U) |
|
#define | LINE_SPI_SLAVE12 PAL_LINE(GPIOI, 10U) |
|
#define | LINE_SPI_SLAVE13 PAL_LINE(GPIOI, 11U) |
|
#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_PA06_SPI1_MISO 5U |
|
#define | AF_LINE_SPI1_MISO 5U |
|
#define | AF_PA08_CAN3_RX 11U |
|
#define | AF_LINE_CAN3_RX 11U |
|
#define | AF_PA10_SERVO2 1U |
|
#define | AF_LINE_SERVO2 1U |
|
#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_PA15_CAN3_TX 11U |
|
#define | AF_LINE_CAN3_TX 11U |
|
#define | AF_PB05_SPI6_MOSI 8U |
|
#define | AF_LINE_SPI6_MOSI 8U |
|
#define | AF_PB06_USART1_TX 7U |
|
#define | AF_LINE_USART1_TX 7U |
|
#define | AF_PB07_USART1_RX 7U |
|
#define | AF_LINE_USART1_RX 7U |
|
#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_PB12_CAN2_RX 9U |
|
#define | AF_LINE_CAN2_RX 9U |
|
#define | AF_PB13_CAN2_TX 9U |
|
#define | AF_LINE_CAN2_TX 9U |
|
#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_PC14_OSC32_IN 0U |
|
#define | AF_LINE_OSC32_IN 0U |
|
#define | AF_PC15_OSC32_OUT 0U |
|
#define | AF_LINE_OSC32_OUT 0U |
|
#define | AF_PD00_UART4_RX 8U |
|
#define | AF_LINE_UART4_RX 8U |
|
#define | AF_PD01_UART4_TX 8U |
|
#define | AF_LINE_UART4_TX 8U |
|
#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_PD07_SPI1_MOSI 5U |
|
#define | AF_LINE_SPI1_MOSI 5U |
|
#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_PE06_SPI4_MOSI 5U |
|
#define | AF_LINE_SPI4_MOSI 5U |
|
#define | AF_PE08_UART7_TX 8U |
|
#define | AF_LINE_UART7_TX 8U |
|
#define | AF_PE09_SERVO4 1U |
|
#define | AF_LINE_SERVO4 1U |
|
#define | AF_PE11_SERVO3 1U |
|
#define | AF_LINE_SERVO3 1U |
|
#define | AF_PE13_SPI4_MISO 5U |
|
#define | AF_LINE_SPI4_MISO 5U |
|
#define | AF_PE14_SERVO1 1U |
|
#define | AF_LINE_SERVO1 1U |
|
#define | AF_PF00_I2C2_SDA 4U |
|
#define | AF_LINE_I2C2_SDA 4U |
|
#define | AF_PF01_I2C2_SCL 4U |
|
#define | AF_LINE_I2C2_SCL 4U |
|
#define | AF_PF06_UART7_RX 8U |
|
#define | AF_LINE_UART7_RX 8U |
|
#define | AF_PF07_SPI5_SCK 5U |
|
#define | AF_LINE_SPI5_SCK 5U |
|
#define | AF_PF08_SPI5_MISO 5U |
|
#define | AF_LINE_SPI5_MISO 5U |
|
#define | AF_PF09_SPI5_MOSI 5U |
|
#define | AF_LINE_SPI5_MOSI 5U |
|
#define | AF_PF14_I2C4_SCL 4U |
|
#define | AF_LINE_I2C4_SCL 4U |
|
#define | AF_PF15_I2C4_SDA 4U |
|
#define | AF_LINE_I2C4_SDA 4U |
|
#define | AF_PG09_USART6_RX 8U |
|
#define | AF_LINE_USART6_RX 8U |
|
#define | AF_PG11_SPI1_SCK 5U |
|
#define | AF_LINE_SPI1_SCK 5U |
|
#define | AF_PG12_SPI6_MISO 5U |
|
#define | AF_LINE_SPI6_MISO 5U |
|
#define | AF_PG13_SPI6_SCK 5U |
|
#define | AF_LINE_SPI6_SCK 5U |
|
#define | AF_PG14_USART6_TX 8U |
|
#define | AF_LINE_USART6_TX 8U |
|
#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 | AF_PH06_SERVO7 9U |
|
#define | AF_LINE_SERVO7 9U |
|
#define | AF_PH07_I2C3_SCL 4U |
|
#define | AF_LINE_I2C3_SCL 4U |
|
#define | AF_PH08_I2C3_SDA 4U |
|
#define | AF_LINE_I2C3_SDA 4U |
|
#define | AF_PH09_SERVO8 9U |
|
#define | AF_LINE_SERVO8 9U |
|
#define | AF_PH13_CAN1_TX 9U |
|
#define | AF_LINE_CAN1_TX 9U |
|
#define | AF_PI01_SPI2_SCK 5U |
|
#define | AF_LINE_SPI2_SCK 5U |
|
#define | AF_PI02_SPI2_MISO 5U |
|
#define | AF_LINE_SPI2_MISO 5U |
|
#define | AF_PI03_SPI2_MOSI 5U |
|
#define | AF_LINE_SPI2_MOSI 5U |
|
#define | AF_PI05_PWM_INPUT1 3U |
|
#define | AF_LINE_PWM_INPUT1 3U |
|
#define | AF_PI09_CAN1_RX 9U |
|
#define | AF_LINE_CAN1_RX 9U |
|
#define | ADC1_ADC 1 |
|
#define | ADC1_ADC_FN IN |
|
#define | ADC1_ADC_IN 0 |
|
#define | ADC2_ADC 1 |
|
#define | ADC2_ADC_FN IN |
|
#define | ADC2_ADC_IN 1 |
|
#define | ADC3_ADC 1 |
|
#define | ADC3_ADC_FN IN |
|
#define | ADC3_ADC_IN 2 |
|
#define | ADC4_ADC 1 |
|
#define | ADC4_ADC_FN IN |
|
#define | ADC4_ADC_IN 3 |
|
#define | ADC5_ADC 1 |
|
#define | ADC5_ADC_FN IN |
|
#define | ADC5_ADC_IN 4 |
|
#define | SERVO2_TIM 1 |
|
#define | SERVO2_TIM_FN CH |
|
#define | SERVO2_TIM_CH 3 |
|
#define | SERVO2_TIM_AF 1 |
|
#define | RSSI_IN_ADC 1 |
|
#define | RSSI_IN_ADC_FN IN |
|
#define | RSSI_IN_ADC_IN 8 |
|
#define | SCALED_V5_ADC 1 |
|
#define | SCALED_V5_ADC_FN IN |
|
#define | SCALED_V5_ADC_IN 10 |
|
#define | SCALED_3V3_SENSORS_ADC 1 |
|
#define | SCALED_3V3_SENSORS_ADC_FN IN |
|
#define | SCALED_3V3_SENSORS_ADC_IN 11 |
|
#define | HW_VER_SENSE_ADC 1 |
|
#define | HW_VER_SENSE_ADC_FN IN |
|
#define | HW_VER_SENSE_ADC_IN 12 |
|
#define | HW_REV_SENSE_ADC 1 |
|
#define | HW_REV_SENSE_ADC_FN IN |
|
#define | HW_REV_SENSE_ADC_IN 13 |
|
#define | ADC6_ADC 1 |
|
#define | ADC6_ADC_FN IN |
|
#define | ADC6_ADC_IN 14 |
|
#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 | SERVO1_TIM 1 |
|
#define | SERVO1_TIM_FN CH |
|
#define | SERVO1_TIM_CH 4 |
|
#define | SERVO1_TIM_AF 1 |
|
#define | SERVO7_TIM 12 |
|
#define | SERVO7_TIM_FN CH |
|
#define | SERVO7_TIM_CH 1 |
|
#define | SERVO7_TIM_AF 9 |
|
#define | SERVO8_TIM 12 |
|
#define | SERVO8_TIM_FN CH |
|
#define | SERVO8_TIM_CH 2 |
|
#define | SERVO8_TIM_AF 9 |
|
#define | PWM_INPUT1_TIM 8 |
|
#define | PWM_INPUT1_TIM_FN CH |
|
#define | PWM_INPUT1_TIM_CH 1 |
|
#define | PWM_INPUT1_TIM_AF 3 |
|
#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_INPUTS |
|
#define | ENERGY_SAVE_INPUTS_SIZE 29 |
|
#define | ENERGY_SAVE_LOWS |
|
#define | ENERGY_SAVE_LOWS_SIZE 6 |
|