Paparazzi UAS  v5.18.0_stable
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_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH
 
#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_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH
 
#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_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH
 
#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_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH
 
#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_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH
 
#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_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH
 
#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_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH
 
#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_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH
 
#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_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH
 
#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_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH
 
#define USE_PWM11   0
 
#define PWM_SERVO_11_ACTIVE   PWM_OUTPUT_DISABLED
 
#define USE_PWM12   0
 
#define PWM_SERVO_12_ACTIVE   PWM_OUTPUT_DISABLED
 
#define ACTUATORS_PWM_NB   13
 
#define PWM_CONF_TIM2   1
 
#define PWM_CONF2_DEF
 
#define PWM_CONF_TIM4   1
 
#define PWM_CONF4_DEF
 
#define PWM_CONF_TIM5   1
 
#define PWM_CONF5_DEF
 
#define PWM_CONF_TIM8   1
 
#define PWM_CONF8_DEF
 
#define PWM_CONF_TIM9   1
 
#define PWM_CONF9_DEF
 
#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   "subsystems/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 673 of file matekF765-WING.h.

◆ ACTUATORS_PWM_NB

#define ACTUATORS_PWM_NB   13

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

◆ ActuatorsDefaultCommit

#define ActuatorsDefaultCommit ( )    ActuatorsPwmCommit()

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

◆ ActuatorsDefaultInit

#define ActuatorsDefaultInit ( )    ActuatorsPwmInit()

Definition at line 674 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   "subsystems/actuators/actuators_pwm.h"

Definition at line 672 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 431 of file matekF765-WING.h.

◆ DSHOT_CONF_TIM4

#define DSHOT_CONF_TIM4   1

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

◆ DSHOT_SERVO_10

#define DSHOT_SERVO_10   4

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

◆ DSHOT_SERVO_10_AF

#define DSHOT_SERVO_10_AF   AF_S10

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

◆ DSHOT_SERVO_10_CHANNEL

#define DSHOT_SERVO_10_CHANNEL   S10_TIM_CH

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

◆ DSHOT_SERVO_10_DRIVER

#define DSHOT_SERVO_10_DRIVER   CONCAT_BOARD_PARAM(DSHOTD, S10_TIM)

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

◆ DSHOT_SERVO_10_GPIO

#define DSHOT_SERVO_10_GPIO   PAL_PORT(LINE_S10)

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

◆ DSHOT_SERVO_10_PIN

#define DSHOT_SERVO_10_PIN   PAL_PAD(LINE_S10)

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

◆ DSHOT_SERVO_7

#define DSHOT_SERVO_7   1

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

◆ DSHOT_SERVO_7_AF

#define DSHOT_SERVO_7_AF   AF_S7

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

◆ DSHOT_SERVO_7_CHANNEL

#define DSHOT_SERVO_7_CHANNEL   S7_TIM_CH

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

◆ DSHOT_SERVO_7_DRIVER

#define DSHOT_SERVO_7_DRIVER   CONCAT_BOARD_PARAM(DSHOTD, S7_TIM)

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

◆ DSHOT_SERVO_7_GPIO

#define DSHOT_SERVO_7_GPIO   PAL_PORT(LINE_S7)

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

◆ DSHOT_SERVO_7_PIN

#define DSHOT_SERVO_7_PIN   PAL_PAD(LINE_S7)

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

◆ DSHOT_SERVO_8

#define DSHOT_SERVO_8   2

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

◆ DSHOT_SERVO_8_AF

#define DSHOT_SERVO_8_AF   AF_S8

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

◆ DSHOT_SERVO_8_CHANNEL

#define DSHOT_SERVO_8_CHANNEL   S8_TIM_CH

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

◆ DSHOT_SERVO_8_DRIVER

#define DSHOT_SERVO_8_DRIVER   CONCAT_BOARD_PARAM(DSHOTD, S8_TIM)

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

◆ DSHOT_SERVO_8_GPIO

#define DSHOT_SERVO_8_GPIO   PAL_PORT(LINE_S8)

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

◆ DSHOT_SERVO_8_PIN

#define DSHOT_SERVO_8_PIN   PAL_PAD(LINE_S8)

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

◆ DSHOT_SERVO_9

#define DSHOT_SERVO_9   3

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

◆ DSHOT_SERVO_9_AF

#define DSHOT_SERVO_9_AF   AF_S9

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

◆ DSHOT_SERVO_9_CHANNEL

#define DSHOT_SERVO_9_CHANNEL   S9_TIM_CH

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

◆ DSHOT_SERVO_9_DRIVER

#define DSHOT_SERVO_9_DRIVER   CONCAT_BOARD_PARAM(DSHOTD, S9_TIM)

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

◆ DSHOT_SERVO_9_GPIO

#define DSHOT_SERVO_9_GPIO   PAL_PORT(LINE_S9)

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

◆ DSHOT_SERVO_9_PIN

#define DSHOT_SERVO_9_PIN   PAL_PAD(LINE_S9)

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

◆ DSHOT_TELEMETRY_DEV

#define DSHOT_TELEMETRY_DEV   NULL

DSHOT.

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

◆ I2C1_CFG_DEF

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

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

◆ I2C1_CLOCK_SPEED

#define I2C1_CLOCK_SPEED   400000

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

◆ I2C2_CFG_DEF

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

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

◆ I2C2_CLOCK_SPEED

#define I2C2_CLOCK_SPEED   400000

Definition at line 555 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 526 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 529 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 507 of file matekF765-WING.h.

◆ PPM_TIMER

#define PPM_TIMER   CONCAT_BOARD_PARAM(ICUD, RC2_TIM)

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

◆ PPM_TIMER_FREQUENCY

#define PPM_TIMER_FREQUENCY   6000000

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

◆ PWM_CONF2_DEF

#define PWM_CONF2_DEF
Value:
{ \
PWM_FREQUENCY, \
PWM_FREQUENCY/TIM2_SERVO_HZ, \
NULL, \
{ \
{ PWM_SERVO_1_ACTIVE, NULL }, \
{ PWM_SERVO_2_ACTIVE, NULL }, \
{ PWM_OUTPUT_DISABLED, NULL }, \
{ PWM_OUTPUT_DISABLED, NULL }, \
}, \
0, \
0 \
}

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

◆ PWM_CONF4_DEF

#define PWM_CONF4_DEF
Value:
{ \
PWM_FREQUENCY, \
PWM_FREQUENCY/TIM4_SERVO_HZ, \
NULL, \
{ \
{ PWM_SERVO_7_ACTIVE, NULL }, \
{ PWM_SERVO_8_ACTIVE, NULL }, \
{ PWM_SERVO_9_ACTIVE, NULL }, \
{ PWM_SERVO_10_ACTIVE, NULL }, \
}, \
0, \
0 \
}

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

◆ PWM_CONF5_DEF

#define PWM_CONF5_DEF
Value:
{ \
PWM_FREQUENCY, \
PWM_FREQUENCY/TIM5_SERVO_HZ, \
NULL, \
{ \
{ PWM_OUTPUT_DISABLED, NULL }, \
{ PWM_OUTPUT_DISABLED, NULL }, \
{ PWM_SERVO_3_ACTIVE, NULL }, \
{ PWM_SERVO_4_ACTIVE, NULL }, \
}, \
0, \
0 \
}

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

◆ PWM_CONF8_DEF

#define PWM_CONF8_DEF
Value:
{ \
PWM_FREQUENCY, \
PWM_FREQUENCY/TIM8_SERVO_HZ, \
NULL, \
{ \
{ PWM_OUTPUT_DISABLED, NULL }, \
{ PWM_SERVO_5_ACTIVE, NULL }, \
{ PWM_SERVO_6_ACTIVE, NULL }, \
{ PWM_OUTPUT_DISABLED, NULL }, \
}, \
0, \
0 \
}

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

◆ PWM_CONF9_DEF

#define PWM_CONF9_DEF
Value:
{ \
PWM_FREQUENCY, \
PWM_FREQUENCY/TIM9_SERVO_HZ, \
NULL, \
{ \
{ PWM_SERVO_11_ACTIVE, NULL }, \
{ PWM_SERVO_12_ACTIVE, NULL }, \
{ PWM_OUTPUT_DISABLED, NULL }, \
{ PWM_OUTPUT_DISABLED, NULL }, \
}, \
0, \
0 \
}

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

◆ PWM_CONF_TIM2

#define PWM_CONF_TIM2   1

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

◆ PWM_CONF_TIM4

#define PWM_CONF_TIM4   1

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

◆ PWM_CONF_TIM5

#define PWM_CONF_TIM5   1

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

◆ PWM_CONF_TIM8

#define PWM_CONF_TIM8   1

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

◆ PWM_CONF_TIM9

#define PWM_CONF_TIM9   1

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

◆ PWM_INPUT1_CHANNEL

#define PWM_INPUT1_CHANNEL   ICU_CHANNEL_1

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

◆ PWM_INPUT1_GPIO_AF

#define PWM_INPUT1_GPIO_AF   AF_LED_WS2812

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

◆ PWM_INPUT1_GPIO_PIN

#define PWM_INPUT1_GPIO_PIN   PAL_PAD(LINE_LED_WS2812)

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

◆ PWM_INPUT1_GPIO_PORT

#define PWM_INPUT1_GPIO_PORT   PAL_PORT(LINE_LED_WS2812)

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

◆ PWM_INPUT1_ICU

#define PWM_INPUT1_ICU   ICUD1

Definition at line 514 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 247 of file matekF765-WING.h.

◆ PWM_SERVO_10_ACTIVE

#define PWM_SERVO_10_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

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

◆ PWM_SERVO_10_AF

#define PWM_SERVO_10_AF   AF_S10

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

◆ PWM_SERVO_10_CHANNEL

#define PWM_SERVO_10_CHANNEL   (S10_TIM_CH-1)

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

◆ PWM_SERVO_10_DRIVER

#define PWM_SERVO_10_DRIVER   CONCAT_BOARD_PARAM(PWMD, S10_TIM)

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

◆ PWM_SERVO_10_GPIO

#define PWM_SERVO_10_GPIO   PAL_PORT(LINE_S10)

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

◆ PWM_SERVO_10_PIN

#define PWM_SERVO_10_PIN   PAL_PAD(LINE_S10)

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

◆ PWM_SERVO_11_ACTIVE

#define PWM_SERVO_11_ACTIVE   PWM_OUTPUT_DISABLED

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

◆ PWM_SERVO_12_ACTIVE

#define PWM_SERVO_12_ACTIVE   PWM_OUTPUT_DISABLED

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

◆ PWM_SERVO_1_ACTIVE

#define PWM_SERVO_1_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 118 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_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 127 of file matekF765-WING.h.

◆ PWM_SERVO_2_ACTIVE

#define PWM_SERVO_2_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

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

◆ PWM_SERVO_2_AF

#define PWM_SERVO_2_AF   AF_S2

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

◆ PWM_SERVO_2_CHANNEL

#define PWM_SERVO_2_CHANNEL   (S2_TIM_CH-1)

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

◆ PWM_SERVO_2_DRIVER

#define PWM_SERVO_2_DRIVER   CONCAT_BOARD_PARAM(PWMD, S2_TIM)

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

◆ PWM_SERVO_2_GPIO

#define PWM_SERVO_2_GPIO   PAL_PORT(LINE_S2)

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

◆ PWM_SERVO_2_PIN

#define PWM_SERVO_2_PIN   PAL_PAD(LINE_S2)

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

◆ PWM_SERVO_3

#define PWM_SERVO_3   3

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

◆ PWM_SERVO_3_ACTIVE

#define PWM_SERVO_3_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

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

◆ PWM_SERVO_3_AF

#define PWM_SERVO_3_AF   AF_S3

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

◆ PWM_SERVO_3_CHANNEL

#define PWM_SERVO_3_CHANNEL   (S3_TIM_CH-1)

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

◆ PWM_SERVO_3_DRIVER

#define PWM_SERVO_3_DRIVER   CONCAT_BOARD_PARAM(PWMD, S3_TIM)

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

◆ PWM_SERVO_3_GPIO

#define PWM_SERVO_3_GPIO   PAL_PORT(LINE_S3)

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

◆ PWM_SERVO_3_PIN

#define PWM_SERVO_3_PIN   PAL_PAD(LINE_S3)

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

◆ PWM_SERVO_4

#define PWM_SERVO_4   4

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

◆ PWM_SERVO_4_ACTIVE

#define PWM_SERVO_4_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

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

◆ PWM_SERVO_4_AF

#define PWM_SERVO_4_AF   AF_S4

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

◆ PWM_SERVO_4_CHANNEL

#define PWM_SERVO_4_CHANNEL   (S4_TIM_CH-1)

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

◆ PWM_SERVO_4_DRIVER

#define PWM_SERVO_4_DRIVER   CONCAT_BOARD_PARAM(PWMD, S4_TIM)

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

◆ PWM_SERVO_4_GPIO

#define PWM_SERVO_4_GPIO   PAL_PORT(LINE_S4)

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

◆ PWM_SERVO_4_PIN

#define PWM_SERVO_4_PIN   PAL_PAD(LINE_S4)

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

◆ PWM_SERVO_5

#define PWM_SERVO_5   5

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

◆ PWM_SERVO_5_ACTIVE

#define PWM_SERVO_5_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

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

◆ PWM_SERVO_5_AF

#define PWM_SERVO_5_AF   AF_S5

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

◆ PWM_SERVO_5_CHANNEL

#define PWM_SERVO_5_CHANNEL   (S5_TIM_CH-1)

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

◆ PWM_SERVO_5_DRIVER

#define PWM_SERVO_5_DRIVER   CONCAT_BOARD_PARAM(PWMD, S5_TIM)

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

◆ PWM_SERVO_5_GPIO

#define PWM_SERVO_5_GPIO   PAL_PORT(LINE_S5)

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

◆ PWM_SERVO_5_PIN

#define PWM_SERVO_5_PIN   PAL_PAD(LINE_S5)

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

◆ PWM_SERVO_6

#define PWM_SERVO_6   6

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

◆ PWM_SERVO_6_ACTIVE

#define PWM_SERVO_6_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

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

◆ PWM_SERVO_6_AF

#define PWM_SERVO_6_AF   AF_S6

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

◆ PWM_SERVO_6_CHANNEL

#define PWM_SERVO_6_CHANNEL   (S6_TIM_CH-1)

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

◆ PWM_SERVO_6_DRIVER

#define PWM_SERVO_6_DRIVER   CONCAT_BOARD_PARAM(PWMD, S6_TIM)

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

◆ PWM_SERVO_6_GPIO

#define PWM_SERVO_6_GPIO   PAL_PORT(LINE_S6)

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

◆ PWM_SERVO_6_PIN

#define PWM_SERVO_6_PIN   PAL_PAD(LINE_S6)

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

◆ PWM_SERVO_7

#define PWM_SERVO_7   7

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

◆ PWM_SERVO_7_ACTIVE

#define PWM_SERVO_7_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

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

◆ PWM_SERVO_7_AF

#define PWM_SERVO_7_AF   AF_S7

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

◆ PWM_SERVO_7_CHANNEL

#define PWM_SERVO_7_CHANNEL   (S7_TIM_CH-1)

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

◆ PWM_SERVO_7_DRIVER

#define PWM_SERVO_7_DRIVER   CONCAT_BOARD_PARAM(PWMD, S7_TIM)

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

◆ PWM_SERVO_7_GPIO

#define PWM_SERVO_7_GPIO   PAL_PORT(LINE_S7)

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

◆ PWM_SERVO_7_PIN

#define PWM_SERVO_7_PIN   PAL_PAD(LINE_S7)

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

◆ PWM_SERVO_8

#define PWM_SERVO_8   8

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

◆ PWM_SERVO_8_ACTIVE

#define PWM_SERVO_8_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

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

◆ PWM_SERVO_8_AF

#define PWM_SERVO_8_AF   AF_S8

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

◆ PWM_SERVO_8_CHANNEL

#define PWM_SERVO_8_CHANNEL   (S8_TIM_CH-1)

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

◆ PWM_SERVO_8_DRIVER

#define PWM_SERVO_8_DRIVER   CONCAT_BOARD_PARAM(PWMD, S8_TIM)

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

◆ PWM_SERVO_8_GPIO

#define PWM_SERVO_8_GPIO   PAL_PORT(LINE_S8)

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

◆ PWM_SERVO_8_PIN

#define PWM_SERVO_8_PIN   PAL_PAD(LINE_S8)

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

◆ PWM_SERVO_9

#define PWM_SERVO_9   9

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

◆ PWM_SERVO_9_ACTIVE

#define PWM_SERVO_9_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

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

◆ PWM_SERVO_9_AF

#define PWM_SERVO_9_AF   AF_S9

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

◆ PWM_SERVO_9_CHANNEL

#define PWM_SERVO_9_CHANNEL   (S9_TIM_CH-1)

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

◆ PWM_SERVO_9_DRIVER

#define PWM_SERVO_9_DRIVER   CONCAT_BOARD_PARAM(PWMD, S9_TIM)

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

◆ PWM_SERVO_9_GPIO

#define PWM_SERVO_9_GPIO   PAL_PORT(LINE_S9)

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

◆ PWM_SERVO_9_PIN

#define PWM_SERVO_9_PIN   PAL_PAD(LINE_S9)

Definition at line 234 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 505 of file matekF765-WING.h.

◆ SDIO_AF

#define SDIO_AF   AF_SDMMC1_CK

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

◆ SDIO_CK_PIN

#define SDIO_CK_PIN   PAL_PAD(LINE_SDMMC1_CK)

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

◆ SDIO_CK_PORT

#define SDIO_CK_PORT   PAL_PORT(LINE_SDMMC1_CK)

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

◆ SDIO_CMD_PIN

#define SDIO_CMD_PIN   PAL_PAD(LINE_SDMMC1_CMD)

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

◆ SDIO_CMD_PORT

#define SDIO_CMD_PORT   PAL_PORT(LINE_SDMMC1_CMD)

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

◆ SDIO_D0_PIN

#define SDIO_D0_PIN   PAL_PAD(LINE_SDMMC1_D0)

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

◆ SDIO_D0_PORT

#define SDIO_D0_PORT   PAL_PORT(LINE_SDMMC1_D0)

SDIO.

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

◆ SDIO_D1_PIN

#define SDIO_D1_PIN   PAL_PAD(LINE_SDMMC1_D1)

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

◆ SDIO_D1_PORT

#define SDIO_D1_PORT   PAL_PORT(LINE_SDMMC1_D1)

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

◆ SDIO_D2_PIN

#define SDIO_D2_PIN   PAL_PAD(LINE_SDMMC1_D2)

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

◆ SDIO_D2_PORT

#define SDIO_D2_PORT   PAL_PORT(LINE_SDMMC1_D2)

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

◆ SDIO_D3_PIN

#define SDIO_D3_PIN   PAL_PAD(LINE_SDMMC1_D3)

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

◆ SDIO_D3_PORT

#define SDIO_D3_PORT   PAL_PORT(LINE_SDMMC1_D3)

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

◆ SDLOG_BAT_ADC

#define SDLOG_BAT_ADC   CONCAT_BOARD_PARAM(ADCD, VBAT_MEAS_ADC)

Definition at line 660 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 661 of file matekF765-WING.h.

◆ SDLOG_USB_LED

#define SDLOG_USB_LED   2

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

◆ SPEKTRUM_BIND_PIN

#define SPEKTRUM_BIND_PIN   PAL_PORT(LINE_XXX)

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

◆ SPEKTRUM_BIND_PIN_PORT

#define SPEKTRUM_BIND_PIN_PORT   PAL_PAD(LINE_XXX)

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

◆ SPEKTRUM_BIND_WAIT

#define SPEKTRUM_BIND_WAIT   30000

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

◆ SPI1_GPIO_AF

#define SPI1_GPIO_AF   AF_SPI1_CLK

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

◆ SPI1_GPIO_MISO

#define SPI1_GPIO_MISO   PAL_PAD(LINE_SPI1_MISO)

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

◆ SPI1_GPIO_MOSI

#define SPI1_GPIO_MOSI   PAL_PAD(LINE_SPI1_MOSI)

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

◆ SPI1_GPIO_PORT_MISO

#define SPI1_GPIO_PORT_MISO   PAL_PORT(LINE_SPI1_MISO)

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

◆ SPI1_GPIO_PORT_MOSI

#define SPI1_GPIO_PORT_MOSI   PAL_PORT(LINE_SPI1_MOSI)

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

◆ SPI1_GPIO_PORT_SCK

#define SPI1_GPIO_PORT_SCK   PAL_PORT(LINE_SPI1_CLK)

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

◆ SPI1_GPIO_SCK

#define SPI1_GPIO_SCK   PAL_PAD(LINE_SPI1_CLK)

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

◆ SPI2_GPIO_AF

#define SPI2_GPIO_AF   AF_SPI2_CLK

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

◆ SPI2_GPIO_MISO

#define SPI2_GPIO_MISO   PAL_PAD(LINE_SPI2_MISO)

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

◆ SPI2_GPIO_MOSI

#define SPI2_GPIO_MOSI   PAL_PAD(LINE_SPI2_MOSI)

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

◆ SPI2_GPIO_PORT_MISO

#define SPI2_GPIO_PORT_MISO   PAL_PORT(LINE_SPI2_MISO)

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

◆ SPI2_GPIO_PORT_MOSI

#define SPI2_GPIO_PORT_MOSI   PAL_PORT(LINE_SPI2_MOSI)

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

◆ SPI2_GPIO_PORT_SCK

#define SPI2_GPIO_PORT_SCK   PAL_PORT(LINE_SPI2_CLK)

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

◆ SPI2_GPIO_SCK

#define SPI2_GPIO_SCK   PAL_PAD(LINE_SPI2_CLK)

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

◆ SPI3_GPIO_AF

#define SPI3_GPIO_AF   AF_SPI3_CLK

SPI Config.

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

◆ SPI3_GPIO_MISO

#define SPI3_GPIO_MISO   PAL_PAD(LINE_SPI3_MISO)

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

◆ SPI3_GPIO_MOSI

#define SPI3_GPIO_MOSI   PAL_PAD(LINE_SPI3_MOSI)

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

◆ SPI3_GPIO_PORT_MISO

#define SPI3_GPIO_PORT_MISO   PAL_PORT(LINE_SPI3_MISO)

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

◆ SPI3_GPIO_PORT_MOSI

#define SPI3_GPIO_PORT_MOSI   PAL_PORT(LINE_SPI3_MOSI)

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

◆ SPI3_GPIO_PORT_SCK

#define SPI3_GPIO_PORT_SCK   PAL_PORT(LINE_SPI3_CLK)

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

◆ SPI3_GPIO_SCK

#define SPI3_GPIO_SCK   PAL_PAD(LINE_SPI3_CLK)

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

◆ SPI4_GPIO_AF

#define SPI4_GPIO_AF   AF_SPI4_INTERNAL_CLK

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

◆ SPI4_GPIO_MISO

#define SPI4_GPIO_MISO   PAL_PAD(LINE_SPI4_INTERNAL_MISO)

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

◆ SPI4_GPIO_MOSI

#define SPI4_GPIO_MOSI   PAL_PAD(LINE_SPI4_INTERNAL_MOSI)

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

◆ SPI4_GPIO_PORT_MISO

#define SPI4_GPIO_PORT_MISO   PAL_PORT(LINE_SPI4_INTERNAL_MISO)

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

◆ SPI4_GPIO_PORT_MOSI

#define SPI4_GPIO_PORT_MOSI   PAL_PORT(LINE_SPI4_INTERNAL_MOSI)

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

◆ SPI4_GPIO_PORT_SCK

#define SPI4_GPIO_PORT_SCK   PAL_PORT(LINE_SPI4_INTERNAL_CLK)

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

◆ SPI4_GPIO_SCK

#define SPI4_GPIO_SCK   PAL_PAD(LINE_SPI4_INTERNAL_CLK)

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

◆ SPI_SELECT_SLAVE0_PIN

#define SPI_SELECT_SLAVE0_PIN   PAL_PAD(LINE_SPI4_CS)

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

◆ SPI_SELECT_SLAVE0_PORT

#define SPI_SELECT_SLAVE0_PORT   PAL_PORT(LINE_SPI4_CS)

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

◆ SPI_SELECT_SLAVE1_PIN

#define SPI_SELECT_SLAVE1_PIN   PAL_PAD(LINE_S11)

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

◆ SPI_SELECT_SLAVE1_PORT

#define SPI_SELECT_SLAVE1_PORT   PAL_PORT(LINE_S11)

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

◆ SPI_SELECT_SLAVE2_PIN

#define SPI_SELECT_SLAVE2_PIN   PAL_PAD(LINE_S12)

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

◆ SPI_SELECT_SLAVE2_PORT

#define SPI_SELECT_SLAVE2_PORT   PAL_PORT(LINE_S11)

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

◆ SPI_SELECT_SLAVE3_PIN

#define SPI_SELECT_SLAVE3_PIN   PAL_PAD(LINE_IMU1_CS)

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

◆ SPI_SELECT_SLAVE3_PORT

#define SPI_SELECT_SLAVE3_PORT   PAL_PORT(LINE_IMU1_CS)

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

◆ SPI_SELECT_SLAVE4_PIN

#define SPI_SELECT_SLAVE4_PIN   PAL_PAD(LINE_IMU2_CS)

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

◆ SPI_SELECT_SLAVE4_PORT

#define SPI_SELECT_SLAVE4_PORT   PAL_PORT(LINE_IMU2_CS)

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

◆ SPI_SELECT_SLAVE5_PIN

#define SPI_SELECT_SLAVE5_PIN   PAL_PAD(LINE_OSD_CS)

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

◆ SPI_SELECT_SLAVE5_PORT

#define SPI_SELECT_SLAVE5_PORT   PAL_PORT(LINE_OSD_CS)

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

◆ STM32_CR1_DNF

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

I2C defines.

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

◆ UART2_GPIO_AF

#define UART2_GPIO_AF   AF_UART2_TX

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

◆ UART2_GPIO_PORT_RX

#define UART2_GPIO_PORT_RX   PAL_PORT(LINE_UART2_RX)

Definition at line 461 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 459 of file matekF765-WING.h.

◆ UART2_GPIO_RX

#define UART2_GPIO_RX   PAL_PAD(LINE_UART2_RX)

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

◆ UART2_GPIO_TX

#define UART2_GPIO_TX   PAL_PAD(LINE_UART2_TX)

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

◆ UART3_GPIO_AF

#define UART3_GPIO_AF   AF_UART3_TX

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

◆ UART3_GPIO_PORT_RX

#define UART3_GPIO_PORT_RX   PAL_PORT(LINE_UART3_RX)

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

◆ UART3_GPIO_PORT_TX

#define UART3_GPIO_PORT_TX   PAL_PORT(LINE_UART3_TX)

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

◆ UART3_GPIO_RX

#define UART3_GPIO_RX   PAL_PAD(LINE_UART3_RX)

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

◆ UART3_GPIO_TX

#define UART3_GPIO_TX   PAL_PAD(LINE_UART3_TX)

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

◆ UART6_GPIO_AF

#define UART6_GPIO_AF   RC1_USART_AF

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

◆ UART6_GPIO_PORT_RX

#define UART6_GPIO_PORT_RX   PAL_PORT(LINE_RC1)

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

◆ UART6_GPIO_RX

#define UART6_GPIO_RX   PAL_PAD(LINE_RC1)

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

◆ UART7_GPIO_AF

#define UART7_GPIO_AF   AF_UART7_TX

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

◆ UART7_GPIO_PORT_RX

#define UART7_GPIO_PORT_RX   PAL_PORT(LINE_UART7_RX)

Definition at line 447 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 445 of file matekF765-WING.h.

◆ UART7_GPIO_RX

#define UART7_GPIO_RX   PAL_PAD(LINE_UART7_RX)

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

◆ UART7_GPIO_TX

#define UART7_GPIO_TX   PAL_PAD(LINE_UART7_TX)

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

◆ UART7_HW_FLOW_CONTROL

#define UART7_HW_FLOW_CONTROL   FALSE

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

◆ UART8_GPIO_AF

#define UART8_GPIO_AF   AF_UART8_TX

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

◆ UART8_GPIO_PORT_RX

#define UART8_GPIO_PORT_RX   PAL_PORT(LINE_UART8_RX)

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

◆ UART8_GPIO_PORT_TX

#define UART8_GPIO_PORT_TX   PAL_PORT(LINE_UART8_TX)

UART8.

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

◆ UART8_GPIO_RX

#define UART8_GPIO_RX   PAL_PAD(LINE_UART8_RX)

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

◆ UART8_GPIO_TX

#define UART8_GPIO_TX   PAL_PAD(LINE_UART8_TX)

Definition at line 476 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 640 of file matekF765-WING.h.

◆ USE_DSHOT_TIM4

#define USE_DSHOT_TIM4   1

Definition at line 396 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 244 of file matekF765-WING.h.

◆ USE_PWM11

#define USE_PWM11   0

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

◆ USE_PWM12

#define USE_PWM12   0

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

◆ USE_PWM2

#define USE_PWM2   1

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

◆ USE_PWM3

#define USE_PWM3   1

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

◆ USE_PWM4

#define USE_PWM4   1

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

◆ USE_PWM5

#define USE_PWM5   1

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

◆ USE_PWM6

#define USE_PWM6   1

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

◆ USE_PWM7

#define USE_PWM7   1

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

◆ USE_PWM8

#define USE_PWM8   1

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

◆ USE_PWM9

#define USE_PWM9   1

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

◆ USE_UART6_RX

#define USE_UART6_RX   TRUE

SBUS / Spektrum port.

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

◆ USE_UART6_TX

#define USE_UART6_TX   FALSE

Definition at line 486 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 682 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 683 of file matekF765-WING.h.

◆ WS2812D1_GPIO

#define WS2812D1_GPIO   PAL_PORT(LINE_LED_WS2812)

For WS2812.

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

◆ WS2812D1_PIN

#define WS2812D1_PIN   PAL_PAD(LINE_LED_WS2812)

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

PWM_SERVO_3_ACTIVE
#define PWM_SERVO_3_ACTIVE
Definition: matekF765-WING.h:148
PWM_SERVO_9_ACTIVE
#define PWM_SERVO_9_ACTIVE
Definition: matekF765-WING.h:238
STM32_CR1_DNF
#define STM32_CR1_DNF(n)
I2C defines.
Definition: matekF765-WING.h:524
TIM5_SERVO_HZ
#define TIM5_SERVO_HZ
Definition: actuators_pwm_arch.h:69
STM32_PWM4_UP_DMA_STREAM
#define STM32_PWM4_UP_DMA_STREAM
Definition: mcuconf.h:331
PWM_SERVO_7_ACTIVE
#define PWM_SERVO_7_ACTIVE
Definition: matekF765-WING.h:208
TIM2_SERVO_HZ
#define TIM2_SERVO_HZ
Definition: actuators_pwm_arch.h:60
PWM_SERVO_2_ACTIVE
#define PWM_SERVO_2_ACTIVE
Definition: matekF765-WING.h:133
PWM_SERVO_5_ACTIVE
#define PWM_SERVO_5_ACTIVE
Definition: matekF765-WING.h:178
I2C_FAST_400KHZ_DNF0_100NS_PCLK54MHZ_TIMINGR
#define I2C_FAST_400KHZ_DNF0_100NS_PCLK54MHZ_TIMINGR
Definition: matekF765-WING.h:526
PWM_SERVO_1_ACTIVE
#define PWM_SERVO_1_ACTIVE
Definition: matekF765-WING.h:118
PWM_SERVO_12_ACTIVE
#define PWM_SERVO_12_ACTIVE
Definition: matekF765-WING.h:285
PWM_SERVO_4_ACTIVE
#define PWM_SERVO_4_ACTIVE
Definition: matekF765-WING.h:163
DSHOT_TELEMETRY_DEV
#define DSHOT_TELEMETRY_DEV
DSHOT.
Definition: matekF765-WING.h:392
TIM9_SERVO_HZ
#define TIM9_SERVO_HZ
Definition: actuators_pwm_arch.h:75
PWM_SERVO_8_ACTIVE
#define PWM_SERVO_8_ACTIVE
Definition: matekF765-WING.h:223
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:267
TIM8_SERVO_HZ
#define TIM8_SERVO_HZ
Definition: actuators_pwm_arch.h:72
PWM_SERVO_10_ACTIVE
#define PWM_SERVO_10_ACTIVE
Definition: matekF765-WING.h:253
STM32_PWM1_UP_DMA_STREAM
#define STM32_PWM1_UP_DMA_STREAM
Definition: mcuconf.h:266
STM32_PWM1_UP_DMA_PRIORITY
#define STM32_PWM1_UP_DMA_PRIORITY
Definition: mcuconf.h:269
PWM_SERVO_6_ACTIVE
#define PWM_SERVO_6_ACTIVE
Definition: matekF765-WING.h:193
TIM4_SERVO_HZ
#define TIM4_SERVO_HZ
Definition: actuators_pwm_arch.h:66
PWM_SERVO_11_ACTIVE
#define PWM_SERVO_11_ACTIVE
Definition: matekF765-WING.h:270