Paparazzi UAS  v6.2_unstable
Paparazzi is a free software Unmanned Aircraft System.
matekF765-WING.h File Reference
#include "board.h"
+ Include dependency graph for matekF765-WING.h:

Go to the source code of this file.

Macros

#define BOARD_MATEK_F765_WING
 
#define AHB_CLK   STM32_HCLK
 ChibiOS board file. More...
 
#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   PAL_PORT(LINE_LED1)
 
#define LED_1_GPIO_PIN   PAL_PAD(LINE_LED1)
 
#define LED_1_GPIO_ON   gpio_set
 
#define LED_1_GPIO_OFF   gpio_clear
 
#define USE_LED_2   1
 
#define LED_2_GPIO   PAL_PORT(LINE_LED2)
 
#define LED_2_GPIO_PIN   PAL_PAD(LINE_LED2)
 
#define LED_2_GPIO_ON   gpio_set
 
#define LED_2_GPIO_OFF   gpio_clear
 
#define USE_ADC_3   1
 
#define AD1_3_CHANNEL   CONCAT_BOARD_PARAM(ADC_CHANNEL_IN, VBAT_MEAS_ADC_IN)
 
#define ADC_3   AD1_3
 
#define ADC_3_GPIO_PORT   PAL_PORT(LINE_VBAT_MEAS)
 
#define ADC_3_GPIO_PIN   PAL_PAD(LINE_VBAT_MEAS)
 
#define ADC_CHANNEL_VSUPPLY   ADC_3
 
#define VBAT_R1   1000.0f
 
#define VBAT_R2   10000.0f
 
#define DefaultVoltageOfAdc(adc)   ((3.3f/4096.0f)*((VBAT_R1+VBAT_R2)/VBAT_R1)*adc)
 
#define DefaultMilliAmpereOfAdc(adc)   ((40000.f*3.3f/4096.f)*adc)
 
#define USE_PWM1   1
 
#define PWM_SERVO_1   1
 
#define PWM_SERVO_1_GPIO   PAL_PORT(LINE_S1)
 
#define PWM_SERVO_1_PIN   PAL_PAD(LINE_S1)
 
#define PWM_SERVO_1_AF   AF_S1
 
#define PWM_SERVO_1_DRIVER   CONCAT_BOARD_PARAM(PWMD, S1_TIM)
 
#define PWM_SERVO_1_CHANNEL   (S1_TIM_CH-1)
 
#define PWM_SERVO_1_CONF   CONCAT_BOARD_PARAM(pwmcfg, S1_TIM)
 
#define USE_PWM2   1
 
#define PWM_SERVO_2   2
 
#define PWM_SERVO_2_GPIO   PAL_PORT(LINE_S2)
 
#define PWM_SERVO_2_PIN   PAL_PAD(LINE_S2)
 
#define PWM_SERVO_2_AF   AF_S2
 
#define PWM_SERVO_2_DRIVER   CONCAT_BOARD_PARAM(PWMD, S2_TIM)
 
#define PWM_SERVO_2_CHANNEL   (S2_TIM_CH-1)
 
#define PWM_SERVO_2_CONF   CONCAT_BOARD_PARAM(pwmcfg, S2_TIM)
 
#define USE_PWM3   1
 
#define PWM_SERVO_3   3
 
#define PWM_SERVO_3_GPIO   PAL_PORT(LINE_S3)
 
#define PWM_SERVO_3_PIN   PAL_PAD(LINE_S3)
 
#define PWM_SERVO_3_AF   AF_S3
 
#define PWM_SERVO_3_DRIVER   CONCAT_BOARD_PARAM(PWMD, S3_TIM)
 
#define PWM_SERVO_3_CHANNEL   (S3_TIM_CH-1)
 
#define PWM_SERVO_3_CONF   CONCAT_BOARD_PARAM(pwmcfg, S3_TIM)
 
#define USE_PWM4   1
 
#define PWM_SERVO_4   4
 
#define PWM_SERVO_4_GPIO   PAL_PORT(LINE_S4)
 
#define PWM_SERVO_4_PIN   PAL_PAD(LINE_S4)
 
#define PWM_SERVO_4_AF   AF_S4
 
#define PWM_SERVO_4_DRIVER   CONCAT_BOARD_PARAM(PWMD, S4_TIM)
 
#define PWM_SERVO_4_CHANNEL   (S4_TIM_CH-1)
 
#define PWM_SERVO_4_CONF   CONCAT_BOARD_PARAM(pwmcfg, S4_TIM)
 
#define USE_PWM5   1
 
#define PWM_SERVO_5   5
 
#define PWM_SERVO_5_GPIO   PAL_PORT(LINE_S5)
 
#define PWM_SERVO_5_PIN   PAL_PAD(LINE_S5)
 
#define PWM_SERVO_5_AF   AF_S5
 
#define PWM_SERVO_5_DRIVER   CONCAT_BOARD_PARAM(PWMD, S5_TIM)
 
#define PWM_SERVO_5_CHANNEL   (S5_TIM_CH-1)
 
#define PWM_SERVO_5_CONF   CONCAT_BOARD_PARAM(pwmcfg, S5_TIM)
 
#define USE_PWM6   1
 
#define PWM_SERVO_6   6
 
#define PWM_SERVO_6_GPIO   PAL_PORT(LINE_S6)
 
#define PWM_SERVO_6_PIN   PAL_PAD(LINE_S6)
 
#define PWM_SERVO_6_AF   AF_S6
 
#define PWM_SERVO_6_DRIVER   CONCAT_BOARD_PARAM(PWMD, S6_TIM)
 
#define PWM_SERVO_6_CHANNEL   (S6_TIM_CH-1)
 
#define PWM_SERVO_6_CONF   CONCAT_BOARD_PARAM(pwmcfg, S6_TIM)
 
#define USE_PWM7   1
 
#define PWM_SERVO_7   7
 
#define PWM_SERVO_7_GPIO   PAL_PORT(LINE_S7)
 
#define PWM_SERVO_7_PIN   PAL_PAD(LINE_S7)
 
#define PWM_SERVO_7_AF   AF_S7
 
#define PWM_SERVO_7_DRIVER   CONCAT_BOARD_PARAM(PWMD, S7_TIM)
 
#define PWM_SERVO_7_CHANNEL   (S7_TIM_CH-1)
 
#define PWM_SERVO_7_CONF   CONCAT_BOARD_PARAM(pwmcfg, S7_TIM)
 
#define USE_PWM8   1
 
#define PWM_SERVO_8   8
 
#define PWM_SERVO_8_GPIO   PAL_PORT(LINE_S8)
 
#define PWM_SERVO_8_PIN   PAL_PAD(LINE_S8)
 
#define PWM_SERVO_8_AF   AF_S8
 
#define PWM_SERVO_8_DRIVER   CONCAT_BOARD_PARAM(PWMD, S8_TIM)
 
#define PWM_SERVO_8_CHANNEL   (S8_TIM_CH-1)
 
#define PWM_SERVO_8_CONF   CONCAT_BOARD_PARAM(pwmcfg, S8_TIM)
 
#define USE_PWM9   1
 
#define PWM_SERVO_9   9
 
#define PWM_SERVO_9_GPIO   PAL_PORT(LINE_S9)
 
#define PWM_SERVO_9_PIN   PAL_PAD(LINE_S9)
 
#define PWM_SERVO_9_AF   AF_S9
 
#define PWM_SERVO_9_DRIVER   CONCAT_BOARD_PARAM(PWMD, S9_TIM)
 
#define PWM_SERVO_9_CHANNEL   (S9_TIM_CH-1)
 
#define PWM_SERVO_9_CONF   CONCAT_BOARD_PARAM(pwmcfg, S9_TIM)
 
#define USE_PWM10   1
 
#define PWM_SERVO_10   10
 
#define PWM_SERVO_10_GPIO   PAL_PORT(LINE_S10)
 
#define PWM_SERVO_10_PIN   PAL_PAD(LINE_S10)
 
#define PWM_SERVO_10_AF   AF_S10
 
#define PWM_SERVO_10_DRIVER   CONCAT_BOARD_PARAM(PWMD, S10_TIM)
 
#define PWM_SERVO_10_CHANNEL   (S10_TIM_CH-1)
 
#define PWM_SERVO_10_CONF   CONCAT_BOARD_PARAM(pwmcfg, S10_TIM)
 
#define USE_PWM11   0
 
#define USE_PWM12   0
 
#define ACTUATORS_PWM_NB   13
 
#define DSHOT_TELEMETRY_DEV   NULL
 DSHOT. More...
 
#define USE_DSHOT_TIM4   1
 
#define DSHOT_SERVO_7   1
 
#define DSHOT_SERVO_7_GPIO   PAL_PORT(LINE_S7)
 
#define DSHOT_SERVO_7_PIN   PAL_PAD(LINE_S7)
 
#define DSHOT_SERVO_7_AF   AF_S7
 
#define DSHOT_SERVO_7_DRIVER   CONCAT_BOARD_PARAM(DSHOTD, S7_TIM)
 
#define DSHOT_SERVO_7_CHANNEL   S7_TIM_CH
 
#define DSHOT_SERVO_8   2
 
#define DSHOT_SERVO_8_GPIO   PAL_PORT(LINE_S8)
 
#define DSHOT_SERVO_8_PIN   PAL_PAD(LINE_S8)
 
#define DSHOT_SERVO_8_AF   AF_S8
 
#define DSHOT_SERVO_8_DRIVER   CONCAT_BOARD_PARAM(DSHOTD, S8_TIM)
 
#define DSHOT_SERVO_8_CHANNEL   S8_TIM_CH
 
#define DSHOT_SERVO_9   3
 
#define DSHOT_SERVO_9_GPIO   PAL_PORT(LINE_S9)
 
#define DSHOT_SERVO_9_PIN   PAL_PAD(LINE_S9)
 
#define DSHOT_SERVO_9_AF   AF_S9
 
#define DSHOT_SERVO_9_DRIVER   CONCAT_BOARD_PARAM(DSHOTD, S9_TIM)
 
#define DSHOT_SERVO_9_CHANNEL   S9_TIM_CH
 
#define DSHOT_SERVO_10   4
 
#define DSHOT_SERVO_10_GPIO   PAL_PORT(LINE_S10)
 
#define DSHOT_SERVO_10_PIN   PAL_PAD(LINE_S10)
 
#define DSHOT_SERVO_10_AF   AF_S10
 
#define DSHOT_SERVO_10_DRIVER   CONCAT_BOARD_PARAM(DSHOTD, S10_TIM)
 
#define DSHOT_SERVO_10_CHANNEL   S10_TIM_CH
 
#define DSHOT_CONF_TIM4   1
 
#define DSHOT_CONF4_DEF
 
#define UART7_GPIO_PORT_TX   PAL_PORT(LINE_UART7_TX)
 UART7 (Modem with optional flow control disabled by default) More...
 
#define UART7_GPIO_TX   PAL_PAD(LINE_UART7_TX)
 
#define UART7_GPIO_PORT_RX   PAL_PORT(LINE_UART7_RX)
 
#define UART7_GPIO_RX   PAL_PAD(LINE_UART7_RX)
 
#define UART7_GPIO_AF   AF_UART7_TX
 
#define UART7_HW_FLOW_CONTROL   FALSE
 
#define UART2_GPIO_PORT_TX   PAL_PORT(LINE_UART2_TX)
 UART2 (GPS) and UART3 (Companion) are configured as UART from ChibiOS board file by default. More...
 
#define UART2_GPIO_TX   PAL_PAD(LINE_UART2_TX)
 
#define UART2_GPIO_PORT_RX   PAL_PORT(LINE_UART2_RX)
 
#define UART2_GPIO_RX   PAL_PAD(LINE_UART2_RX)
 
#define UART2_GPIO_AF   AF_UART2_TX
 
#define UART3_GPIO_PORT_TX   PAL_PORT(LINE_UART3_TX)
 
#define UART3_GPIO_TX   PAL_PAD(LINE_UART3_TX)
 
#define UART3_GPIO_PORT_RX   PAL_PORT(LINE_UART3_RX)
 
#define UART3_GPIO_RX   PAL_PAD(LINE_UART3_RX)
 
#define UART3_GPIO_AF   AF_UART3_TX
 
#define UART8_GPIO_PORT_TX   PAL_PORT(LINE_UART8_TX)
 UART8. More...
 
#define UART8_GPIO_TX   PAL_PAD(LINE_UART8_TX)
 
#define UART8_GPIO_PORT_RX   PAL_PORT(LINE_UART8_RX)
 
#define UART8_GPIO_RX   PAL_PAD(LINE_UART8_RX)
 
#define UART8_GPIO_AF   AF_UART8_TX
 
#define USE_UART6_RX   TRUE
 SBUS / Spektrum port. More...
 
#define USE_UART6_TX   FALSE
 
#define UART6_GPIO_PORT_RX   PAL_PORT(LINE_RC1)
 
#define UART6_GPIO_RX   PAL_PAD(LINE_RC1)
 
#define UART6_GPIO_AF   RC1_USART_AF
 
#define SPEKTRUM_BIND_PIN   PAL_PORT(LINE_XXX)
 
#define SPEKTRUM_BIND_PIN_PORT   PAL_PAD(LINE_XXX)
 
#define SPEKTRUM_BIND_WAIT   30000
 
#define RC_PPM_TICKS_PER_USEC   6
 PPM radio defines. More...
 
#define PPM_TIMER_FREQUENCY   6000000
 
#define PPM_CHANNEL   CONCAT_BOARD_PARAM(ICU_CHANNEL_, RC2_TIM_CH)
 
#define PPM_TIMER   CONCAT_BOARD_PARAM(ICUD, RC2_TIM)
 
#define PWM_INPUT1_ICU   ICUD1
 
#define PWM_INPUT1_CHANNEL   ICU_CHANNEL_1
 
#define PWM_INPUT1_GPIO_PORT   PAL_PORT(LINE_LED_WS2812)
 
#define PWM_INPUT1_GPIO_PIN   PAL_PAD(LINE_LED_WS2812)
 
#define PWM_INPUT1_GPIO_AF   AF_LED_WS2812
 
#define STM32_CR1_DNF(n)   ((n & 0x0f) << 8)
 I2C defines. More...
 
#define I2C_FAST_400KHZ_DNF0_100NS_PCLK54MHZ_TIMINGR
 
#define I2C_STD_100KHZ_DNF0_100NS_PCLK54MHZ_TIMINGR
 
#define I2C1_CLOCK_SPEED   400000
 
#define I2C1_CFG_DEF
 
#define I2C2_CLOCK_SPEED   400000
 
#define I2C2_CFG_DEF
 
#define SPI3_GPIO_AF   AF_SPI3_CLK
 SPI Config. More...
 
#define SPI3_GPIO_PORT_MISO   PAL_PORT(LINE_SPI3_MISO)
 
#define SPI3_GPIO_MISO   PAL_PAD(LINE_SPI3_MISO)
 
#define SPI3_GPIO_PORT_MOSI   PAL_PORT(LINE_SPI3_MOSI)
 
#define SPI3_GPIO_MOSI   PAL_PAD(LINE_SPI3_MOSI)
 
#define SPI3_GPIO_PORT_SCK   PAL_PORT(LINE_SPI3_CLK)
 
#define SPI3_GPIO_SCK   PAL_PAD(LINE_SPI3_CLK)
 
#define SPI1_GPIO_AF   AF_SPI1_CLK
 
#define SPI1_GPIO_PORT_MISO   PAL_PORT(LINE_SPI1_MISO)
 
#define SPI1_GPIO_MISO   PAL_PAD(LINE_SPI1_MISO)
 
#define SPI1_GPIO_PORT_MOSI   PAL_PORT(LINE_SPI1_MOSI)
 
#define SPI1_GPIO_MOSI   PAL_PAD(LINE_SPI1_MOSI)
 
#define SPI1_GPIO_PORT_SCK   PAL_PORT(LINE_SPI1_CLK)
 
#define SPI1_GPIO_SCK   PAL_PAD(LINE_SPI1_CLK)
 
#define SPI2_GPIO_AF   AF_SPI2_CLK
 
#define SPI2_GPIO_PORT_MISO   PAL_PORT(LINE_SPI2_MISO)
 
#define SPI2_GPIO_MISO   PAL_PAD(LINE_SPI2_MISO)
 
#define SPI2_GPIO_PORT_MOSI   PAL_PORT(LINE_SPI2_MOSI)
 
#define SPI2_GPIO_MOSI   PAL_PAD(LINE_SPI2_MOSI)
 
#define SPI2_GPIO_PORT_SCK   PAL_PORT(LINE_SPI2_CLK)
 
#define SPI2_GPIO_SCK   PAL_PAD(LINE_SPI2_CLK)
 
#define SPI4_GPIO_AF   AF_SPI4_INTERNAL_CLK
 
#define SPI4_GPIO_PORT_MISO   PAL_PORT(LINE_SPI4_INTERNAL_MISO)
 
#define SPI4_GPIO_MISO   PAL_PAD(LINE_SPI4_INTERNAL_MISO)
 
#define SPI4_GPIO_PORT_MOSI   PAL_PORT(LINE_SPI4_INTERNAL_MOSI)
 
#define SPI4_GPIO_MOSI   PAL_PAD(LINE_SPI4_INTERNAL_MOSI)
 
#define SPI4_GPIO_PORT_SCK   PAL_PORT(LINE_SPI4_INTERNAL_CLK)
 
#define SPI4_GPIO_SCK   PAL_PAD(LINE_SPI4_INTERNAL_CLK)
 
#define SPI_SELECT_SLAVE0_PORT   PAL_PORT(LINE_SPI4_CS)
 
#define SPI_SELECT_SLAVE0_PIN   PAL_PAD(LINE_SPI4_CS)
 
#define SPI_SELECT_SLAVE1_PORT   PAL_PORT(LINE_S11)
 
#define SPI_SELECT_SLAVE1_PIN   PAL_PAD(LINE_S11)
 
#define SPI_SELECT_SLAVE2_PORT   PAL_PORT(LINE_S11)
 
#define SPI_SELECT_SLAVE2_PIN   PAL_PAD(LINE_S12)
 
#define SPI_SELECT_SLAVE3_PORT   PAL_PORT(LINE_IMU1_CS)
 
#define SPI_SELECT_SLAVE3_PIN   PAL_PAD(LINE_IMU1_CS)
 
#define SPI_SELECT_SLAVE4_PORT   PAL_PORT(LINE_IMU2_CS)
 
#define SPI_SELECT_SLAVE4_PIN   PAL_PAD(LINE_IMU2_CS)
 
#define SPI_SELECT_SLAVE5_PORT   PAL_PORT(LINE_OSD_CS)
 
#define SPI_SELECT_SLAVE5_PIN   PAL_PAD(LINE_OSD_CS)
 
#define USE_BARO_BOARD   0
 Baro. More...
 
#define SDIO_D0_PORT   PAL_PORT(LINE_SDMMC1_D0)
 SDIO. More...
 
#define SDIO_D0_PIN   PAL_PAD(LINE_SDMMC1_D0)
 
#define SDIO_D1_PORT   PAL_PORT(LINE_SDMMC1_D1)
 
#define SDIO_D1_PIN   PAL_PAD(LINE_SDMMC1_D1)
 
#define SDIO_D2_PORT   PAL_PORT(LINE_SDMMC1_D2)
 
#define SDIO_D2_PIN   PAL_PAD(LINE_SDMMC1_D2)
 
#define SDIO_D3_PORT   PAL_PORT(LINE_SDMMC1_D3)
 
#define SDIO_D3_PIN   PAL_PAD(LINE_SDMMC1_D3)
 
#define SDIO_CK_PORT   PAL_PORT(LINE_SDMMC1_CK)
 
#define SDIO_CK_PIN   PAL_PAD(LINE_SDMMC1_CK)
 
#define SDIO_CMD_PORT   PAL_PORT(LINE_SDMMC1_CMD)
 
#define SDIO_CMD_PIN   PAL_PAD(LINE_SDMMC1_CMD)
 
#define SDIO_AF   AF_SDMMC1_CK
 
#define SDLOG_BAT_ADC   CONCAT_BOARD_PARAM(ADCD, VBAT_MEAS_ADC)
 
#define SDLOG_BAT_CHAN   CONCAT_BOARD_PARAM(ADC_CHANNEL_IN, VBAT_MEAS_ADC_IN)
 
#define SDLOG_USB_LED   2
 
#define DEFAULT_ACTUATORS   "modules/actuators/actuators_pwm.h"
 
#define ActuatorDefaultSet(_x, _y)   ActuatorPwmSet(_x,_y)
 
#define ActuatorsDefaultInit()   ActuatorsPwmInit()
 
#define ActuatorsDefaultCommit()   ActuatorsPwmCommit()
 
#define WS2812D1_GPIO   PAL_PORT(LINE_LED_WS2812)
 For WS2812. More...
 
#define WS2812D1_PIN   PAL_PAD(LINE_LED_WS2812)
 
#define WS2812D1_AF   AF_LED_WS2812
 
#define WS2812D1_CFG_DEF
 

Macro Definition Documentation

◆ _CONCAT_BOARD_PARAM

#define _CONCAT_BOARD_PARAM (   _s1,
  _s2 
)    _s1 ## _s2

Definition at line 23 of file matekF765-WING.h.

◆ ActuatorDefaultSet

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

Definition at line 554 of file matekF765-WING.h.

◆ ACTUATORS_PWM_NB

#define ACTUATORS_PWM_NB   13

Definition at line 266 of file matekF765-WING.h.

◆ ActuatorsDefaultCommit

#define ActuatorsDefaultCommit ( )    ActuatorsPwmCommit()

Definition at line 556 of file matekF765-WING.h.

◆ ActuatorsDefaultInit

#define ActuatorsDefaultInit ( )    ActuatorsPwmInit()

Definition at line 555 of file matekF765-WING.h.

◆ AD1_3_CHANNEL

#define AD1_3_CHANNEL   CONCAT_BOARD_PARAM(ADC_CHANNEL_IN, VBAT_MEAS_ADC_IN)

Definition at line 71 of file matekF765-WING.h.

◆ ADC_3

#define ADC_3   AD1_3

Definition at line 72 of file matekF765-WING.h.

◆ ADC_3_GPIO_PIN

#define ADC_3_GPIO_PIN   PAL_PAD(LINE_VBAT_MEAS)

Definition at line 74 of file matekF765-WING.h.

◆ ADC_3_GPIO_PORT

#define ADC_3_GPIO_PORT   PAL_PORT(LINE_VBAT_MEAS)

Definition at line 73 of file matekF765-WING.h.

◆ ADC_CHANNEL_VSUPPLY

#define ADC_CHANNEL_VSUPPLY   ADC_3

Definition at line 87 of file matekF765-WING.h.

◆ AHB_CLK

#define AHB_CLK   STM32_HCLK

ChibiOS board file.

PPRZ definitions

Definition at line 18 of file matekF765-WING.h.

◆ BOARD_MATEK_F765_WING

#define BOARD_MATEK_F765_WING

Definition at line 4 of file matekF765-WING.h.

◆ CONCAT_BOARD_PARAM

#define CONCAT_BOARD_PARAM (   _s1,
  _s2 
)    _CONCAT_BOARD_PARAM(_s1, _s2)

Definition at line 24 of file matekF765-WING.h.

◆ DEFAULT_ACTUATORS

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

Definition at line 553 of file matekF765-WING.h.

◆ DefaultMilliAmpereOfAdc

#define DefaultMilliAmpereOfAdc (   adc)    ((40000.f*3.3f/4096.f)*adc)

Definition at line 102 of file matekF765-WING.h.

◆ DefaultVoltageOfAdc

#define DefaultVoltageOfAdc (   adc)    ((3.3f/4096.0f)*((VBAT_R1+VBAT_R2)/VBAT_R1)*adc)

Definition at line 97 of file matekF765-WING.h.

◆ DSHOT_CONF4_DEF

#define DSHOT_CONF4_DEF
Value:
{ \
.dma_stream = STM32_PWM4_UP_DMA_STREAM, \
.dma_channel = STM32_PWM4_UP_DMA_CHANNEL, \
.pwmp = &PWMD4, \
.tlm_sd = DSHOT_TELEMETRY_DEV, \
.dma_buf = &dshot4DmaBuffer, \
.dcache_memory_in_use = false \
}

Definition at line 312 of file matekF765-WING.h.

◆ DSHOT_CONF_TIM4

#define DSHOT_CONF_TIM4   1

Definition at line 311 of file matekF765-WING.h.

◆ DSHOT_SERVO_10

#define DSHOT_SERVO_10   4

Definition at line 304 of file matekF765-WING.h.

◆ DSHOT_SERVO_10_AF

#define DSHOT_SERVO_10_AF   AF_S10

Definition at line 307 of file matekF765-WING.h.

◆ DSHOT_SERVO_10_CHANNEL

#define DSHOT_SERVO_10_CHANNEL   S10_TIM_CH

Definition at line 309 of file matekF765-WING.h.

◆ DSHOT_SERVO_10_DRIVER

#define DSHOT_SERVO_10_DRIVER   CONCAT_BOARD_PARAM(DSHOTD, S10_TIM)

Definition at line 308 of file matekF765-WING.h.

◆ DSHOT_SERVO_10_GPIO

#define DSHOT_SERVO_10_GPIO   PAL_PORT(LINE_S10)

Definition at line 305 of file matekF765-WING.h.

◆ DSHOT_SERVO_10_PIN

#define DSHOT_SERVO_10_PIN   PAL_PAD(LINE_S10)

Definition at line 306 of file matekF765-WING.h.

◆ DSHOT_SERVO_7

#define DSHOT_SERVO_7   1

Definition at line 283 of file matekF765-WING.h.

◆ DSHOT_SERVO_7_AF

#define DSHOT_SERVO_7_AF   AF_S7

Definition at line 286 of file matekF765-WING.h.

◆ DSHOT_SERVO_7_CHANNEL

#define DSHOT_SERVO_7_CHANNEL   S7_TIM_CH

Definition at line 288 of file matekF765-WING.h.

◆ DSHOT_SERVO_7_DRIVER

#define DSHOT_SERVO_7_DRIVER   CONCAT_BOARD_PARAM(DSHOTD, S7_TIM)

Definition at line 287 of file matekF765-WING.h.

◆ DSHOT_SERVO_7_GPIO

#define DSHOT_SERVO_7_GPIO   PAL_PORT(LINE_S7)

Definition at line 284 of file matekF765-WING.h.

◆ DSHOT_SERVO_7_PIN

#define DSHOT_SERVO_7_PIN   PAL_PAD(LINE_S7)

Definition at line 285 of file matekF765-WING.h.

◆ DSHOT_SERVO_8

#define DSHOT_SERVO_8   2

Definition at line 290 of file matekF765-WING.h.

◆ DSHOT_SERVO_8_AF

#define DSHOT_SERVO_8_AF   AF_S8

Definition at line 293 of file matekF765-WING.h.

◆ DSHOT_SERVO_8_CHANNEL

#define DSHOT_SERVO_8_CHANNEL   S8_TIM_CH

Definition at line 295 of file matekF765-WING.h.

◆ DSHOT_SERVO_8_DRIVER

#define DSHOT_SERVO_8_DRIVER   CONCAT_BOARD_PARAM(DSHOTD, S8_TIM)

Definition at line 294 of file matekF765-WING.h.

◆ DSHOT_SERVO_8_GPIO

#define DSHOT_SERVO_8_GPIO   PAL_PORT(LINE_S8)

Definition at line 291 of file matekF765-WING.h.

◆ DSHOT_SERVO_8_PIN

#define DSHOT_SERVO_8_PIN   PAL_PAD(LINE_S8)

Definition at line 292 of file matekF765-WING.h.

◆ DSHOT_SERVO_9

#define DSHOT_SERVO_9   3

Definition at line 297 of file matekF765-WING.h.

◆ DSHOT_SERVO_9_AF

#define DSHOT_SERVO_9_AF   AF_S9

Definition at line 300 of file matekF765-WING.h.

◆ DSHOT_SERVO_9_CHANNEL

#define DSHOT_SERVO_9_CHANNEL   S9_TIM_CH

Definition at line 302 of file matekF765-WING.h.

◆ DSHOT_SERVO_9_DRIVER

#define DSHOT_SERVO_9_DRIVER   CONCAT_BOARD_PARAM(DSHOTD, S9_TIM)

Definition at line 301 of file matekF765-WING.h.

◆ DSHOT_SERVO_9_GPIO

#define DSHOT_SERVO_9_GPIO   PAL_PORT(LINE_S9)

Definition at line 298 of file matekF765-WING.h.

◆ DSHOT_SERVO_9_PIN

#define DSHOT_SERVO_9_PIN   PAL_PAD(LINE_S9)

Definition at line 299 of file matekF765-WING.h.

◆ DSHOT_TELEMETRY_DEV

#define DSHOT_TELEMETRY_DEV   NULL

DSHOT.

Definition at line 273 of file matekF765-WING.h.

◆ I2C1_CFG_DEF

#define I2C1_CFG_DEF
Value:
{ \
.cr1 = STM32_CR1_DNF(0), \
.cr2 = 0 \
}

Definition at line 420 of file matekF765-WING.h.

◆ I2C1_CLOCK_SPEED

#define I2C1_CLOCK_SPEED   400000

Definition at line 416 of file matekF765-WING.h.

◆ I2C2_CFG_DEF

#define I2C2_CFG_DEF
Value:
{ \
.cr1 = STM32_CR1_DNF(0), \
.cr2 = 0 \
}

Definition at line 440 of file matekF765-WING.h.

◆ I2C2_CLOCK_SPEED

#define I2C2_CLOCK_SPEED   400000

Definition at line 436 of file matekF765-WING.h.

◆ I2C_FAST_400KHZ_DNF0_100NS_PCLK54MHZ_TIMINGR

#define I2C_FAST_400KHZ_DNF0_100NS_PCLK54MHZ_TIMINGR
Value:
(STM32_TIMINGR_PRESC(0U) | \
STM32_TIMINGR_SCLDEL(10U) | STM32_TIMINGR_SDADEL(0U) | \
STM32_TIMINGR_SCLH(34U) | STM32_TIMINGR_SCLL(86U))

Definition at line 407 of file matekF765-WING.h.

◆ I2C_STD_100KHZ_DNF0_100NS_PCLK54MHZ_TIMINGR

#define I2C_STD_100KHZ_DNF0_100NS_PCLK54MHZ_TIMINGR
Value:
(STM32_TIMINGR_PRESC(1U) | \
STM32_TIMINGR_SCLDEL(9U) | STM32_TIMINGR_SDADEL(0U) | \
STM32_TIMINGR_SCLH(105U) | STM32_TIMINGR_SCLL(153U))

Definition at line 410 of file matekF765-WING.h.

◆ LED_1_GPIO

#define LED_1_GPIO   PAL_PORT(LINE_LED1)

Definition at line 33 of file matekF765-WING.h.

◆ LED_1_GPIO_OFF

#define LED_1_GPIO_OFF   gpio_clear

Definition at line 36 of file matekF765-WING.h.

◆ LED_1_GPIO_ON

#define LED_1_GPIO_ON   gpio_set

Definition at line 35 of file matekF765-WING.h.

◆ LED_1_GPIO_PIN

#define LED_1_GPIO_PIN   PAL_PAD(LINE_LED1)

Definition at line 34 of file matekF765-WING.h.

◆ LED_2_GPIO

#define LED_2_GPIO   PAL_PORT(LINE_LED2)

Definition at line 42 of file matekF765-WING.h.

◆ LED_2_GPIO_OFF

#define LED_2_GPIO_OFF   gpio_clear

Definition at line 45 of file matekF765-WING.h.

◆ LED_2_GPIO_ON

#define LED_2_GPIO_ON   gpio_set

Definition at line 44 of file matekF765-WING.h.

◆ LED_2_GPIO_PIN

#define LED_2_GPIO_PIN   PAL_PAD(LINE_LED2)

Definition at line 43 of file matekF765-WING.h.

◆ PPM_CHANNEL

#define PPM_CHANNEL   CONCAT_BOARD_PARAM(ICU_CHANNEL_, RC2_TIM_CH)

Definition at line 388 of file matekF765-WING.h.

◆ PPM_TIMER

#define PPM_TIMER   CONCAT_BOARD_PARAM(ICUD, RC2_TIM)

Definition at line 389 of file matekF765-WING.h.

◆ PPM_TIMER_FREQUENCY

#define PPM_TIMER_FREQUENCY   6000000

Definition at line 387 of file matekF765-WING.h.

◆ PWM_INPUT1_CHANNEL

#define PWM_INPUT1_CHANNEL   ICU_CHANNEL_1

Definition at line 396 of file matekF765-WING.h.

◆ PWM_INPUT1_GPIO_AF

#define PWM_INPUT1_GPIO_AF   AF_LED_WS2812

Definition at line 399 of file matekF765-WING.h.

◆ PWM_INPUT1_GPIO_PIN

#define PWM_INPUT1_GPIO_PIN   PAL_PAD(LINE_LED_WS2812)

Definition at line 398 of file matekF765-WING.h.

◆ PWM_INPUT1_GPIO_PORT

#define PWM_INPUT1_GPIO_PORT   PAL_PORT(LINE_LED_WS2812)

Definition at line 397 of file matekF765-WING.h.

◆ PWM_INPUT1_ICU

#define PWM_INPUT1_ICU   ICUD1

Definition at line 395 of file matekF765-WING.h.

◆ PWM_SERVO_1

#define PWM_SERVO_1   1

Definition at line 112 of file matekF765-WING.h.

◆ PWM_SERVO_10

#define PWM_SERVO_10   10

Definition at line 229 of file matekF765-WING.h.

◆ PWM_SERVO_10_AF

#define PWM_SERVO_10_AF   AF_S10

Definition at line 232 of file matekF765-WING.h.

◆ PWM_SERVO_10_CHANNEL

#define PWM_SERVO_10_CHANNEL   (S10_TIM_CH-1)

Definition at line 234 of file matekF765-WING.h.

◆ PWM_SERVO_10_CONF

#define PWM_SERVO_10_CONF   CONCAT_BOARD_PARAM(pwmcfg, S10_TIM)

Definition at line 235 of file matekF765-WING.h.

◆ PWM_SERVO_10_DRIVER

#define PWM_SERVO_10_DRIVER   CONCAT_BOARD_PARAM(PWMD, S10_TIM)

Definition at line 233 of file matekF765-WING.h.

◆ PWM_SERVO_10_GPIO

#define PWM_SERVO_10_GPIO   PAL_PORT(LINE_S10)

Definition at line 230 of file matekF765-WING.h.

◆ PWM_SERVO_10_PIN

#define PWM_SERVO_10_PIN   PAL_PAD(LINE_S10)

Definition at line 231 of file matekF765-WING.h.

◆ PWM_SERVO_1_AF

#define PWM_SERVO_1_AF   AF_S1

Definition at line 115 of file matekF765-WING.h.

◆ PWM_SERVO_1_CHANNEL

#define PWM_SERVO_1_CHANNEL   (S1_TIM_CH-1)

Definition at line 117 of file matekF765-WING.h.

◆ PWM_SERVO_1_CONF

#define PWM_SERVO_1_CONF   CONCAT_BOARD_PARAM(pwmcfg, S1_TIM)

Definition at line 118 of file matekF765-WING.h.

◆ PWM_SERVO_1_DRIVER

#define PWM_SERVO_1_DRIVER   CONCAT_BOARD_PARAM(PWMD, S1_TIM)

Definition at line 116 of file matekF765-WING.h.

◆ PWM_SERVO_1_GPIO

#define PWM_SERVO_1_GPIO   PAL_PORT(LINE_S1)

Definition at line 113 of file matekF765-WING.h.

◆ PWM_SERVO_1_PIN

#define PWM_SERVO_1_PIN   PAL_PAD(LINE_S1)

Definition at line 114 of file matekF765-WING.h.

◆ PWM_SERVO_2

#define PWM_SERVO_2   2

Definition at line 125 of file matekF765-WING.h.

◆ PWM_SERVO_2_AF

#define PWM_SERVO_2_AF   AF_S2

Definition at line 128 of file matekF765-WING.h.

◆ PWM_SERVO_2_CHANNEL

#define PWM_SERVO_2_CHANNEL   (S2_TIM_CH-1)

Definition at line 130 of file matekF765-WING.h.

◆ PWM_SERVO_2_CONF

#define PWM_SERVO_2_CONF   CONCAT_BOARD_PARAM(pwmcfg, S2_TIM)

Definition at line 131 of file matekF765-WING.h.

◆ PWM_SERVO_2_DRIVER

#define PWM_SERVO_2_DRIVER   CONCAT_BOARD_PARAM(PWMD, S2_TIM)

Definition at line 129 of file matekF765-WING.h.

◆ PWM_SERVO_2_GPIO

#define PWM_SERVO_2_GPIO   PAL_PORT(LINE_S2)

Definition at line 126 of file matekF765-WING.h.

◆ PWM_SERVO_2_PIN

#define PWM_SERVO_2_PIN   PAL_PAD(LINE_S2)

Definition at line 127 of file matekF765-WING.h.

◆ PWM_SERVO_3

#define PWM_SERVO_3   3

Definition at line 138 of file matekF765-WING.h.

◆ PWM_SERVO_3_AF

#define PWM_SERVO_3_AF   AF_S3

Definition at line 141 of file matekF765-WING.h.

◆ PWM_SERVO_3_CHANNEL

#define PWM_SERVO_3_CHANNEL   (S3_TIM_CH-1)

Definition at line 143 of file matekF765-WING.h.

◆ PWM_SERVO_3_CONF

#define PWM_SERVO_3_CONF   CONCAT_BOARD_PARAM(pwmcfg, S3_TIM)

Definition at line 144 of file matekF765-WING.h.

◆ PWM_SERVO_3_DRIVER

#define PWM_SERVO_3_DRIVER   CONCAT_BOARD_PARAM(PWMD, S3_TIM)

Definition at line 142 of file matekF765-WING.h.

◆ PWM_SERVO_3_GPIO

#define PWM_SERVO_3_GPIO   PAL_PORT(LINE_S3)

Definition at line 139 of file matekF765-WING.h.

◆ PWM_SERVO_3_PIN

#define PWM_SERVO_3_PIN   PAL_PAD(LINE_S3)

Definition at line 140 of file matekF765-WING.h.

◆ PWM_SERVO_4

#define PWM_SERVO_4   4

Definition at line 151 of file matekF765-WING.h.

◆ PWM_SERVO_4_AF

#define PWM_SERVO_4_AF   AF_S4

Definition at line 154 of file matekF765-WING.h.

◆ PWM_SERVO_4_CHANNEL

#define PWM_SERVO_4_CHANNEL   (S4_TIM_CH-1)

Definition at line 156 of file matekF765-WING.h.

◆ PWM_SERVO_4_CONF

#define PWM_SERVO_4_CONF   CONCAT_BOARD_PARAM(pwmcfg, S4_TIM)

Definition at line 157 of file matekF765-WING.h.

◆ PWM_SERVO_4_DRIVER

#define PWM_SERVO_4_DRIVER   CONCAT_BOARD_PARAM(PWMD, S4_TIM)

Definition at line 155 of file matekF765-WING.h.

◆ PWM_SERVO_4_GPIO

#define PWM_SERVO_4_GPIO   PAL_PORT(LINE_S4)

Definition at line 152 of file matekF765-WING.h.

◆ PWM_SERVO_4_PIN

#define PWM_SERVO_4_PIN   PAL_PAD(LINE_S4)

Definition at line 153 of file matekF765-WING.h.

◆ PWM_SERVO_5

#define PWM_SERVO_5   5

Definition at line 164 of file matekF765-WING.h.

◆ PWM_SERVO_5_AF

#define PWM_SERVO_5_AF   AF_S5

Definition at line 167 of file matekF765-WING.h.

◆ PWM_SERVO_5_CHANNEL

#define PWM_SERVO_5_CHANNEL   (S5_TIM_CH-1)

Definition at line 169 of file matekF765-WING.h.

◆ PWM_SERVO_5_CONF

#define PWM_SERVO_5_CONF   CONCAT_BOARD_PARAM(pwmcfg, S5_TIM)

Definition at line 170 of file matekF765-WING.h.

◆ PWM_SERVO_5_DRIVER

#define PWM_SERVO_5_DRIVER   CONCAT_BOARD_PARAM(PWMD, S5_TIM)

Definition at line 168 of file matekF765-WING.h.

◆ PWM_SERVO_5_GPIO

#define PWM_SERVO_5_GPIO   PAL_PORT(LINE_S5)

Definition at line 165 of file matekF765-WING.h.

◆ PWM_SERVO_5_PIN

#define PWM_SERVO_5_PIN   PAL_PAD(LINE_S5)

Definition at line 166 of file matekF765-WING.h.

◆ PWM_SERVO_6

#define PWM_SERVO_6   6

Definition at line 177 of file matekF765-WING.h.

◆ PWM_SERVO_6_AF

#define PWM_SERVO_6_AF   AF_S6

Definition at line 180 of file matekF765-WING.h.

◆ PWM_SERVO_6_CHANNEL

#define PWM_SERVO_6_CHANNEL   (S6_TIM_CH-1)

Definition at line 182 of file matekF765-WING.h.

◆ PWM_SERVO_6_CONF

#define PWM_SERVO_6_CONF   CONCAT_BOARD_PARAM(pwmcfg, S6_TIM)

Definition at line 183 of file matekF765-WING.h.

◆ PWM_SERVO_6_DRIVER

#define PWM_SERVO_6_DRIVER   CONCAT_BOARD_PARAM(PWMD, S6_TIM)

Definition at line 181 of file matekF765-WING.h.

◆ PWM_SERVO_6_GPIO

#define PWM_SERVO_6_GPIO   PAL_PORT(LINE_S6)

Definition at line 178 of file matekF765-WING.h.

◆ PWM_SERVO_6_PIN

#define PWM_SERVO_6_PIN   PAL_PAD(LINE_S6)

Definition at line 179 of file matekF765-WING.h.

◆ PWM_SERVO_7

#define PWM_SERVO_7   7

Definition at line 190 of file matekF765-WING.h.

◆ PWM_SERVO_7_AF

#define PWM_SERVO_7_AF   AF_S7

Definition at line 193 of file matekF765-WING.h.

◆ PWM_SERVO_7_CHANNEL

#define PWM_SERVO_7_CHANNEL   (S7_TIM_CH-1)

Definition at line 195 of file matekF765-WING.h.

◆ PWM_SERVO_7_CONF

#define PWM_SERVO_7_CONF   CONCAT_BOARD_PARAM(pwmcfg, S7_TIM)

Definition at line 196 of file matekF765-WING.h.

◆ PWM_SERVO_7_DRIVER

#define PWM_SERVO_7_DRIVER   CONCAT_BOARD_PARAM(PWMD, S7_TIM)

Definition at line 194 of file matekF765-WING.h.

◆ PWM_SERVO_7_GPIO

#define PWM_SERVO_7_GPIO   PAL_PORT(LINE_S7)

Definition at line 191 of file matekF765-WING.h.

◆ PWM_SERVO_7_PIN

#define PWM_SERVO_7_PIN   PAL_PAD(LINE_S7)

Definition at line 192 of file matekF765-WING.h.

◆ PWM_SERVO_8

#define PWM_SERVO_8   8

Definition at line 203 of file matekF765-WING.h.

◆ PWM_SERVO_8_AF

#define PWM_SERVO_8_AF   AF_S8

Definition at line 206 of file matekF765-WING.h.

◆ PWM_SERVO_8_CHANNEL

#define PWM_SERVO_8_CHANNEL   (S8_TIM_CH-1)

Definition at line 208 of file matekF765-WING.h.

◆ PWM_SERVO_8_CONF

#define PWM_SERVO_8_CONF   CONCAT_BOARD_PARAM(pwmcfg, S8_TIM)

Definition at line 209 of file matekF765-WING.h.

◆ PWM_SERVO_8_DRIVER

#define PWM_SERVO_8_DRIVER   CONCAT_BOARD_PARAM(PWMD, S8_TIM)

Definition at line 207 of file matekF765-WING.h.

◆ PWM_SERVO_8_GPIO

#define PWM_SERVO_8_GPIO   PAL_PORT(LINE_S8)

Definition at line 204 of file matekF765-WING.h.

◆ PWM_SERVO_8_PIN

#define PWM_SERVO_8_PIN   PAL_PAD(LINE_S8)

Definition at line 205 of file matekF765-WING.h.

◆ PWM_SERVO_9

#define PWM_SERVO_9   9

Definition at line 216 of file matekF765-WING.h.

◆ PWM_SERVO_9_AF

#define PWM_SERVO_9_AF   AF_S9

Definition at line 219 of file matekF765-WING.h.

◆ PWM_SERVO_9_CHANNEL

#define PWM_SERVO_9_CHANNEL   (S9_TIM_CH-1)

Definition at line 221 of file matekF765-WING.h.

◆ PWM_SERVO_9_CONF

#define PWM_SERVO_9_CONF   CONCAT_BOARD_PARAM(pwmcfg, S9_TIM)

Definition at line 222 of file matekF765-WING.h.

◆ PWM_SERVO_9_DRIVER

#define PWM_SERVO_9_DRIVER   CONCAT_BOARD_PARAM(PWMD, S9_TIM)

Definition at line 220 of file matekF765-WING.h.

◆ PWM_SERVO_9_GPIO

#define PWM_SERVO_9_GPIO   PAL_PORT(LINE_S9)

Definition at line 217 of file matekF765-WING.h.

◆ PWM_SERVO_9_PIN

#define PWM_SERVO_9_PIN   PAL_PAD(LINE_S9)

Definition at line 218 of file matekF765-WING.h.

◆ RC_PPM_TICKS_PER_USEC

#define RC_PPM_TICKS_PER_USEC   6

PPM radio defines.

available on RC2

Definition at line 386 of file matekF765-WING.h.

◆ SDIO_AF

#define SDIO_AF   AF_SDMMC1_CK

Definition at line 539 of file matekF765-WING.h.

◆ SDIO_CK_PIN

#define SDIO_CK_PIN   PAL_PAD(LINE_SDMMC1_CK)

Definition at line 536 of file matekF765-WING.h.

◆ SDIO_CK_PORT

#define SDIO_CK_PORT   PAL_PORT(LINE_SDMMC1_CK)

Definition at line 535 of file matekF765-WING.h.

◆ SDIO_CMD_PIN

#define SDIO_CMD_PIN   PAL_PAD(LINE_SDMMC1_CMD)

Definition at line 538 of file matekF765-WING.h.

◆ SDIO_CMD_PORT

#define SDIO_CMD_PORT   PAL_PORT(LINE_SDMMC1_CMD)

Definition at line 537 of file matekF765-WING.h.

◆ SDIO_D0_PIN

#define SDIO_D0_PIN   PAL_PAD(LINE_SDMMC1_D0)

Definition at line 528 of file matekF765-WING.h.

◆ SDIO_D0_PORT

#define SDIO_D0_PORT   PAL_PORT(LINE_SDMMC1_D0)

SDIO.

Definition at line 527 of file matekF765-WING.h.

◆ SDIO_D1_PIN

#define SDIO_D1_PIN   PAL_PAD(LINE_SDMMC1_D1)

Definition at line 530 of file matekF765-WING.h.

◆ SDIO_D1_PORT

#define SDIO_D1_PORT   PAL_PORT(LINE_SDMMC1_D1)

Definition at line 529 of file matekF765-WING.h.

◆ SDIO_D2_PIN

#define SDIO_D2_PIN   PAL_PAD(LINE_SDMMC1_D2)

Definition at line 532 of file matekF765-WING.h.

◆ SDIO_D2_PORT

#define SDIO_D2_PORT   PAL_PORT(LINE_SDMMC1_D2)

Definition at line 531 of file matekF765-WING.h.

◆ SDIO_D3_PIN

#define SDIO_D3_PIN   PAL_PAD(LINE_SDMMC1_D3)

Definition at line 534 of file matekF765-WING.h.

◆ SDIO_D3_PORT

#define SDIO_D3_PORT   PAL_PORT(LINE_SDMMC1_D3)

Definition at line 533 of file matekF765-WING.h.

◆ SDLOG_BAT_ADC

#define SDLOG_BAT_ADC   CONCAT_BOARD_PARAM(ADCD, VBAT_MEAS_ADC)

Definition at line 541 of file matekF765-WING.h.

◆ SDLOG_BAT_CHAN

#define SDLOG_BAT_CHAN   CONCAT_BOARD_PARAM(ADC_CHANNEL_IN, VBAT_MEAS_ADC_IN)

Definition at line 542 of file matekF765-WING.h.

◆ SDLOG_USB_LED

#define SDLOG_USB_LED   2

Definition at line 544 of file matekF765-WING.h.

◆ SPEKTRUM_BIND_PIN

#define SPEKTRUM_BIND_PIN   PAL_PORT(LINE_XXX)

Definition at line 375 of file matekF765-WING.h.

◆ SPEKTRUM_BIND_PIN_PORT

#define SPEKTRUM_BIND_PIN_PORT   PAL_PAD(LINE_XXX)

Definition at line 376 of file matekF765-WING.h.

◆ SPEKTRUM_BIND_WAIT

#define SPEKTRUM_BIND_WAIT   30000

Definition at line 379 of file matekF765-WING.h.

◆ SPI1_GPIO_AF

#define SPI1_GPIO_AF   AF_SPI1_CLK

Definition at line 469 of file matekF765-WING.h.

◆ SPI1_GPIO_MISO

#define SPI1_GPIO_MISO   PAL_PAD(LINE_SPI1_MISO)

Definition at line 471 of file matekF765-WING.h.

◆ SPI1_GPIO_MOSI

#define SPI1_GPIO_MOSI   PAL_PAD(LINE_SPI1_MOSI)

Definition at line 473 of file matekF765-WING.h.

◆ SPI1_GPIO_PORT_MISO

#define SPI1_GPIO_PORT_MISO   PAL_PORT(LINE_SPI1_MISO)

Definition at line 470 of file matekF765-WING.h.

◆ SPI1_GPIO_PORT_MOSI

#define SPI1_GPIO_PORT_MOSI   PAL_PORT(LINE_SPI1_MOSI)

Definition at line 472 of file matekF765-WING.h.

◆ SPI1_GPIO_PORT_SCK

#define SPI1_GPIO_PORT_SCK   PAL_PORT(LINE_SPI1_CLK)

Definition at line 474 of file matekF765-WING.h.

◆ SPI1_GPIO_SCK

#define SPI1_GPIO_SCK   PAL_PAD(LINE_SPI1_CLK)

Definition at line 475 of file matekF765-WING.h.

◆ SPI2_GPIO_AF

#define SPI2_GPIO_AF   AF_SPI2_CLK

Definition at line 478 of file matekF765-WING.h.

◆ SPI2_GPIO_MISO

#define SPI2_GPIO_MISO   PAL_PAD(LINE_SPI2_MISO)

Definition at line 480 of file matekF765-WING.h.

◆ SPI2_GPIO_MOSI

#define SPI2_GPIO_MOSI   PAL_PAD(LINE_SPI2_MOSI)

Definition at line 482 of file matekF765-WING.h.

◆ SPI2_GPIO_PORT_MISO

#define SPI2_GPIO_PORT_MISO   PAL_PORT(LINE_SPI2_MISO)

Definition at line 479 of file matekF765-WING.h.

◆ SPI2_GPIO_PORT_MOSI

#define SPI2_GPIO_PORT_MOSI   PAL_PORT(LINE_SPI2_MOSI)

Definition at line 481 of file matekF765-WING.h.

◆ SPI2_GPIO_PORT_SCK

#define SPI2_GPIO_PORT_SCK   PAL_PORT(LINE_SPI2_CLK)

Definition at line 483 of file matekF765-WING.h.

◆ SPI2_GPIO_SCK

#define SPI2_GPIO_SCK   PAL_PAD(LINE_SPI2_CLK)

Definition at line 484 of file matekF765-WING.h.

◆ SPI3_GPIO_AF

#define SPI3_GPIO_AF   AF_SPI3_CLK

SPI Config.

Definition at line 460 of file matekF765-WING.h.

◆ SPI3_GPIO_MISO

#define SPI3_GPIO_MISO   PAL_PAD(LINE_SPI3_MISO)

Definition at line 462 of file matekF765-WING.h.

◆ SPI3_GPIO_MOSI

#define SPI3_GPIO_MOSI   PAL_PAD(LINE_SPI3_MOSI)

Definition at line 464 of file matekF765-WING.h.

◆ SPI3_GPIO_PORT_MISO

#define SPI3_GPIO_PORT_MISO   PAL_PORT(LINE_SPI3_MISO)

Definition at line 461 of file matekF765-WING.h.

◆ SPI3_GPIO_PORT_MOSI

#define SPI3_GPIO_PORT_MOSI   PAL_PORT(LINE_SPI3_MOSI)

Definition at line 463 of file matekF765-WING.h.

◆ SPI3_GPIO_PORT_SCK

#define SPI3_GPIO_PORT_SCK   PAL_PORT(LINE_SPI3_CLK)

Definition at line 465 of file matekF765-WING.h.

◆ SPI3_GPIO_SCK

#define SPI3_GPIO_SCK   PAL_PAD(LINE_SPI3_CLK)

Definition at line 466 of file matekF765-WING.h.

◆ SPI4_GPIO_AF

#define SPI4_GPIO_AF   AF_SPI4_INTERNAL_CLK

Definition at line 487 of file matekF765-WING.h.

◆ SPI4_GPIO_MISO

#define SPI4_GPIO_MISO   PAL_PAD(LINE_SPI4_INTERNAL_MISO)

Definition at line 489 of file matekF765-WING.h.

◆ SPI4_GPIO_MOSI

#define SPI4_GPIO_MOSI   PAL_PAD(LINE_SPI4_INTERNAL_MOSI)

Definition at line 491 of file matekF765-WING.h.

◆ SPI4_GPIO_PORT_MISO

#define SPI4_GPIO_PORT_MISO   PAL_PORT(LINE_SPI4_INTERNAL_MISO)

Definition at line 488 of file matekF765-WING.h.

◆ SPI4_GPIO_PORT_MOSI

#define SPI4_GPIO_PORT_MOSI   PAL_PORT(LINE_SPI4_INTERNAL_MOSI)

Definition at line 490 of file matekF765-WING.h.

◆ SPI4_GPIO_PORT_SCK

#define SPI4_GPIO_PORT_SCK   PAL_PORT(LINE_SPI4_INTERNAL_CLK)

Definition at line 492 of file matekF765-WING.h.

◆ SPI4_GPIO_SCK

#define SPI4_GPIO_SCK   PAL_PAD(LINE_SPI4_INTERNAL_CLK)

Definition at line 493 of file matekF765-WING.h.

◆ SPI_SELECT_SLAVE0_PIN

#define SPI_SELECT_SLAVE0_PIN   PAL_PAD(LINE_SPI4_CS)

Definition at line 497 of file matekF765-WING.h.

◆ SPI_SELECT_SLAVE0_PORT

#define SPI_SELECT_SLAVE0_PORT   PAL_PORT(LINE_SPI4_CS)

Definition at line 496 of file matekF765-WING.h.

◆ SPI_SELECT_SLAVE1_PIN

#define SPI_SELECT_SLAVE1_PIN   PAL_PAD(LINE_S11)

Definition at line 500 of file matekF765-WING.h.

◆ SPI_SELECT_SLAVE1_PORT

#define SPI_SELECT_SLAVE1_PORT   PAL_PORT(LINE_S11)

Definition at line 499 of file matekF765-WING.h.

◆ SPI_SELECT_SLAVE2_PIN

#define SPI_SELECT_SLAVE2_PIN   PAL_PAD(LINE_S12)

Definition at line 503 of file matekF765-WING.h.

◆ SPI_SELECT_SLAVE2_PORT

#define SPI_SELECT_SLAVE2_PORT   PAL_PORT(LINE_S11)

Definition at line 502 of file matekF765-WING.h.

◆ SPI_SELECT_SLAVE3_PIN

#define SPI_SELECT_SLAVE3_PIN   PAL_PAD(LINE_IMU1_CS)

Definition at line 506 of file matekF765-WING.h.

◆ SPI_SELECT_SLAVE3_PORT

#define SPI_SELECT_SLAVE3_PORT   PAL_PORT(LINE_IMU1_CS)

Definition at line 505 of file matekF765-WING.h.

◆ SPI_SELECT_SLAVE4_PIN

#define SPI_SELECT_SLAVE4_PIN   PAL_PAD(LINE_IMU2_CS)

Definition at line 509 of file matekF765-WING.h.

◆ SPI_SELECT_SLAVE4_PORT

#define SPI_SELECT_SLAVE4_PORT   PAL_PORT(LINE_IMU2_CS)

Definition at line 508 of file matekF765-WING.h.

◆ SPI_SELECT_SLAVE5_PIN

#define SPI_SELECT_SLAVE5_PIN   PAL_PAD(LINE_OSD_CS)

Definition at line 512 of file matekF765-WING.h.

◆ SPI_SELECT_SLAVE5_PORT

#define SPI_SELECT_SLAVE5_PORT   PAL_PORT(LINE_OSD_CS)

Definition at line 511 of file matekF765-WING.h.

◆ STM32_CR1_DNF

#define STM32_CR1_DNF (   n)    ((n & 0x0f) << 8)

I2C defines.

Definition at line 405 of file matekF765-WING.h.

◆ UART2_GPIO_AF

#define UART2_GPIO_AF   AF_UART2_TX

Definition at line 344 of file matekF765-WING.h.

◆ UART2_GPIO_PORT_RX

#define UART2_GPIO_PORT_RX   PAL_PORT(LINE_UART2_RX)

Definition at line 342 of file matekF765-WING.h.

◆ UART2_GPIO_PORT_TX

#define UART2_GPIO_PORT_TX   PAL_PORT(LINE_UART2_TX)

UART2 (GPS) and UART3 (Companion) are configured as UART from ChibiOS board file by default.

Definition at line 340 of file matekF765-WING.h.

◆ UART2_GPIO_RX

#define UART2_GPIO_RX   PAL_PAD(LINE_UART2_RX)

Definition at line 343 of file matekF765-WING.h.

◆ UART2_GPIO_TX

#define UART2_GPIO_TX   PAL_PAD(LINE_UART2_TX)

Definition at line 341 of file matekF765-WING.h.

◆ UART3_GPIO_AF

#define UART3_GPIO_AF   AF_UART3_TX

Definition at line 350 of file matekF765-WING.h.

◆ UART3_GPIO_PORT_RX

#define UART3_GPIO_PORT_RX   PAL_PORT(LINE_UART3_RX)

Definition at line 348 of file matekF765-WING.h.

◆ UART3_GPIO_PORT_TX

#define UART3_GPIO_PORT_TX   PAL_PORT(LINE_UART3_TX)

Definition at line 346 of file matekF765-WING.h.

◆ UART3_GPIO_RX

#define UART3_GPIO_RX   PAL_PAD(LINE_UART3_RX)

Definition at line 349 of file matekF765-WING.h.

◆ UART3_GPIO_TX

#define UART3_GPIO_TX   PAL_PAD(LINE_UART3_TX)

Definition at line 347 of file matekF765-WING.h.

◆ UART6_GPIO_AF

#define UART6_GPIO_AF   RC1_USART_AF

Definition at line 370 of file matekF765-WING.h.

◆ UART6_GPIO_PORT_RX

#define UART6_GPIO_PORT_RX   PAL_PORT(LINE_RC1)

Definition at line 368 of file matekF765-WING.h.

◆ UART6_GPIO_RX

#define UART6_GPIO_RX   PAL_PAD(LINE_RC1)

Definition at line 369 of file matekF765-WING.h.

◆ UART7_GPIO_AF

#define UART7_GPIO_AF   AF_UART7_TX

Definition at line 330 of file matekF765-WING.h.

◆ UART7_GPIO_PORT_RX

#define UART7_GPIO_PORT_RX   PAL_PORT(LINE_UART7_RX)

Definition at line 328 of file matekF765-WING.h.

◆ UART7_GPIO_PORT_TX

#define UART7_GPIO_PORT_TX   PAL_PORT(LINE_UART7_TX)

UART7 (Modem with optional flow control disabled by default)

Definition at line 326 of file matekF765-WING.h.

◆ UART7_GPIO_RX

#define UART7_GPIO_RX   PAL_PAD(LINE_UART7_RX)

Definition at line 329 of file matekF765-WING.h.

◆ UART7_GPIO_TX

#define UART7_GPIO_TX   PAL_PAD(LINE_UART7_TX)

Definition at line 327 of file matekF765-WING.h.

◆ UART7_HW_FLOW_CONTROL

#define UART7_HW_FLOW_CONTROL   FALSE

Definition at line 332 of file matekF765-WING.h.

◆ UART8_GPIO_AF

#define UART8_GPIO_AF   AF_UART8_TX

Definition at line 360 of file matekF765-WING.h.

◆ UART8_GPIO_PORT_RX

#define UART8_GPIO_PORT_RX   PAL_PORT(LINE_UART8_RX)

Definition at line 358 of file matekF765-WING.h.

◆ UART8_GPIO_PORT_TX

#define UART8_GPIO_PORT_TX   PAL_PORT(LINE_UART8_TX)

UART8.

Definition at line 356 of file matekF765-WING.h.

◆ UART8_GPIO_RX

#define UART8_GPIO_RX   PAL_PAD(LINE_UART8_RX)

Definition at line 359 of file matekF765-WING.h.

◆ UART8_GPIO_TX

#define UART8_GPIO_TX   PAL_PAD(LINE_UART8_TX)

Definition at line 357 of file matekF765-WING.h.

◆ USE_ADC_3

#define USE_ADC_3   1

Definition at line 68 of file matekF765-WING.h.

◆ USE_BARO_BOARD

#define USE_BARO_BOARD   0

Baro.

Apparently needed for backwards compatibility with the ancient onboard baro boards

Definition at line 521 of file matekF765-WING.h.

◆ USE_DSHOT_TIM4

#define USE_DSHOT_TIM4   1

Definition at line 277 of file matekF765-WING.h.

◆ USE_LED_1

#define USE_LED_1   1

Definition at line 31 of file matekF765-WING.h.

◆ USE_LED_2

#define USE_LED_2   1

Definition at line 40 of file matekF765-WING.h.

◆ USE_PWM1

#define USE_PWM1   1

Definition at line 109 of file matekF765-WING.h.

◆ USE_PWM10

#define USE_PWM10   1

Definition at line 226 of file matekF765-WING.h.

◆ USE_PWM11

#define USE_PWM11   0

Definition at line 239 of file matekF765-WING.h.

◆ USE_PWM12

#define USE_PWM12   0

Definition at line 252 of file matekF765-WING.h.

◆ USE_PWM2

#define USE_PWM2   1

Definition at line 122 of file matekF765-WING.h.

◆ USE_PWM3

#define USE_PWM3   1

Definition at line 135 of file matekF765-WING.h.

◆ USE_PWM4

#define USE_PWM4   1

Definition at line 148 of file matekF765-WING.h.

◆ USE_PWM5

#define USE_PWM5   1

Definition at line 161 of file matekF765-WING.h.

◆ USE_PWM6

#define USE_PWM6   1

Definition at line 174 of file matekF765-WING.h.

◆ USE_PWM7

#define USE_PWM7   1

Definition at line 187 of file matekF765-WING.h.

◆ USE_PWM8

#define USE_PWM8   1

Definition at line 200 of file matekF765-WING.h.

◆ USE_PWM9

#define USE_PWM9   1

Definition at line 213 of file matekF765-WING.h.

◆ USE_UART6_RX

#define USE_UART6_RX   TRUE

SBUS / Spektrum port.

Definition at line 366 of file matekF765-WING.h.

◆ USE_UART6_TX

#define USE_UART6_TX   FALSE

Definition at line 367 of file matekF765-WING.h.

◆ VBAT_R1

#define VBAT_R1   1000.0f

Definition at line 95 of file matekF765-WING.h.

◆ VBAT_R2

#define VBAT_R2   10000.0f

Definition at line 96 of file matekF765-WING.h.

◆ WS2812D1_AF

#define WS2812D1_AF   AF_LED_WS2812

Definition at line 563 of file matekF765-WING.h.

◆ WS2812D1_CFG_DEF

#define WS2812D1_CFG_DEF
Value:
{ \
.dma_stream = STM32_PWM1_UP_DMA_STREAM, \
.dma_channel = STM32_PWM1_UP_DMA_CHANNEL, \
.dma_priority = STM32_PWM1_UP_DMA_PRIORITY, \
.pwm_channel = 0, \
.pwmp = &PWMD1 \
}

Definition at line 564 of file matekF765-WING.h.

◆ WS2812D1_GPIO

#define WS2812D1_GPIO   PAL_PORT(LINE_LED_WS2812)

For WS2812.

Definition at line 561 of file matekF765-WING.h.

◆ WS2812D1_PIN

#define WS2812D1_PIN   PAL_PAD(LINE_LED_WS2812)

Definition at line 562 of file matekF765-WING.h.

STM32_CR1_DNF
#define STM32_CR1_DNF(n)
I2C defines.
Definition: matekF765-WING.h:405
STM32_PWM4_UP_DMA_STREAM
#define STM32_PWM4_UP_DMA_STREAM
Definition: mcuconf.h:331
I2C_FAST_400KHZ_DNF0_100NS_PCLK54MHZ_TIMINGR
#define I2C_FAST_400KHZ_DNF0_100NS_PCLK54MHZ_TIMINGR
Definition: matekF765-WING.h:407
DSHOT_TELEMETRY_DEV
#define DSHOT_TELEMETRY_DEV
DSHOT.
Definition: matekF765-WING.h:273
STM32_PWM4_UP_DMA_CHANNEL
#define STM32_PWM4_UP_DMA_CHANNEL
Definition: mcuconf.h:332
STM32_PWM1_UP_DMA_CHANNEL
#define STM32_PWM1_UP_DMA_CHANNEL
Definition: mcuconf.h:289
STM32_PWM1_UP_DMA_STREAM
#define STM32_PWM1_UP_DMA_STREAM
Definition: mcuconf.h:288
STM32_PWM1_UP_DMA_PRIORITY
#define STM32_PWM1_UP_DMA_PRIORITY
Definition: mcuconf.h:291