Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
nucleo144_f767zi.h File Reference
+ Include dependency graph for nucleo144_f767zi.h:

Go to the source code of this file.

Macros

#define BOARD_NUCLEO144_F767ZI
 
#define AHB_CLK   STM32_HCLK
 based on Tawaki project 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_LED_3   0
 
#define LED_3_GPIO   PAL_PORT(LINE_LED3)
 
#define LED_3_GPIO_PIN   PAL_PAD(LINE_LED3)
 
#define LED_3_GPIO_ON   gpio_set
 
#define LED_3_GPIO_OFF   gpio_clear
 
#define USE_ADC_9   1
 
#define AD1_9_CHANNEL   CONCAT_BOARD_PARAM(ADC_CHANNEL_IN, VBAT_MEAS_ADC_IN)
 
#define ADC_9   AD1_9
 
#define ADC_9_GPIO_PORT   PAL_PORT(LINE_VBAT_MEAS)
 
#define ADC_9_GPIO_PIN   PAL_PAD(LINE_VBAT_MEAS)
 
#define ADC_CHANNEL_VSUPPLY   ADC_9
 
#define VBAT_R1   2200.0f
 
#define VBAT_R2   12000.0f
 
#define DefaultVoltageOfAdc(adc)   ((3.3f/4096.0f)*((VBAT_R1+VBAT_R2)/VBAT_R1)*adc)
 
#define USE_PWM1   1
 
#define PWM_SERVO_1   1
 
#define PWM_SERVO_1_GPIO   PAL_PORT(LINE_SRVA1)
 
#define PWM_SERVO_1_PIN   PAL_PAD(LINE_SRVA1)
 
#define PWM_SERVO_1_AF   AF_SRVA1
 
#define PWM_SERVO_1_DRIVER   CONCAT_BOARD_PARAM(PWMD, SRVA1_TIM)
 
#define PWM_SERVO_1_CHANNEL   (SRVA1_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_SRVA2)
 
#define PWM_SERVO_2_PIN   PAL_PAD(LINE_SRVA2)
 
#define PWM_SERVO_2_AF   AF_SRVA2
 
#define PWM_SERVO_2_DRIVER   CONCAT_BOARD_PARAM(PWMD, SRVA2_TIM)
 
#define PWM_SERVO_2_CHANNEL   (SRVA2_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_SRVA3)
 
#define PWM_SERVO_3_PIN   PAL_PAD(LINE_SRVA3)
 
#define PWM_SERVO_3_AF   AF_SRVA3
 
#define PWM_SERVO_3_DRIVER   CONCAT_BOARD_PARAM(PWMD, SRVA3_TIM)
 
#define PWM_SERVO_3_CHANNEL   (SRVA3_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_SRVA4)
 
#define PWM_SERVO_4_PIN   PAL_PAD(LINE_SRVA4)
 
#define PWM_SERVO_4_AF   AF_SRVA4
 
#define PWM_SERVO_4_DRIVER   CONCAT_BOARD_PARAM(PWMD, SRVA4_TIM)
 
#define PWM_SERVO_4_CHANNEL   (SRVA4_TIM_CH-1)
 
#define PWM_SERVO_4_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH
 
#define USE_PWM5   0
 
#define PWM_SERVO_5_ACTIVE   PWM_OUTPUT_DISABLED
 
#define USE_PWM6   0
 
#define PWM_SERVO_6_ACTIVE   PWM_OUTPUT_DISABLED
 
#define USE_PWM7   0
 
#define PWM_SERVO_7_ACTIVE   PWM_OUTPUT_DISABLED
 
#define USE_PWM8   0
 
#define PWM_SERVO_8_ACTIVE   PWM_OUTPUT_DISABLED
 
#define USE_PWM9   0
 
#define PWM_SERVO_9_ACTIVE   PWM_OUTPUT_DISABLED
 
#define USE_PWM10   0
 
#define PWM_SERVO_10_ACTIVE   PWM_OUTPUT_DISABLED
 
#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 USE_PWM13   0
 
#define PWM_SERVO_13_ACTIVE   PWM_OUTPUT_DISABLED
 
#define USE_PWM14   0
 
#define PWM_SERVO_14_ACTIVE   PWM_OUTPUT_DISABLED
 
#define USE_PWM16   0
 
#define PWM_SERVO_16_ACTIVE   PWM_OUTPUT_DISABLED
 
#define ACTUATORS_PWM_NB   17
 
#define PWM_CONF_TIM1   1
 
#define PWM_CONF1_DEF
 
#define PWM_CONF_TIM3   1
 
#define PWM_CONF3_DEF
 
#define PWM_CONF_TIM4   1
 
#define PWM_CONF4_DEF
 
#define PWM_CONF_TIM5   1
 
#define PWM_CONF5_DEF
 
#define DSHOT_TELEMETRY_DEV   NULL
 DSHOT. More...
 
#define USE_DSHOT_TIM4   1
 
#define DSHOT_SERVO_1   1
 
#define DSHOT_SERVO_1_GPIO   PAL_PORT(LINE_SRVB1)
 
#define DSHOT_SERVO_1_PIN   PAL_PAD(LINE_SRVB1)
 
#define DSHOT_SERVO_1_AF   AF_SRVB1
 
#define DSHOT_SERVO_1_DRIVER   CONCAT_BOARD_PARAM(DSHOTD, SRVB1_TIM)
 
#define DSHOT_SERVO_1_CHANNEL   SRVB1_TIM_CH
 
#define DSHOT_SERVO_2   2
 
#define DSHOT_SERVO_2_GPIO   PAL_PORT(LINE_SRVB2)
 
#define DSHOT_SERVO_2_PIN   PAL_PAD(LINE_SRVB2)
 
#define DSHOT_SERVO_2_AF   AF_SRVB2
 
#define DSHOT_SERVO_2_DRIVER   CONCAT_BOARD_PARAM(DSHOTD, SRVB2_TIM)
 
#define DSHOT_SERVO_2_CHANNEL   SRVB2_TIM_CH
 
#define DSHOT_SERVO_3   3
 
#define DSHOT_SERVO_3_GPIO   PAL_PORT(LINE_SRVB3)
 
#define DSHOT_SERVO_3_PIN   PAL_PAD(LINE_SRVB3)
 
#define DSHOT_SERVO_3_AF   AF_SRVB3
 
#define DSHOT_SERVO_3_DRIVER   CONCAT_BOARD_PARAM(DSHOTD, SRVB3_TIM)
 
#define DSHOT_SERVO_3_CHANNEL   SRVB3_TIM_CH
 
#define DSHOT_SERVO_4   4
 
#define DSHOT_SERVO_4_GPIO   PAL_PORT(LINE_SRVB4)
 
#define DSHOT_SERVO_4_PIN   PAL_PAD(LINE_SRVB4)
 
#define DSHOT_SERVO_4_AF   AF_SRVB4
 
#define DSHOT_SERVO_4_DRIVER   CONCAT_BOARD_PARAM(DSHOTD, SRVB4_TIM)
 
#define DSHOT_SERVO_4_CHANNEL   SRVB4_TIM_CH
 
#define DSHOT_CONF_TIM4   1
 
#define DSHOT_CONF4_DEF
 
#define UART2_GPIO_PORT_TX   PAL_PORT(LINE_UART2_TX)
 UART2 (Modem with optional flow control on AUXa disabled 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 UART2_HW_FLOW_CONTROL   FALSE
 
#define UART3_GPIO_PORT_TX   PAL_PORT(LINE_UART3_TX)
 UART7 (GPS) and UART3 (Companion) are configured as UART from ChibiOS board file by default. 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 UART7_GPIO_PORT_TX   PAL_PORT(LINE_UART7_TX)
 
#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 UART4_GPIO_PORT_TX   PAL_PORT(LINE_AUX_A1)
 UART4 on AUXa (not configured by default) More...
 
#define UART4_GPIO_TX   PAL_PAD(LINE_AUX_A1)
 
#define UART4_GPIO_PORT_RX   PAL_PORT(LINE_AUX_A2)
 
#define UART4_GPIO_RX   PAL_PAD(LINE_AUX_A2)
 
#define UART4_GPIO_AF   AUX_A1_UART_AF
 
#define USE_UART8_RX   TRUE
 SBUS / Spektrum port. More...
 
#define USE_UART8_TX   FALSE
 
#define UART8_GPIO_PORT_RX   PAL_PORT(LINE_RC1)
 
#define UART8_GPIO_RX   PAL_PAD(LINE_RC1)
 
#define UART8_GPIO_AF   RC1_UART_AF
 
#define USE_UART6_RX   TRUE
 
#define USE_UART6_TX   FALSE
 
#define UART6_GPIO_PORT_RX   PAL_PORT(LINE_RC2)
 
#define UART6_GPIO_RX   PAL_PAD(LINE_RC2)
 
#define UART6_GPIO_AF   RC2_USART_AF
 
#define SPEKTRUM_BIND_PIN   PAL_PORT(LINE_AUX_B4)
 
#define SPEKTRUM_BIND_PIN_PORT   PAL_PAD(LINE_AUX_B4)
 
#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   ICUD2
 
#define PWM_INPUT1_CHANNEL   ICU_CHANNEL_1
 
#define PWM_INPUT1_GPIO_PORT   PAL_PORT(LINE_AUX_A1)
 
#define PWM_INPUT1_GPIO_PIN   PAL_PAD(LINE_AUX_A1)
 
#define PWM_INPUT1_GPIO_AF   GPIO_AF1
 
#define PWM_INPUT2_ICU   ICUD5
 
#define PWM_INPUT2_CHANNEL   ICU_CHANNEL_2
 
#define PWM_INPUT2_GPIO_PORT   PAL_PORT(LINE_AUX_A2)
 
#define PWM_INPUT2_GPIO_PIN   PAL_PAD(LINE_AUX_A2)
 
#define PWM_INPUT2_GPIO_AF   GPIO_AF2
 
#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 I2C4_CLOCK_SPEED   400000
 
#define I2C4_CFG_DEF
 
#define I2C2_CLOCK_SPEED   400000
 
#define I2C2_CFG_DEF
 
#define SPI4_GPIO_AF   AF_SPI4_INTERNAL_CLK
 SPI Config. More...
 
#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 SPI2_GPIO_AF   AF_SPI2_EXTERNAL_CLK
 
#define SPI2_GPIO_PORT_MISO   PAL_PORT(LINE_SPI2_EXTERNAL_MISO)
 
#define SPI2_GPIO_MISO   PAL_PAD(LINE_SPI2_EXTERNAL_MISO)
 
#define SPI2_GPIO_PORT_MOSI   PAL_PORT(LINE_SPI2_EXTERNAL_MOSI)
 
#define SPI2_GPIO_MOSI   PAL_PAD(LINE_SPI2_EXTERNAL_MOSI)
 
#define SPI2_GPIO_PORT_SCK   PAL_PORT(LINE_SPI2_EXTERNAL_CLK)
 
#define SPI2_GPIO_SCK   PAL_PAD(LINE_SPI2_EXTERNAL_CLK)
 
#define SPI_SELECT_SLAVE0_PORT   PAL_PORT(LINE_SPI2_EXTERNAL_CS)
 
#define SPI_SELECT_SLAVE0_PIN   PAL_PAD(LINE_SPI2_EXTERNAL_CS)
 
#define SPI_SELECT_SLAVE1_PORT   PAL_PORT(LINE_AUX_B1)
 
#define SPI_SELECT_SLAVE1_PIN   PAL_PAD(LINE_AUX_B1)
 
#define SPI_SELECT_SLAVE2_PORT   PAL_PORT(LINE_AUX_B2)
 
#define SPI_SELECT_SLAVE2_PIN   PAL_PAD(LINE_AUX_B2)
 
#define SPI_SELECT_SLAVE4_PORT   PAL_PORT(LINE_AUX_B4)
 
#define SPI_SELECT_SLAVE4_PIN   PAL_PAD(LINE_AUX_B4)
 
#define SPI_SELECT_SLAVE5_PORT   PAL_PORT(LINE_SPI4_INTERNAL_CS)
 
#define SPI_SELECT_SLAVE5_PIN   PAL_PAD(LINE_SPI4_INTERNAL_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   4
 
#define SDLOG_USB_VBUS_PORT   PAL_PORT(LINE_USB_VBUS)
 
#define SDLOG_USB_VBUS_PIN   PAL_PAD(LINE_USB_VBUS)
 
#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_AUX_A1)
 For WS2812. More...
 
#define WS2812D1_PIN   PAL_PAD(LINE_AUX_A1)
 
#define WS2812D1_AF   2
 
#define WS2812D1_CFG_DEF
 

Macro Definition Documentation

◆ _CONCAT_BOARD_PARAM

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

Definition at line 27 of file nucleo144_f767zi.h.

◆ ActuatorDefaultSet

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

Definition at line 819 of file nucleo144_f767zi.h.

◆ ACTUATORS_PWM_NB

#define ACTUATORS_PWM_NB   17

Definition at line 402 of file nucleo144_f767zi.h.

◆ ActuatorsDefaultCommit

#define ActuatorsDefaultCommit ( )    ActuatorsPwmCommit()

Definition at line 821 of file nucleo144_f767zi.h.

◆ ActuatorsDefaultInit

#define ActuatorsDefaultInit ( )    ActuatorsPwmInit()

Definition at line 820 of file nucleo144_f767zi.h.

◆ AD1_9_CHANNEL

#define AD1_9_CHANNEL   CONCAT_BOARD_PARAM(ADC_CHANNEL_IN, VBAT_MEAS_ADC_IN)

Definition at line 132 of file nucleo144_f767zi.h.

◆ ADC_9

#define ADC_9   AD1_9

Definition at line 133 of file nucleo144_f767zi.h.

◆ ADC_9_GPIO_PIN

#define ADC_9_GPIO_PIN   PAL_PAD(LINE_VBAT_MEAS)

Definition at line 135 of file nucleo144_f767zi.h.

◆ ADC_9_GPIO_PORT

#define ADC_9_GPIO_PORT   PAL_PORT(LINE_VBAT_MEAS)

Definition at line 134 of file nucleo144_f767zi.h.

◆ ADC_CHANNEL_VSUPPLY

#define ADC_CHANNEL_VSUPPLY   ADC_9

Definition at line 140 of file nucleo144_f767zi.h.

◆ AHB_CLK

#define AHB_CLK   STM32_HCLK

based on Tawaki project

ChibiOS board file PPRZ definitions

Definition at line 22 of file nucleo144_f767zi.h.

◆ BOARD_NUCLEO144_F767ZI

#define BOARD_NUCLEO144_F767ZI

Definition at line 4 of file nucleo144_f767zi.h.

◆ CONCAT_BOARD_PARAM

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

Definition at line 28 of file nucleo144_f767zi.h.

◆ DEFAULT_ACTUATORS

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

Definition at line 818 of file nucleo144_f767zi.h.

◆ DefaultVoltageOfAdc

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

Definition at line 150 of file nucleo144_f767zi.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 524 of file nucleo144_f767zi.h.

◆ DSHOT_CONF_TIM4

#define DSHOT_CONF_TIM4   1

Definition at line 523 of file nucleo144_f767zi.h.

◆ DSHOT_SERVO_1

#define DSHOT_SERVO_1   1

Definition at line 495 of file nucleo144_f767zi.h.

◆ DSHOT_SERVO_1_AF

#define DSHOT_SERVO_1_AF   AF_SRVB1

Definition at line 498 of file nucleo144_f767zi.h.

◆ DSHOT_SERVO_1_CHANNEL

#define DSHOT_SERVO_1_CHANNEL   SRVB1_TIM_CH

Definition at line 500 of file nucleo144_f767zi.h.

◆ DSHOT_SERVO_1_DRIVER

#define DSHOT_SERVO_1_DRIVER   CONCAT_BOARD_PARAM(DSHOTD, SRVB1_TIM)

Definition at line 499 of file nucleo144_f767zi.h.

◆ DSHOT_SERVO_1_GPIO

#define DSHOT_SERVO_1_GPIO   PAL_PORT(LINE_SRVB1)

Definition at line 496 of file nucleo144_f767zi.h.

◆ DSHOT_SERVO_1_PIN

#define DSHOT_SERVO_1_PIN   PAL_PAD(LINE_SRVB1)

Definition at line 497 of file nucleo144_f767zi.h.

◆ DSHOT_SERVO_2

#define DSHOT_SERVO_2   2

Definition at line 502 of file nucleo144_f767zi.h.

◆ DSHOT_SERVO_2_AF

#define DSHOT_SERVO_2_AF   AF_SRVB2

Definition at line 505 of file nucleo144_f767zi.h.

◆ DSHOT_SERVO_2_CHANNEL

#define DSHOT_SERVO_2_CHANNEL   SRVB2_TIM_CH

Definition at line 507 of file nucleo144_f767zi.h.

◆ DSHOT_SERVO_2_DRIVER

#define DSHOT_SERVO_2_DRIVER   CONCAT_BOARD_PARAM(DSHOTD, SRVB2_TIM)

Definition at line 506 of file nucleo144_f767zi.h.

◆ DSHOT_SERVO_2_GPIO

#define DSHOT_SERVO_2_GPIO   PAL_PORT(LINE_SRVB2)

Definition at line 503 of file nucleo144_f767zi.h.

◆ DSHOT_SERVO_2_PIN

#define DSHOT_SERVO_2_PIN   PAL_PAD(LINE_SRVB2)

Definition at line 504 of file nucleo144_f767zi.h.

◆ DSHOT_SERVO_3

#define DSHOT_SERVO_3   3

Definition at line 509 of file nucleo144_f767zi.h.

◆ DSHOT_SERVO_3_AF

#define DSHOT_SERVO_3_AF   AF_SRVB3

Definition at line 512 of file nucleo144_f767zi.h.

◆ DSHOT_SERVO_3_CHANNEL

#define DSHOT_SERVO_3_CHANNEL   SRVB3_TIM_CH

Definition at line 514 of file nucleo144_f767zi.h.

◆ DSHOT_SERVO_3_DRIVER

#define DSHOT_SERVO_3_DRIVER   CONCAT_BOARD_PARAM(DSHOTD, SRVB3_TIM)

Definition at line 513 of file nucleo144_f767zi.h.

◆ DSHOT_SERVO_3_GPIO

#define DSHOT_SERVO_3_GPIO   PAL_PORT(LINE_SRVB3)

Definition at line 510 of file nucleo144_f767zi.h.

◆ DSHOT_SERVO_3_PIN

#define DSHOT_SERVO_3_PIN   PAL_PAD(LINE_SRVB3)

Definition at line 511 of file nucleo144_f767zi.h.

◆ DSHOT_SERVO_4

#define DSHOT_SERVO_4   4

Definition at line 516 of file nucleo144_f767zi.h.

◆ DSHOT_SERVO_4_AF

#define DSHOT_SERVO_4_AF   AF_SRVB4

Definition at line 519 of file nucleo144_f767zi.h.

◆ DSHOT_SERVO_4_CHANNEL

#define DSHOT_SERVO_4_CHANNEL   SRVB4_TIM_CH

Definition at line 521 of file nucleo144_f767zi.h.

◆ DSHOT_SERVO_4_DRIVER

#define DSHOT_SERVO_4_DRIVER   CONCAT_BOARD_PARAM(DSHOTD, SRVB4_TIM)

Definition at line 520 of file nucleo144_f767zi.h.

◆ DSHOT_SERVO_4_GPIO

#define DSHOT_SERVO_4_GPIO   PAL_PORT(LINE_SRVB4)

Definition at line 517 of file nucleo144_f767zi.h.

◆ DSHOT_SERVO_4_PIN

#define DSHOT_SERVO_4_PIN   PAL_PAD(LINE_SRVB4)

Definition at line 518 of file nucleo144_f767zi.h.

◆ DSHOT_TELEMETRY_DEV

#define DSHOT_TELEMETRY_DEV   NULL

DSHOT.

Definition at line 485 of file nucleo144_f767zi.h.

◆ I2C2_CFG_DEF

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

Definition at line 723 of file nucleo144_f767zi.h.

◆ I2C2_CLOCK_SPEED

#define I2C2_CLOCK_SPEED   400000

Definition at line 719 of file nucleo144_f767zi.h.

◆ I2C4_CFG_DEF

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

Definition at line 701 of file nucleo144_f767zi.h.

◆ I2C4_CLOCK_SPEED

#define I2C4_CLOCK_SPEED   400000

Definition at line 697 of file nucleo144_f767zi.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 686 of file nucleo144_f767zi.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 689 of file nucleo144_f767zi.h.

◆ LED_1_GPIO

#define LED_1_GPIO   PAL_PORT(LINE_LED1)

Definition at line 37 of file nucleo144_f767zi.h.

◆ LED_1_GPIO_OFF

#define LED_1_GPIO_OFF   gpio_clear

Definition at line 40 of file nucleo144_f767zi.h.

◆ LED_1_GPIO_ON

#define LED_1_GPIO_ON   gpio_set

Definition at line 39 of file nucleo144_f767zi.h.

◆ LED_1_GPIO_PIN

#define LED_1_GPIO_PIN   PAL_PAD(LINE_LED1)

Definition at line 38 of file nucleo144_f767zi.h.

◆ LED_2_GPIO

#define LED_2_GPIO   PAL_PORT(LINE_LED2)

Definition at line 46 of file nucleo144_f767zi.h.

◆ LED_2_GPIO_OFF

#define LED_2_GPIO_OFF   gpio_clear

Definition at line 49 of file nucleo144_f767zi.h.

◆ LED_2_GPIO_ON

#define LED_2_GPIO_ON   gpio_set

Definition at line 48 of file nucleo144_f767zi.h.

◆ LED_2_GPIO_PIN

#define LED_2_GPIO_PIN   PAL_PAD(LINE_LED2)

Definition at line 47 of file nucleo144_f767zi.h.

◆ LED_3_GPIO

#define LED_3_GPIO   PAL_PORT(LINE_LED3)

Definition at line 55 of file nucleo144_f767zi.h.

◆ LED_3_GPIO_OFF

#define LED_3_GPIO_OFF   gpio_clear

Definition at line 58 of file nucleo144_f767zi.h.

◆ LED_3_GPIO_ON

#define LED_3_GPIO_ON   gpio_set

Definition at line 57 of file nucleo144_f767zi.h.

◆ LED_3_GPIO_PIN

#define LED_3_GPIO_PIN   PAL_PAD(LINE_LED3)

Definition at line 56 of file nucleo144_f767zi.h.

◆ PPM_CHANNEL

#define PPM_CHANNEL   CONCAT_BOARD_PARAM(ICU_CHANNEL_, RC2_TIM_CH)

Definition at line 660 of file nucleo144_f767zi.h.

◆ PPM_TIMER

#define PPM_TIMER   CONCAT_BOARD_PARAM(ICUD, RC2_TIM)

Definition at line 661 of file nucleo144_f767zi.h.

◆ PPM_TIMER_FREQUENCY

#define PPM_TIMER_FREQUENCY   6000000

Definition at line 659 of file nucleo144_f767zi.h.

◆ PWM_CONF1_DEF

#define PWM_CONF1_DEF
Value:
{ \
PWM_FREQUENCY, \
PWM_FREQUENCY/TIM1_SERVO_HZ, \
NULL, \
{ \
{ PWM_SERVO_1_ACTIVE, NULL }, \
{ PWM_SERVO_2_ACTIVE, NULL }, \
{ PWM_SERVO_3_ACTIVE, NULL }, \
{ PWM_SERVO_4_ACTIVE, NULL }, \
}, \
0, \
0 \
}

Definition at line 410 of file nucleo144_f767zi.h.

◆ PWM_CONF3_DEF

#define PWM_CONF3_DEF
Value:
{ \
PWM_FREQUENCY, \
PWM_FREQUENCY/TIM3_SERVO_HZ, \
NULL, \
{ \
{ PWM_SERVO_12_ACTIVE, NULL }, \
{ PWM_SERVO_14_ACTIVE, NULL }, \
{ PWM_SERVO_15_ACTIVE, NULL }, \
{ PWM_SERVO_16_ACTIVE, NULL }, \
}, \
0, \
0 \
}

Definition at line 429 of file nucleo144_f767zi.h.

◆ PWM_CONF4_DEF

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

Definition at line 448 of file nucleo144_f767zi.h.

◆ PWM_CONF5_DEF

#define PWM_CONF5_DEF
Value:
{ \
PWM_FREQUENCY, \
PWM_FREQUENCY/TIM5_SERVO_HZ, \
NULL, \
{ \
{ PWM_SERVO_9_ACTIVE, NULL }, \
{ PWM_SERVO_10_ACTIVE, NULL }, \
{ PWM_SERVO_11_ACTIVE, NULL }, \
{ PWM_SERVO_13_ACTIVE, NULL }, \
}, \
0, \
0 \
}

Definition at line 467 of file nucleo144_f767zi.h.

◆ PWM_CONF_TIM1

#define PWM_CONF_TIM1   1

Definition at line 408 of file nucleo144_f767zi.h.

◆ PWM_CONF_TIM3

#define PWM_CONF_TIM3   1

Definition at line 427 of file nucleo144_f767zi.h.

◆ PWM_CONF_TIM4

#define PWM_CONF_TIM4   1

Definition at line 446 of file nucleo144_f767zi.h.

◆ PWM_CONF_TIM5

#define PWM_CONF_TIM5   1

Definition at line 465 of file nucleo144_f767zi.h.

◆ PWM_INPUT1_CHANNEL

#define PWM_INPUT1_CHANNEL   ICU_CHANNEL_1

Definition at line 668 of file nucleo144_f767zi.h.

◆ PWM_INPUT1_GPIO_AF

#define PWM_INPUT1_GPIO_AF   GPIO_AF1

Definition at line 671 of file nucleo144_f767zi.h.

◆ PWM_INPUT1_GPIO_PIN

#define PWM_INPUT1_GPIO_PIN   PAL_PAD(LINE_AUX_A1)

Definition at line 670 of file nucleo144_f767zi.h.

◆ PWM_INPUT1_GPIO_PORT

#define PWM_INPUT1_GPIO_PORT   PAL_PORT(LINE_AUX_A1)

Definition at line 669 of file nucleo144_f767zi.h.

◆ PWM_INPUT1_ICU

#define PWM_INPUT1_ICU   ICUD2

Definition at line 667 of file nucleo144_f767zi.h.

◆ PWM_INPUT2_CHANNEL

#define PWM_INPUT2_CHANNEL   ICU_CHANNEL_2

Definition at line 675 of file nucleo144_f767zi.h.

◆ PWM_INPUT2_GPIO_AF

#define PWM_INPUT2_GPIO_AF   GPIO_AF2

Definition at line 678 of file nucleo144_f767zi.h.

◆ PWM_INPUT2_GPIO_PIN

#define PWM_INPUT2_GPIO_PIN   PAL_PAD(LINE_AUX_A2)

Definition at line 677 of file nucleo144_f767zi.h.

◆ PWM_INPUT2_GPIO_PORT

#define PWM_INPUT2_GPIO_PORT   PAL_PORT(LINE_AUX_A2)

Definition at line 676 of file nucleo144_f767zi.h.

◆ PWM_INPUT2_ICU

#define PWM_INPUT2_ICU   ICUD5

Definition at line 674 of file nucleo144_f767zi.h.

◆ PWM_SERVO_1

#define PWM_SERVO_1   1

Definition at line 162 of file nucleo144_f767zi.h.

◆ PWM_SERVO_10_ACTIVE

#define PWM_SERVO_10_ACTIVE   PWM_OUTPUT_DISABLED

Definition at line 307 of file nucleo144_f767zi.h.

◆ PWM_SERVO_11_ACTIVE

#define PWM_SERVO_11_ACTIVE   PWM_OUTPUT_DISABLED

Definition at line 322 of file nucleo144_f767zi.h.

◆ PWM_SERVO_12_ACTIVE

#define PWM_SERVO_12_ACTIVE   PWM_OUTPUT_DISABLED

Definition at line 337 of file nucleo144_f767zi.h.

◆ PWM_SERVO_13_ACTIVE

#define PWM_SERVO_13_ACTIVE   PWM_OUTPUT_DISABLED

Definition at line 352 of file nucleo144_f767zi.h.

◆ PWM_SERVO_14_ACTIVE

#define PWM_SERVO_14_ACTIVE   PWM_OUTPUT_DISABLED

Definition at line 367 of file nucleo144_f767zi.h.

◆ PWM_SERVO_16_ACTIVE

#define PWM_SERVO_16_ACTIVE   PWM_OUTPUT_DISABLED

Definition at line 397 of file nucleo144_f767zi.h.

◆ PWM_SERVO_1_ACTIVE

#define PWM_SERVO_1_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 168 of file nucleo144_f767zi.h.

◆ PWM_SERVO_1_AF

#define PWM_SERVO_1_AF   AF_SRVA1

Definition at line 165 of file nucleo144_f767zi.h.

◆ PWM_SERVO_1_CHANNEL

#define PWM_SERVO_1_CHANNEL   (SRVA1_TIM_CH-1)

Definition at line 167 of file nucleo144_f767zi.h.

◆ PWM_SERVO_1_DRIVER

#define PWM_SERVO_1_DRIVER   CONCAT_BOARD_PARAM(PWMD, SRVA1_TIM)

Definition at line 166 of file nucleo144_f767zi.h.

◆ PWM_SERVO_1_GPIO

#define PWM_SERVO_1_GPIO   PAL_PORT(LINE_SRVA1)

Definition at line 163 of file nucleo144_f767zi.h.

◆ PWM_SERVO_1_PIN

#define PWM_SERVO_1_PIN   PAL_PAD(LINE_SRVA1)

Definition at line 164 of file nucleo144_f767zi.h.

◆ PWM_SERVO_2

#define PWM_SERVO_2   2

Definition at line 177 of file nucleo144_f767zi.h.

◆ PWM_SERVO_2_ACTIVE

#define PWM_SERVO_2_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 183 of file nucleo144_f767zi.h.

◆ PWM_SERVO_2_AF

#define PWM_SERVO_2_AF   AF_SRVA2

Definition at line 180 of file nucleo144_f767zi.h.

◆ PWM_SERVO_2_CHANNEL

#define PWM_SERVO_2_CHANNEL   (SRVA2_TIM_CH-1)

Definition at line 182 of file nucleo144_f767zi.h.

◆ PWM_SERVO_2_DRIVER

#define PWM_SERVO_2_DRIVER   CONCAT_BOARD_PARAM(PWMD, SRVA2_TIM)

Definition at line 181 of file nucleo144_f767zi.h.

◆ PWM_SERVO_2_GPIO

#define PWM_SERVO_2_GPIO   PAL_PORT(LINE_SRVA2)

Definition at line 178 of file nucleo144_f767zi.h.

◆ PWM_SERVO_2_PIN

#define PWM_SERVO_2_PIN   PAL_PAD(LINE_SRVA2)

Definition at line 179 of file nucleo144_f767zi.h.

◆ PWM_SERVO_3

#define PWM_SERVO_3   3

Definition at line 192 of file nucleo144_f767zi.h.

◆ PWM_SERVO_3_ACTIVE

#define PWM_SERVO_3_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 198 of file nucleo144_f767zi.h.

◆ PWM_SERVO_3_AF

#define PWM_SERVO_3_AF   AF_SRVA3

Definition at line 195 of file nucleo144_f767zi.h.

◆ PWM_SERVO_3_CHANNEL

#define PWM_SERVO_3_CHANNEL   (SRVA3_TIM_CH-1)

Definition at line 197 of file nucleo144_f767zi.h.

◆ PWM_SERVO_3_DRIVER

#define PWM_SERVO_3_DRIVER   CONCAT_BOARD_PARAM(PWMD, SRVA3_TIM)

Definition at line 196 of file nucleo144_f767zi.h.

◆ PWM_SERVO_3_GPIO

#define PWM_SERVO_3_GPIO   PAL_PORT(LINE_SRVA3)

Definition at line 193 of file nucleo144_f767zi.h.

◆ PWM_SERVO_3_PIN

#define PWM_SERVO_3_PIN   PAL_PAD(LINE_SRVA3)

Definition at line 194 of file nucleo144_f767zi.h.

◆ PWM_SERVO_4

#define PWM_SERVO_4   4

Definition at line 207 of file nucleo144_f767zi.h.

◆ PWM_SERVO_4_ACTIVE

#define PWM_SERVO_4_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 213 of file nucleo144_f767zi.h.

◆ PWM_SERVO_4_AF

#define PWM_SERVO_4_AF   AF_SRVA4

Definition at line 210 of file nucleo144_f767zi.h.

◆ PWM_SERVO_4_CHANNEL

#define PWM_SERVO_4_CHANNEL   (SRVA4_TIM_CH-1)

Definition at line 212 of file nucleo144_f767zi.h.

◆ PWM_SERVO_4_DRIVER

#define PWM_SERVO_4_DRIVER   CONCAT_BOARD_PARAM(PWMD, SRVA4_TIM)

Definition at line 211 of file nucleo144_f767zi.h.

◆ PWM_SERVO_4_GPIO

#define PWM_SERVO_4_GPIO   PAL_PORT(LINE_SRVA4)

Definition at line 208 of file nucleo144_f767zi.h.

◆ PWM_SERVO_4_PIN

#define PWM_SERVO_4_PIN   PAL_PAD(LINE_SRVA4)

Definition at line 209 of file nucleo144_f767zi.h.

◆ PWM_SERVO_5_ACTIVE

#define PWM_SERVO_5_ACTIVE   PWM_OUTPUT_DISABLED

Definition at line 232 of file nucleo144_f767zi.h.

◆ PWM_SERVO_6_ACTIVE

#define PWM_SERVO_6_ACTIVE   PWM_OUTPUT_DISABLED

Definition at line 247 of file nucleo144_f767zi.h.

◆ PWM_SERVO_7_ACTIVE

#define PWM_SERVO_7_ACTIVE   PWM_OUTPUT_DISABLED

Definition at line 262 of file nucleo144_f767zi.h.

◆ PWM_SERVO_8_ACTIVE

#define PWM_SERVO_8_ACTIVE   PWM_OUTPUT_DISABLED

Definition at line 277 of file nucleo144_f767zi.h.

◆ PWM_SERVO_9_ACTIVE

#define PWM_SERVO_9_ACTIVE   PWM_OUTPUT_DISABLED

Definition at line 292 of file nucleo144_f767zi.h.

◆ RC_PPM_TICKS_PER_USEC

#define RC_PPM_TICKS_PER_USEC   6

PPM radio defines.

available on RC2

Definition at line 658 of file nucleo144_f767zi.h.

◆ SDIO_AF

#define SDIO_AF   AF_SDMMC1_CK

Definition at line 804 of file nucleo144_f767zi.h.

◆ SDIO_CK_PIN

#define SDIO_CK_PIN   PAL_PAD(LINE_SDMMC1_CK)

Definition at line 801 of file nucleo144_f767zi.h.

◆ SDIO_CK_PORT

#define SDIO_CK_PORT   PAL_PORT(LINE_SDMMC1_CK)

Definition at line 800 of file nucleo144_f767zi.h.

◆ SDIO_CMD_PIN

#define SDIO_CMD_PIN   PAL_PAD(LINE_SDMMC1_CMD)

Definition at line 803 of file nucleo144_f767zi.h.

◆ SDIO_CMD_PORT

#define SDIO_CMD_PORT   PAL_PORT(LINE_SDMMC1_CMD)

Definition at line 802 of file nucleo144_f767zi.h.

◆ SDIO_D0_PIN

#define SDIO_D0_PIN   PAL_PAD(LINE_SDMMC1_D0)

Definition at line 793 of file nucleo144_f767zi.h.

◆ SDIO_D0_PORT

#define SDIO_D0_PORT   PAL_PORT(LINE_SDMMC1_D0)

SDIO.

Definition at line 792 of file nucleo144_f767zi.h.

◆ SDIO_D1_PIN

#define SDIO_D1_PIN   PAL_PAD(LINE_SDMMC1_D1)

Definition at line 795 of file nucleo144_f767zi.h.

◆ SDIO_D1_PORT

#define SDIO_D1_PORT   PAL_PORT(LINE_SDMMC1_D1)

Definition at line 794 of file nucleo144_f767zi.h.

◆ SDIO_D2_PIN

#define SDIO_D2_PIN   PAL_PAD(LINE_SDMMC1_D2)

Definition at line 797 of file nucleo144_f767zi.h.

◆ SDIO_D2_PORT

#define SDIO_D2_PORT   PAL_PORT(LINE_SDMMC1_D2)

Definition at line 796 of file nucleo144_f767zi.h.

◆ SDIO_D3_PIN

#define SDIO_D3_PIN   PAL_PAD(LINE_SDMMC1_D3)

Definition at line 799 of file nucleo144_f767zi.h.

◆ SDIO_D3_PORT

#define SDIO_D3_PORT   PAL_PORT(LINE_SDMMC1_D3)

Definition at line 798 of file nucleo144_f767zi.h.

◆ SDLOG_BAT_ADC

#define SDLOG_BAT_ADC   CONCAT_BOARD_PARAM(ADCD, VBAT_MEAS_ADC)

Definition at line 806 of file nucleo144_f767zi.h.

◆ SDLOG_BAT_CHAN

#define SDLOG_BAT_CHAN   CONCAT_BOARD_PARAM(ADC_CHANNEL_IN, VBAT_MEAS_ADC_IN)

Definition at line 807 of file nucleo144_f767zi.h.

◆ SDLOG_USB_LED

#define SDLOG_USB_LED   4

Definition at line 809 of file nucleo144_f767zi.h.

◆ SDLOG_USB_VBUS_PIN

#define SDLOG_USB_VBUS_PIN   PAL_PAD(LINE_USB_VBUS)

Definition at line 811 of file nucleo144_f767zi.h.

◆ SDLOG_USB_VBUS_PORT

#define SDLOG_USB_VBUS_PORT   PAL_PORT(LINE_USB_VBUS)

Definition at line 810 of file nucleo144_f767zi.h.

◆ SPEKTRUM_BIND_PIN

#define SPEKTRUM_BIND_PIN   PAL_PORT(LINE_AUX_B4)

Definition at line 647 of file nucleo144_f767zi.h.

◆ SPEKTRUM_BIND_PIN_PORT

#define SPEKTRUM_BIND_PIN_PORT   PAL_PAD(LINE_AUX_B4)

Definition at line 648 of file nucleo144_f767zi.h.

◆ SPEKTRUM_BIND_WAIT

#define SPEKTRUM_BIND_WAIT   30000

Definition at line 651 of file nucleo144_f767zi.h.

◆ SPI2_GPIO_AF

#define SPI2_GPIO_AF   AF_SPI2_EXTERNAL_CLK

Definition at line 752 of file nucleo144_f767zi.h.

◆ SPI2_GPIO_MISO

#define SPI2_GPIO_MISO   PAL_PAD(LINE_SPI2_EXTERNAL_MISO)

Definition at line 754 of file nucleo144_f767zi.h.

◆ SPI2_GPIO_MOSI

#define SPI2_GPIO_MOSI   PAL_PAD(LINE_SPI2_EXTERNAL_MOSI)

Definition at line 756 of file nucleo144_f767zi.h.

◆ SPI2_GPIO_PORT_MISO

#define SPI2_GPIO_PORT_MISO   PAL_PORT(LINE_SPI2_EXTERNAL_MISO)

Definition at line 753 of file nucleo144_f767zi.h.

◆ SPI2_GPIO_PORT_MOSI

#define SPI2_GPIO_PORT_MOSI   PAL_PORT(LINE_SPI2_EXTERNAL_MOSI)

Definition at line 755 of file nucleo144_f767zi.h.

◆ SPI2_GPIO_PORT_SCK

#define SPI2_GPIO_PORT_SCK   PAL_PORT(LINE_SPI2_EXTERNAL_CLK)

Definition at line 757 of file nucleo144_f767zi.h.

◆ SPI2_GPIO_SCK

#define SPI2_GPIO_SCK   PAL_PAD(LINE_SPI2_EXTERNAL_CLK)

Definition at line 758 of file nucleo144_f767zi.h.

◆ SPI4_GPIO_AF

#define SPI4_GPIO_AF   AF_SPI4_INTERNAL_CLK

SPI Config.

Definition at line 743 of file nucleo144_f767zi.h.

◆ SPI4_GPIO_MISO

#define SPI4_GPIO_MISO   PAL_PAD(LINE_SPI4_INTERNAL_MISO)

Definition at line 745 of file nucleo144_f767zi.h.

◆ SPI4_GPIO_MOSI

#define SPI4_GPIO_MOSI   PAL_PAD(LINE_SPI4_INTERNAL_MOSI)

Definition at line 747 of file nucleo144_f767zi.h.

◆ SPI4_GPIO_PORT_MISO

#define SPI4_GPIO_PORT_MISO   PAL_PORT(LINE_SPI4_INTERNAL_MISO)

Definition at line 744 of file nucleo144_f767zi.h.

◆ SPI4_GPIO_PORT_MOSI

#define SPI4_GPIO_PORT_MOSI   PAL_PORT(LINE_SPI4_INTERNAL_MOSI)

Definition at line 746 of file nucleo144_f767zi.h.

◆ SPI4_GPIO_PORT_SCK

#define SPI4_GPIO_PORT_SCK   PAL_PORT(LINE_SPI4_INTERNAL_CLK)

Definition at line 748 of file nucleo144_f767zi.h.

◆ SPI4_GPIO_SCK

#define SPI4_GPIO_SCK   PAL_PAD(LINE_SPI4_INTERNAL_CLK)

Definition at line 749 of file nucleo144_f767zi.h.

◆ SPI_SELECT_SLAVE0_PIN

#define SPI_SELECT_SLAVE0_PIN   PAL_PAD(LINE_SPI2_EXTERNAL_CS)

Definition at line 762 of file nucleo144_f767zi.h.

◆ SPI_SELECT_SLAVE0_PORT

#define SPI_SELECT_SLAVE0_PORT   PAL_PORT(LINE_SPI2_EXTERNAL_CS)

Definition at line 761 of file nucleo144_f767zi.h.

◆ SPI_SELECT_SLAVE1_PIN

#define SPI_SELECT_SLAVE1_PIN   PAL_PAD(LINE_AUX_B1)

Definition at line 765 of file nucleo144_f767zi.h.

◆ SPI_SELECT_SLAVE1_PORT

#define SPI_SELECT_SLAVE1_PORT   PAL_PORT(LINE_AUX_B1)

Definition at line 764 of file nucleo144_f767zi.h.

◆ SPI_SELECT_SLAVE2_PIN

#define SPI_SELECT_SLAVE2_PIN   PAL_PAD(LINE_AUX_B2)

Definition at line 768 of file nucleo144_f767zi.h.

◆ SPI_SELECT_SLAVE2_PORT

#define SPI_SELECT_SLAVE2_PORT   PAL_PORT(LINE_AUX_B2)

Definition at line 767 of file nucleo144_f767zi.h.

◆ SPI_SELECT_SLAVE4_PIN

#define SPI_SELECT_SLAVE4_PIN   PAL_PAD(LINE_AUX_B4)

Definition at line 774 of file nucleo144_f767zi.h.

◆ SPI_SELECT_SLAVE4_PORT

#define SPI_SELECT_SLAVE4_PORT   PAL_PORT(LINE_AUX_B4)

Definition at line 773 of file nucleo144_f767zi.h.

◆ SPI_SELECT_SLAVE5_PIN

#define SPI_SELECT_SLAVE5_PIN   PAL_PAD(LINE_SPI4_INTERNAL_CS)

Definition at line 777 of file nucleo144_f767zi.h.

◆ SPI_SELECT_SLAVE5_PORT

#define SPI_SELECT_SLAVE5_PORT   PAL_PORT(LINE_SPI4_INTERNAL_CS)

Definition at line 776 of file nucleo144_f767zi.h.

◆ STM32_CR1_DNF

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

I2C defines.

Definition at line 684 of file nucleo144_f767zi.h.

◆ UART2_GPIO_AF

#define UART2_GPIO_AF   AF_UART2_TX

Definition at line 584 of file nucleo144_f767zi.h.

◆ UART2_GPIO_PORT_RX

#define UART2_GPIO_PORT_RX   PAL_PORT(LINE_UART2_RX)

Definition at line 582 of file nucleo144_f767zi.h.

◆ UART2_GPIO_PORT_TX

#define UART2_GPIO_PORT_TX   PAL_PORT(LINE_UART2_TX)

UART2 (Modem with optional flow control on AUXa disabled by default)

Definition at line 580 of file nucleo144_f767zi.h.

◆ UART2_GPIO_RX

#define UART2_GPIO_RX   PAL_PAD(LINE_UART2_RX)

Definition at line 583 of file nucleo144_f767zi.h.

◆ UART2_GPIO_TX

#define UART2_GPIO_TX   PAL_PAD(LINE_UART2_TX)

Definition at line 581 of file nucleo144_f767zi.h.

◆ UART2_HW_FLOW_CONTROL

#define UART2_HW_FLOW_CONTROL   FALSE

Definition at line 586 of file nucleo144_f767zi.h.

◆ UART3_GPIO_AF

#define UART3_GPIO_AF   AF_UART3_TX

Definition at line 598 of file nucleo144_f767zi.h.

◆ UART3_GPIO_PORT_RX

#define UART3_GPIO_PORT_RX   PAL_PORT(LINE_UART3_RX)

Definition at line 596 of file nucleo144_f767zi.h.

◆ UART3_GPIO_PORT_TX

#define UART3_GPIO_PORT_TX   PAL_PORT(LINE_UART3_TX)

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

Definition at line 594 of file nucleo144_f767zi.h.

◆ UART3_GPIO_RX

#define UART3_GPIO_RX   PAL_PAD(LINE_UART3_RX)

Definition at line 597 of file nucleo144_f767zi.h.

◆ UART3_GPIO_TX

#define UART3_GPIO_TX   PAL_PAD(LINE_UART3_TX)

Definition at line 595 of file nucleo144_f767zi.h.

◆ UART4_GPIO_AF

#define UART4_GPIO_AF   AUX_A1_UART_AF

Definition at line 614 of file nucleo144_f767zi.h.

◆ UART4_GPIO_PORT_RX

#define UART4_GPIO_PORT_RX   PAL_PORT(LINE_AUX_A2)

Definition at line 612 of file nucleo144_f767zi.h.

◆ UART4_GPIO_PORT_TX

#define UART4_GPIO_PORT_TX   PAL_PORT(LINE_AUX_A1)

UART4 on AUXa (not configured by default)

Definition at line 610 of file nucleo144_f767zi.h.

◆ UART4_GPIO_RX

#define UART4_GPIO_RX   PAL_PAD(LINE_AUX_A2)

Definition at line 613 of file nucleo144_f767zi.h.

◆ UART4_GPIO_TX

#define UART4_GPIO_TX   PAL_PAD(LINE_AUX_A1)

Definition at line 611 of file nucleo144_f767zi.h.

◆ UART6_GPIO_AF

#define UART6_GPIO_AF   RC2_USART_AF

Definition at line 642 of file nucleo144_f767zi.h.

◆ UART6_GPIO_PORT_RX

#define UART6_GPIO_PORT_RX   PAL_PORT(LINE_RC2)

Definition at line 640 of file nucleo144_f767zi.h.

◆ UART6_GPIO_RX

#define UART6_GPIO_RX   PAL_PAD(LINE_RC2)

Definition at line 641 of file nucleo144_f767zi.h.

◆ UART7_GPIO_AF

#define UART7_GPIO_AF   AF_UART7_TX

Definition at line 604 of file nucleo144_f767zi.h.

◆ UART7_GPIO_PORT_RX

#define UART7_GPIO_PORT_RX   PAL_PORT(LINE_UART7_RX)

Definition at line 602 of file nucleo144_f767zi.h.

◆ UART7_GPIO_PORT_TX

#define UART7_GPIO_PORT_TX   PAL_PORT(LINE_UART7_TX)

Definition at line 600 of file nucleo144_f767zi.h.

◆ UART7_GPIO_RX

#define UART7_GPIO_RX   PAL_PAD(LINE_UART7_RX)

Definition at line 603 of file nucleo144_f767zi.h.

◆ UART7_GPIO_TX

#define UART7_GPIO_TX   PAL_PAD(LINE_UART7_TX)

Definition at line 601 of file nucleo144_f767zi.h.

◆ UART8_GPIO_AF

#define UART8_GPIO_AF   RC1_UART_AF

Definition at line 635 of file nucleo144_f767zi.h.

◆ UART8_GPIO_PORT_RX

#define UART8_GPIO_PORT_RX   PAL_PORT(LINE_RC1)

Definition at line 633 of file nucleo144_f767zi.h.

◆ UART8_GPIO_RX

#define UART8_GPIO_RX   PAL_PAD(LINE_RC1)

Definition at line 634 of file nucleo144_f767zi.h.

◆ USE_ADC_9

#define USE_ADC_9   1

Definition at line 129 of file nucleo144_f767zi.h.

◆ USE_BARO_BOARD

#define USE_BARO_BOARD   0

Baro.

Apparently needed for backwards compatibility with the ancient onboard baro boards

Definition at line 786 of file nucleo144_f767zi.h.

◆ USE_DSHOT_TIM4

#define USE_DSHOT_TIM4   1

Definition at line 489 of file nucleo144_f767zi.h.

◆ USE_LED_1

#define USE_LED_1   1

Definition at line 35 of file nucleo144_f767zi.h.

◆ USE_LED_2

#define USE_LED_2   1

Definition at line 44 of file nucleo144_f767zi.h.

◆ USE_LED_3

#define USE_LED_3   0

Definition at line 53 of file nucleo144_f767zi.h.

◆ USE_PWM1

#define USE_PWM1   1

Definition at line 159 of file nucleo144_f767zi.h.

◆ USE_PWM10

#define USE_PWM10   0

Definition at line 296 of file nucleo144_f767zi.h.

◆ USE_PWM11

#define USE_PWM11   0

Definition at line 311 of file nucleo144_f767zi.h.

◆ USE_PWM12

#define USE_PWM12   0

Definition at line 326 of file nucleo144_f767zi.h.

◆ USE_PWM13

#define USE_PWM13   0

Definition at line 341 of file nucleo144_f767zi.h.

◆ USE_PWM14

#define USE_PWM14   0

Definition at line 356 of file nucleo144_f767zi.h.

◆ USE_PWM16

#define USE_PWM16   0

Definition at line 386 of file nucleo144_f767zi.h.

◆ USE_PWM2

#define USE_PWM2   1

Definition at line 174 of file nucleo144_f767zi.h.

◆ USE_PWM3

#define USE_PWM3   1

Definition at line 189 of file nucleo144_f767zi.h.

◆ USE_PWM4

#define USE_PWM4   1

Definition at line 204 of file nucleo144_f767zi.h.

◆ USE_PWM5

#define USE_PWM5   0

Definition at line 221 of file nucleo144_f767zi.h.

◆ USE_PWM6

#define USE_PWM6   0

Definition at line 236 of file nucleo144_f767zi.h.

◆ USE_PWM7

#define USE_PWM7   0

Definition at line 251 of file nucleo144_f767zi.h.

◆ USE_PWM8

#define USE_PWM8   0

Definition at line 266 of file nucleo144_f767zi.h.

◆ USE_PWM9

#define USE_PWM9   0

Definition at line 281 of file nucleo144_f767zi.h.

◆ USE_UART6_RX

#define USE_UART6_RX   TRUE

Definition at line 638 of file nucleo144_f767zi.h.

◆ USE_UART6_TX

#define USE_UART6_TX   FALSE

Definition at line 639 of file nucleo144_f767zi.h.

◆ USE_UART8_RX

#define USE_UART8_RX   TRUE

SBUS / Spektrum port.

Recommended config:

primary SBUS port is UART8, a.k.a. RC1 on Nucleo144_f767zi board secondary port (in dual driver) is UART6, a.k.a. RC2 on Nucleo144_f767zi board

primary Spektrum port is UART6, a.k.a. RC2 on Nucleo144_f767zi board secondary port is UART8, a.k.a. RC1 on Nucleo144_f767zi board

Definition at line 629 of file nucleo144_f767zi.h.

◆ USE_UART8_TX

#define USE_UART8_TX   FALSE

Definition at line 631 of file nucleo144_f767zi.h.

◆ VBAT_R1

#define VBAT_R1   2200.0f

Definition at line 148 of file nucleo144_f767zi.h.

◆ VBAT_R2

#define VBAT_R2   12000.0f

Definition at line 149 of file nucleo144_f767zi.h.

◆ WS2812D1_AF

#define WS2812D1_AF   2

Definition at line 828 of file nucleo144_f767zi.h.

◆ WS2812D1_CFG_DEF

#define WS2812D1_CFG_DEF
Value:
{ \
.dma_stream = STM32_PWM5_UP_DMA_STREAM, \
.dma_channel = STM32_PWM5_UP_DMA_CHANNEL, \
.dma_priority = STM32_PWM5_UP_DMA_PRIORITY, \
.pwm_channel = 0, \
.pwmp = &PWMD5 \
}

Definition at line 829 of file nucleo144_f767zi.h.

◆ WS2812D1_GPIO

#define WS2812D1_GPIO   PAL_PORT(LINE_AUX_A1)

For WS2812.

Definition at line 826 of file nucleo144_f767zi.h.

◆ WS2812D1_PIN

#define WS2812D1_PIN   PAL_PAD(LINE_AUX_A1)

Definition at line 827 of file nucleo144_f767zi.h.

STM32_PWM5_UP_DMA_PRIORITY
#define STM32_PWM5_UP_DMA_PRIORITY
Definition: mcuconf.h:339
PWM_SERVO_2_ACTIVE
#define PWM_SERVO_2_ACTIVE
Definition: nucleo144_f767zi.h:183
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_5_ACTIVE
#define PWM_SERVO_5_ACTIVE
Definition: nucleo144_f767zi.h:232
PWM_SERVO_10_ACTIVE
#define PWM_SERVO_10_ACTIVE
Definition: nucleo144_f767zi.h:307
PWM_SERVO_6_ACTIVE
#define PWM_SERVO_6_ACTIVE
Definition: nucleo144_f767zi.h:247
PWM_SERVO_14_ACTIVE
#define PWM_SERVO_14_ACTIVE
Definition: nucleo144_f767zi.h:367
I2C_FAST_400KHZ_DNF0_100NS_PCLK54MHZ_TIMINGR
#define I2C_FAST_400KHZ_DNF0_100NS_PCLK54MHZ_TIMINGR
Definition: nucleo144_f767zi.h:686
TIM3_SERVO_HZ
#define TIM3_SERVO_HZ
Definition: actuators_pwm_arch.h:63
STM32_CR1_DNF
#define STM32_CR1_DNF(n)
I2C defines.
Definition: nucleo144_f767zi.h:684
PWM_SERVO_1_ACTIVE
#define PWM_SERVO_1_ACTIVE
Definition: nucleo144_f767zi.h:168
PWM_SERVO_12_ACTIVE
#define PWM_SERVO_12_ACTIVE
Definition: nucleo144_f767zi.h:337
PWM_SERVO_9_ACTIVE
#define PWM_SERVO_9_ACTIVE
Definition: nucleo144_f767zi.h:292
PWM_SERVO_3_ACTIVE
#define PWM_SERVO_3_ACTIVE
Definition: nucleo144_f767zi.h:198
TIM1_SERVO_HZ
#define TIM1_SERVO_HZ
Definition: actuators_pwm_arch.h:57
PWM_SERVO_11_ACTIVE
#define PWM_SERVO_11_ACTIVE
Definition: nucleo144_f767zi.h:322
PWM_SERVO_8_ACTIVE
#define PWM_SERVO_8_ACTIVE
Definition: nucleo144_f767zi.h:277
STM32_PWM5_UP_DMA_CHANNEL
#define STM32_PWM5_UP_DMA_CHANNEL
Definition: mcuconf.h:337
PWM_SERVO_16_ACTIVE
#define PWM_SERVO_16_ACTIVE
Definition: nucleo144_f767zi.h:397
PWM_SERVO_15_ACTIVE
#define PWM_SERVO_15_ACTIVE
Definition: tawaki.h:387
STM32_PWM4_UP_DMA_CHANNEL
#define STM32_PWM4_UP_DMA_CHANNEL
Definition: mcuconf.h:332
PWM_SERVO_4_ACTIVE
#define PWM_SERVO_4_ACTIVE
Definition: nucleo144_f767zi.h:213
DSHOT_TELEMETRY_DEV
#define DSHOT_TELEMETRY_DEV
DSHOT.
Definition: nucleo144_f767zi.h:485
TIM4_SERVO_HZ
#define TIM4_SERVO_HZ
Definition: actuators_pwm_arch.h:66
PWM_SERVO_7_ACTIVE
#define PWM_SERVO_7_ACTIVE
Definition: nucleo144_f767zi.h:262
STM32_PWM5_UP_DMA_STREAM
#define STM32_PWM5_UP_DMA_STREAM
Definition: mcuconf.h:336
PWM_SERVO_13_ACTIVE
#define PWM_SERVO_13_ACTIVE
Definition: nucleo144_f767zi.h:352