Paparazzi UAS
v5.12_stable-4-g9b43e9b
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 245 of file px4fmu_2.4.h.
#define ActuatorsDefaultCommit | ( | ) | ActuatorsPwmCommit() |
Definition at line 247 of file px4fmu_2.4.h.
#define ActuatorsDefaultInit | ( | ) | ActuatorsPwmInit() |
Definition at line 246 of file px4fmu_2.4.h.
#define AD1_1_CHANNEL 4 |
Definition at line 155 of file px4fmu_2.4.h.
#define AD1_2_CHANNEL 2 |
Definition at line 166 of file px4fmu_2.4.h.
#define AD1_3_CHANNEL 3 |
Definition at line 177 of file px4fmu_2.4.h.
#define AD1_4_CHANNEL 15 |
Definition at line 197 of file px4fmu_2.4.h.
#define ADC_1 AD1_1 |
Definition at line 156 of file px4fmu_2.4.h.
#define ADC_1_GPIO_PIN GPIO4 |
Definition at line 158 of file px4fmu_2.4.h.
#define ADC_1_GPIO_PORT GPIOA |
Definition at line 157 of file px4fmu_2.4.h.
#define ADC_2 AD1_2 |
Definition at line 167 of file px4fmu_2.4.h.
#define ADC_2_GPIO_PIN GPIO2 |
Definition at line 169 of file px4fmu_2.4.h.
#define ADC_2_GPIO_PORT GPIOA |
Definition at line 168 of file px4fmu_2.4.h.
#define ADC_3 AD1_3 |
Definition at line 178 of file px4fmu_2.4.h.
#define ADC_3_GPIO_PIN GPIO3 |
Definition at line 180 of file px4fmu_2.4.h.
#define ADC_3_GPIO_PORT GPIOA |
Definition at line 179 of file px4fmu_2.4.h.
#define ADC_4 AD1_4 |
Definition at line 198 of file px4fmu_2.4.h.
#define ADC_4_GPIO_PIN GPIO5 |
Definition at line 200 of file px4fmu_2.4.h.
#define ADC_4_GPIO_PORT GPIOC |
Definition at line 199 of file px4fmu_2.4.h.
#define ADC_CHANNEL_VSUPPLY ADC_2 |
Definition at line 186 of file px4fmu_2.4.h.
#define AHB_CLK 168000000 |
Definition at line 9 of file px4fmu_2.4.h.
#define BOARD_PX4FMU_v2 |
Definition at line 4 of file px4fmu_2.4.h.
#define DEFAULT_ACTUATORS "subsystems/actuators/actuators_pwm.h" |
Definition at line 244 of file px4fmu_2.4.h.
#define DefaultVoltageOfAdc | ( | adc | ) | (0.00975*adc) |
Definition at line 187 of file px4fmu_2.4.h.
#define EXT_CLK 24000000 |
Definition at line 8 of file px4fmu_2.4.h.
#define I2C1_GPIO_PORT GPIOB |
Definition at line 222 of file px4fmu_2.4.h.
#define I2C1_GPIO_SCL GPIO8 |
Definition at line 223 of file px4fmu_2.4.h.
#define I2C1_GPIO_SDA GPIO9 |
Definition at line 224 of file px4fmu_2.4.h.
#define I2C2_GPIO_PORT GPIOB |
Definition at line 226 of file px4fmu_2.4.h.
#define I2C2_GPIO_SCL GPIO10 |
Definition at line 227 of file px4fmu_2.4.h.
#define I2C2_GPIO_SDA GPIO11 |
Definition at line 228 of file px4fmu_2.4.h.
#define LED_1_AFIO_REMAP ((void)0) |
Definition at line 22 of file px4fmu_2.4.h.
#define LED_1_GPIO GPIOE |
Definition at line 18 of file px4fmu_2.4.h.
#define LED_1_GPIO_OFF gpio_set |
Definition at line 21 of file px4fmu_2.4.h.
#define LED_1_GPIO_ON gpio_clear |
Definition at line 20 of file px4fmu_2.4.h.
#define LED_1_GPIO_PIN GPIO12 |
Definition at line 19 of file px4fmu_2.4.h.
#define MilliAmpereOfAdc | ( | adc | ) | ((float)adc) * (3.3f / 4096.0f) * (90.0f / 5.0f) |
Definition at line 182 of file px4fmu_2.4.h.
#define PWM_BUZZER_OC_BIT 0 |
Definition at line 353 of file px4fmu_2.4.h.
#define PWM_SERVO_1 0 |
Definition at line 266 of file px4fmu_2.4.h.
#define PWM_SERVO_1_AF GPIO_AF1 |
Definition at line 270 of file px4fmu_2.4.h.
#define PWM_SERVO_1_GPIO GPIOE |
Definition at line 268 of file px4fmu_2.4.h.
#define PWM_SERVO_1_OC TIM_OC4 |
Definition at line 271 of file px4fmu_2.4.h.
#define PWM_SERVO_1_OC_BIT (1<<3) |
Definition at line 272 of file px4fmu_2.4.h.
#define PWM_SERVO_1_PIN GPIO14 |
Definition at line 269 of file px4fmu_2.4.h.
#define PWM_SERVO_1_TIMER TIM1 |
Definition at line 267 of file px4fmu_2.4.h.
#define PWM_SERVO_2 1 |
Definition at line 279 of file px4fmu_2.4.h.
#define PWM_SERVO_2_AF GPIO_AF1 |
Definition at line 283 of file px4fmu_2.4.h.
#define PWM_SERVO_2_GPIO GPIOE |
Definition at line 281 of file px4fmu_2.4.h.
#define PWM_SERVO_2_OC TIM_OC3 |
Definition at line 284 of file px4fmu_2.4.h.
#define PWM_SERVO_2_OC_BIT (1<<2) |
Definition at line 285 of file px4fmu_2.4.h.
#define PWM_SERVO_2_PIN GPIO13 |
Definition at line 282 of file px4fmu_2.4.h.
#define PWM_SERVO_2_TIMER TIM1 |
Definition at line 280 of file px4fmu_2.4.h.
#define PWM_SERVO_3 2 |
Definition at line 292 of file px4fmu_2.4.h.
#define PWM_SERVO_3_AF GPIO_AF1 |
Definition at line 296 of file px4fmu_2.4.h.
#define PWM_SERVO_3_GPIO GPIOE |
Definition at line 294 of file px4fmu_2.4.h.
#define PWM_SERVO_3_OC TIM_OC2 |
Definition at line 297 of file px4fmu_2.4.h.
#define PWM_SERVO_3_OC_BIT (1<<1) |
Definition at line 298 of file px4fmu_2.4.h.
#define PWM_SERVO_3_PIN GPIO11 |
Definition at line 295 of file px4fmu_2.4.h.
#define PWM_SERVO_3_TIMER TIM1 |
Definition at line 293 of file px4fmu_2.4.h.
#define PWM_SERVO_4 3 |
Definition at line 305 of file px4fmu_2.4.h.
#define PWM_SERVO_4_AF GPIO_AF1 |
Definition at line 309 of file px4fmu_2.4.h.
#define PWM_SERVO_4_GPIO GPIOE |
Definition at line 307 of file px4fmu_2.4.h.
#define PWM_SERVO_4_OC TIM_OC1 |
Definition at line 310 of file px4fmu_2.4.h.
#define PWM_SERVO_4_OC_BIT (1<<0) |
Definition at line 311 of file px4fmu_2.4.h.
#define PWM_SERVO_4_PIN GPIO9 |
Definition at line 308 of file px4fmu_2.4.h.
#define PWM_SERVO_4_TIMER TIM1 |
Definition at line 306 of file px4fmu_2.4.h.
#define PWM_SERVO_5 4 |
Definition at line 318 of file px4fmu_2.4.h.
#define PWM_SERVO_5_AF GPIO_AF2 |
Definition at line 322 of file px4fmu_2.4.h.
#define PWM_SERVO_5_GPIO GPIOD |
Definition at line 320 of file px4fmu_2.4.h.
#define PWM_SERVO_5_OC TIM_OC2 |
Definition at line 323 of file px4fmu_2.4.h.
#define PWM_SERVO_5_OC_BIT (1<<1) |
Definition at line 324 of file px4fmu_2.4.h.
#define PWM_SERVO_5_PIN GPIO13 |
Definition at line 321 of file px4fmu_2.4.h.
#define PWM_SERVO_5_TIMER TIM4 |
Definition at line 319 of file px4fmu_2.4.h.
#define PWM_SERVO_6 5 |
Definition at line 331 of file px4fmu_2.4.h.
#define PWM_SERVO_6_AF GPIO_AF2 |
Definition at line 335 of file px4fmu_2.4.h.
#define PWM_SERVO_6_GPIO GPIOD |
Definition at line 333 of file px4fmu_2.4.h.
#define PWM_SERVO_6_OC TIM_OC3 |
Definition at line 336 of file px4fmu_2.4.h.
#define PWM_SERVO_6_OC_BIT (1<<2) |
Definition at line 337 of file px4fmu_2.4.h.
#define PWM_SERVO_6_PIN GPIO14 |
Definition at line 334 of file px4fmu_2.4.h.
#define PWM_SERVO_6_TIMER TIM4 |
Definition at line 332 of file px4fmu_2.4.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 356 of file px4fmu_2.4.h.
#define PWM_TIM4_CHAN_MASK (PWM_SERVO_5_OC_BIT|PWM_SERVO_6_OC_BIT) |
Definition at line 357 of file px4fmu_2.4.h.
#define PWM_USE_TIM1 1 |
Definition at line 250 of file px4fmu_2.4.h.
#define PWM_USE_TIM4 1 |
Definition at line 251 of file px4fmu_2.4.h.
#define SPI1_GPIO_AF GPIO_AF5 |
Definition at line 79 of file px4fmu_2.4.h.
#define SPI1_GPIO_MISO GPIO6 |
Definition at line 81 of file px4fmu_2.4.h.
#define SPI1_GPIO_MOSI GPIO7 |
Definition at line 83 of file px4fmu_2.4.h.
#define SPI1_GPIO_PORT_MISO GPIOA |
Definition at line 80 of file px4fmu_2.4.h.
#define SPI1_GPIO_PORT_MOSI GPIOA |
Definition at line 82 of file px4fmu_2.4.h.
#define SPI1_GPIO_PORT_SCK GPIOA |
Definition at line 84 of file px4fmu_2.4.h.
#define SPI1_GPIO_SCK GPIO5 |
Definition at line 85 of file px4fmu_2.4.h.
#define SPI2_GPIO_AF GPIO_AF5 |
Definition at line 88 of file px4fmu_2.4.h.
#define SPI2_GPIO_MISO GPIO14 |
Definition at line 90 of file px4fmu_2.4.h.
#define SPI2_GPIO_MOSI GPIO15 |
Definition at line 92 of file px4fmu_2.4.h.
#define SPI2_GPIO_PORT_MISO GPIOB |
Definition at line 89 of file px4fmu_2.4.h.
#define SPI2_GPIO_PORT_MOSI GPIOB |
Definition at line 91 of file px4fmu_2.4.h.
#define SPI2_GPIO_PORT_SCK GPIOB |
Definition at line 93 of file px4fmu_2.4.h.
#define SPI2_GPIO_SCK GPIO13 |
Definition at line 94 of file px4fmu_2.4.h.
#define SPI4_GPIO_AF GPIO_AF5 |
Definition at line 97 of file px4fmu_2.4.h.
#define SPI4_GPIO_MISO GPIO5 |
Definition at line 99 of file px4fmu_2.4.h.
#define SPI4_GPIO_MOSI GPIO6 |
Definition at line 101 of file px4fmu_2.4.h.
#define SPI4_GPIO_PORT_MISO GPIOE |
Definition at line 98 of file px4fmu_2.4.h.
#define SPI4_GPIO_PORT_MOSI GPIOE |
Definition at line 100 of file px4fmu_2.4.h.
#define SPI4_GPIO_PORT_SCK GPIOE |
Definition at line 102 of file px4fmu_2.4.h.
#define SPI4_GPIO_SCK GPIO2 |
Definition at line 103 of file px4fmu_2.4.h.
#define SPI_SELECT_SLAVE0_PIN GPIO13 |
Definition at line 110 of file px4fmu_2.4.h.
#define SPI_SELECT_SLAVE0_PORT GPIOC |
Definition at line 109 of file px4fmu_2.4.h.
#define SPI_SELECT_SLAVE1_PIN GPIO15 |
Definition at line 114 of file px4fmu_2.4.h.
#define SPI_SELECT_SLAVE1_PORT GPIOC |
Definition at line 113 of file px4fmu_2.4.h.
#define SPI_SELECT_SLAVE2_PIN GPIO2 |
Definition at line 118 of file px4fmu_2.4.h.
#define SPI_SELECT_SLAVE2_PORT GPIOC |
Definition at line 117 of file px4fmu_2.4.h.
#define SPI_SELECT_SLAVE3_PIN GPIO7 |
Definition at line 122 of file px4fmu_2.4.h.
#define SPI_SELECT_SLAVE3_PORT GPIOD |
Definition at line 121 of file px4fmu_2.4.h.
#define SPI_SELECT_SLAVE4_PIN GPIO10 |
Definition at line 126 of file px4fmu_2.4.h.
#define SPI_SELECT_SLAVE4_PORT GPIOD |
Definition at line 125 of file px4fmu_2.4.h.
#define UART2_GPIO_AF GPIO_AF7 |
Definition at line 29 of file px4fmu_2.4.h.
#define UART2_GPIO_PORT_RX GPIOD |
Definition at line 30 of file px4fmu_2.4.h.
#define UART2_GPIO_PORT_TX GPIOD |
Definition at line 32 of file px4fmu_2.4.h.
#define UART2_GPIO_RX GPIO6 |
Definition at line 31 of file px4fmu_2.4.h.
#define UART2_GPIO_TX GPIO5 |
Definition at line 33 of file px4fmu_2.4.h.
#define UART3_GPIO_AF GPIO_AF7 |
Definition at line 38 of file px4fmu_2.4.h.
#define UART3_GPIO_PORT_RX GPIOD |
Definition at line 39 of file px4fmu_2.4.h.
#define UART3_GPIO_PORT_TX GPIOD |
Definition at line 41 of file px4fmu_2.4.h.
#define UART3_GPIO_RX GPIO9 |
Definition at line 40 of file px4fmu_2.4.h.
#define UART3_GPIO_TX GPIO8 |
Definition at line 42 of file px4fmu_2.4.h.
#define UART4_GPIO_AF GPIO_AF8 |
Definition at line 47 of file px4fmu_2.4.h.
#define UART4_GPIO_PORT_RX GPIOA |
Definition at line 48 of file px4fmu_2.4.h.
#define UART4_GPIO_PORT_TX GPIOA |
Definition at line 50 of file px4fmu_2.4.h.
#define UART4_GPIO_RX GPIO1 |
Definition at line 49 of file px4fmu_2.4.h.
#define UART4_GPIO_TX GPIO0 |
Definition at line 51 of file px4fmu_2.4.h.
#define UART6_GPIO_AF GPIO_AF8 |
Definition at line 54 of file px4fmu_2.4.h.
#define UART6_GPIO_PORT_RX GPIOC |
Definition at line 55 of file px4fmu_2.4.h.
#define UART6_GPIO_PORT_TX GPIOC |
Definition at line 57 of file px4fmu_2.4.h.
#define UART6_GPIO_RX GPIO7 |
Definition at line 56 of file px4fmu_2.4.h.
#define UART6_GPIO_TX GPIO6 |
Definition at line 58 of file px4fmu_2.4.h.
#define UART7_GPIO_AF GPIO_AF8 |
Definition at line 61 of file px4fmu_2.4.h.
#define UART7_GPIO_PORT_RX GPIOE |
Definition at line 62 of file px4fmu_2.4.h.
#define UART7_GPIO_PORT_TX GPIOE |
Definition at line 64 of file px4fmu_2.4.h.
#define UART7_GPIO_RX GPIO7 |
Definition at line 63 of file px4fmu_2.4.h.
#define UART7_GPIO_TX GPIO8 |
Definition at line 65 of file px4fmu_2.4.h.
#define UART8_GPIO_AF GPIO_AF8 |
Definition at line 68 of file px4fmu_2.4.h.
#define UART8_GPIO_PORT_RX GPIOE |
Definition at line 69 of file px4fmu_2.4.h.
#define UART8_GPIO_PORT_TX GPIOE |
Definition at line 71 of file px4fmu_2.4.h.
#define UART8_GPIO_RX GPIO0 |
Definition at line 70 of file px4fmu_2.4.h.
#define UART8_GPIO_TX GPIO1 |
Definition at line 72 of file px4fmu_2.4.h.
#define USE_AD_TIM3 1 |
Definition at line 148 of file px4fmu_2.4.h.
#define USE_ADC_1 1 |
Definition at line 152 of file px4fmu_2.4.h.
#define USE_ADC_2 1 |
Definition at line 163 of file px4fmu_2.4.h.
#define USE_ADC_3 1 |
Definition at line 174 of file px4fmu_2.4.h.
#define USE_ADC_4 1 |
Definition at line 194 of file px4fmu_2.4.h.
#define USE_BARO_BOARD 1 |
Definition at line 239 of file px4fmu_2.4.h.
#define USE_LED_1 1 |
Definition at line 16 of file px4fmu_2.4.h.
#define USE_PWM1 1 |
Definition at line 253 of file px4fmu_2.4.h.
#define USE_PWM2 1 |
Definition at line 254 of file px4fmu_2.4.h.
#define USE_PWM3 1 |
Definition at line 255 of file px4fmu_2.4.h.
#define USE_PWM4 1 |
Definition at line 256 of file px4fmu_2.4.h.
#define USE_PWM5 1 |
Definition at line 257 of file px4fmu_2.4.h.
#define USE_PWM6 1 |
Definition at line 258 of file px4fmu_2.4.h.