Paparazzi UAS  v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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 MilliAmpereOfAdc(adc)   ((float)adc) * (3.3f / 4096.0f) * (90.0f / 5.0f)
 
#define ADC_CHANNEL_VSUPPLY   ADC_2
 
#define ADC_CHANNEL_CURRENT   ADC_3
 
#define DefaultVoltageOfAdc(adc)   (0.004f * (float)adc)
 
#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   "subsystems/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 PWM_BUZZER_OC_BIT   0
 

Macro Definition Documentation

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

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

#define ActuatorsDefaultCommit ( )    ActuatorsPwmCommit()

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

#define ActuatorsDefaultInit ( )    ActuatorsPwmInit()

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

#define AD1_1_CHANNEL   4

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

#define AD1_2_CHANNEL   2

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

#define AD1_3_CHANNEL   3

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

#define ADC_1   AD1_1

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

#define ADC_1_GPIO_PIN   GPIO4

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

#define ADC_1_GPIO_PORT   GPIOA

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

#define ADC_2   AD1_2

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

#define ADC_2_GPIO_PIN   GPIO2

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

#define ADC_2_GPIO_PORT   GPIOA

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

#define ADC_3   AD1_3

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

#define ADC_3_GPIO_PIN   GPIO3

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

#define ADC_3_GPIO_PORT   GPIOA

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

#define ADC_CHANNEL_CURRENT   ADC_3

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

#define ADC_CHANNEL_VSUPPLY   ADC_2

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

#define AHB_CLK   168000000

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

#define BOARD_PX4FMU_V4

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

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

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

#define DefaultVoltageOfAdc (   adc)    (0.004f * (float)adc)

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

#define EXT_CLK   24000000

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

#define I2C1_GPIO_PORT   GPIOB

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

#define I2C1_GPIO_SCL   GPIO8

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

#define I2C1_GPIO_SDA   GPIO9

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

#define LED_1_AFIO_REMAP   ((void)0)

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

#define LED_1_GPIO   GPIOB

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

#define LED_1_GPIO_OFF   gpio_set

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

#define LED_1_GPIO_ON   gpio_clear

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

#define LED_1_GPIO_PIN   GPIO11

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

#define LED_2_AFIO_REMAP   ((void)0)

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

#define LED_2_GPIO   GPIOB

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

#define LED_2_GPIO_OFF   gpio_set

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

#define LED_2_GPIO_ON   gpio_clear

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

#define LED_2_GPIO_PIN   GPIO1

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

#define LED_3_AFIO_REMAP   ((void)0)

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

#define LED_3_GPIO   GPIOB

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

#define LED_3_GPIO_OFF   gpio_set

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

#define LED_3_GPIO_ON   gpio_clear

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

#define LED_3_GPIO_PIN   GPIO3

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

#define MilliAmpereOfAdc (   adc)    ((float)adc) * (3.3f / 4096.0f) * (90.0f / 5.0f)

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

#define PERIPHERAL3V3_ENABLE_OFF   gpio_clear

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

#define PERIPHERAL3V3_ENABLE_ON   gpio_set

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

Referenced by mcu_init().

#define PERIPHERAL3V3_ENABLE_PIN   GPIO5

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

Referenced by mcu_init().

#define PERIPHERAL3V3_ENABLE_PORT   GPIOC

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

Referenced by mcu_init().

#define PWM_BUZZER_OC_BIT   0

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

#define PWM_SERVO_1   0

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

#define PWM_SERVO_1_AF   GPIO_AF1

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

#define PWM_SERVO_1_GPIO   GPIOE

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

#define PWM_SERVO_1_OC   TIM_OC4

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

#define PWM_SERVO_1_OC_BIT   (1<<3)

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

#define PWM_SERVO_1_PIN   GPIO14

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

#define PWM_SERVO_1_TIMER   TIM1

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

#define PWM_SERVO_2   1

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

#define PWM_SERVO_2_AF   GPIO_AF1

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

#define PWM_SERVO_2_GPIO   GPIOE

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

#define PWM_SERVO_2_OC   TIM_OC3

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

#define PWM_SERVO_2_OC_BIT   (1<<2)

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

#define PWM_SERVO_2_PIN   GPIO13

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

#define PWM_SERVO_2_TIMER   TIM1

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

#define PWM_SERVO_3   2

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

#define PWM_SERVO_3_AF   GPIO_AF1

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

#define PWM_SERVO_3_GPIO   GPIOE

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

#define PWM_SERVO_3_OC   TIM_OC2

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

#define PWM_SERVO_3_OC_BIT   (1<<1)

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

#define PWM_SERVO_3_PIN   GPIO11

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

#define PWM_SERVO_3_TIMER   TIM1

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

#define PWM_SERVO_4   3

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

#define PWM_SERVO_4_AF   GPIO_AF1

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

#define PWM_SERVO_4_GPIO   GPIOE

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

#define PWM_SERVO_4_OC   TIM_OC1

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

#define PWM_SERVO_4_OC_BIT   (1<<0)

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

#define PWM_SERVO_4_PIN   GPIO9

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

#define PWM_SERVO_4_TIMER   TIM1

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

#define PWM_SERVO_5   4

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

#define PWM_SERVO_5_AF   GPIO_AF2

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

#define PWM_SERVO_5_GPIO   GPIOD

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

#define PWM_SERVO_5_OC   TIM_OC2

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

#define PWM_SERVO_5_OC_BIT   (1<<1)

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

#define PWM_SERVO_5_PIN   GPIO13

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

#define PWM_SERVO_5_TIMER   TIM4

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

#define PWM_SERVO_6   5

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

#define PWM_SERVO_6_AF   GPIO_AF2

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

#define PWM_SERVO_6_GPIO   GPIOD

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

#define PWM_SERVO_6_OC   TIM_OC3

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

#define PWM_SERVO_6_OC_BIT   (1<<2)

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

#define PWM_SERVO_6_PIN   GPIO14

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

#define PWM_SERVO_6_TIMER   TIM4

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

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

#define PWM_TIM4_CHAN_MASK   (PWM_SERVO_5_OC_BIT|PWM_SERVO_6_OC_BIT)

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

#define PWM_USE_TIM1   1

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

#define PWM_USE_TIM4   1

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

#define RADIO_CONTROL_POWER_OFF   gpio_set

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

#define RADIO_CONTROL_POWER_ON   gpio_clear

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

#define RADIO_CONTROL_POWER_PIN   GPIO4

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

#define RADIO_CONTROL_POWER_PORT   GPIOE

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

#define RC_POLARITY_GPIO_PIN   GPIO13

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

#define RC_POLARITY_GPIO_PORT   GPIOC

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

#define SDIO_AF   GPIO_AF12

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

#define SDIO_CK_PIN   GPIO12

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

#define SDIO_CK_PORT   GPIOC

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

#define SDIO_CMD_PIN   GPIO2

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

#define SDIO_CMD_PORT   GPIOD

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

#define SDIO_D0_PIN   GPIO8

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

#define SDIO_D0_PORT   GPIOC

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

#define SDIO_D1_PIN   GPIO9

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

#define SDIO_D1_PORT   GPIOC

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

#define SDIO_D2_PIN   GPIO10

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

#define SDIO_D2_PORT   GPIOC

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

#define SDIO_D3_PIN   GPIO11

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

#define SDIO_D3_PORT   GPIOC

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

#define SPEKTRUM_UART6_AF   GPIO_AF8

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

#define SPEKTRUM_UART6_BANK   GPIOC

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

#define SPEKTRUM_UART6_DEV   USART6

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

#define SPEKTRUM_UART6_IRQ   NVIC_USART6_IRQ

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

#define SPEKTRUM_UART6_ISR   usart6_isr

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

#define SPEKTRUM_UART6_PIN   GPIO7

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

#define SPEKTRUM_UART6_RCC   RCC_USART6

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

#define SPI1_GPIO_AF   GPIO_AF5

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

#define SPI1_GPIO_MISO   GPIO6

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

#define SPI1_GPIO_MOSI   GPIO7

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

#define SPI1_GPIO_PORT_MISO   GPIOA

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

#define SPI1_GPIO_PORT_MOSI   GPIOA

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

#define SPI1_GPIO_PORT_SCK   GPIOA

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

#define SPI1_GPIO_SCK   GPIO5

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

#define SPI2_GPIO_AF   GPIO_AF5

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

#define SPI2_GPIO_MISO   GPIO14

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

#define SPI2_GPIO_MOSI   GPIO15

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

#define SPI2_GPIO_PORT_MISO   GPIOB

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

#define SPI2_GPIO_PORT_MOSI   GPIOB

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

#define SPI2_GPIO_PORT_SCK   GPIOB

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

#define SPI2_GPIO_SCK   GPIO10

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

#define SPI_SELECT_SLAVE0_PIN   GPIO15

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

#define SPI_SELECT_SLAVE0_PORT   GPIOC

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

#define SPI_SELECT_SLAVE1_PIN   GPIO15

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

#define SPI_SELECT_SLAVE1_PORT   GPIOE

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

#define SPI_SELECT_SLAVE2_PIN   GPIO2

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

#define SPI_SELECT_SLAVE2_PORT   GPIOC

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

#define SPI_SELECT_SLAVE3_PIN   GPIO7

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

#define SPI_SELECT_SLAVE3_PORT   GPIOD

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

#define SPI_SELECT_SLAVE4_PIN   GPIO10

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

#define SPI_SELECT_SLAVE4_PORT   GPIOD

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

#define UART1_GPIO_AF   GPIO_AF7

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

#define UART1_GPIO_PORT_RX   GPIOB

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

#define UART1_GPIO_PORT_TX   GPIOB

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

#define UART1_GPIO_RX   GPIO7

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

#define UART1_GPIO_TX   GPIO6

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

#define UART2_GPIO_AF   GPIO_AF7

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

#define UART2_GPIO_CTS   GPIO3

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

#define UART2_GPIO_PORT_CTS   GPIOD

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

#define UART2_GPIO_PORT_RTS   GPIOD

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

#define UART2_GPIO_PORT_RX   GPIOD

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

#define UART2_GPIO_PORT_TX   GPIOD

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

#define UART2_GPIO_RTS   GPIO4

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

#define UART2_GPIO_RX   GPIO6

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

#define UART2_GPIO_TX   GPIO5

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

#define UART3_GPIO_AF   GPIO_AF7

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

#define UART3_GPIO_CTS   GPIO11

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

#define UART3_GPIO_PORT_CTS   GPIOD

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

#define UART3_GPIO_PORT_RTS   GPIOD

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

#define UART3_GPIO_PORT_RX   GPIOD

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

#define UART3_GPIO_PORT_TX   GPIOD

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

#define UART3_GPIO_RTS   GPIO12

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

#define UART3_GPIO_RX   GPIO9

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

#define UART3_GPIO_TX   GPIO8

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

#define UART4_GPIO_AF   GPIO_AF8

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

#define UART4_GPIO_PORT_RX   GPIOA

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

#define UART4_GPIO_PORT_TX   GPIOA

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

#define UART4_GPIO_RX   GPIO1

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

#define UART4_GPIO_TX   GPIO0

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

#define UART6_GPIO_AF   GPIO_AF8

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

#define UART6_GPIO_PORT_RX   GPIOC

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

#define UART6_GPIO_RX   GPIO7

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

#define UART7_GPIO_AF   GPIO_AF8

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

#define UART7_GPIO_PORT_RX   GPIOE

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

#define UART7_GPIO_PORT_TX   GPIOE

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

#define UART7_GPIO_RX   GPIO7

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

#define UART7_GPIO_TX   GPIO8

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

#define UART8_GPIO_AF   GPIO_AF8

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

#define UART8_GPIO_PORT_RX   GPIOE

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

#define UART8_GPIO_PORT_TX   GPIOE

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

#define UART8_GPIO_RX   GPIO0

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

#define UART8_GPIO_TX   GPIO1

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

#define USE_AD_TIM3   1

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

#define USE_ADC_1   1

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

#define USE_ADC_2   1

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

#define USE_ADC_3   1

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

#define USE_BARO_BOARD   1

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

#define USE_LED_1   1

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

#define USE_LED_2   1

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

#define USE_LED_3   1

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

#define USE_MAGNETOMETER_B   0

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

#define USE_PWM1   1

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

#define USE_PWM2   1

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

#define USE_PWM3   1

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

#define USE_PWM4   1

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

#define USE_PWM5   1

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

#define USE_PWM6   1

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