Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the source code of this file.
#define ActuatorDefaultSet | ( | _x, | |
_y | |||
) | ActuatorPwmSet(_x,_y) |
Definition at line 324 of file px4fmu_4.0.h.
#define ActuatorsDefaultCommit | ( | ) | ActuatorsPwmCommit() |
Definition at line 326 of file px4fmu_4.0.h.
#define ActuatorsDefaultInit | ( | ) | ActuatorsPwmInit() |
Definition at line 325 of file px4fmu_4.0.h.
#define AD1_1_CHANNEL 4 |
Definition at line 242 of file px4fmu_4.0.h.
#define AD1_2_CHANNEL 2 |
Definition at line 252 of file px4fmu_4.0.h.
#define AD1_3_CHANNEL 3 |
Definition at line 262 of file px4fmu_4.0.h.
#define AD1_4_CHANNEL 11 |
Definition at line 273 of file px4fmu_4.0.h.
#define ADC_1 AD1_1 |
Definition at line 243 of file px4fmu_4.0.h.
#define ADC_1_GPIO_PIN GPIO4 |
Definition at line 245 of file px4fmu_4.0.h.
#define ADC_1_GPIO_PORT GPIOA |
Definition at line 244 of file px4fmu_4.0.h.
#define ADC_2 AD1_2 |
Definition at line 253 of file px4fmu_4.0.h.
#define ADC_2_GPIO_PIN GPIO2 |
Definition at line 255 of file px4fmu_4.0.h.
#define ADC_2_GPIO_PORT GPIOA |
Definition at line 254 of file px4fmu_4.0.h.
#define ADC_3 AD1_3 |
Definition at line 263 of file px4fmu_4.0.h.
#define ADC_3_GPIO_PIN GPIO3 |
Definition at line 265 of file px4fmu_4.0.h.
#define ADC_3_GPIO_PORT GPIOA |
Definition at line 264 of file px4fmu_4.0.h.
#define ADC_4 AD1_4 |
Definition at line 274 of file px4fmu_4.0.h.
#define ADC_4_GPIO_PIN GPIO1 |
Definition at line 276 of file px4fmu_4.0.h.
#define ADC_4_GPIO_PORT GPIOC |
Definition at line 275 of file px4fmu_4.0.h.
#define ADC_CHANNEL_CURRENT ADC_3 |
Definition at line 293 of file px4fmu_4.0.h.
#define ADC_CHANNEL_RSSI ADC_4 |
Definition at line 303 of file px4fmu_4.0.h.
#define ADC_CHANNEL_VSUPPLY ADC_1 |
Definition at line 281 of file px4fmu_4.0.h.
#define AHB_CLK 168000000 |
Definition at line 15 of file px4fmu_4.0.h.
#define BOARD_PX4FMU_V4 |
Definition at line 4 of file px4fmu_4.0.h.
#define BUTTON_SAFETY_GPIO_PIN GPIO4 |
Definition at line 477 of file px4fmu_4.0.h.
#define BUTTON_SAFETY_GPIO_PORT GPIOC |
Definition at line 476 of file px4fmu_4.0.h.
#define DEFAULT_ACTUATORS "modules/actuators/actuators_pwm.h" |
Definition at line 323 of file px4fmu_4.0.h.
#define DefaultMilliAmpereOfAdc | ( | adc | ) | (9.55 * ((float)adc)) |
Definition at line 297 of file px4fmu_4.0.h.
#define DefaultVoltageOfAdc | ( | adc | ) | (10.5 * (float)adc) |
Definition at line 282 of file px4fmu_4.0.h.
#define EXT_CLK 24000000 |
Definition at line 14 of file px4fmu_4.0.h.
#define I2C1_GPIO_PORT GPIOB |
Definition at line 307 of file px4fmu_4.0.h.
#define I2C1_GPIO_SCL GPIO8 |
Definition at line 308 of file px4fmu_4.0.h.
#define I2C1_GPIO_SDA GPIO9 |
Definition at line 309 of file px4fmu_4.0.h.
#define LED_1_AFIO_REMAP ((void)0) |
Definition at line 30 of file px4fmu_4.0.h.
#define LED_1_GPIO GPIOB |
Definition at line 26 of file px4fmu_4.0.h.
#define LED_1_GPIO_OFF gpio_set |
Definition at line 29 of file px4fmu_4.0.h.
#define LED_1_GPIO_ON gpio_clear |
Definition at line 28 of file px4fmu_4.0.h.
#define LED_1_GPIO_PIN GPIO11 |
Definition at line 27 of file px4fmu_4.0.h.
#define LED_2_AFIO_REMAP ((void)0) |
Definition at line 40 of file px4fmu_4.0.h.
#define LED_2_GPIO GPIOB |
Definition at line 36 of file px4fmu_4.0.h.
#define LED_2_GPIO_OFF gpio_set |
Definition at line 39 of file px4fmu_4.0.h.
#define LED_2_GPIO_ON gpio_clear |
Definition at line 38 of file px4fmu_4.0.h.
#define LED_2_GPIO_PIN GPIO1 |
Definition at line 37 of file px4fmu_4.0.h.
#define LED_3_AFIO_REMAP ((void)0) |
Definition at line 50 of file px4fmu_4.0.h.
#define LED_3_GPIO GPIOB |
Definition at line 46 of file px4fmu_4.0.h.
#define LED_3_GPIO_OFF gpio_set |
Definition at line 49 of file px4fmu_4.0.h.
#define LED_3_GPIO_ON gpio_clear |
Definition at line 48 of file px4fmu_4.0.h.
#define LED_3_GPIO_PIN GPIO3 |
Definition at line 47 of file px4fmu_4.0.h.
#define LED_4_AFIO_REMAP ((void)0) |
Definition at line 462 of file px4fmu_4.0.h.
#define LED_4_GPIO GPIOC |
Definition at line 458 of file px4fmu_4.0.h.
#define LED_4_GPIO_OFF gpio_set |
Definition at line 461 of file px4fmu_4.0.h.
#define LED_4_GPIO_ON gpio_clear |
Definition at line 460 of file px4fmu_4.0.h.
#define LED_4_GPIO_PIN GPIO3 |
Definition at line 459 of file px4fmu_4.0.h.
#define PERIPHERAL3V3_ENABLE_OFF gpio_clear |
Definition at line 136 of file px4fmu_4.0.h.
#define PERIPHERAL3V3_ENABLE_ON gpio_set |
Definition at line 135 of file px4fmu_4.0.h.
#define PERIPHERAL3V3_ENABLE_PIN GPIO5 |
Definition at line 134 of file px4fmu_4.0.h.
#define PERIPHERAL3V3_ENABLE_PORT GPIOC |
Definition at line 133 of file px4fmu_4.0.h.
#define PWM_BUZZER_OC_BIT 0 |
Definition at line 490 of file px4fmu_4.0.h.
#define PWM_SERVO_1 0 |
Definition at line 344 of file px4fmu_4.0.h.
#define PWM_SERVO_1_AF GPIO_AF1 |
Definition at line 348 of file px4fmu_4.0.h.
#define PWM_SERVO_1_GPIO GPIOE |
Definition at line 346 of file px4fmu_4.0.h.
#define PWM_SERVO_1_OC TIM_OC4 |
Definition at line 349 of file px4fmu_4.0.h.
#define PWM_SERVO_1_OC_BIT (1<<3) |
Definition at line 350 of file px4fmu_4.0.h.
#define PWM_SERVO_1_PIN GPIO14 |
Definition at line 347 of file px4fmu_4.0.h.
#define PWM_SERVO_1_TIMER TIM1 |
Definition at line 345 of file px4fmu_4.0.h.
#define PWM_SERVO_2 1 |
Definition at line 357 of file px4fmu_4.0.h.
#define PWM_SERVO_2_AF GPIO_AF1 |
Definition at line 361 of file px4fmu_4.0.h.
#define PWM_SERVO_2_GPIO GPIOE |
Definition at line 359 of file px4fmu_4.0.h.
#define PWM_SERVO_2_OC TIM_OC3 |
Definition at line 362 of file px4fmu_4.0.h.
#define PWM_SERVO_2_OC_BIT (1<<2) |
Definition at line 363 of file px4fmu_4.0.h.
#define PWM_SERVO_2_PIN GPIO13 |
Definition at line 360 of file px4fmu_4.0.h.
#define PWM_SERVO_2_TIMER TIM1 |
Definition at line 358 of file px4fmu_4.0.h.
#define PWM_SERVO_3 2 |
Definition at line 370 of file px4fmu_4.0.h.
#define PWM_SERVO_3_AF GPIO_AF1 |
Definition at line 374 of file px4fmu_4.0.h.
#define PWM_SERVO_3_GPIO GPIOE |
Definition at line 372 of file px4fmu_4.0.h.
#define PWM_SERVO_3_OC TIM_OC2 |
Definition at line 375 of file px4fmu_4.0.h.
#define PWM_SERVO_3_OC_BIT (1<<1) |
Definition at line 376 of file px4fmu_4.0.h.
#define PWM_SERVO_3_PIN GPIO11 |
Definition at line 373 of file px4fmu_4.0.h.
#define PWM_SERVO_3_TIMER TIM1 |
Definition at line 371 of file px4fmu_4.0.h.
#define PWM_SERVO_4 3 |
Definition at line 383 of file px4fmu_4.0.h.
#define PWM_SERVO_4_AF GPIO_AF1 |
Definition at line 387 of file px4fmu_4.0.h.
#define PWM_SERVO_4_GPIO GPIOE |
Definition at line 385 of file px4fmu_4.0.h.
#define PWM_SERVO_4_OC TIM_OC1 |
Definition at line 388 of file px4fmu_4.0.h.
#define PWM_SERVO_4_OC_BIT (1<<0) |
Definition at line 389 of file px4fmu_4.0.h.
#define PWM_SERVO_4_PIN GPIO9 |
Definition at line 386 of file px4fmu_4.0.h.
#define PWM_SERVO_4_TIMER TIM1 |
Definition at line 384 of file px4fmu_4.0.h.
#define PWM_SERVO_5 4 |
Definition at line 396 of file px4fmu_4.0.h.
#define PWM_SERVO_5_AF GPIO_AF2 |
Definition at line 400 of file px4fmu_4.0.h.
#define PWM_SERVO_5_GPIO GPIOD |
Definition at line 398 of file px4fmu_4.0.h.
#define PWM_SERVO_5_OC TIM_OC2 |
Definition at line 401 of file px4fmu_4.0.h.
#define PWM_SERVO_5_OC_BIT (1<<1) |
Definition at line 402 of file px4fmu_4.0.h.
#define PWM_SERVO_5_PIN GPIO13 |
Definition at line 399 of file px4fmu_4.0.h.
#define PWM_SERVO_5_TIMER TIM4 |
Definition at line 397 of file px4fmu_4.0.h.
#define PWM_SERVO_6 5 |
Definition at line 409 of file px4fmu_4.0.h.
#define PWM_SERVO_6_AF GPIO_AF2 |
Definition at line 413 of file px4fmu_4.0.h.
#define PWM_SERVO_6_GPIO GPIOD |
Definition at line 411 of file px4fmu_4.0.h.
#define PWM_SERVO_6_OC TIM_OC3 |
Definition at line 414 of file px4fmu_4.0.h.
#define PWM_SERVO_6_OC_BIT (1<<2) |
Definition at line 415 of file px4fmu_4.0.h.
#define PWM_SERVO_6_PIN GPIO14 |
Definition at line 412 of file px4fmu_4.0.h.
#define PWM_SERVO_6_TIMER TIM4 |
Definition at line 410 of file px4fmu_4.0.h.
#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) |
Definition at line 420 of file px4fmu_4.0.h.
#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.
#define PWM_USE_TIM1 1 |
Definition at line 329 of file px4fmu_4.0.h.
#define PWM_USE_TIM4 1 |
Definition at line 330 of file px4fmu_4.0.h.
#define RADIO_CONTROL_POWER_OFF gpio_set |
Definition at line 130 of file px4fmu_4.0.h.
#define RADIO_CONTROL_POWER_ON gpio_clear |
Definition at line 129 of file px4fmu_4.0.h.
#define RADIO_CONTROL_POWER_PIN GPIO4 |
Definition at line 128 of file px4fmu_4.0.h.
#define RADIO_CONTROL_POWER_PORT GPIOE |
Definition at line 127 of file px4fmu_4.0.h.
#define RC_POLARITY_GPIO_PIN GPIO13 |
Definition at line 141 of file px4fmu_4.0.h.
#define RC_POLARITY_GPIO_PORT GPIOC |
Definition at line 140 of file px4fmu_4.0.h.
#define SAFETY_WARNING_LED 4 |
Definition at line 466 of file px4fmu_4.0.h.
#define SDIO_AF GPIO_AF12 |
Definition at line 217 of file px4fmu_4.0.h.
#define SDIO_CK_PIN GPIO12 |
Definition at line 227 of file px4fmu_4.0.h.
#define SDIO_CK_PORT GPIOC |
Definition at line 226 of file px4fmu_4.0.h.
#define SDIO_CMD_PIN GPIO2 |
Definition at line 229 of file px4fmu_4.0.h.
#define SDIO_CMD_PORT GPIOD |
Definition at line 228 of file px4fmu_4.0.h.
#define SDIO_D0_PIN GPIO8 |
Definition at line 219 of file px4fmu_4.0.h.
#define SDIO_D0_PORT GPIOC |
Definition at line 218 of file px4fmu_4.0.h.
#define SDIO_D1_PIN GPIO9 |
Definition at line 221 of file px4fmu_4.0.h.
#define SDIO_D1_PORT GPIOC |
Definition at line 220 of file px4fmu_4.0.h.
#define SDIO_D2_PIN GPIO10 |
Definition at line 223 of file px4fmu_4.0.h.
#define SDIO_D2_PORT GPIOC |
Definition at line 222 of file px4fmu_4.0.h.
#define SDIO_D3_PIN GPIO11 |
Definition at line 225 of file px4fmu_4.0.h.
#define SDIO_D3_PORT GPIOC |
Definition at line 224 of file px4fmu_4.0.h.
#define SPEKTRUM_UART6_AF GPIO_AF8 |
Definition at line 146 of file px4fmu_4.0.h.
#define SPEKTRUM_UART6_BANK GPIOC |
Definition at line 144 of file px4fmu_4.0.h.
#define SPEKTRUM_UART6_DEV USART6 |
Definition at line 149 of file px4fmu_4.0.h.
#define SPEKTRUM_UART6_IRQ NVIC_USART6_IRQ |
Definition at line 147 of file px4fmu_4.0.h.
#define SPEKTRUM_UART6_ISR usart6_isr |
Definition at line 148 of file px4fmu_4.0.h.
#define SPEKTRUM_UART6_PIN GPIO7 |
Definition at line 145 of file px4fmu_4.0.h.
#define SPEKTRUM_UART6_RCC RCC_USART6 |
Definition at line 143 of file px4fmu_4.0.h.
#define SPI1_GPIO_AF GPIO_AF5 |
Definition at line 154 of file px4fmu_4.0.h.
#define SPI1_GPIO_MISO GPIO6 |
Definition at line 156 of file px4fmu_4.0.h.
#define SPI1_GPIO_MOSI GPIO7 |
Definition at line 158 of file px4fmu_4.0.h.
#define SPI1_GPIO_PORT_MISO GPIOA |
Definition at line 155 of file px4fmu_4.0.h.
#define SPI1_GPIO_PORT_MOSI GPIOA |
Definition at line 157 of file px4fmu_4.0.h.
#define SPI1_GPIO_PORT_SCK GPIOA |
Definition at line 159 of file px4fmu_4.0.h.
#define SPI1_GPIO_SCK GPIO5 |
Definition at line 160 of file px4fmu_4.0.h.
#define SPI2_GPIO_AF GPIO_AF5 |
Definition at line 163 of file px4fmu_4.0.h.
#define SPI2_GPIO_MISO GPIO14 |
Definition at line 165 of file px4fmu_4.0.h.
#define SPI2_GPIO_MOSI GPIO15 |
Definition at line 167 of file px4fmu_4.0.h.
#define SPI2_GPIO_PORT_MISO GPIOB |
Definition at line 164 of file px4fmu_4.0.h.
#define SPI2_GPIO_PORT_MOSI GPIOB |
Definition at line 166 of file px4fmu_4.0.h.
#define SPI2_GPIO_PORT_SCK GPIOB |
Definition at line 168 of file px4fmu_4.0.h.
#define SPI2_GPIO_SCK GPIO10 |
Definition at line 169 of file px4fmu_4.0.h.
#define SPI_SELECT_SLAVE0_PIN GPIO15 |
Definition at line 187 of file px4fmu_4.0.h.
#define SPI_SELECT_SLAVE0_PORT GPIOC |
Definition at line 186 of file px4fmu_4.0.h.
#define SPI_SELECT_SLAVE1_PIN GPIO15 |
Definition at line 192 of file px4fmu_4.0.h.
#define SPI_SELECT_SLAVE1_PORT GPIOE |
Definition at line 191 of file px4fmu_4.0.h.
#define SPI_SELECT_SLAVE2_PIN GPIO2 |
Definition at line 201 of file px4fmu_4.0.h.
#define SPI_SELECT_SLAVE2_PORT GPIOC |
Definition at line 200 of file px4fmu_4.0.h.
#define SPI_SELECT_SLAVE3_PIN GPIO7 |
Definition at line 205 of file px4fmu_4.0.h.
#define SPI_SELECT_SLAVE3_PORT GPIOD |
Definition at line 204 of file px4fmu_4.0.h.
#define SPI_SELECT_SLAVE4_PIN GPIO10 |
Definition at line 209 of file px4fmu_4.0.h.
#define SPI_SELECT_SLAVE4_PORT GPIOD |
Definition at line 208 of file px4fmu_4.0.h.
#define UART1_GPIO_AF GPIO_AF7 |
Definition at line 59 of file px4fmu_4.0.h.
#define UART1_GPIO_PORT_RX GPIOB |
Definition at line 60 of file px4fmu_4.0.h.
#define UART1_GPIO_PORT_TX GPIOB |
Definition at line 62 of file px4fmu_4.0.h.
#define UART1_GPIO_RX GPIO7 |
Definition at line 61 of file px4fmu_4.0.h.
#define UART1_GPIO_TX GPIO6 |
Definition at line 63 of file px4fmu_4.0.h.
#define UART2_GPIO_AF GPIO_AF7 |
Definition at line 78 of file px4fmu_4.0.h.
#define UART2_GPIO_CTS GPIO3 |
Definition at line 84 of file px4fmu_4.0.h.
#define UART2_GPIO_PORT_CTS GPIOD |
Definition at line 83 of file px4fmu_4.0.h.
#define UART2_GPIO_PORT_RTS GPIOD |
Definition at line 85 of file px4fmu_4.0.h.
#define UART2_GPIO_PORT_RX GPIOD |
Definition at line 79 of file px4fmu_4.0.h.
#define UART2_GPIO_PORT_TX GPIOD |
Definition at line 81 of file px4fmu_4.0.h.
#define UART2_GPIO_RTS GPIO4 |
Definition at line 86 of file px4fmu_4.0.h.
#define UART2_GPIO_RX GPIO6 |
Definition at line 80 of file px4fmu_4.0.h.
#define UART2_GPIO_TX GPIO5 |
Definition at line 82 of file px4fmu_4.0.h.
#define UART3_GPIO_AF GPIO_AF7 |
Definition at line 89 of file px4fmu_4.0.h.
#define UART3_GPIO_CTS GPIO11 |
Definition at line 95 of file px4fmu_4.0.h.
#define UART3_GPIO_PORT_CTS GPIOD |
Definition at line 94 of file px4fmu_4.0.h.
#define UART3_GPIO_PORT_RTS GPIOD |
Definition at line 96 of file px4fmu_4.0.h.
#define UART3_GPIO_PORT_RX GPIOD |
Definition at line 90 of file px4fmu_4.0.h.
#define UART3_GPIO_PORT_TX GPIOD |
Definition at line 92 of file px4fmu_4.0.h.
#define UART3_GPIO_RTS GPIO12 |
Definition at line 97 of file px4fmu_4.0.h.
#define UART3_GPIO_RX GPIO9 |
Definition at line 91 of file px4fmu_4.0.h.
#define UART3_GPIO_TX GPIO8 |
Definition at line 93 of file px4fmu_4.0.h.
#define UART4_GPIO_AF GPIO_AF8 |
Definition at line 100 of file px4fmu_4.0.h.
#define UART4_GPIO_PORT_RX GPIOA |
Definition at line 101 of file px4fmu_4.0.h.
#define UART4_GPIO_PORT_TX GPIOA |
Definition at line 103 of file px4fmu_4.0.h.
#define UART4_GPIO_RX GPIO1 |
Definition at line 102 of file px4fmu_4.0.h.
#define UART4_GPIO_TX GPIO0 |
Definition at line 104 of file px4fmu_4.0.h.
#define UART6_GPIO_AF GPIO_AF8 |
Definition at line 107 of file px4fmu_4.0.h.
#define UART6_GPIO_PORT_RX GPIOC |
Definition at line 108 of file px4fmu_4.0.h.
#define UART6_GPIO_RX GPIO7 |
Definition at line 109 of file px4fmu_4.0.h.
#define UART7_GPIO_AF GPIO_AF8 |
Definition at line 112 of file px4fmu_4.0.h.
#define UART7_GPIO_PORT_RX GPIOE |
Definition at line 113 of file px4fmu_4.0.h.
#define UART7_GPIO_PORT_TX GPIOE |
Definition at line 115 of file px4fmu_4.0.h.
#define UART7_GPIO_RX GPIO7 |
Definition at line 114 of file px4fmu_4.0.h.
#define UART7_GPIO_TX GPIO8 |
Definition at line 116 of file px4fmu_4.0.h.
#define UART8_GPIO_AF GPIO_AF8 |
Definition at line 119 of file px4fmu_4.0.h.
#define UART8_GPIO_PORT_RX GPIOE |
Definition at line 120 of file px4fmu_4.0.h.
#define UART8_GPIO_PORT_TX GPIOE |
Definition at line 122 of file px4fmu_4.0.h.
#define UART8_GPIO_RX GPIO0 |
Definition at line 121 of file px4fmu_4.0.h.
#define UART8_GPIO_TX GPIO1 |
Definition at line 123 of file px4fmu_4.0.h.
#define USE_AD_TIM3 1 |
Definition at line 235 of file px4fmu_4.0.h.
#define USE_ADC_1 1 |
Definition at line 239 of file px4fmu_4.0.h.
#define USE_ADC_2 1 |
Definition at line 249 of file px4fmu_4.0.h.
#define USE_ADC_3 1 |
Definition at line 259 of file px4fmu_4.0.h.
#define USE_ADC_4 1 |
Definition at line 270 of file px4fmu_4.0.h.
#define USE_BARO_BOARD 1 |
Definition at line 313 of file px4fmu_4.0.h.
#define USE_LED_1 1 |
Definition at line 24 of file px4fmu_4.0.h.
#define USE_LED_2 1 |
Definition at line 34 of file px4fmu_4.0.h.
#define USE_LED_3 1 |
Definition at line 44 of file px4fmu_4.0.h.
#define USE_LED_4 1 |
Definition at line 456 of file px4fmu_4.0.h.
#define USE_MAGNETOMETER_B 0 |
Definition at line 319 of file px4fmu_4.0.h.
#define USE_PWM1 1 |
Definition at line 335 of file px4fmu_4.0.h.
#define USE_PWM2 1 |
Definition at line 336 of file px4fmu_4.0.h.
#define USE_PWM3 1 |
Definition at line 337 of file px4fmu_4.0.h.
#define USE_PWM4 1 |
Definition at line 338 of file px4fmu_4.0.h.
#define USE_PWM5 1 |
Definition at line 339 of file px4fmu_4.0.h.
#define USE_PWM6 1 |
Definition at line 340 of file px4fmu_4.0.h.