Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
holybro_kakute_f7.h File Reference
#include "board.h"
+ Include dependency graph for holybro_kakute_f7.h:

Go to the source code of this file.

Macros

#define BOARD_HOLYBRO_KAKUTE_F7
 
#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_ADC_2   1
 
#define AD1_2_CHANNEL   CONCAT_BOARD_PARAM(ADC_CHANNEL_IN, VBAT_MEAS_ADC_IN)
 
#define ADC_2   AD1_2
 
#define ADC_2_GPIO_PORT   PAL_PORT(LINE_VBAT_MEAS)
 
#define ADC_2_GPIO_PIN   PAL_PAD(LINE_VBAT_MEAS)
 
#define ADC_CHANNEL_VSUPPLY   ADC_2
 
#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_PWM_TIM1   1
 
#define USE_PWM_TIM3   1
 
#define USE_PWM_TIM4   1
 
#define USE_PWM_TIM5   1
 
#define USE_PWM_TIM8   1
 
#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 ACTUATORS_PWM_NB   7
 
#define DSHOT_TELEMETRY_DEV   NULL
 DSHOT. More...
 
#define USE_DSHOT_TIM   0
 
#define UART1_GPIO_PORT_TX   PAL_PORT(LINE_UART1_TX)
 UART1 (Modem) More...
 
#define UART1_GPIO_TX   PAL_PAD(LINE_UART1_TX)
 
#define UART1_GPIO_PORT_RX   PAL_PORT(LINE_UART1_RX)
 
#define UART1_GPIO_RX   PAL_PAD(LINE_UART1_RX)
 
#define UART1_GPIO_AF   AF_UART1_TX
 
#define UART2_GPIO_PORT_TX   PAL_PORT(LINE_UART2_TX)
 UART2 (GPS) 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)
 UART3 (Companion) More...
 
#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 UART4_GPIO_PORT_TX   PAL_PORT(LINE_UART4_TX)
 UART4. More...
 
#define UART4_GPIO_TX   PAL_PAD(LINE_UART4_TX)
 
#define UART4_GPIO_PORT_RX   PAL_PORT(LINE_UART4_RX)
 
#define UART4_GPIO_RX   PAL_PAD(LINE_UART4_RX)
 
#define UART4_GPIO_AF   AF_UART4_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 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 SPI1_GPIO_AF   AF_SPI1_CLK
 SPI Config. More...
 
#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_IMU_CS)
 
#define SPI_SELECT_SLAVE0_PIN   PAL_PAD(LINE_IMU_CS)
 
#define SPI_SELECT_SLAVE1_PORT   PAL_PORT(LINE_SDCARD_CS)
 
#define SPI_SELECT_SLAVE1_PIN   PAL_PAD(LINE_SDCARD_CS)
 
#define SPI_SELECT_SLAVE2_PORT   PAL_PORT(LINE_OSD_CS)
 
#define SPI_SELECT_SLAVE2_PIN   PAL_PAD(LINE_OSD_CS)
 
#define USE_BARO_BOARD   0
 Baro. More...
 
#define DEFAULT_ACTUATORS   "modules/actuators/actuators_pwm.h"
 
#define ActuatorDefaultSet(_x, _y)   ActuatorPwmSet(_x,_y)
 
#define ActuatorsDefaultInit()   ActuatorsPwmInit()
 
#define ActuatorsDefaultCommit()   ActuatorsPwmCommit()
 

Macro Definition Documentation

◆ _CONCAT_BOARD_PARAM

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

Definition at line 23 of file holybro_kakute_f7.h.

◆ ActuatorDefaultSet

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

Definition at line 415 of file holybro_kakute_f7.h.

◆ ACTUATORS_PWM_NB

#define ACTUATORS_PWM_NB   7

Definition at line 195 of file holybro_kakute_f7.h.

◆ ActuatorsDefaultCommit

#define ActuatorsDefaultCommit ( )    ActuatorsPwmCommit()

Definition at line 417 of file holybro_kakute_f7.h.

◆ ActuatorsDefaultInit

#define ActuatorsDefaultInit ( )    ActuatorsPwmInit()

Definition at line 416 of file holybro_kakute_f7.h.

◆ AD1_2_CHANNEL

#define AD1_2_CHANNEL   CONCAT_BOARD_PARAM(ADC_CHANNEL_IN, VBAT_MEAS_ADC_IN)

Definition at line 54 of file holybro_kakute_f7.h.

◆ ADC_2

#define ADC_2   AD1_2

Definition at line 55 of file holybro_kakute_f7.h.

◆ ADC_2_GPIO_PIN

#define ADC_2_GPIO_PIN   PAL_PAD(LINE_VBAT_MEAS)

Definition at line 57 of file holybro_kakute_f7.h.

◆ ADC_2_GPIO_PORT

#define ADC_2_GPIO_PORT   PAL_PORT(LINE_VBAT_MEAS)

Definition at line 56 of file holybro_kakute_f7.h.

◆ ADC_CHANNEL_VSUPPLY

#define ADC_CHANNEL_VSUPPLY   ADC_2

Definition at line 70 of file holybro_kakute_f7.h.

◆ AHB_CLK

#define AHB_CLK   STM32_HCLK

ChibiOS board file.

PPRZ definitions

Definition at line 18 of file holybro_kakute_f7.h.

◆ BOARD_HOLYBRO_KAKUTE_F7

#define BOARD_HOLYBRO_KAKUTE_F7

Definition at line 4 of file holybro_kakute_f7.h.

◆ CONCAT_BOARD_PARAM

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

Definition at line 24 of file holybro_kakute_f7.h.

◆ DEFAULT_ACTUATORS

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

Definition at line 414 of file holybro_kakute_f7.h.

◆ DefaultMilliAmpereOfAdc

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

Definition at line 85 of file holybro_kakute_f7.h.

◆ DefaultVoltageOfAdc

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

Definition at line 80 of file holybro_kakute_f7.h.

◆ DSHOT_TELEMETRY_DEV

#define DSHOT_TELEMETRY_DEV   NULL

DSHOT.

Definition at line 201 of file holybro_kakute_f7.h.

◆ I2C1_CFG_DEF

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

Definition at line 344 of file holybro_kakute_f7.h.

◆ I2C1_CLOCK_SPEED

#define I2C1_CLOCK_SPEED   400000

Definition at line 340 of file holybro_kakute_f7.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 331 of file holybro_kakute_f7.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 334 of file holybro_kakute_f7.h.

◆ LED_1_GPIO

#define LED_1_GPIO   PAL_PORT(LINE_LED1)

Definition at line 33 of file holybro_kakute_f7.h.

◆ LED_1_GPIO_OFF

#define LED_1_GPIO_OFF   gpio_clear

Definition at line 36 of file holybro_kakute_f7.h.

◆ LED_1_GPIO_ON

#define LED_1_GPIO_ON   gpio_set

Definition at line 35 of file holybro_kakute_f7.h.

◆ LED_1_GPIO_PIN

#define LED_1_GPIO_PIN   PAL_PAD(LINE_LED1)

Definition at line 34 of file holybro_kakute_f7.h.

◆ PPM_CHANNEL

#define PPM_CHANNEL   CONCAT_BOARD_PARAM(ICU_CHANNEL_, RC2_TIM_CH)

Definition at line 322 of file holybro_kakute_f7.h.

◆ PPM_TIMER

#define PPM_TIMER   CONCAT_BOARD_PARAM(ICUD, RC2_TIM)

Definition at line 323 of file holybro_kakute_f7.h.

◆ PPM_TIMER_FREQUENCY

#define PPM_TIMER_FREQUENCY   6000000

Definition at line 321 of file holybro_kakute_f7.h.

◆ PWM_SERVO_1

#define PWM_SERVO_1   1

Definition at line 119 of file holybro_kakute_f7.h.

◆ PWM_SERVO_1_AF

#define PWM_SERVO_1_AF   AF_S1

Definition at line 122 of file holybro_kakute_f7.h.

◆ PWM_SERVO_1_CHANNEL

#define PWM_SERVO_1_CHANNEL   (S1_TIM_CH-1)

Definition at line 124 of file holybro_kakute_f7.h.

◆ PWM_SERVO_1_CONF

#define PWM_SERVO_1_CONF   CONCAT_BOARD_PARAM(pwmcfg, S1_TIM)

Definition at line 125 of file holybro_kakute_f7.h.

◆ PWM_SERVO_1_DRIVER

#define PWM_SERVO_1_DRIVER   CONCAT_BOARD_PARAM(PWMD, S1_TIM)

Definition at line 123 of file holybro_kakute_f7.h.

◆ PWM_SERVO_1_GPIO

#define PWM_SERVO_1_GPIO   PAL_PORT(LINE_S1)

Definition at line 120 of file holybro_kakute_f7.h.

◆ PWM_SERVO_1_PIN

#define PWM_SERVO_1_PIN   PAL_PAD(LINE_S1)

Definition at line 121 of file holybro_kakute_f7.h.

◆ PWM_SERVO_2

#define PWM_SERVO_2   2

Definition at line 132 of file holybro_kakute_f7.h.

◆ PWM_SERVO_2_AF

#define PWM_SERVO_2_AF   AF_S2

Definition at line 135 of file holybro_kakute_f7.h.

◆ PWM_SERVO_2_CHANNEL

#define PWM_SERVO_2_CHANNEL   (S2_TIM_CH-1)

Definition at line 137 of file holybro_kakute_f7.h.

◆ PWM_SERVO_2_CONF

#define PWM_SERVO_2_CONF   CONCAT_BOARD_PARAM(pwmcfg, S2_TIM)

Definition at line 138 of file holybro_kakute_f7.h.

◆ PWM_SERVO_2_DRIVER

#define PWM_SERVO_2_DRIVER   CONCAT_BOARD_PARAM(PWMD, S2_TIM)

Definition at line 136 of file holybro_kakute_f7.h.

◆ PWM_SERVO_2_GPIO

#define PWM_SERVO_2_GPIO   PAL_PORT(LINE_S2)

Definition at line 133 of file holybro_kakute_f7.h.

◆ PWM_SERVO_2_PIN

#define PWM_SERVO_2_PIN   PAL_PAD(LINE_S2)

Definition at line 134 of file holybro_kakute_f7.h.

◆ PWM_SERVO_3

#define PWM_SERVO_3   3

Definition at line 145 of file holybro_kakute_f7.h.

◆ PWM_SERVO_3_AF

#define PWM_SERVO_3_AF   AF_S3

Definition at line 148 of file holybro_kakute_f7.h.

◆ PWM_SERVO_3_CHANNEL

#define PWM_SERVO_3_CHANNEL   (S3_TIM_CH-1)

Definition at line 150 of file holybro_kakute_f7.h.

◆ PWM_SERVO_3_CONF

#define PWM_SERVO_3_CONF   CONCAT_BOARD_PARAM(pwmcfg, S3_TIM)

Definition at line 151 of file holybro_kakute_f7.h.

◆ PWM_SERVO_3_DRIVER

#define PWM_SERVO_3_DRIVER   CONCAT_BOARD_PARAM(PWMD, S3_TIM)

Definition at line 149 of file holybro_kakute_f7.h.

◆ PWM_SERVO_3_GPIO

#define PWM_SERVO_3_GPIO   PAL_PORT(LINE_S3)

Definition at line 146 of file holybro_kakute_f7.h.

◆ PWM_SERVO_3_PIN

#define PWM_SERVO_3_PIN   PAL_PAD(LINE_S3)

Definition at line 147 of file holybro_kakute_f7.h.

◆ PWM_SERVO_4

#define PWM_SERVO_4   4

Definition at line 158 of file holybro_kakute_f7.h.

◆ PWM_SERVO_4_AF

#define PWM_SERVO_4_AF   AF_S4

Definition at line 161 of file holybro_kakute_f7.h.

◆ PWM_SERVO_4_CHANNEL

#define PWM_SERVO_4_CHANNEL   (S4_TIM_CH-1)

Definition at line 163 of file holybro_kakute_f7.h.

◆ PWM_SERVO_4_CONF

#define PWM_SERVO_4_CONF   CONCAT_BOARD_PARAM(pwmcfg, S4_TIM)

Definition at line 164 of file holybro_kakute_f7.h.

◆ PWM_SERVO_4_DRIVER

#define PWM_SERVO_4_DRIVER   CONCAT_BOARD_PARAM(PWMD, S4_TIM)

Definition at line 162 of file holybro_kakute_f7.h.

◆ PWM_SERVO_4_GPIO

#define PWM_SERVO_4_GPIO   PAL_PORT(LINE_S4)

Definition at line 159 of file holybro_kakute_f7.h.

◆ PWM_SERVO_4_PIN

#define PWM_SERVO_4_PIN   PAL_PAD(LINE_S4)

Definition at line 160 of file holybro_kakute_f7.h.

◆ PWM_SERVO_5

#define PWM_SERVO_5   5

Definition at line 171 of file holybro_kakute_f7.h.

◆ PWM_SERVO_5_AF

#define PWM_SERVO_5_AF   AF_S5

Definition at line 174 of file holybro_kakute_f7.h.

◆ PWM_SERVO_5_CHANNEL

#define PWM_SERVO_5_CHANNEL   (S5_TIM_CH-1)

Definition at line 176 of file holybro_kakute_f7.h.

◆ PWM_SERVO_5_CONF

#define PWM_SERVO_5_CONF   CONCAT_BOARD_PARAM(pwmcfg, S5_TIM)

Definition at line 177 of file holybro_kakute_f7.h.

◆ PWM_SERVO_5_DRIVER

#define PWM_SERVO_5_DRIVER   CONCAT_BOARD_PARAM(PWMD, S5_TIM)

Definition at line 175 of file holybro_kakute_f7.h.

◆ PWM_SERVO_5_GPIO

#define PWM_SERVO_5_GPIO   PAL_PORT(LINE_S5)

Definition at line 172 of file holybro_kakute_f7.h.

◆ PWM_SERVO_5_PIN

#define PWM_SERVO_5_PIN   PAL_PAD(LINE_S5)

Definition at line 173 of file holybro_kakute_f7.h.

◆ PWM_SERVO_6

#define PWM_SERVO_6   6

Definition at line 184 of file holybro_kakute_f7.h.

◆ PWM_SERVO_6_AF

#define PWM_SERVO_6_AF   AF_S6

Definition at line 187 of file holybro_kakute_f7.h.

◆ PWM_SERVO_6_CHANNEL

#define PWM_SERVO_6_CHANNEL   (S6_TIM_CH-1)

Definition at line 189 of file holybro_kakute_f7.h.

◆ PWM_SERVO_6_CONF

#define PWM_SERVO_6_CONF   CONCAT_BOARD_PARAM(pwmcfg, S6_TIM)

Definition at line 190 of file holybro_kakute_f7.h.

◆ PWM_SERVO_6_DRIVER

#define PWM_SERVO_6_DRIVER   CONCAT_BOARD_PARAM(PWMD, S6_TIM)

Definition at line 188 of file holybro_kakute_f7.h.

◆ PWM_SERVO_6_GPIO

#define PWM_SERVO_6_GPIO   PAL_PORT(LINE_S6)

Definition at line 185 of file holybro_kakute_f7.h.

◆ PWM_SERVO_6_PIN

#define PWM_SERVO_6_PIN   PAL_PAD(LINE_S6)

Definition at line 186 of file holybro_kakute_f7.h.

◆ RC_PPM_TICKS_PER_USEC

#define RC_PPM_TICKS_PER_USEC   6

PPM radio defines.

available on RC2

Definition at line 320 of file holybro_kakute_f7.h.

◆ SPEKTRUM_BIND_PIN

#define SPEKTRUM_BIND_PIN   PAL_PORT(LINE_XXX)

Definition at line 309 of file holybro_kakute_f7.h.

◆ SPEKTRUM_BIND_PIN_PORT

#define SPEKTRUM_BIND_PIN_PORT   PAL_PAD(LINE_XXX)

Definition at line 310 of file holybro_kakute_f7.h.

◆ SPEKTRUM_BIND_WAIT

#define SPEKTRUM_BIND_WAIT   30000

Definition at line 313 of file holybro_kakute_f7.h.

◆ SPI1_GPIO_AF

#define SPI1_GPIO_AF   AF_SPI1_CLK

SPI Config.

Definition at line 364 of file holybro_kakute_f7.h.

◆ SPI1_GPIO_MISO

#define SPI1_GPIO_MISO   PAL_PAD(LINE_SPI1_MISO)

Definition at line 366 of file holybro_kakute_f7.h.

◆ SPI1_GPIO_MOSI

#define SPI1_GPIO_MOSI   PAL_PAD(LINE_SPI1_MOSI)

Definition at line 368 of file holybro_kakute_f7.h.

◆ SPI1_GPIO_PORT_MISO

#define SPI1_GPIO_PORT_MISO   PAL_PORT(LINE_SPI1_MISO)

Definition at line 365 of file holybro_kakute_f7.h.

◆ SPI1_GPIO_PORT_MOSI

#define SPI1_GPIO_PORT_MOSI   PAL_PORT(LINE_SPI1_MOSI)

Definition at line 367 of file holybro_kakute_f7.h.

◆ SPI1_GPIO_PORT_SCK

#define SPI1_GPIO_PORT_SCK   PAL_PORT(LINE_SPI1_CLK)

Definition at line 369 of file holybro_kakute_f7.h.

◆ SPI1_GPIO_SCK

#define SPI1_GPIO_SCK   PAL_PAD(LINE_SPI1_CLK)

Definition at line 370 of file holybro_kakute_f7.h.

◆ SPI2_GPIO_AF

#define SPI2_GPIO_AF   AF_SPI2_CLK

Definition at line 373 of file holybro_kakute_f7.h.

◆ SPI2_GPIO_MISO

#define SPI2_GPIO_MISO   PAL_PAD(LINE_SPI2_MISO)

Definition at line 375 of file holybro_kakute_f7.h.

◆ SPI2_GPIO_MOSI

#define SPI2_GPIO_MOSI   PAL_PAD(LINE_SPI2_MOSI)

Definition at line 377 of file holybro_kakute_f7.h.

◆ SPI2_GPIO_PORT_MISO

#define SPI2_GPIO_PORT_MISO   PAL_PORT(LINE_SPI2_MISO)

Definition at line 374 of file holybro_kakute_f7.h.

◆ SPI2_GPIO_PORT_MOSI

#define SPI2_GPIO_PORT_MOSI   PAL_PORT(LINE_SPI2_MOSI)

Definition at line 376 of file holybro_kakute_f7.h.

◆ SPI2_GPIO_PORT_SCK

#define SPI2_GPIO_PORT_SCK   PAL_PORT(LINE_SPI2_CLK)

Definition at line 378 of file holybro_kakute_f7.h.

◆ SPI2_GPIO_SCK

#define SPI2_GPIO_SCK   PAL_PAD(LINE_SPI2_CLK)

Definition at line 379 of file holybro_kakute_f7.h.

◆ SPI4_GPIO_AF

#define SPI4_GPIO_AF   AF_SPI4_INTERNAL_CLK

Definition at line 382 of file holybro_kakute_f7.h.

◆ SPI4_GPIO_MISO

#define SPI4_GPIO_MISO   PAL_PAD(LINE_SPI4_INTERNAL_MISO)

Definition at line 384 of file holybro_kakute_f7.h.

◆ SPI4_GPIO_MOSI

#define SPI4_GPIO_MOSI   PAL_PAD(LINE_SPI4_INTERNAL_MOSI)

Definition at line 386 of file holybro_kakute_f7.h.

◆ SPI4_GPIO_PORT_MISO

#define SPI4_GPIO_PORT_MISO   PAL_PORT(LINE_SPI4_INTERNAL_MISO)

Definition at line 383 of file holybro_kakute_f7.h.

◆ SPI4_GPIO_PORT_MOSI

#define SPI4_GPIO_PORT_MOSI   PAL_PORT(LINE_SPI4_INTERNAL_MOSI)

Definition at line 385 of file holybro_kakute_f7.h.

◆ SPI4_GPIO_PORT_SCK

#define SPI4_GPIO_PORT_SCK   PAL_PORT(LINE_SPI4_INTERNAL_CLK)

Definition at line 387 of file holybro_kakute_f7.h.

◆ SPI4_GPIO_SCK

#define SPI4_GPIO_SCK   PAL_PAD(LINE_SPI4_INTERNAL_CLK)

Definition at line 388 of file holybro_kakute_f7.h.

◆ SPI_SELECT_SLAVE0_PIN

#define SPI_SELECT_SLAVE0_PIN   PAL_PAD(LINE_IMU_CS)

Definition at line 392 of file holybro_kakute_f7.h.

◆ SPI_SELECT_SLAVE0_PORT

#define SPI_SELECT_SLAVE0_PORT   PAL_PORT(LINE_IMU_CS)

Definition at line 391 of file holybro_kakute_f7.h.

◆ SPI_SELECT_SLAVE1_PIN

#define SPI_SELECT_SLAVE1_PIN   PAL_PAD(LINE_SDCARD_CS)

Definition at line 395 of file holybro_kakute_f7.h.

◆ SPI_SELECT_SLAVE1_PORT

#define SPI_SELECT_SLAVE1_PORT   PAL_PORT(LINE_SDCARD_CS)

Definition at line 394 of file holybro_kakute_f7.h.

◆ SPI_SELECT_SLAVE2_PIN

#define SPI_SELECT_SLAVE2_PIN   PAL_PAD(LINE_OSD_CS)

Definition at line 398 of file holybro_kakute_f7.h.

◆ SPI_SELECT_SLAVE2_PORT

#define SPI_SELECT_SLAVE2_PORT   PAL_PORT(LINE_OSD_CS)

Definition at line 397 of file holybro_kakute_f7.h.

◆ STM32_CR1_DNF

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

I2C defines.

Definition at line 329 of file holybro_kakute_f7.h.

◆ UART1_GPIO_AF

#define UART1_GPIO_AF   AF_UART1_TX

Definition at line 267 of file holybro_kakute_f7.h.

◆ UART1_GPIO_PORT_RX

#define UART1_GPIO_PORT_RX   PAL_PORT(LINE_UART1_RX)

Definition at line 265 of file holybro_kakute_f7.h.

◆ UART1_GPIO_PORT_TX

#define UART1_GPIO_PORT_TX   PAL_PORT(LINE_UART1_TX)

UART1 (Modem)

Definition at line 263 of file holybro_kakute_f7.h.

◆ UART1_GPIO_RX

#define UART1_GPIO_RX   PAL_PAD(LINE_UART1_RX)

Definition at line 266 of file holybro_kakute_f7.h.

◆ UART1_GPIO_TX

#define UART1_GPIO_TX   PAL_PAD(LINE_UART1_TX)

Definition at line 264 of file holybro_kakute_f7.h.

◆ UART2_GPIO_AF

#define UART2_GPIO_AF   AF_UART2_TX

Definition at line 277 of file holybro_kakute_f7.h.

◆ UART2_GPIO_PORT_RX

#define UART2_GPIO_PORT_RX   PAL_PORT(LINE_UART2_RX)

Definition at line 275 of file holybro_kakute_f7.h.

◆ UART2_GPIO_PORT_TX

#define UART2_GPIO_PORT_TX   PAL_PORT(LINE_UART2_TX)

UART2 (GPS)

Definition at line 273 of file holybro_kakute_f7.h.

◆ UART2_GPIO_RX

#define UART2_GPIO_RX   PAL_PAD(LINE_UART2_RX)

Definition at line 276 of file holybro_kakute_f7.h.

◆ UART2_GPIO_TX

#define UART2_GPIO_TX   PAL_PAD(LINE_UART2_TX)

Definition at line 274 of file holybro_kakute_f7.h.

◆ UART3_GPIO_AF

#define UART3_GPIO_AF   AF_UART3_TX

Definition at line 286 of file holybro_kakute_f7.h.

◆ UART3_GPIO_PORT_RX

#define UART3_GPIO_PORT_RX   PAL_PORT(LINE_UART3_RX)

Definition at line 284 of file holybro_kakute_f7.h.

◆ UART3_GPIO_PORT_TX

#define UART3_GPIO_PORT_TX   PAL_PORT(LINE_UART3_TX)

UART3 (Companion)

Definition at line 282 of file holybro_kakute_f7.h.

◆ UART3_GPIO_RX

#define UART3_GPIO_RX   PAL_PAD(LINE_UART3_RX)

Definition at line 285 of file holybro_kakute_f7.h.

◆ UART3_GPIO_TX

#define UART3_GPIO_TX   PAL_PAD(LINE_UART3_TX)

Definition at line 283 of file holybro_kakute_f7.h.

◆ UART4_GPIO_AF

#define UART4_GPIO_AF   AF_UART4_TX

Definition at line 295 of file holybro_kakute_f7.h.

◆ UART4_GPIO_PORT_RX

#define UART4_GPIO_PORT_RX   PAL_PORT(LINE_UART4_RX)

Definition at line 293 of file holybro_kakute_f7.h.

◆ UART4_GPIO_PORT_TX

#define UART4_GPIO_PORT_TX   PAL_PORT(LINE_UART4_TX)

UART4.

Definition at line 291 of file holybro_kakute_f7.h.

◆ UART4_GPIO_RX

#define UART4_GPIO_RX   PAL_PAD(LINE_UART4_RX)

Definition at line 294 of file holybro_kakute_f7.h.

◆ UART4_GPIO_TX

#define UART4_GPIO_TX   PAL_PAD(LINE_UART4_TX)

Definition at line 292 of file holybro_kakute_f7.h.

◆ UART6_GPIO_AF

#define UART6_GPIO_AF   RC1_USART_AF

Definition at line 305 of file holybro_kakute_f7.h.

◆ UART6_GPIO_PORT_RX

#define UART6_GPIO_PORT_RX   PAL_PORT(LINE_RC1)

Definition at line 303 of file holybro_kakute_f7.h.

◆ UART6_GPIO_RX

#define UART6_GPIO_RX   PAL_PAD(LINE_RC1)

Definition at line 304 of file holybro_kakute_f7.h.

◆ USE_ADC_2

#define USE_ADC_2   1

Definition at line 51 of file holybro_kakute_f7.h.

◆ USE_BARO_BOARD

#define USE_BARO_BOARD   0

Baro.

Apparently needed for backwards compatibility with the ancient onboard baro boards

Definition at line 407 of file holybro_kakute_f7.h.

◆ USE_DSHOT_TIM

#define USE_DSHOT_TIM   0

Definition at line 205 of file holybro_kakute_f7.h.

◆ USE_LED_1

#define USE_LED_1   1

Definition at line 31 of file holybro_kakute_f7.h.

◆ USE_PWM1

#define USE_PWM1   1

Definition at line 116 of file holybro_kakute_f7.h.

◆ USE_PWM2

#define USE_PWM2   1

Definition at line 129 of file holybro_kakute_f7.h.

◆ USE_PWM3

#define USE_PWM3   1

Definition at line 142 of file holybro_kakute_f7.h.

◆ USE_PWM4

#define USE_PWM4   1

Definition at line 155 of file holybro_kakute_f7.h.

◆ USE_PWM5

#define USE_PWM5   1

Definition at line 168 of file holybro_kakute_f7.h.

◆ USE_PWM6

#define USE_PWM6   1

Definition at line 181 of file holybro_kakute_f7.h.

◆ USE_PWM_TIM1

#define USE_PWM_TIM1   1

Definition at line 92 of file holybro_kakute_f7.h.

◆ USE_PWM_TIM3

#define USE_PWM_TIM3   1

Definition at line 96 of file holybro_kakute_f7.h.

◆ USE_PWM_TIM4

#define USE_PWM_TIM4   1

Definition at line 100 of file holybro_kakute_f7.h.

◆ USE_PWM_TIM5

#define USE_PWM_TIM5   1

Definition at line 104 of file holybro_kakute_f7.h.

◆ USE_PWM_TIM8

#define USE_PWM_TIM8   1

Definition at line 108 of file holybro_kakute_f7.h.

◆ USE_UART6_RX

#define USE_UART6_RX   TRUE

SBUS / Spektrum port.

Definition at line 301 of file holybro_kakute_f7.h.

◆ USE_UART6_TX

#define USE_UART6_TX   FALSE

Definition at line 302 of file holybro_kakute_f7.h.

◆ VBAT_R1

#define VBAT_R1   1000.0f

Definition at line 78 of file holybro_kakute_f7.h.

◆ VBAT_R2

#define VBAT_R2   10000.0f

Definition at line 79 of file holybro_kakute_f7.h.