Paparazzi UAS  v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
px4fmu.h File Reference
+ Include dependency graph for px4fmu.h:

Go to the source code of this file.

Macros

#define BOARD_PX4FMU
 
#define AHB_CLK   STM32_HCLK
 ChibiOS board file. More...
 
#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 USE_ADC_1   1
 
#define AD1_1_CHANNEL   ADC_CHANNEL_IN2
 
#define ADC_1   AD1_1
 
#define ADC_1_GPIO_PORT   GPIOA
 
#define ADC_1_GPIO_PIN   GPIO2
 
#define USE_ADC_2   2
 
#define AD1_2_CHANNEL   ADC_CHANNEL_IN3
 
#define ADC_2   AD1_2
 
#define ADC_2_GPIO_PORT   GPIOA
 
#define ADC_2_GPIO_PIN   GPIO3
 
#define ADC_CHANNEL_VSUPPLY   ADC_1
 
#define ADC_CHANNEL_CURRENT   ADC_2
 
#define DefaultVoltageOfAdc(adc)   ((3.3f/4096.0f) * 10.27708149f * adc)
 
#define MilliAmpereOfAdc(adc)   ((3.3f/4096.0f) * 36367.51556f * adc)
 
#define USE_PWM0   1
 
#define PWM_SERVO_0   0
 
#define PWM_SERVO_0_GPIO   GPIOE
 
#define PWM_SERVO_0_PIN   GPIO14
 
#define PWM_SERVO_0_AF   GPIO_AF1
 
#define PWM_SERVO_0_DRIVER   PWMD1
 
#define PWM_SERVO_0_CHANNEL   3
 
#define PWM_SERVO_0_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH
 
#define USE_PWM1   1
 
#define PWM_SERVO_1   1
 
#define PWM_SERVO_1_GPIO   GPIOE
 
#define PWM_SERVO_1_PIN   GPIO13
 
#define PWM_SERVO_1_AF   GPIO_AF1
 
#define PWM_SERVO_1_DRIVER   PWMD1
 
#define PWM_SERVO_1_CHANNEL   2
 
#define PWM_SERVO_1_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH
 
#define USE_PWM2   1
 
#define PWM_SERVO_2   2
 
#define PWM_SERVO_2_GPIO   GPIOE
 
#define PWM_SERVO_2_PIN   GPIO11
 
#define PWM_SERVO_2_AF   GPIO_AF1
 
#define PWM_SERVO_2_DRIVER   PWMD1
 
#define PWM_SERVO_2_CHANNEL   1
 
#define PWM_SERVO_2_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH
 
#define USE_PWM3   1
 
#define PWM_SERVO_3   3
 
#define PWM_SERVO_3_GPIO   GPIOE
 
#define PWM_SERVO_3_PIN   GPIO9
 
#define PWM_SERVO_3_AF   GPIO_AF1
 
#define PWM_SERVO_3_DRIVER   PWMD1
 
#define PWM_SERVO_3_CHANNEL   0
 
#define PWM_SERVO_3_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH
 
#define USE_PWM4   1
 
#define PWM_SERVO_4   4
 
#define PWM_SERVO_4_GPIO   GPIOD
 
#define PWM_SERVO_4_PIN   GPIO13
 
#define PWM_SERVO_4_AF   GPIO_AF2
 
#define PWM_SERVO_4_DRIVER   PWMD4
 
#define PWM_SERVO_4_CHANNEL   1
 
#define PWM_SERVO_4_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH
 
#define USE_PWM5   1
 
#define PWM_SERVO_5   5
 
#define PWM_SERVO_5_GPIO   GPIOD
 
#define PWM_SERVO_5_PIN   GPIO14
 
#define PWM_SERVO_5_AF   GPIO_AF2
 
#define PWM_SERVO_5_DRIVER   PWMD4
 
#define PWM_SERVO_5_CHANNEL   2
 
#define PWM_SERVO_5_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH
 
#define PWM_CONF_TIM1   1
 
#define PWM_CONF1_DEF
 
#define PWM_CONF_TIM4   1
 
#define PWM_CONF4_DEF
 
#define UART1_GPIO_PORT_TX   GPIOB
 UART defines. More...
 
#define UART1_GPIO_TX   GPIO6
 
#define UART1_GPIO_PORT_RX   GPIOB
 
#define UART1_GPIO_RX   GPIO7
 
#define UART1_GPIO_AF   7
 
#define UART2_GPIO_PORT_TX   GPIOD
 
#define UART2_GPIO_TX   GPIO5
 
#define UART2_GPIO_PORT_RX   GPIOD
 
#define UART2_GPIO_RX   GPIO6
 
#define UART2_GPIO_AF   7
 
#define UART3_GPIO_PORT_TX   GPIOD
 
#define UART3_GPIO_TX   GPIO8
 
#define UART3_GPIO_PORT_RX   GPIOD
 
#define UART3_GPIO_RX   GPIO9
 
#define UART3_GPIO_AF   7
 
#define UART4_GPIO_PORT_TX   GPIOA
 
#define UART4_GPIO_TX   GPIO0
 
#define UART4_GPIO_PORT_RX   GPIOA
 
#define UART4_GPIO_RX   GPIO1
 
#define UART4_GPIO_AF   8
 
#define UART6_GPIO_PORT_RX   GPIOC
 
#define UART6_GPIO_RX   GPIO7
 
#define UART6_GPIO_AF   8
 
#define UART7_GPIO_PORT_TX   GPIOE
 
#define UART7_GPIO_TX   GPIO8
 
#define UART7_GPIO_PORT_RX   GPIOE
 
#define UART7_GPIO_RX   GPIO7
 
#define UART7_GPIO_AF   8
 
#define UART8_GPIO_PORT_TX   GPIOE
 
#define UART8_GPIO_TX   GPIO1
 
#define UART8_GPIO_PORT_RX   GPIOE
 
#define UART8_GPIO_RX   GPIO0
 
#define UART8_GPIO_AF   8
 
#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 I2C1_CLOCK_SPEED   400000
 PPM radio defines TODO. More...
 
#define I2C1_DUTY_CYCLE   FAST_DUTY_CYCLE_2
 
#define I2C1_CFG_DEF
 
#define I2C2_CLOCK_SPEED   400000
 
#define I2C2_DUTY_CYCLE   FAST_DUTY_CYCLE_2
 
#define I2C2_CFG_DEF
 
#define SPI1_GPIO_AF   GPIO_AF5
 SPI Config SPI1 si for MPU9250 SPI2 is for FRAM. More...
 
#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 USE_BARO_BOARD   1
 Baro. More...
 
#define SDIO_D0_PORT   GPIOC
 SDIO. More...
 
#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 SDIO_AF   12
 
#define SDLOG_BAT_ADC   ADCD1
 
#define SDLOG_BAT_CHAN   AD1_1_CHANNEL
 
#define SDLOG_USB_LED   3
 
#define SDLOG_USB_VBUS_PORT   GPIOA
 
#define SDLOG_USB_VBUS_PIN   GPIO9
 
#define DEFAULT_ACTUATORS   "subsystems/actuators/actuators_pwm.h"
 
#define ActuatorDefaultSet(_x, _y)   ActuatorPwmSet(_x,_y)
 
#define ActuatorsDefaultInit()   ActuatorsPwmInit()
 
#define ActuatorsDefaultCommit()   ActuatorsPwmCommit()
 

Macro Definition Documentation

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

Definition at line 419 of file px4fmu.h.

#define ActuatorsDefaultCommit ( )    ActuatorsPwmCommit()

Definition at line 421 of file px4fmu.h.

#define ActuatorsDefaultInit ( )    ActuatorsPwmInit()

Definition at line 420 of file px4fmu.h.

#define AD1_1_CHANNEL   ADC_CHANNEL_IN2

Definition at line 61 of file px4fmu.h.

#define AD1_2_CHANNEL   ADC_CHANNEL_IN3

Definition at line 72 of file px4fmu.h.

#define ADC_1   AD1_1

Definition at line 62 of file px4fmu.h.

#define ADC_1_GPIO_PIN   GPIO2

Definition at line 64 of file px4fmu.h.

#define ADC_1_GPIO_PORT   GPIOA

Definition at line 63 of file px4fmu.h.

#define ADC_2   AD1_2

Definition at line 73 of file px4fmu.h.

#define ADC_2_GPIO_PIN   GPIO3

Definition at line 75 of file px4fmu.h.

#define ADC_2_GPIO_PORT   GPIOA

Definition at line 74 of file px4fmu.h.

#define ADC_CHANNEL_CURRENT   ADC_2

Definition at line 93 of file px4fmu.h.

#define ADC_CHANNEL_VSUPPLY   ADC_1

Definition at line 88 of file px4fmu.h.

#define AHB_CLK   STM32_HCLK

ChibiOS board file.

PPRZ definitions

Definition at line 18 of file px4fmu.h.

#define BOARD_PX4FMU

Definition at line 4 of file px4fmu.h.

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

Definition at line 418 of file px4fmu.h.

#define DefaultVoltageOfAdc (   adc)    ((3.3f/4096.0f) * 10.27708149f * adc)

Definition at line 97 of file px4fmu.h.

#define I2C1_CFG_DEF
Value:
{ \
OPMODE_I2C, \
}
#define I2C1_CLOCK_SPEED
PPM radio defines TODO.
Definition: px4fmu.h:311
#define I2C1_DUTY_CYCLE
Definition: px4fmu.h:314

Definition at line 320 of file px4fmu.h.

#define I2C1_CLOCK_SPEED   400000

PPM radio defines TODO.

I2C defines

Definition at line 311 of file px4fmu.h.

#define I2C1_DUTY_CYCLE   FAST_DUTY_CYCLE_2

Definition at line 314 of file px4fmu.h.

#define I2C2_CFG_DEF
Value:
{ \
OPMODE_I2C, \
}
#define I2C2_CLOCK_SPEED
Definition: px4fmu.h:327
#define I2C2_DUTY_CYCLE
Definition: px4fmu.h:330

Definition at line 336 of file px4fmu.h.

#define I2C2_CLOCK_SPEED   400000

Definition at line 327 of file px4fmu.h.

#define I2C2_DUTY_CYCLE   FAST_DUTY_CYCLE_2

Definition at line 330 of file px4fmu.h.

#define LED_1_AFIO_REMAP   ((void)0)

Definition at line 31 of file px4fmu.h.

#define LED_1_GPIO   GPIOB

Definition at line 27 of file px4fmu.h.

#define LED_1_GPIO_OFF   gpio_set

Definition at line 30 of file px4fmu.h.

#define LED_1_GPIO_ON   gpio_clear

Definition at line 29 of file px4fmu.h.

#define LED_1_GPIO_PIN   GPIO11

Definition at line 28 of file px4fmu.h.

#define LED_2_AFIO_REMAP   ((void)0)

Definition at line 41 of file px4fmu.h.

#define LED_2_GPIO   GPIOB

Definition at line 37 of file px4fmu.h.

#define LED_2_GPIO_OFF   gpio_set

Definition at line 40 of file px4fmu.h.

#define LED_2_GPIO_ON   gpio_clear

Definition at line 39 of file px4fmu.h.

#define LED_2_GPIO_PIN   GPIO1

Definition at line 38 of file px4fmu.h.

#define LED_3_AFIO_REMAP   ((void)0)

Definition at line 51 of file px4fmu.h.

#define LED_3_GPIO   GPIOB

Definition at line 47 of file px4fmu.h.

#define LED_3_GPIO_OFF   gpio_set

Definition at line 50 of file px4fmu.h.

#define LED_3_GPIO_ON   gpio_clear

Definition at line 49 of file px4fmu.h.

#define LED_3_GPIO_PIN   GPIO3

Definition at line 48 of file px4fmu.h.

#define MilliAmpereOfAdc (   adc)    ((3.3f/4096.0f) * 36367.51556f * adc)

Definition at line 98 of file px4fmu.h.

#define PERIPHERAL3V3_ENABLE_OFF   gpio_clear

Definition at line 285 of file px4fmu.h.

#define PERIPHERAL3V3_ENABLE_ON   gpio_set

Definition at line 284 of file px4fmu.h.

Referenced by mcu_init().

#define PERIPHERAL3V3_ENABLE_PIN   GPIO5

Definition at line 283 of file px4fmu.h.

Referenced by mcu_init().

#define PERIPHERAL3V3_ENABLE_PORT   GPIOC

Definition at line 282 of file px4fmu.h.

Referenced by mcu_init().

#define PWM_CONF1_DEF
Value:
{ \
NULL, \
{ \
{ PWM_SERVO_3_ACTIVE, NULL }, \
{ PWM_SERVO_2_ACTIVE, NULL }, \
{ PWM_SERVO_1_ACTIVE, NULL }, \
{ PWM_SERVO_0_ACTIVE, NULL }, \
}, \
0, \
0 \
}
#define PWM_SERVO_2_ACTIVE
Definition: px4fmu.h:143
#define PWM_SERVO_0_ACTIVE
Definition: px4fmu.h:113
#define PWM_SERVO_3_ACTIVE
Definition: px4fmu.h:158
#define PWM_FREQUENCY
#define PWM_SERVO_1_ACTIVE
Definition: px4fmu.h:128
#define TIM1_SERVO_HZ

Definition at line 199 of file px4fmu.h.

#define PWM_CONF4_DEF
Value:
{ \
NULL, \
{ \
{ PWM_OUTPUT_DISABLED, NULL }, \
{ PWM_SERVO_4_ACTIVE, NULL }, \
{ PWM_SERVO_5_ACTIVE, NULL }, \
{ PWM_OUTPUT_DISABLED, NULL }, \
}, \
0, \
0 \
}
#define TIM4_SERVO_HZ
#define PWM_SERVO_4_ACTIVE
Definition: px4fmu.h:173
#define PWM_FREQUENCY
#define PWM_SERVO_5_ACTIVE
Definition: px4fmu.h:188

Definition at line 218 of file px4fmu.h.

#define PWM_CONF_TIM1   1

Definition at line 197 of file px4fmu.h.

#define PWM_CONF_TIM4   1

Definition at line 216 of file px4fmu.h.

#define PWM_SERVO_0   0

Definition at line 107 of file px4fmu.h.

#define PWM_SERVO_0_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 113 of file px4fmu.h.

#define PWM_SERVO_0_AF   GPIO_AF1

Definition at line 110 of file px4fmu.h.

#define PWM_SERVO_0_CHANNEL   3

Definition at line 112 of file px4fmu.h.

#define PWM_SERVO_0_DRIVER   PWMD1

Definition at line 111 of file px4fmu.h.

#define PWM_SERVO_0_GPIO   GPIOE

Definition at line 108 of file px4fmu.h.

#define PWM_SERVO_0_PIN   GPIO14

Definition at line 109 of file px4fmu.h.

#define PWM_SERVO_1   1

Definition at line 122 of file px4fmu.h.

#define PWM_SERVO_1_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 128 of file px4fmu.h.

#define PWM_SERVO_1_AF   GPIO_AF1

Definition at line 125 of file px4fmu.h.

#define PWM_SERVO_1_CHANNEL   2

Definition at line 127 of file px4fmu.h.

#define PWM_SERVO_1_DRIVER   PWMD1

Definition at line 126 of file px4fmu.h.

#define PWM_SERVO_1_GPIO   GPIOE

Definition at line 123 of file px4fmu.h.

#define PWM_SERVO_1_PIN   GPIO13

Definition at line 124 of file px4fmu.h.

#define PWM_SERVO_2   2

Definition at line 137 of file px4fmu.h.

#define PWM_SERVO_2_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 143 of file px4fmu.h.

#define PWM_SERVO_2_AF   GPIO_AF1

Definition at line 140 of file px4fmu.h.

#define PWM_SERVO_2_CHANNEL   1

Definition at line 142 of file px4fmu.h.

#define PWM_SERVO_2_DRIVER   PWMD1

Definition at line 141 of file px4fmu.h.

#define PWM_SERVO_2_GPIO   GPIOE

Definition at line 138 of file px4fmu.h.

#define PWM_SERVO_2_PIN   GPIO11

Definition at line 139 of file px4fmu.h.

#define PWM_SERVO_3   3

Definition at line 152 of file px4fmu.h.

#define PWM_SERVO_3_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 158 of file px4fmu.h.

#define PWM_SERVO_3_AF   GPIO_AF1

Definition at line 155 of file px4fmu.h.

#define PWM_SERVO_3_CHANNEL   0

Definition at line 157 of file px4fmu.h.

#define PWM_SERVO_3_DRIVER   PWMD1

Definition at line 156 of file px4fmu.h.

#define PWM_SERVO_3_GPIO   GPIOE

Definition at line 153 of file px4fmu.h.

#define PWM_SERVO_3_PIN   GPIO9

Definition at line 154 of file px4fmu.h.

#define PWM_SERVO_4   4

Definition at line 167 of file px4fmu.h.

#define PWM_SERVO_4_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 173 of file px4fmu.h.

#define PWM_SERVO_4_AF   GPIO_AF2

Definition at line 170 of file px4fmu.h.

#define PWM_SERVO_4_CHANNEL   1

Definition at line 172 of file px4fmu.h.

#define PWM_SERVO_4_DRIVER   PWMD4

Definition at line 171 of file px4fmu.h.

#define PWM_SERVO_4_GPIO   GPIOD

Definition at line 168 of file px4fmu.h.

#define PWM_SERVO_4_PIN   GPIO13

Definition at line 169 of file px4fmu.h.

#define PWM_SERVO_5   5

Definition at line 182 of file px4fmu.h.

#define PWM_SERVO_5_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 188 of file px4fmu.h.

#define PWM_SERVO_5_AF   GPIO_AF2

Definition at line 185 of file px4fmu.h.

#define PWM_SERVO_5_CHANNEL   2

Definition at line 187 of file px4fmu.h.

#define PWM_SERVO_5_DRIVER   PWMD4

Definition at line 186 of file px4fmu.h.

#define PWM_SERVO_5_GPIO   GPIOD

Definition at line 183 of file px4fmu.h.

#define PWM_SERVO_5_PIN   GPIO14

Definition at line 184 of file px4fmu.h.

#define RADIO_CONTROL_POWER_OFF   gpio_set

Definition at line 279 of file px4fmu.h.

#define RADIO_CONTROL_POWER_ON   gpio_clear

Definition at line 278 of file px4fmu.h.

#define RADIO_CONTROL_POWER_PIN   GPIO4

Definition at line 277 of file px4fmu.h.

#define RADIO_CONTROL_POWER_PORT   GPIOE

Definition at line 276 of file px4fmu.h.

#define SDIO_AF   12

Definition at line 405 of file px4fmu.h.

#define SDIO_CK_PIN   GPIO12

Definition at line 402 of file px4fmu.h.

#define SDIO_CK_PORT   GPIOC

Definition at line 401 of file px4fmu.h.

#define SDIO_CMD_PIN   GPIO2

Definition at line 404 of file px4fmu.h.

#define SDIO_CMD_PORT   GPIOD

Definition at line 403 of file px4fmu.h.

#define SDIO_D0_PIN   GPIO8

Definition at line 394 of file px4fmu.h.

#define SDIO_D0_PORT   GPIOC

SDIO.

Definition at line 393 of file px4fmu.h.

#define SDIO_D1_PIN   GPIO9

Definition at line 396 of file px4fmu.h.

#define SDIO_D1_PORT   GPIOC

Definition at line 395 of file px4fmu.h.

#define SDIO_D2_PIN   GPIO10

Definition at line 398 of file px4fmu.h.

#define SDIO_D2_PORT   GPIOC

Definition at line 397 of file px4fmu.h.

#define SDIO_D3_PIN   GPIO11

Definition at line 400 of file px4fmu.h.

#define SDIO_D3_PORT   GPIOC

Definition at line 399 of file px4fmu.h.

#define SDLOG_BAT_ADC   ADCD1

Definition at line 407 of file px4fmu.h.

#define SDLOG_BAT_CHAN   AD1_1_CHANNEL

Definition at line 408 of file px4fmu.h.

#define SDLOG_USB_LED   3

Definition at line 410 of file px4fmu.h.

#define SDLOG_USB_VBUS_PIN   GPIO9

Definition at line 412 of file px4fmu.h.

#define SDLOG_USB_VBUS_PORT   GPIOA

Definition at line 411 of file px4fmu.h.

#define SPI1_GPIO_AF   GPIO_AF5

SPI Config SPI1 si for MPU9250 SPI2 is for FRAM.

Definition at line 348 of file px4fmu.h.

#define SPI1_GPIO_MISO   GPIO6

Definition at line 350 of file px4fmu.h.

#define SPI1_GPIO_MOSI   GPIO7

Definition at line 352 of file px4fmu.h.

#define SPI1_GPIO_PORT_MISO   GPIOA

Definition at line 349 of file px4fmu.h.

#define SPI1_GPIO_PORT_MOSI   GPIOA

Definition at line 351 of file px4fmu.h.

#define SPI1_GPIO_PORT_SCK   GPIOA

Definition at line 353 of file px4fmu.h.

#define SPI1_GPIO_SCK   GPIO5

Definition at line 354 of file px4fmu.h.

#define SPI2_GPIO_AF   GPIO_AF5

Definition at line 356 of file px4fmu.h.

#define SPI2_GPIO_MISO   GPIO14

Definition at line 358 of file px4fmu.h.

#define SPI2_GPIO_MOSI   GPIO15

Definition at line 360 of file px4fmu.h.

#define SPI2_GPIO_PORT_MISO   GPIOB

Definition at line 357 of file px4fmu.h.

#define SPI2_GPIO_PORT_MOSI   GPIOB

Definition at line 359 of file px4fmu.h.

#define SPI2_GPIO_PORT_SCK   GPIOB

Definition at line 361 of file px4fmu.h.

#define SPI2_GPIO_SCK   GPIO10

Definition at line 362 of file px4fmu.h.

#define SPI_SELECT_SLAVE0_PIN   GPIO15

Definition at line 366 of file px4fmu.h.

#define SPI_SELECT_SLAVE0_PORT   GPIOC

Definition at line 365 of file px4fmu.h.

#define SPI_SELECT_SLAVE1_PIN   GPIO15

Definition at line 369 of file px4fmu.h.

#define SPI_SELECT_SLAVE1_PORT   GPIOE

Definition at line 368 of file px4fmu.h.

#define SPI_SELECT_SLAVE2_PIN   GPIO2

Definition at line 372 of file px4fmu.h.

#define SPI_SELECT_SLAVE2_PORT   GPIOC

Definition at line 371 of file px4fmu.h.

#define SPI_SELECT_SLAVE3_PIN   GPIO7

Definition at line 375 of file px4fmu.h.

#define SPI_SELECT_SLAVE3_PORT   GPIOD

Definition at line 374 of file px4fmu.h.

#define SPI_SELECT_SLAVE4_PIN   GPIO10

Definition at line 378 of file px4fmu.h.

#define SPI_SELECT_SLAVE4_PORT   GPIOD

Definition at line 377 of file px4fmu.h.

#define UART1_GPIO_AF   7

Definition at line 239 of file px4fmu.h.

#define UART1_GPIO_PORT_RX   GPIOB

Definition at line 237 of file px4fmu.h.

#define UART1_GPIO_PORT_TX   GPIOB

UART defines.

Definition at line 235 of file px4fmu.h.

#define UART1_GPIO_RX   GPIO7

Definition at line 238 of file px4fmu.h.

#define UART1_GPIO_TX   GPIO6

Definition at line 236 of file px4fmu.h.

#define UART2_GPIO_AF   7

Definition at line 245 of file px4fmu.h.

#define UART2_GPIO_PORT_RX   GPIOD

Definition at line 243 of file px4fmu.h.

#define UART2_GPIO_PORT_TX   GPIOD

Definition at line 241 of file px4fmu.h.

#define UART2_GPIO_RX   GPIO6

Definition at line 244 of file px4fmu.h.

#define UART2_GPIO_TX   GPIO5

Definition at line 242 of file px4fmu.h.

#define UART3_GPIO_AF   7

Definition at line 251 of file px4fmu.h.

#define UART3_GPIO_PORT_RX   GPIOD

Definition at line 249 of file px4fmu.h.

#define UART3_GPIO_PORT_TX   GPIOD

Definition at line 247 of file px4fmu.h.

#define UART3_GPIO_RX   GPIO9

Definition at line 250 of file px4fmu.h.

#define UART3_GPIO_TX   GPIO8

Definition at line 248 of file px4fmu.h.

#define UART4_GPIO_AF   8

Definition at line 257 of file px4fmu.h.

#define UART4_GPIO_PORT_RX   GPIOA

Definition at line 255 of file px4fmu.h.

#define UART4_GPIO_PORT_TX   GPIOA

Definition at line 253 of file px4fmu.h.

#define UART4_GPIO_RX   GPIO1

Definition at line 256 of file px4fmu.h.

#define UART4_GPIO_TX   GPIO0

Definition at line 254 of file px4fmu.h.

#define UART6_GPIO_AF   8

Definition at line 261 of file px4fmu.h.

#define UART6_GPIO_PORT_RX   GPIOC

Definition at line 259 of file px4fmu.h.

#define UART6_GPIO_RX   GPIO7

Definition at line 260 of file px4fmu.h.

#define UART7_GPIO_AF   8

Definition at line 267 of file px4fmu.h.

#define UART7_GPIO_PORT_RX   GPIOE

Definition at line 265 of file px4fmu.h.

#define UART7_GPIO_PORT_TX   GPIOE

Definition at line 263 of file px4fmu.h.

#define UART7_GPIO_RX   GPIO7

Definition at line 266 of file px4fmu.h.

#define UART7_GPIO_TX   GPIO8

Definition at line 264 of file px4fmu.h.

#define UART8_GPIO_AF   8

Definition at line 273 of file px4fmu.h.

#define UART8_GPIO_PORT_RX   GPIOE

Definition at line 271 of file px4fmu.h.

#define UART8_GPIO_PORT_TX   GPIOE

Definition at line 269 of file px4fmu.h.

#define UART8_GPIO_RX   GPIO0

Definition at line 272 of file px4fmu.h.

#define UART8_GPIO_TX   GPIO1

Definition at line 270 of file px4fmu.h.

#define USE_ADC_1   1

Definition at line 58 of file px4fmu.h.

#define USE_ADC_2   2

Definition at line 69 of file px4fmu.h.

#define USE_BARO_BOARD   1

Baro.

Apparently needed for backwards compatibility with the ancient onboard baro boards

Definition at line 387 of file px4fmu.h.

#define USE_LED_1   1

Definition at line 25 of file px4fmu.h.

#define USE_LED_2   1

Definition at line 35 of file px4fmu.h.

#define USE_LED_3   1

Definition at line 45 of file px4fmu.h.

#define USE_PWM0   1

Definition at line 104 of file px4fmu.h.

#define USE_PWM1   1

Definition at line 119 of file px4fmu.h.

#define USE_PWM2   1

Definition at line 134 of file px4fmu.h.

#define USE_PWM3   1

Definition at line 149 of file px4fmu.h.

#define USE_PWM4   1

Definition at line 164 of file px4fmu.h.

#define USE_PWM5   1

Definition at line 179 of file px4fmu.h.