Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
px4fmu_4.0.h File Reference

Go to the source code of this file.

Macros

#define BOARD_PX4FMU_V4
 
#define EXT_CLK   24000000
 
#define AHB_CLK   168000000
 
#define USE_LED_1   1
 
#define LED_1_GPIO   GPIOB
 
#define LED_1_GPIO_PIN   GPIO11
 
#define LED_1_GPIO_ON   gpio_clear
 
#define LED_1_GPIO_OFF   gpio_set
 
#define LED_1_AFIO_REMAP   ((void)0)
 
#define USE_LED_2   1
 
#define LED_2_GPIO   GPIOB
 
#define LED_2_GPIO_PIN   GPIO1
 
#define LED_2_GPIO_ON   gpio_clear
 
#define LED_2_GPIO_OFF   gpio_set
 
#define LED_2_AFIO_REMAP   ((void)0)
 
#define USE_LED_3   1
 
#define LED_3_GPIO   GPIOB
 
#define LED_3_GPIO_PIN   GPIO3
 
#define LED_3_GPIO_ON   gpio_clear
 
#define LED_3_GPIO_OFF   gpio_set
 
#define LED_3_AFIO_REMAP   ((void)0)
 
#define UART1_GPIO_AF   GPIO_AF7
 
#define UART1_GPIO_PORT_RX   GPIOB
 
#define UART1_GPIO_RX   GPIO7
 
#define UART1_GPIO_PORT_TX   GPIOB
 
#define UART1_GPIO_TX   GPIO6
 
#define UART2_GPIO_AF   GPIO_AF7
 
#define UART2_GPIO_PORT_RX   GPIOD
 
#define UART2_GPIO_RX   GPIO6
 
#define UART2_GPIO_PORT_TX   GPIOD
 
#define UART2_GPIO_TX   GPIO5
 
#define UART2_GPIO_PORT_CTS   GPIOD
 
#define UART2_GPIO_CTS   GPIO3
 
#define UART2_GPIO_PORT_RTS   GPIOD
 
#define UART2_GPIO_RTS   GPIO4
 
#define UART3_GPIO_AF   GPIO_AF7
 
#define UART3_GPIO_PORT_RX   GPIOD
 
#define UART3_GPIO_RX   GPIO9
 
#define UART3_GPIO_PORT_TX   GPIOD
 
#define UART3_GPIO_TX   GPIO8
 
#define UART3_GPIO_PORT_CTS   GPIOD
 
#define UART3_GPIO_CTS   GPIO11
 
#define UART3_GPIO_PORT_RTS   GPIOD
 
#define UART3_GPIO_RTS   GPIO12
 
#define UART4_GPIO_AF   GPIO_AF8
 
#define UART4_GPIO_PORT_RX   GPIOA
 
#define UART4_GPIO_RX   GPIO1
 
#define UART4_GPIO_PORT_TX   GPIOA
 
#define UART4_GPIO_TX   GPIO0
 
#define UART6_GPIO_AF   GPIO_AF8
 
#define UART6_GPIO_PORT_RX   GPIOC
 
#define UART6_GPIO_RX   GPIO7
 
#define UART7_GPIO_AF   GPIO_AF8
 
#define UART7_GPIO_PORT_RX   GPIOE
 
#define UART7_GPIO_RX   GPIO7
 
#define UART7_GPIO_PORT_TX   GPIOE
 
#define UART7_GPIO_TX   GPIO8
 
#define UART8_GPIO_AF   GPIO_AF8
 
#define UART8_GPIO_PORT_RX   GPIOE
 
#define UART8_GPIO_RX   GPIO0
 
#define UART8_GPIO_PORT_TX   GPIOE
 
#define UART8_GPIO_TX   GPIO1
 
#define RADIO_CONTROL_POWER_PORT   GPIOE
 
#define RADIO_CONTROL_POWER_PIN   GPIO4
 
#define RADIO_CONTROL_POWER_ON   gpio_clear
 
#define RADIO_CONTROL_POWER_OFF   gpio_set
 
#define PERIPHERAL3V3_ENABLE_PORT   GPIOC
 
#define PERIPHERAL3V3_ENABLE_PIN   GPIO5
 
#define PERIPHERAL3V3_ENABLE_ON   gpio_set
 
#define PERIPHERAL3V3_ENABLE_OFF   gpio_clear
 
#define RC_POLARITY_GPIO_PORT   GPIOC
 
#define RC_POLARITY_GPIO_PIN   GPIO13
 
#define SPEKTRUM_UART6_RCC   RCC_USART6
 
#define SPEKTRUM_UART6_BANK   GPIOC
 
#define SPEKTRUM_UART6_PIN   GPIO7
 
#define SPEKTRUM_UART6_AF   GPIO_AF8
 
#define SPEKTRUM_UART6_IRQ   NVIC_USART6_IRQ
 
#define SPEKTRUM_UART6_ISR   usart6_isr
 
#define SPEKTRUM_UART6_DEV   USART6
 
#define SPI1_GPIO_AF   GPIO_AF5
 
#define SPI1_GPIO_PORT_MISO   GPIOA
 
#define SPI1_GPIO_MISO   GPIO6
 
#define SPI1_GPIO_PORT_MOSI   GPIOA
 
#define SPI1_GPIO_MOSI   GPIO7
 
#define SPI1_GPIO_PORT_SCK   GPIOA
 
#define SPI1_GPIO_SCK   GPIO5
 
#define SPI2_GPIO_AF   GPIO_AF5
 
#define SPI2_GPIO_PORT_MISO   GPIOB
 
#define SPI2_GPIO_MISO   GPIO14
 
#define SPI2_GPIO_PORT_MOSI   GPIOB
 
#define SPI2_GPIO_MOSI   GPIO15
 
#define SPI2_GPIO_PORT_SCK   GPIOB
 
#define SPI2_GPIO_SCK   GPIO10
 
#define SPI_SELECT_SLAVE0_PORT   GPIOC
 
#define SPI_SELECT_SLAVE0_PIN   GPIO15
 
#define SPI_SELECT_SLAVE1_PORT   GPIOE
 
#define SPI_SELECT_SLAVE1_PIN   GPIO15
 
#define SPI_SELECT_SLAVE2_PORT   GPIOC
 
#define SPI_SELECT_SLAVE2_PIN   GPIO2
 
#define SPI_SELECT_SLAVE3_PORT   GPIOD
 
#define SPI_SELECT_SLAVE3_PIN   GPIO7
 
#define SPI_SELECT_SLAVE4_PORT   GPIOD
 
#define SPI_SELECT_SLAVE4_PIN   GPIO10
 
#define SDIO_AF   GPIO_AF12
 
#define SDIO_D0_PORT   GPIOC
 
#define SDIO_D0_PIN   GPIO8
 
#define SDIO_D1_PORT   GPIOC
 
#define SDIO_D1_PIN   GPIO9
 
#define SDIO_D2_PORT   GPIOC
 
#define SDIO_D2_PIN   GPIO10
 
#define SDIO_D3_PORT   GPIOC
 
#define SDIO_D3_PIN   GPIO11
 
#define SDIO_CK_PORT   GPIOC
 
#define SDIO_CK_PIN   GPIO12
 
#define SDIO_CMD_PORT   GPIOD
 
#define SDIO_CMD_PIN   GPIO2
 
#define USE_AD_TIM3   1
 
#define USE_ADC_1   1
 
#define AD1_1_CHANNEL   4
 
#define ADC_1   AD1_1
 
#define ADC_1_GPIO_PORT   GPIOA
 
#define ADC_1_GPIO_PIN   GPIO4
 
#define USE_ADC_2   1
 
#define AD1_2_CHANNEL   2
 
#define ADC_2   AD1_2
 
#define ADC_2_GPIO_PORT   GPIOA
 
#define ADC_2_GPIO_PIN   GPIO2
 
#define USE_ADC_3   1
 
#define AD1_3_CHANNEL   3
 
#define ADC_3   AD1_3
 
#define ADC_3_GPIO_PORT   GPIOA
 
#define ADC_3_GPIO_PIN   GPIO3
 
#define USE_ADC_4   1
 
#define AD1_4_CHANNEL   11
 
#define ADC_4   AD1_4
 
#define ADC_4_GPIO_PORT   GPIOC
 
#define ADC_4_GPIO_PIN   GPIO1
 
#define ADC_CHANNEL_VSUPPLY   ADC_1
 
#define DefaultVoltageOfAdc(adc)   (10.5 * (float)adc)
 
#define ADC_CHANNEL_CURRENT   ADC_3
 
#define DefaultMilliAmpereOfAdc(adc)   (9.55 * ((float)adc))
 
#define ADC_CHANNEL_RSSI   ADC_4
 
#define I2C1_GPIO_PORT   GPIOB
 
#define I2C1_GPIO_SCL   GPIO8
 
#define I2C1_GPIO_SDA   GPIO9
 
#define USE_BARO_BOARD   1
 
#define USE_MAGNETOMETER_B   0
 
#define DEFAULT_ACTUATORS   "modules/actuators/actuators_pwm.h"
 
#define ActuatorDefaultSet(_x, _y)   ActuatorPwmSet(_x,_y)
 
#define ActuatorsDefaultInit()   ActuatorsPwmInit()
 
#define ActuatorsDefaultCommit()   ActuatorsPwmCommit()
 
#define PWM_USE_TIM1   1
 
#define PWM_USE_TIM4   1
 
#define USE_PWM1   1
 
#define USE_PWM2   1
 
#define USE_PWM3   1
 
#define USE_PWM4   1
 
#define USE_PWM5   1
 
#define USE_PWM6   1
 
#define PWM_SERVO_1   0
 
#define PWM_SERVO_1_TIMER   TIM1
 
#define PWM_SERVO_1_GPIO   GPIOE
 
#define PWM_SERVO_1_PIN   GPIO14
 
#define PWM_SERVO_1_AF   GPIO_AF1
 
#define PWM_SERVO_1_OC   TIM_OC4
 
#define PWM_SERVO_1_OC_BIT   (1<<3)
 
#define PWM_SERVO_2   1
 
#define PWM_SERVO_2_TIMER   TIM1
 
#define PWM_SERVO_2_GPIO   GPIOE
 
#define PWM_SERVO_2_PIN   GPIO13
 
#define PWM_SERVO_2_AF   GPIO_AF1
 
#define PWM_SERVO_2_OC   TIM_OC3
 
#define PWM_SERVO_2_OC_BIT   (1<<2)
 
#define PWM_SERVO_3   2
 
#define PWM_SERVO_3_TIMER   TIM1
 
#define PWM_SERVO_3_GPIO   GPIOE
 
#define PWM_SERVO_3_PIN   GPIO11
 
#define PWM_SERVO_3_AF   GPIO_AF1
 
#define PWM_SERVO_3_OC   TIM_OC2
 
#define PWM_SERVO_3_OC_BIT   (1<<1)
 
#define PWM_SERVO_4   3
 
#define PWM_SERVO_4_TIMER   TIM1
 
#define PWM_SERVO_4_GPIO   GPIOE
 
#define PWM_SERVO_4_PIN   GPIO9
 
#define PWM_SERVO_4_AF   GPIO_AF1
 
#define PWM_SERVO_4_OC   TIM_OC1
 
#define PWM_SERVO_4_OC_BIT   (1<<0)
 
#define PWM_SERVO_5   4
 
#define PWM_SERVO_5_TIMER   TIM4
 
#define PWM_SERVO_5_GPIO   GPIOD
 
#define PWM_SERVO_5_PIN   GPIO13
 
#define PWM_SERVO_5_AF   GPIO_AF2
 
#define PWM_SERVO_5_OC   TIM_OC2
 
#define PWM_SERVO_5_OC_BIT   (1<<1)
 
#define PWM_SERVO_6   5
 
#define PWM_SERVO_6_TIMER   TIM4
 
#define PWM_SERVO_6_GPIO   GPIOD
 
#define PWM_SERVO_6_PIN   GPIO14
 
#define PWM_SERVO_6_AF   GPIO_AF2
 
#define PWM_SERVO_6_OC   TIM_OC3
 
#define PWM_SERVO_6_OC_BIT   (1<<2)
 
#define PWM_TIM1_CHAN_MASK   (PWM_SERVO_1_OC_BIT|PWM_SERVO_2_OC_BIT|PWM_SERVO_3_OC_BIT|PWM_SERVO_4_OC_BIT)
 
#define PWM_TIM4_CHAN_MASK   (PWM_SERVO_5_OC_BIT|PWM_SERVO_6_OC_BIT)
 
#define USE_LED_4   1
 
#define LED_4_GPIO   GPIOC
 
#define LED_4_GPIO_PIN   GPIO3
 
#define LED_4_GPIO_ON   gpio_clear
 
#define LED_4_GPIO_OFF   gpio_set
 
#define LED_4_AFIO_REMAP   ((void)0)
 
#define SAFETY_WARNING_LED   4
 
#define BUTTON_SAFETY_GPIO_PORT   GPIOC
 
#define BUTTON_SAFETY_GPIO_PIN   GPIO4
 
#define PWM_BUZZER_OC_BIT   0
 

Macro Definition Documentation

◆ ActuatorDefaultSet

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

Definition at line 324 of file px4fmu_4.0.h.

◆ ActuatorsDefaultCommit

#define ActuatorsDefaultCommit ( )    ActuatorsPwmCommit()

Definition at line 326 of file px4fmu_4.0.h.

◆ ActuatorsDefaultInit

#define ActuatorsDefaultInit ( )    ActuatorsPwmInit()

Definition at line 325 of file px4fmu_4.0.h.

◆ AD1_1_CHANNEL

#define AD1_1_CHANNEL   4

Definition at line 242 of file px4fmu_4.0.h.

◆ AD1_2_CHANNEL

#define AD1_2_CHANNEL   2

Definition at line 252 of file px4fmu_4.0.h.

◆ AD1_3_CHANNEL

#define AD1_3_CHANNEL   3

Definition at line 262 of file px4fmu_4.0.h.

◆ AD1_4_CHANNEL

#define AD1_4_CHANNEL   11

Definition at line 273 of file px4fmu_4.0.h.

◆ ADC_1

#define ADC_1   AD1_1

Definition at line 243 of file px4fmu_4.0.h.

◆ ADC_1_GPIO_PIN

#define ADC_1_GPIO_PIN   GPIO4

Definition at line 245 of file px4fmu_4.0.h.

◆ ADC_1_GPIO_PORT

#define ADC_1_GPIO_PORT   GPIOA

Definition at line 244 of file px4fmu_4.0.h.

◆ ADC_2

#define ADC_2   AD1_2

Definition at line 253 of file px4fmu_4.0.h.

◆ ADC_2_GPIO_PIN

#define ADC_2_GPIO_PIN   GPIO2

Definition at line 255 of file px4fmu_4.0.h.

◆ ADC_2_GPIO_PORT

#define ADC_2_GPIO_PORT   GPIOA

Definition at line 254 of file px4fmu_4.0.h.

◆ ADC_3

#define ADC_3   AD1_3

Definition at line 263 of file px4fmu_4.0.h.

◆ ADC_3_GPIO_PIN

#define ADC_3_GPIO_PIN   GPIO3

Definition at line 265 of file px4fmu_4.0.h.

◆ ADC_3_GPIO_PORT

#define ADC_3_GPIO_PORT   GPIOA

Definition at line 264 of file px4fmu_4.0.h.

◆ ADC_4

#define ADC_4   AD1_4

Definition at line 274 of file px4fmu_4.0.h.

◆ ADC_4_GPIO_PIN

#define ADC_4_GPIO_PIN   GPIO1

Definition at line 276 of file px4fmu_4.0.h.

◆ ADC_4_GPIO_PORT

#define ADC_4_GPIO_PORT   GPIOC

Definition at line 275 of file px4fmu_4.0.h.

◆ ADC_CHANNEL_CURRENT

#define ADC_CHANNEL_CURRENT   ADC_3

Definition at line 293 of file px4fmu_4.0.h.

◆ ADC_CHANNEL_RSSI

#define ADC_CHANNEL_RSSI   ADC_4

Definition at line 303 of file px4fmu_4.0.h.

◆ ADC_CHANNEL_VSUPPLY

#define ADC_CHANNEL_VSUPPLY   ADC_1

Definition at line 281 of file px4fmu_4.0.h.

◆ AHB_CLK

#define AHB_CLK   168000000

Definition at line 15 of file px4fmu_4.0.h.

◆ BOARD_PX4FMU_V4

#define BOARD_PX4FMU_V4

Definition at line 4 of file px4fmu_4.0.h.

◆ BUTTON_SAFETY_GPIO_PIN

#define BUTTON_SAFETY_GPIO_PIN   GPIO4

Definition at line 477 of file px4fmu_4.0.h.

◆ BUTTON_SAFETY_GPIO_PORT

#define BUTTON_SAFETY_GPIO_PORT   GPIOC

Definition at line 476 of file px4fmu_4.0.h.

◆ DEFAULT_ACTUATORS

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

Definition at line 323 of file px4fmu_4.0.h.

◆ DefaultMilliAmpereOfAdc

#define DefaultMilliAmpereOfAdc (   adc)    (9.55 * ((float)adc))

Definition at line 297 of file px4fmu_4.0.h.

◆ DefaultVoltageOfAdc

#define DefaultVoltageOfAdc (   adc)    (10.5 * (float)adc)

Definition at line 282 of file px4fmu_4.0.h.

◆ EXT_CLK

#define EXT_CLK   24000000

Definition at line 14 of file px4fmu_4.0.h.

◆ I2C1_GPIO_PORT

#define I2C1_GPIO_PORT   GPIOB

Definition at line 307 of file px4fmu_4.0.h.

◆ I2C1_GPIO_SCL

#define I2C1_GPIO_SCL   GPIO8

Definition at line 308 of file px4fmu_4.0.h.

◆ I2C1_GPIO_SDA

#define I2C1_GPIO_SDA   GPIO9

Definition at line 309 of file px4fmu_4.0.h.

◆ LED_1_AFIO_REMAP

#define LED_1_AFIO_REMAP   ((void)0)

Definition at line 30 of file px4fmu_4.0.h.

◆ LED_1_GPIO

#define LED_1_GPIO   GPIOB

Definition at line 26 of file px4fmu_4.0.h.

◆ LED_1_GPIO_OFF

#define LED_1_GPIO_OFF   gpio_set

Definition at line 29 of file px4fmu_4.0.h.

◆ LED_1_GPIO_ON

#define LED_1_GPIO_ON   gpio_clear

Definition at line 28 of file px4fmu_4.0.h.

◆ LED_1_GPIO_PIN

#define LED_1_GPIO_PIN   GPIO11

Definition at line 27 of file px4fmu_4.0.h.

◆ LED_2_AFIO_REMAP

#define LED_2_AFIO_REMAP   ((void)0)

Definition at line 40 of file px4fmu_4.0.h.

◆ LED_2_GPIO

#define LED_2_GPIO   GPIOB

Definition at line 36 of file px4fmu_4.0.h.

◆ LED_2_GPIO_OFF

#define LED_2_GPIO_OFF   gpio_set

Definition at line 39 of file px4fmu_4.0.h.

◆ LED_2_GPIO_ON

#define LED_2_GPIO_ON   gpio_clear

Definition at line 38 of file px4fmu_4.0.h.

◆ LED_2_GPIO_PIN

#define LED_2_GPIO_PIN   GPIO1

Definition at line 37 of file px4fmu_4.0.h.

◆ LED_3_AFIO_REMAP

#define LED_3_AFIO_REMAP   ((void)0)

Definition at line 50 of file px4fmu_4.0.h.

◆ LED_3_GPIO

#define LED_3_GPIO   GPIOB

Definition at line 46 of file px4fmu_4.0.h.

◆ LED_3_GPIO_OFF

#define LED_3_GPIO_OFF   gpio_set

Definition at line 49 of file px4fmu_4.0.h.

◆ LED_3_GPIO_ON

#define LED_3_GPIO_ON   gpio_clear

Definition at line 48 of file px4fmu_4.0.h.

◆ LED_3_GPIO_PIN

#define LED_3_GPIO_PIN   GPIO3

Definition at line 47 of file px4fmu_4.0.h.

◆ LED_4_AFIO_REMAP

#define LED_4_AFIO_REMAP   ((void)0)

Definition at line 462 of file px4fmu_4.0.h.

◆ LED_4_GPIO

#define LED_4_GPIO   GPIOC

Definition at line 458 of file px4fmu_4.0.h.

◆ LED_4_GPIO_OFF

#define LED_4_GPIO_OFF   gpio_set

Definition at line 461 of file px4fmu_4.0.h.

◆ LED_4_GPIO_ON

#define LED_4_GPIO_ON   gpio_clear

Definition at line 460 of file px4fmu_4.0.h.

◆ LED_4_GPIO_PIN

#define LED_4_GPIO_PIN   GPIO3

Definition at line 459 of file px4fmu_4.0.h.

◆ PERIPHERAL3V3_ENABLE_OFF

#define PERIPHERAL3V3_ENABLE_OFF   gpio_clear

Definition at line 136 of file px4fmu_4.0.h.

◆ PERIPHERAL3V3_ENABLE_ON

#define PERIPHERAL3V3_ENABLE_ON   gpio_set

Definition at line 135 of file px4fmu_4.0.h.

◆ PERIPHERAL3V3_ENABLE_PIN

#define PERIPHERAL3V3_ENABLE_PIN   GPIO5

Definition at line 134 of file px4fmu_4.0.h.

◆ PERIPHERAL3V3_ENABLE_PORT

#define PERIPHERAL3V3_ENABLE_PORT   GPIOC

Definition at line 133 of file px4fmu_4.0.h.

◆ PWM_BUZZER_OC_BIT

#define PWM_BUZZER_OC_BIT   0

Definition at line 490 of file px4fmu_4.0.h.

◆ PWM_SERVO_1

#define PWM_SERVO_1   0

Definition at line 344 of file px4fmu_4.0.h.

◆ PWM_SERVO_1_AF

#define PWM_SERVO_1_AF   GPIO_AF1

Definition at line 348 of file px4fmu_4.0.h.

◆ PWM_SERVO_1_GPIO

#define PWM_SERVO_1_GPIO   GPIOE

Definition at line 346 of file px4fmu_4.0.h.

◆ PWM_SERVO_1_OC

#define PWM_SERVO_1_OC   TIM_OC4

Definition at line 349 of file px4fmu_4.0.h.

◆ PWM_SERVO_1_OC_BIT

#define PWM_SERVO_1_OC_BIT   (1<<3)

Definition at line 350 of file px4fmu_4.0.h.

◆ PWM_SERVO_1_PIN

#define PWM_SERVO_1_PIN   GPIO14

Definition at line 347 of file px4fmu_4.0.h.

◆ PWM_SERVO_1_TIMER

#define PWM_SERVO_1_TIMER   TIM1

Definition at line 345 of file px4fmu_4.0.h.

◆ PWM_SERVO_2

#define PWM_SERVO_2   1

Definition at line 357 of file px4fmu_4.0.h.

◆ PWM_SERVO_2_AF

#define PWM_SERVO_2_AF   GPIO_AF1

Definition at line 361 of file px4fmu_4.0.h.

◆ PWM_SERVO_2_GPIO

#define PWM_SERVO_2_GPIO   GPIOE

Definition at line 359 of file px4fmu_4.0.h.

◆ PWM_SERVO_2_OC

#define PWM_SERVO_2_OC   TIM_OC3

Definition at line 362 of file px4fmu_4.0.h.

◆ PWM_SERVO_2_OC_BIT

#define PWM_SERVO_2_OC_BIT   (1<<2)

Definition at line 363 of file px4fmu_4.0.h.

◆ PWM_SERVO_2_PIN

#define PWM_SERVO_2_PIN   GPIO13

Definition at line 360 of file px4fmu_4.0.h.

◆ PWM_SERVO_2_TIMER

#define PWM_SERVO_2_TIMER   TIM1

Definition at line 358 of file px4fmu_4.0.h.

◆ PWM_SERVO_3

#define PWM_SERVO_3   2

Definition at line 370 of file px4fmu_4.0.h.

◆ PWM_SERVO_3_AF

#define PWM_SERVO_3_AF   GPIO_AF1

Definition at line 374 of file px4fmu_4.0.h.

◆ PWM_SERVO_3_GPIO

#define PWM_SERVO_3_GPIO   GPIOE

Definition at line 372 of file px4fmu_4.0.h.

◆ PWM_SERVO_3_OC

#define PWM_SERVO_3_OC   TIM_OC2

Definition at line 375 of file px4fmu_4.0.h.

◆ PWM_SERVO_3_OC_BIT

#define PWM_SERVO_3_OC_BIT   (1<<1)

Definition at line 376 of file px4fmu_4.0.h.

◆ PWM_SERVO_3_PIN

#define PWM_SERVO_3_PIN   GPIO11

Definition at line 373 of file px4fmu_4.0.h.

◆ PWM_SERVO_3_TIMER

#define PWM_SERVO_3_TIMER   TIM1

Definition at line 371 of file px4fmu_4.0.h.

◆ PWM_SERVO_4

#define PWM_SERVO_4   3

Definition at line 383 of file px4fmu_4.0.h.

◆ PWM_SERVO_4_AF

#define PWM_SERVO_4_AF   GPIO_AF1

Definition at line 387 of file px4fmu_4.0.h.

◆ PWM_SERVO_4_GPIO

#define PWM_SERVO_4_GPIO   GPIOE

Definition at line 385 of file px4fmu_4.0.h.

◆ PWM_SERVO_4_OC

#define PWM_SERVO_4_OC   TIM_OC1

Definition at line 388 of file px4fmu_4.0.h.

◆ PWM_SERVO_4_OC_BIT

#define PWM_SERVO_4_OC_BIT   (1<<0)

Definition at line 389 of file px4fmu_4.0.h.

◆ PWM_SERVO_4_PIN

#define PWM_SERVO_4_PIN   GPIO9

Definition at line 386 of file px4fmu_4.0.h.

◆ PWM_SERVO_4_TIMER

#define PWM_SERVO_4_TIMER   TIM1

Definition at line 384 of file px4fmu_4.0.h.

◆ PWM_SERVO_5

#define PWM_SERVO_5   4

Definition at line 396 of file px4fmu_4.0.h.

◆ PWM_SERVO_5_AF

#define PWM_SERVO_5_AF   GPIO_AF2

Definition at line 400 of file px4fmu_4.0.h.

◆ PWM_SERVO_5_GPIO

#define PWM_SERVO_5_GPIO   GPIOD

Definition at line 398 of file px4fmu_4.0.h.

◆ PWM_SERVO_5_OC

#define PWM_SERVO_5_OC   TIM_OC2

Definition at line 401 of file px4fmu_4.0.h.

◆ PWM_SERVO_5_OC_BIT

#define PWM_SERVO_5_OC_BIT   (1<<1)

Definition at line 402 of file px4fmu_4.0.h.

◆ PWM_SERVO_5_PIN

#define PWM_SERVO_5_PIN   GPIO13

Definition at line 399 of file px4fmu_4.0.h.

◆ PWM_SERVO_5_TIMER

#define PWM_SERVO_5_TIMER   TIM4

Definition at line 397 of file px4fmu_4.0.h.

◆ PWM_SERVO_6

#define PWM_SERVO_6   5

Definition at line 409 of file px4fmu_4.0.h.

◆ PWM_SERVO_6_AF

#define PWM_SERVO_6_AF   GPIO_AF2

Definition at line 413 of file px4fmu_4.0.h.

◆ PWM_SERVO_6_GPIO

#define PWM_SERVO_6_GPIO   GPIOD

Definition at line 411 of file px4fmu_4.0.h.

◆ PWM_SERVO_6_OC

#define PWM_SERVO_6_OC   TIM_OC3

Definition at line 414 of file px4fmu_4.0.h.

◆ PWM_SERVO_6_OC_BIT

#define PWM_SERVO_6_OC_BIT   (1<<2)

Definition at line 415 of file px4fmu_4.0.h.

◆ PWM_SERVO_6_PIN

#define PWM_SERVO_6_PIN   GPIO14

Definition at line 412 of file px4fmu_4.0.h.

◆ PWM_SERVO_6_TIMER

#define PWM_SERVO_6_TIMER   TIM4

Definition at line 410 of file px4fmu_4.0.h.

◆ PWM_TIM1_CHAN_MASK

Definition at line 420 of file px4fmu_4.0.h.

◆ PWM_TIM4_CHAN_MASK

#define PWM_TIM4_CHAN_MASK   (PWM_SERVO_5_OC_BIT|PWM_SERVO_6_OC_BIT)

Definition at line 421 of file px4fmu_4.0.h.

◆ PWM_USE_TIM1

#define PWM_USE_TIM1   1

Definition at line 329 of file px4fmu_4.0.h.

◆ PWM_USE_TIM4

#define PWM_USE_TIM4   1

Definition at line 330 of file px4fmu_4.0.h.

◆ RADIO_CONTROL_POWER_OFF

#define RADIO_CONTROL_POWER_OFF   gpio_set

Definition at line 130 of file px4fmu_4.0.h.

◆ RADIO_CONTROL_POWER_ON

#define RADIO_CONTROL_POWER_ON   gpio_clear

Definition at line 129 of file px4fmu_4.0.h.

◆ RADIO_CONTROL_POWER_PIN

#define RADIO_CONTROL_POWER_PIN   GPIO4

Definition at line 128 of file px4fmu_4.0.h.

◆ RADIO_CONTROL_POWER_PORT

#define RADIO_CONTROL_POWER_PORT   GPIOE

Definition at line 127 of file px4fmu_4.0.h.

◆ RC_POLARITY_GPIO_PIN

#define RC_POLARITY_GPIO_PIN   GPIO13

Definition at line 141 of file px4fmu_4.0.h.

◆ RC_POLARITY_GPIO_PORT

#define RC_POLARITY_GPIO_PORT   GPIOC

Definition at line 140 of file px4fmu_4.0.h.

◆ SAFETY_WARNING_LED

#define SAFETY_WARNING_LED   4

Definition at line 466 of file px4fmu_4.0.h.

◆ SDIO_AF

#define SDIO_AF   GPIO_AF12

Definition at line 217 of file px4fmu_4.0.h.

◆ SDIO_CK_PIN

#define SDIO_CK_PIN   GPIO12

Definition at line 227 of file px4fmu_4.0.h.

◆ SDIO_CK_PORT

#define SDIO_CK_PORT   GPIOC

Definition at line 226 of file px4fmu_4.0.h.

◆ SDIO_CMD_PIN

#define SDIO_CMD_PIN   GPIO2

Definition at line 229 of file px4fmu_4.0.h.

◆ SDIO_CMD_PORT

#define SDIO_CMD_PORT   GPIOD

Definition at line 228 of file px4fmu_4.0.h.

◆ SDIO_D0_PIN

#define SDIO_D0_PIN   GPIO8

Definition at line 219 of file px4fmu_4.0.h.

◆ SDIO_D0_PORT

#define SDIO_D0_PORT   GPIOC

Definition at line 218 of file px4fmu_4.0.h.

◆ SDIO_D1_PIN

#define SDIO_D1_PIN   GPIO9

Definition at line 221 of file px4fmu_4.0.h.

◆ SDIO_D1_PORT

#define SDIO_D1_PORT   GPIOC

Definition at line 220 of file px4fmu_4.0.h.

◆ SDIO_D2_PIN

#define SDIO_D2_PIN   GPIO10

Definition at line 223 of file px4fmu_4.0.h.

◆ SDIO_D2_PORT

#define SDIO_D2_PORT   GPIOC

Definition at line 222 of file px4fmu_4.0.h.

◆ SDIO_D3_PIN

#define SDIO_D3_PIN   GPIO11

Definition at line 225 of file px4fmu_4.0.h.

◆ SDIO_D3_PORT

#define SDIO_D3_PORT   GPIOC

Definition at line 224 of file px4fmu_4.0.h.

◆ SPEKTRUM_UART6_AF

#define SPEKTRUM_UART6_AF   GPIO_AF8

Definition at line 146 of file px4fmu_4.0.h.

◆ SPEKTRUM_UART6_BANK

#define SPEKTRUM_UART6_BANK   GPIOC

Definition at line 144 of file px4fmu_4.0.h.

◆ SPEKTRUM_UART6_DEV

#define SPEKTRUM_UART6_DEV   USART6

Definition at line 149 of file px4fmu_4.0.h.

◆ SPEKTRUM_UART6_IRQ

#define SPEKTRUM_UART6_IRQ   NVIC_USART6_IRQ

Definition at line 147 of file px4fmu_4.0.h.

◆ SPEKTRUM_UART6_ISR

#define SPEKTRUM_UART6_ISR   usart6_isr

Definition at line 148 of file px4fmu_4.0.h.

◆ SPEKTRUM_UART6_PIN

#define SPEKTRUM_UART6_PIN   GPIO7

Definition at line 145 of file px4fmu_4.0.h.

◆ SPEKTRUM_UART6_RCC

#define SPEKTRUM_UART6_RCC   RCC_USART6

Definition at line 143 of file px4fmu_4.0.h.

◆ SPI1_GPIO_AF

#define SPI1_GPIO_AF   GPIO_AF5

Definition at line 154 of file px4fmu_4.0.h.

◆ SPI1_GPIO_MISO

#define SPI1_GPIO_MISO   GPIO6

Definition at line 156 of file px4fmu_4.0.h.

◆ SPI1_GPIO_MOSI

#define SPI1_GPIO_MOSI   GPIO7

Definition at line 158 of file px4fmu_4.0.h.

◆ SPI1_GPIO_PORT_MISO

#define SPI1_GPIO_PORT_MISO   GPIOA

Definition at line 155 of file px4fmu_4.0.h.

◆ SPI1_GPIO_PORT_MOSI

#define SPI1_GPIO_PORT_MOSI   GPIOA

Definition at line 157 of file px4fmu_4.0.h.

◆ SPI1_GPIO_PORT_SCK

#define SPI1_GPIO_PORT_SCK   GPIOA

Definition at line 159 of file px4fmu_4.0.h.

◆ SPI1_GPIO_SCK

#define SPI1_GPIO_SCK   GPIO5

Definition at line 160 of file px4fmu_4.0.h.

◆ SPI2_GPIO_AF

#define SPI2_GPIO_AF   GPIO_AF5

Definition at line 163 of file px4fmu_4.0.h.

◆ SPI2_GPIO_MISO

#define SPI2_GPIO_MISO   GPIO14

Definition at line 165 of file px4fmu_4.0.h.

◆ SPI2_GPIO_MOSI

#define SPI2_GPIO_MOSI   GPIO15

Definition at line 167 of file px4fmu_4.0.h.

◆ SPI2_GPIO_PORT_MISO

#define SPI2_GPIO_PORT_MISO   GPIOB

Definition at line 164 of file px4fmu_4.0.h.

◆ SPI2_GPIO_PORT_MOSI

#define SPI2_GPIO_PORT_MOSI   GPIOB

Definition at line 166 of file px4fmu_4.0.h.

◆ SPI2_GPIO_PORT_SCK

#define SPI2_GPIO_PORT_SCK   GPIOB

Definition at line 168 of file px4fmu_4.0.h.

◆ SPI2_GPIO_SCK

#define SPI2_GPIO_SCK   GPIO10

Definition at line 169 of file px4fmu_4.0.h.

◆ SPI_SELECT_SLAVE0_PIN

#define SPI_SELECT_SLAVE0_PIN   GPIO15

Definition at line 187 of file px4fmu_4.0.h.

◆ SPI_SELECT_SLAVE0_PORT

#define SPI_SELECT_SLAVE0_PORT   GPIOC

Definition at line 186 of file px4fmu_4.0.h.

◆ SPI_SELECT_SLAVE1_PIN

#define SPI_SELECT_SLAVE1_PIN   GPIO15

Definition at line 192 of file px4fmu_4.0.h.

◆ SPI_SELECT_SLAVE1_PORT

#define SPI_SELECT_SLAVE1_PORT   GPIOE

Definition at line 191 of file px4fmu_4.0.h.

◆ SPI_SELECT_SLAVE2_PIN

#define SPI_SELECT_SLAVE2_PIN   GPIO2

Definition at line 201 of file px4fmu_4.0.h.

◆ SPI_SELECT_SLAVE2_PORT

#define SPI_SELECT_SLAVE2_PORT   GPIOC

Definition at line 200 of file px4fmu_4.0.h.

◆ SPI_SELECT_SLAVE3_PIN

#define SPI_SELECT_SLAVE3_PIN   GPIO7

Definition at line 205 of file px4fmu_4.0.h.

◆ SPI_SELECT_SLAVE3_PORT

#define SPI_SELECT_SLAVE3_PORT   GPIOD

Definition at line 204 of file px4fmu_4.0.h.

◆ SPI_SELECT_SLAVE4_PIN

#define SPI_SELECT_SLAVE4_PIN   GPIO10

Definition at line 209 of file px4fmu_4.0.h.

◆ SPI_SELECT_SLAVE4_PORT

#define SPI_SELECT_SLAVE4_PORT   GPIOD

Definition at line 208 of file px4fmu_4.0.h.

◆ UART1_GPIO_AF

#define UART1_GPIO_AF   GPIO_AF7

Definition at line 59 of file px4fmu_4.0.h.

◆ UART1_GPIO_PORT_RX

#define UART1_GPIO_PORT_RX   GPIOB

Definition at line 60 of file px4fmu_4.0.h.

◆ UART1_GPIO_PORT_TX

#define UART1_GPIO_PORT_TX   GPIOB

Definition at line 62 of file px4fmu_4.0.h.

◆ UART1_GPIO_RX

#define UART1_GPIO_RX   GPIO7

Definition at line 61 of file px4fmu_4.0.h.

◆ UART1_GPIO_TX

#define UART1_GPIO_TX   GPIO6

Definition at line 63 of file px4fmu_4.0.h.

◆ UART2_GPIO_AF

#define UART2_GPIO_AF   GPIO_AF7

Definition at line 78 of file px4fmu_4.0.h.

◆ UART2_GPIO_CTS

#define UART2_GPIO_CTS   GPIO3

Definition at line 84 of file px4fmu_4.0.h.

◆ UART2_GPIO_PORT_CTS

#define UART2_GPIO_PORT_CTS   GPIOD

Definition at line 83 of file px4fmu_4.0.h.

◆ UART2_GPIO_PORT_RTS

#define UART2_GPIO_PORT_RTS   GPIOD

Definition at line 85 of file px4fmu_4.0.h.

◆ UART2_GPIO_PORT_RX

#define UART2_GPIO_PORT_RX   GPIOD

Definition at line 79 of file px4fmu_4.0.h.

◆ UART2_GPIO_PORT_TX

#define UART2_GPIO_PORT_TX   GPIOD

Definition at line 81 of file px4fmu_4.0.h.

◆ UART2_GPIO_RTS

#define UART2_GPIO_RTS   GPIO4

Definition at line 86 of file px4fmu_4.0.h.

◆ UART2_GPIO_RX

#define UART2_GPIO_RX   GPIO6

Definition at line 80 of file px4fmu_4.0.h.

◆ UART2_GPIO_TX

#define UART2_GPIO_TX   GPIO5

Definition at line 82 of file px4fmu_4.0.h.

◆ UART3_GPIO_AF

#define UART3_GPIO_AF   GPIO_AF7

Definition at line 89 of file px4fmu_4.0.h.

◆ UART3_GPIO_CTS

#define UART3_GPIO_CTS   GPIO11

Definition at line 95 of file px4fmu_4.0.h.

◆ UART3_GPIO_PORT_CTS

#define UART3_GPIO_PORT_CTS   GPIOD

Definition at line 94 of file px4fmu_4.0.h.

◆ UART3_GPIO_PORT_RTS

#define UART3_GPIO_PORT_RTS   GPIOD

Definition at line 96 of file px4fmu_4.0.h.

◆ UART3_GPIO_PORT_RX

#define UART3_GPIO_PORT_RX   GPIOD

Definition at line 90 of file px4fmu_4.0.h.

◆ UART3_GPIO_PORT_TX

#define UART3_GPIO_PORT_TX   GPIOD

Definition at line 92 of file px4fmu_4.0.h.

◆ UART3_GPIO_RTS

#define UART3_GPIO_RTS   GPIO12

Definition at line 97 of file px4fmu_4.0.h.

◆ UART3_GPIO_RX

#define UART3_GPIO_RX   GPIO9

Definition at line 91 of file px4fmu_4.0.h.

◆ UART3_GPIO_TX

#define UART3_GPIO_TX   GPIO8

Definition at line 93 of file px4fmu_4.0.h.

◆ UART4_GPIO_AF

#define UART4_GPIO_AF   GPIO_AF8

Definition at line 100 of file px4fmu_4.0.h.

◆ UART4_GPIO_PORT_RX

#define UART4_GPIO_PORT_RX   GPIOA

Definition at line 101 of file px4fmu_4.0.h.

◆ UART4_GPIO_PORT_TX

#define UART4_GPIO_PORT_TX   GPIOA

Definition at line 103 of file px4fmu_4.0.h.

◆ UART4_GPIO_RX

#define UART4_GPIO_RX   GPIO1

Definition at line 102 of file px4fmu_4.0.h.

◆ UART4_GPIO_TX

#define UART4_GPIO_TX   GPIO0

Definition at line 104 of file px4fmu_4.0.h.

◆ UART6_GPIO_AF

#define UART6_GPIO_AF   GPIO_AF8

Definition at line 107 of file px4fmu_4.0.h.

◆ UART6_GPIO_PORT_RX

#define UART6_GPIO_PORT_RX   GPIOC

Definition at line 108 of file px4fmu_4.0.h.

◆ UART6_GPIO_RX

#define UART6_GPIO_RX   GPIO7

Definition at line 109 of file px4fmu_4.0.h.

◆ UART7_GPIO_AF

#define UART7_GPIO_AF   GPIO_AF8

Definition at line 112 of file px4fmu_4.0.h.

◆ UART7_GPIO_PORT_RX

#define UART7_GPIO_PORT_RX   GPIOE

Definition at line 113 of file px4fmu_4.0.h.

◆ UART7_GPIO_PORT_TX

#define UART7_GPIO_PORT_TX   GPIOE

Definition at line 115 of file px4fmu_4.0.h.

◆ UART7_GPIO_RX

#define UART7_GPIO_RX   GPIO7

Definition at line 114 of file px4fmu_4.0.h.

◆ UART7_GPIO_TX

#define UART7_GPIO_TX   GPIO8

Definition at line 116 of file px4fmu_4.0.h.

◆ UART8_GPIO_AF

#define UART8_GPIO_AF   GPIO_AF8

Definition at line 119 of file px4fmu_4.0.h.

◆ UART8_GPIO_PORT_RX

#define UART8_GPIO_PORT_RX   GPIOE

Definition at line 120 of file px4fmu_4.0.h.

◆ UART8_GPIO_PORT_TX

#define UART8_GPIO_PORT_TX   GPIOE

Definition at line 122 of file px4fmu_4.0.h.

◆ UART8_GPIO_RX

#define UART8_GPIO_RX   GPIO0

Definition at line 121 of file px4fmu_4.0.h.

◆ UART8_GPIO_TX

#define UART8_GPIO_TX   GPIO1

Definition at line 123 of file px4fmu_4.0.h.

◆ USE_AD_TIM3

#define USE_AD_TIM3   1

Definition at line 235 of file px4fmu_4.0.h.

◆ USE_ADC_1

#define USE_ADC_1   1

Definition at line 239 of file px4fmu_4.0.h.

◆ USE_ADC_2

#define USE_ADC_2   1

Definition at line 249 of file px4fmu_4.0.h.

◆ USE_ADC_3

#define USE_ADC_3   1

Definition at line 259 of file px4fmu_4.0.h.

◆ USE_ADC_4

#define USE_ADC_4   1

Definition at line 270 of file px4fmu_4.0.h.

◆ USE_BARO_BOARD

#define USE_BARO_BOARD   1

Definition at line 313 of file px4fmu_4.0.h.

◆ USE_LED_1

#define USE_LED_1   1

Definition at line 24 of file px4fmu_4.0.h.

◆ USE_LED_2

#define USE_LED_2   1

Definition at line 34 of file px4fmu_4.0.h.

◆ USE_LED_3

#define USE_LED_3   1

Definition at line 44 of file px4fmu_4.0.h.

◆ USE_LED_4

#define USE_LED_4   1

Definition at line 456 of file px4fmu_4.0.h.

◆ USE_MAGNETOMETER_B

#define USE_MAGNETOMETER_B   0

Definition at line 319 of file px4fmu_4.0.h.

◆ USE_PWM1

#define USE_PWM1   1

Definition at line 335 of file px4fmu_4.0.h.

◆ USE_PWM2

#define USE_PWM2   1

Definition at line 336 of file px4fmu_4.0.h.

◆ USE_PWM3

#define USE_PWM3   1

Definition at line 337 of file px4fmu_4.0.h.

◆ USE_PWM4

#define USE_PWM4   1

Definition at line 338 of file px4fmu_4.0.h.

◆ USE_PWM5

#define USE_PWM5   1

Definition at line 339 of file px4fmu_4.0.h.

◆ USE_PWM6

#define USE_PWM6   1

Definition at line 340 of file px4fmu_4.0.h.