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