Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
#include "board.h"
Go to the source code of this file.
#define _CONCAT_BOARD_PARAM | ( | _s1, | |
_s2 | |||
) | _s1 ## _s2 |
Definition at line 23 of file tawaki_v2.0.h.
#define ActuatorDefaultSet | ( | _x, | |
_y | |||
) | ActuatorPwmSet(_x,_y) |
Definition at line 783 of file tawaki_v2.0.h.
#define ACTUATORS_PWM_NB 17 |
Definition at line 375 of file tawaki_v2.0.h.
#define ActuatorsDefaultCommit | ( | ) | ActuatorsPwmCommit() |
Definition at line 785 of file tawaki_v2.0.h.
#define ActuatorsDefaultInit | ( | ) | ActuatorsPwmInit() |
Definition at line 784 of file tawaki_v2.0.h.
#define AD1_9_CHANNEL CONCAT_BOARD_PARAM(ADC_CHANNEL_IN, VBAT_MEAS_ADC_INP) |
Definition at line 137 of file tawaki_v2.0.h.
#define ADC_9 AD1_9 |
Definition at line 138 of file tawaki_v2.0.h.
#define ADC_9_GPIO_PIN PAL_PAD(LINE_VBAT_MEAS) |
Definition at line 140 of file tawaki_v2.0.h.
#define ADC_9_GPIO_PORT PAL_PORT(LINE_VBAT_MEAS) |
Definition at line 139 of file tawaki_v2.0.h.
#define ADC_CHANNEL_VSUPPLY ADC_9 |
Definition at line 145 of file tawaki_v2.0.h.
#define AHB_CLK STM32_HCLK |
#define BOARD_TAWAKI_V2 |
Definition at line 4 of file tawaki_v2.0.h.
#define CONCAT_BOARD_PARAM | ( | _s1, | |
_s2 | |||
) | _CONCAT_BOARD_PARAM(_s1, _s2) |
Definition at line 24 of file tawaki_v2.0.h.
#define DEFAULT_ACTUATORS "modules/actuators/actuators_pwm.h" |
Definition at line 782 of file tawaki_v2.0.h.
Definition at line 155 of file tawaki_v2.0.h.
#define DSHOT_CAPT_CONF3_DEF |
Definition at line 448 of file tawaki_v2.0.h.
#define DSHOT_CONF3_DEF |
Definition at line 451 of file tawaki_v2.0.h.
#define DSHOT_CONF_TIM3 1 |
Definition at line 435 of file tawaki_v2.0.h.
#define DSHOT_SERVO_1 1 |
Definition at line 407 of file tawaki_v2.0.h.
#define DSHOT_SERVO_1_AF AF_SRVB1 |
Definition at line 410 of file tawaki_v2.0.h.
#define DSHOT_SERVO_1_CHANNEL SRVB1_TIM_CH |
Definition at line 412 of file tawaki_v2.0.h.
#define DSHOT_SERVO_1_DRIVER CONCAT_BOARD_PARAM(DSHOTD, SRVB1_TIM) |
Definition at line 411 of file tawaki_v2.0.h.
#define DSHOT_SERVO_1_GPIO PAL_PORT(LINE_SRVB1) |
Definition at line 408 of file tawaki_v2.0.h.
#define DSHOT_SERVO_1_PIN PAL_PAD(LINE_SRVB1) |
Definition at line 409 of file tawaki_v2.0.h.
#define DSHOT_SERVO_2 2 |
Definition at line 414 of file tawaki_v2.0.h.
#define DSHOT_SERVO_2_AF AF_SRVB2 |
Definition at line 417 of file tawaki_v2.0.h.
#define DSHOT_SERVO_2_CHANNEL SRVB2_TIM_CH |
Definition at line 419 of file tawaki_v2.0.h.
#define DSHOT_SERVO_2_DRIVER CONCAT_BOARD_PARAM(DSHOTD, SRVB2_TIM) |
Definition at line 418 of file tawaki_v2.0.h.
#define DSHOT_SERVO_2_GPIO PAL_PORT(LINE_SRVB2) |
Definition at line 415 of file tawaki_v2.0.h.
#define DSHOT_SERVO_2_PIN PAL_PAD(LINE_SRVB2) |
Definition at line 416 of file tawaki_v2.0.h.
#define DSHOT_SERVO_3 3 |
Definition at line 421 of file tawaki_v2.0.h.
#define DSHOT_SERVO_3_AF AF_SRVB3 |
Definition at line 424 of file tawaki_v2.0.h.
#define DSHOT_SERVO_3_CHANNEL SRVB3_TIM_CH |
Definition at line 426 of file tawaki_v2.0.h.
#define DSHOT_SERVO_3_DRIVER CONCAT_BOARD_PARAM(DSHOTD, SRVB3_TIM) |
Definition at line 425 of file tawaki_v2.0.h.
#define DSHOT_SERVO_3_GPIO PAL_PORT(LINE_SRVB3) |
Definition at line 422 of file tawaki_v2.0.h.
#define DSHOT_SERVO_3_PIN PAL_PAD(LINE_SRVB3) |
Definition at line 423 of file tawaki_v2.0.h.
#define DSHOT_SERVO_4 4 |
Definition at line 428 of file tawaki_v2.0.h.
#define DSHOT_SERVO_4_AF AF_SRVB4 |
Definition at line 431 of file tawaki_v2.0.h.
#define DSHOT_SERVO_4_CHANNEL SRVB4_TIM_CH |
Definition at line 433 of file tawaki_v2.0.h.
#define DSHOT_SERVO_4_DRIVER CONCAT_BOARD_PARAM(DSHOTD, SRVB4_TIM) |
Definition at line 432 of file tawaki_v2.0.h.
#define DSHOT_SERVO_4_GPIO PAL_PORT(LINE_SRVB4) |
Definition at line 429 of file tawaki_v2.0.h.
#define DSHOT_SERVO_4_PIN PAL_PAD(LINE_SRVB4) |
Definition at line 430 of file tawaki_v2.0.h.
#define DSHOT_TIM1_TELEMETRY_DEV NULL |
Definition at line 390 of file tawaki_v2.0.h.
#define DSHOT_TIM3_TELEMETRY_DEV NULL |
DSHOT.
Definition at line 384 of file tawaki_v2.0.h.
#define DSHOT_TLM_AUX_RX 4 |
Definition at line 395 of file tawaki_v2.0.h.
#define DSHOT_TLM_RX 1 |
Definition at line 394 of file tawaki_v2.0.h.
#define I2C2_CFG_DEF |
Definition at line 687 of file tawaki_v2.0.h.
#define I2C2_CLOCK_SPEED 400000 |
Definition at line 683 of file tawaki_v2.0.h.
#define I2C4_CFG_DEF |
Definition at line 665 of file tawaki_v2.0.h.
#define I2C4_CLOCK_SPEED 400000 |
Definition at line 661 of file tawaki_v2.0.h.
#define I2C_FAST_400KHZ_DNF0_100NS_PCLK54MHZ_TIMINGR |
Definition at line 650 of file tawaki_v2.0.h.
#define I2C_STD_100KHZ_DNF0_100NS_PCLK54MHZ_TIMINGR |
Definition at line 653 of file tawaki_v2.0.h.
#define LED_1_GPIO PAL_PORT(LINE_LED1) |
Definition at line 33 of file tawaki_v2.0.h.
#define LED_1_GPIO_OFF gpio_clear |
Definition at line 36 of file tawaki_v2.0.h.
#define LED_1_GPIO_ON gpio_set |
Definition at line 35 of file tawaki_v2.0.h.
#define LED_1_GPIO_PIN PAL_PAD(LINE_LED1) |
Definition at line 34 of file tawaki_v2.0.h.
#define LED_2_GPIO PAL_PORT(LINE_LED2) |
Definition at line 42 of file tawaki_v2.0.h.
#define LED_2_GPIO_OFF gpio_clear |
Definition at line 45 of file tawaki_v2.0.h.
#define LED_2_GPIO_ON gpio_set |
Definition at line 44 of file tawaki_v2.0.h.
#define LED_2_GPIO_PIN PAL_PAD(LINE_LED2) |
Definition at line 43 of file tawaki_v2.0.h.
#define LED_3_GPIO PAL_PORT(LINE_LED3) |
Definition at line 51 of file tawaki_v2.0.h.
#define LED_3_GPIO_OFF gpio_clear |
Definition at line 54 of file tawaki_v2.0.h.
#define LED_3_GPIO_ON gpio_set |
Definition at line 53 of file tawaki_v2.0.h.
#define LED_3_GPIO_PIN PAL_PAD(LINE_LED3) |
Definition at line 52 of file tawaki_v2.0.h.
#define LED_4_GPIO PAL_PORT(LINE_LED4) |
Definition at line 60 of file tawaki_v2.0.h.
#define LED_4_GPIO_OFF gpio_clear |
Definition at line 63 of file tawaki_v2.0.h.
#define LED_4_GPIO_ON gpio_set |
Definition at line 62 of file tawaki_v2.0.h.
#define LED_4_GPIO_PIN PAL_PAD(LINE_LED4) |
Definition at line 61 of file tawaki_v2.0.h.
#define PPM_CHANNEL CONCAT_BOARD_PARAM(ICU_CHANNEL_, RC2_TIM_CH) |
Definition at line 624 of file tawaki_v2.0.h.
#define PPM_TIMER CONCAT_BOARD_PARAM(ICUD, RC2_TIM) |
Definition at line 625 of file tawaki_v2.0.h.
#define PPM_TIMER_FREQUENCY 6000000 |
Definition at line 623 of file tawaki_v2.0.h.
#define PWM_INPUT1_CHANNEL ICU_CHANNEL_1 |
Definition at line 632 of file tawaki_v2.0.h.
#define PWM_INPUT1_GPIO_AF GPIO_AF1 |
Definition at line 635 of file tawaki_v2.0.h.
#define PWM_INPUT1_GPIO_PIN PAL_PAD(LINE_AUX_A1) |
Definition at line 634 of file tawaki_v2.0.h.
#define PWM_INPUT1_GPIO_PORT PAL_PORT(LINE_AUX_A1) |
Definition at line 633 of file tawaki_v2.0.h.
#define PWM_INPUT1_ICU ICUD2 |
Definition at line 631 of file tawaki_v2.0.h.
#define PWM_INPUT2_CHANNEL ICU_CHANNEL_2 |
Definition at line 639 of file tawaki_v2.0.h.
#define PWM_INPUT2_GPIO_AF GPIO_AF2 |
Definition at line 642 of file tawaki_v2.0.h.
#define PWM_INPUT2_GPIO_PIN PAL_PAD(LINE_AUX_A2) |
Definition at line 641 of file tawaki_v2.0.h.
#define PWM_INPUT2_GPIO_PORT PAL_PORT(LINE_AUX_A2) |
Definition at line 640 of file tawaki_v2.0.h.
#define PWM_INPUT2_ICU ICUD5 |
Definition at line 638 of file tawaki_v2.0.h.
#define PWM_SERVO_1 1 |
Definition at line 167 of file tawaki_v2.0.h.
#define PWM_SERVO_1_AF AF_SRVA1 |
Definition at line 170 of file tawaki_v2.0.h.
#define PWM_SERVO_1_CHANNEL (SRVA1_TIM_CH-1) |
Definition at line 172 of file tawaki_v2.0.h.
#define PWM_SERVO_1_CONF CONCAT_BOARD_PARAM(pwmcfg, SRVA1_TIM) |
Definition at line 173 of file tawaki_v2.0.h.
#define PWM_SERVO_1_DRIVER CONCAT_BOARD_PARAM(PWMD, SRVA1_TIM) |
Definition at line 171 of file tawaki_v2.0.h.
#define PWM_SERVO_1_GPIO PAL_PORT(LINE_SRVA1) |
Definition at line 168 of file tawaki_v2.0.h.
#define PWM_SERVO_1_PIN PAL_PAD(LINE_SRVA1) |
Definition at line 169 of file tawaki_v2.0.h.
#define PWM_SERVO_2 2 |
Definition at line 180 of file tawaki_v2.0.h.
#define PWM_SERVO_2_AF AF_SRVA2 |
Definition at line 183 of file tawaki_v2.0.h.
#define PWM_SERVO_2_CHANNEL (SRVA2_TIM_CH-1) |
Definition at line 185 of file tawaki_v2.0.h.
#define PWM_SERVO_2_CONF CONCAT_BOARD_PARAM(pwmcfg, SRVA2_TIM) |
Definition at line 186 of file tawaki_v2.0.h.
#define PWM_SERVO_2_DRIVER CONCAT_BOARD_PARAM(PWMD, SRVA2_TIM) |
Definition at line 184 of file tawaki_v2.0.h.
#define PWM_SERVO_2_GPIO PAL_PORT(LINE_SRVA2) |
Definition at line 181 of file tawaki_v2.0.h.
#define PWM_SERVO_2_PIN PAL_PAD(LINE_SRVA2) |
Definition at line 182 of file tawaki_v2.0.h.
#define PWM_SERVO_3 3 |
Definition at line 193 of file tawaki_v2.0.h.
#define PWM_SERVO_3_AF AF_SRVA3 |
Definition at line 196 of file tawaki_v2.0.h.
#define PWM_SERVO_3_CHANNEL (SRVA3_TIM_CH-1) |
Definition at line 198 of file tawaki_v2.0.h.
#define PWM_SERVO_3_CONF CONCAT_BOARD_PARAM(pwmcfg, SRVA3_TIM) |
Definition at line 199 of file tawaki_v2.0.h.
#define PWM_SERVO_3_DRIVER CONCAT_BOARD_PARAM(PWMD, SRVA3_TIM) |
Definition at line 197 of file tawaki_v2.0.h.
#define PWM_SERVO_3_GPIO PAL_PORT(LINE_SRVA3) |
Definition at line 194 of file tawaki_v2.0.h.
#define PWM_SERVO_3_PIN PAL_PAD(LINE_SRVA3) |
Definition at line 195 of file tawaki_v2.0.h.
#define PWM_SERVO_4 4 |
Definition at line 206 of file tawaki_v2.0.h.
#define PWM_SERVO_4_AF AF_SRVA4 |
Definition at line 209 of file tawaki_v2.0.h.
#define PWM_SERVO_4_CHANNEL (SRVA4_TIM_CH-1) |
Definition at line 211 of file tawaki_v2.0.h.
#define PWM_SERVO_4_CONF CONCAT_BOARD_PARAM(pwmcfg, SRVA4_TIM) |
Definition at line 212 of file tawaki_v2.0.h.
#define PWM_SERVO_4_DRIVER CONCAT_BOARD_PARAM(PWMD, SRVA4_TIM) |
Definition at line 210 of file tawaki_v2.0.h.
#define PWM_SERVO_4_GPIO PAL_PORT(LINE_SRVA4) |
Definition at line 207 of file tawaki_v2.0.h.
#define PWM_SERVO_4_PIN PAL_PAD(LINE_SRVA4) |
Definition at line 208 of file tawaki_v2.0.h.
#define RC_PPM_TICKS_PER_USEC 6 |
#define SDIO_AF AF_SDMMC1_CK |
Definition at line 768 of file tawaki_v2.0.h.
#define SDIO_CK_PIN PAL_PAD(LINE_SDMMC1_CK) |
Definition at line 765 of file tawaki_v2.0.h.
#define SDIO_CK_PORT PAL_PORT(LINE_SDMMC1_CK) |
Definition at line 764 of file tawaki_v2.0.h.
#define SDIO_CMD_PIN PAL_PAD(LINE_SDMMC1_CMD) |
Definition at line 767 of file tawaki_v2.0.h.
#define SDIO_CMD_PORT PAL_PORT(LINE_SDMMC1_CMD) |
Definition at line 766 of file tawaki_v2.0.h.
#define SDIO_D0_PIN PAL_PAD(LINE_SDMMC1_D0) |
Definition at line 757 of file tawaki_v2.0.h.
#define SDIO_D0_PORT PAL_PORT(LINE_SDMMC1_D0) |
SDIO.
Definition at line 756 of file tawaki_v2.0.h.
#define SDIO_D1_PIN PAL_PAD(LINE_SDMMC1_D1) |
Definition at line 759 of file tawaki_v2.0.h.
#define SDIO_D1_PORT PAL_PORT(LINE_SDMMC1_D1) |
Definition at line 758 of file tawaki_v2.0.h.
#define SDIO_D2_PIN PAL_PAD(LINE_SDMMC1_D2) |
Definition at line 761 of file tawaki_v2.0.h.
#define SDIO_D2_PORT PAL_PORT(LINE_SDMMC1_D2) |
Definition at line 760 of file tawaki_v2.0.h.
#define SDIO_D3_PIN PAL_PAD(LINE_SDMMC1_D3) |
Definition at line 763 of file tawaki_v2.0.h.
#define SDIO_D3_PORT PAL_PORT(LINE_SDMMC1_D3) |
Definition at line 762 of file tawaki_v2.0.h.
#define SDLOG_BAT_ADC CONCAT_BOARD_PARAM(ADCD, VBAT_MEAS_ADC) |
Definition at line 770 of file tawaki_v2.0.h.
#define SDLOG_BAT_CHAN CONCAT_BOARD_PARAM(ADC_CHANNEL_IN, VBAT_MEAS_ADC_INP) |
Definition at line 771 of file tawaki_v2.0.h.
#define SDLOG_USB_LED 4 |
Definition at line 773 of file tawaki_v2.0.h.
#define SDLOG_USB_VBUS_PIN PAL_PAD(LINE_USB_VBUS) |
Definition at line 775 of file tawaki_v2.0.h.
#define SDLOG_USB_VBUS_PORT PAL_PORT(LINE_USB_VBUS) |
Definition at line 774 of file tawaki_v2.0.h.
#define SPEKTRUM_BIND_PIN PAL_PORT(LINE_AUX_B4) |
Definition at line 611 of file tawaki_v2.0.h.
#define SPEKTRUM_BIND_PIN_PORT PAL_PAD(LINE_AUX_B4) |
Definition at line 612 of file tawaki_v2.0.h.
#define SPEKTRUM_BIND_WAIT 30000 |
Definition at line 615 of file tawaki_v2.0.h.
#define SPI2_GPIO_AF AF_SPI2_EXTERNAL_CLK |
Definition at line 716 of file tawaki_v2.0.h.
#define SPI2_GPIO_MISO PAL_PAD(LINE_SPI2_EXTERNAL_MISO) |
Definition at line 718 of file tawaki_v2.0.h.
#define SPI2_GPIO_MOSI PAL_PAD(LINE_SPI2_EXTERNAL_MOSI) |
Definition at line 720 of file tawaki_v2.0.h.
#define SPI2_GPIO_PORT_MISO PAL_PORT(LINE_SPI2_EXTERNAL_MISO) |
Definition at line 717 of file tawaki_v2.0.h.
#define SPI2_GPIO_PORT_MOSI PAL_PORT(LINE_SPI2_EXTERNAL_MOSI) |
Definition at line 719 of file tawaki_v2.0.h.
#define SPI2_GPIO_PORT_SCK PAL_PORT(LINE_SPI2_EXTERNAL_CLK) |
Definition at line 721 of file tawaki_v2.0.h.
#define SPI2_GPIO_SCK PAL_PAD(LINE_SPI2_EXTERNAL_CLK) |
Definition at line 722 of file tawaki_v2.0.h.
#define SPI6_GPIO_AF AF_SPI6_INTERNAL_CLK |
SPI Config.
Definition at line 707 of file tawaki_v2.0.h.
#define SPI6_GPIO_MISO PAL_PAD(LINE_SPI6_INTERNAL_MISO) |
Definition at line 709 of file tawaki_v2.0.h.
#define SPI6_GPIO_MOSI PAL_PAD(LINE_SPI6_INTERNAL_MOSI) |
Definition at line 711 of file tawaki_v2.0.h.
#define SPI6_GPIO_PORT_MISO PAL_PORT(LINE_SPI6_INTERNAL_MISO) |
Definition at line 708 of file tawaki_v2.0.h.
#define SPI6_GPIO_PORT_MOSI PAL_PORT(LINE_SPI6_INTERNAL_MOSI) |
Definition at line 710 of file tawaki_v2.0.h.
#define SPI6_GPIO_PORT_SCK PAL_PORT(LINE_SPI6_INTERNAL_CLK) |
Definition at line 712 of file tawaki_v2.0.h.
#define SPI6_GPIO_SCK PAL_PAD(LINE_SPI6_INTERNAL_CLK) |
Definition at line 713 of file tawaki_v2.0.h.
#define SPI_SELECT_SLAVE0_PIN PAL_PAD(LINE_SPI2_EXTERNAL_CS) |
Definition at line 726 of file tawaki_v2.0.h.
#define SPI_SELECT_SLAVE0_PORT PAL_PORT(LINE_SPI2_EXTERNAL_CS) |
Definition at line 725 of file tawaki_v2.0.h.
#define SPI_SELECT_SLAVE1_PIN PAL_PAD(LINE_AUX_B1) |
Definition at line 729 of file tawaki_v2.0.h.
#define SPI_SELECT_SLAVE1_PORT PAL_PORT(LINE_AUX_B1) |
Definition at line 728 of file tawaki_v2.0.h.
#define SPI_SELECT_SLAVE2_PIN PAL_PAD(LINE_AUX_B2) |
Definition at line 732 of file tawaki_v2.0.h.
#define SPI_SELECT_SLAVE2_PORT PAL_PORT(LINE_AUX_B2) |
Definition at line 731 of file tawaki_v2.0.h.
#define SPI_SELECT_SLAVE3_PIN PAL_PAD(LINE_AUX_B3) |
Definition at line 735 of file tawaki_v2.0.h.
#define SPI_SELECT_SLAVE3_PORT PAL_PORT(LINE_AUX_B3) |
Definition at line 734 of file tawaki_v2.0.h.
#define SPI_SELECT_SLAVE4_PIN PAL_PAD(LINE_AUX_B4) |
Definition at line 738 of file tawaki_v2.0.h.
#define SPI_SELECT_SLAVE4_PORT PAL_PORT(LINE_AUX_B4) |
Definition at line 737 of file tawaki_v2.0.h.
#define SPI_SELECT_SLAVE5_PIN PAL_PAD(LINE_SPI6_INTERNAL_CS) |
Definition at line 741 of file tawaki_v2.0.h.
#define SPI_SELECT_SLAVE5_PORT PAL_PORT(LINE_SPI6_INTERNAL_CS) |
Definition at line 740 of file tawaki_v2.0.h.
#define STM32_CR1_DNF | ( | n | ) | ((n & 0x0f) << 8) |
I2C defines.
Definition at line 648 of file tawaki_v2.0.h.
#define UART1_GPIO_AF AF_DSHOT_RX |
Definition at line 567 of file tawaki_v2.0.h.
#define UART1_GPIO_PORT_RX PAL_PORT(LINE_DSHOT_RX) |
UART1 on SRVB (DSHOT telemetry)
Definition at line 565 of file tawaki_v2.0.h.
#define UART1_GPIO_RX PAL_PAD(LINE_DSHOT_RX) |
Definition at line 566 of file tawaki_v2.0.h.
#define UART2_GPIO_AF AF_UART2_TX |
Definition at line 529 of file tawaki_v2.0.h.
#define UART2_GPIO_PORT_RX PAL_PORT(LINE_UART2_RX) |
Definition at line 527 of file tawaki_v2.0.h.
#define UART2_GPIO_PORT_TX PAL_PORT(LINE_UART2_TX) |
UART2 (Modem with optional flow control on AUXa disabled by default)
Definition at line 525 of file tawaki_v2.0.h.
#define UART2_GPIO_RX PAL_PAD(LINE_UART2_RX) |
Definition at line 528 of file tawaki_v2.0.h.
#define UART2_GPIO_TX PAL_PAD(LINE_UART2_TX) |
Definition at line 526 of file tawaki_v2.0.h.
#define UART2_HW_FLOW_CONTROL FALSE |
Definition at line 531 of file tawaki_v2.0.h.
#define UART3_GPIO_AF AF_UART3_TX |
Definition at line 543 of file tawaki_v2.0.h.
#define UART3_GPIO_PORT_RX PAL_PORT(LINE_UART3_RX) |
Definition at line 541 of file tawaki_v2.0.h.
#define UART3_GPIO_PORT_TX PAL_PORT(LINE_UART3_TX) |
UART7 (GPS) and UART3 (Companion) are configured as UART from ChibiOS board file by default.
Definition at line 539 of file tawaki_v2.0.h.
#define UART3_GPIO_RX PAL_PAD(LINE_UART3_RX) |
Definition at line 542 of file tawaki_v2.0.h.
#define UART3_GPIO_TX PAL_PAD(LINE_UART3_TX) |
Definition at line 540 of file tawaki_v2.0.h.
#define UART4_GPIO_AF AUX_A1_UART_AF |
Definition at line 559 of file tawaki_v2.0.h.
#define UART4_GPIO_PORT_RX PAL_PORT(LINE_AUX_A2) |
Definition at line 557 of file tawaki_v2.0.h.
#define UART4_GPIO_PORT_TX PAL_PORT(LINE_AUX_A1) |
UART4 on AUXa (not configured by default)
Definition at line 555 of file tawaki_v2.0.h.
#define UART4_GPIO_RX PAL_PAD(LINE_AUX_A2) |
Definition at line 558 of file tawaki_v2.0.h.
#define UART4_GPIO_TX PAL_PAD(LINE_AUX_A1) |
Definition at line 556 of file tawaki_v2.0.h.
#define UART6_GPIO_AF RC2_USART_AF |
Definition at line 606 of file tawaki_v2.0.h.
#define UART6_GPIO_PORT_RX PAL_PORT(LINE_RC2) |
Definition at line 604 of file tawaki_v2.0.h.
#define UART6_GPIO_PORT_TX PAL_PORT(LINE_RC2) |
Definition at line 602 of file tawaki_v2.0.h.
#define UART6_GPIO_RX PAL_PAD(LINE_RC2) |
Definition at line 605 of file tawaki_v2.0.h.
#define UART6_GPIO_TX PAL_PAD(LINE_RC2) |
Definition at line 603 of file tawaki_v2.0.h.
#define UART7_GPIO_AF AF_UART7_TX |
Definition at line 549 of file tawaki_v2.0.h.
#define UART7_GPIO_PORT_RX PAL_PORT(LINE_UART7_RX) |
Definition at line 547 of file tawaki_v2.0.h.
#define UART7_GPIO_PORT_TX PAL_PORT(LINE_UART7_TX) |
Definition at line 545 of file tawaki_v2.0.h.
#define UART7_GPIO_RX PAL_PAD(LINE_UART7_RX) |
Definition at line 548 of file tawaki_v2.0.h.
#define UART7_GPIO_TX PAL_PAD(LINE_UART7_TX) |
Definition at line 546 of file tawaki_v2.0.h.
#define UART8_GPIO_AF RC1_UART_AF |
Definition at line 593 of file tawaki_v2.0.h.
#define UART8_GPIO_PORT_RX PAL_PORT(LINE_RC1) |
Definition at line 591 of file tawaki_v2.0.h.
#define UART8_GPIO_PORT_TX PAL_PORT(LINE_RC1) |
Definition at line 589 of file tawaki_v2.0.h.
#define UART8_GPIO_RX PAL_PAD(LINE_RC1) |
Definition at line 592 of file tawaki_v2.0.h.
#define UART8_GPIO_TX PAL_PAD(LINE_RC1) |
Definition at line 590 of file tawaki_v2.0.h.
#define USE_ADC_9 1 |
Definition at line 134 of file tawaki_v2.0.h.
#define USE_BARO_BOARD 0 |
Baro.
Apparently needed for backwards compatibility with the ancient onboard baro boards
Definition at line 750 of file tawaki_v2.0.h.
#define USE_DSHOT_TIM3 1 |
Definition at line 398 of file tawaki_v2.0.h.
#define USE_LED_1 1 |
Definition at line 31 of file tawaki_v2.0.h.
#define USE_LED_2 1 |
Definition at line 40 of file tawaki_v2.0.h.
#define USE_LED_3 1 |
Definition at line 49 of file tawaki_v2.0.h.
#define USE_LED_4 1 |
Definition at line 58 of file tawaki_v2.0.h.
#define USE_PWM1 1 |
Definition at line 164 of file tawaki_v2.0.h.
#define USE_PWM10 0 |
Definition at line 283 of file tawaki_v2.0.h.
#define USE_PWM11 0 |
Definition at line 296 of file tawaki_v2.0.h.
#define USE_PWM12 0 |
Definition at line 309 of file tawaki_v2.0.h.
#define USE_PWM13 0 |
Definition at line 322 of file tawaki_v2.0.h.
#define USE_PWM14 0 |
Definition at line 335 of file tawaki_v2.0.h.
#define USE_PWM15 0 |
Definition at line 348 of file tawaki_v2.0.h.
#define USE_PWM16 0 |
Definition at line 361 of file tawaki_v2.0.h.
#define USE_PWM2 1 |
Definition at line 177 of file tawaki_v2.0.h.
#define USE_PWM3 1 |
Definition at line 190 of file tawaki_v2.0.h.
#define USE_PWM4 1 |
Definition at line 203 of file tawaki_v2.0.h.
#define USE_PWM5 0 |
Definition at line 218 of file tawaki_v2.0.h.
#define USE_PWM6 0 |
Definition at line 231 of file tawaki_v2.0.h.
#define USE_PWM7 0 |
Definition at line 244 of file tawaki_v2.0.h.
#define USE_PWM8 0 |
Definition at line 257 of file tawaki_v2.0.h.
#define USE_PWM9 0 |
Definition at line 270 of file tawaki_v2.0.h.
#define USE_UART6_RX FALSE |
Definition at line 596 of file tawaki_v2.0.h.
#define USE_UART6_TX TRUE |
Definition at line 599 of file tawaki_v2.0.h.
#define USE_UART8_RX TRUE |
SBUS / Spektrum port.
Recommended config:
primary SBUS port is UART8, a.k.a. RC1 on Tawaki board secondary port (in dual driver) is UART6, a.k.a. RC2 on Tawaki board
primary Spektrum port is UART6, a.k.a. RC2 on Tawaki board secondary port is UART8, a.k.a. RC1 on Tawaki board
Definition at line 583 of file tawaki_v2.0.h.
#define USE_UART8_TX FALSE |
Definition at line 586 of file tawaki_v2.0.h.
#define VBAT_R1 2200.0f |
Definition at line 153 of file tawaki_v2.0.h.
#define VBAT_R2 18000.0f |
Definition at line 154 of file tawaki_v2.0.h.
#define WS2812D1_AF 2 |
Definition at line 792 of file tawaki_v2.0.h.
#define WS2812D1_CFG_DEF |
Definition at line 793 of file tawaki_v2.0.h.
#define WS2812D1_GPIO PAL_PORT(LINE_AUX_A1) |
For WS2812.
Definition at line 790 of file tawaki_v2.0.h.
#define WS2812D1_PIN PAL_PAD(LINE_AUX_A1) |
Definition at line 791 of file tawaki_v2.0.h.