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 105 of file apogee_1.0.h.
#define ActuatorsDefaultCommit | ( | ) | ActuatorsPwmCommit() |
Definition at line 107 of file apogee_1.0.h.
#define ActuatorsDefaultInit | ( | ) | ActuatorsPwmInit() |
Definition at line 106 of file apogee_1.0.h.
#define AD1_4_CHANNEL 4 |
Definition at line 197 of file apogee_1.0.h.
#define ADC_4 AD1_4 |
Definition at line 198 of file apogee_1.0.h.
#define ADC_4_GPIO_PIN GPIO4 |
Definition at line 200 of file apogee_1.0.h.
#define ADC_4_GPIO_PORT GPIOA |
Definition at line 199 of file apogee_1.0.h.
#define ADC_CHANNEL_VSUPPLY ADC_4 |
Definition at line 205 of file apogee_1.0.h.
#define AHB_CLK 168000000 |
Definition at line 8 of file apogee_1.0.h.
#define BOARD_APOGEE |
Definition at line 4 of file apogee_1.0.h.
#define DEFAULT_ACTUATORS "modules/actuators/actuators_pwm.h" |
Definition at line 104 of file apogee_1.0.h.
#define DefaultVoltageOfAdc | ( | adc | ) | (0.006185*adc) |
Definition at line 109 of file apogee_1.0.h.
#define EXT_CLK 16000000 |
Definition at line 7 of file apogee_1.0.h.
#define I2C1_GPIO_PORT GPIOB |
Definition at line 210 of file apogee_1.0.h.
#define I2C1_GPIO_SCL GPIO8 |
Definition at line 211 of file apogee_1.0.h.
#define I2C1_GPIO_SDA GPIO7 |
Definition at line 212 of file apogee_1.0.h.
#define I2C2_GPIO_PORT GPIOB |
Definition at line 214 of file apogee_1.0.h.
#define I2C2_GPIO_SCL GPIO10 |
Definition at line 215 of file apogee_1.0.h.
#define I2C2_GPIO_SDA GPIO11 |
Definition at line 216 of file apogee_1.0.h.
#define LED_1_AFIO_REMAP ((void)0) |
Definition at line 22 of file apogee_1.0.h.
#define LED_1_GPIO GPIOC |
Definition at line 18 of file apogee_1.0.h.
#define LED_1_GPIO_OFF gpio_set |
Definition at line 21 of file apogee_1.0.h.
#define LED_1_GPIO_ON gpio_clear |
Definition at line 20 of file apogee_1.0.h.
#define LED_1_GPIO_PIN GPIO0 |
Definition at line 19 of file apogee_1.0.h.
#define LED_2_AFIO_REMAP ((void)0) |
Definition at line 32 of file apogee_1.0.h.
#define LED_2_GPIO GPIOC |
Definition at line 28 of file apogee_1.0.h.
#define LED_2_GPIO_OFF gpio_set |
Definition at line 31 of file apogee_1.0.h.
#define LED_2_GPIO_ON gpio_clear |
Definition at line 30 of file apogee_1.0.h.
#define LED_2_GPIO_PIN GPIO13 |
Definition at line 29 of file apogee_1.0.h.
#define LED_3_AFIO_REMAP ((void)0) |
Definition at line 42 of file apogee_1.0.h.
#define LED_3_GPIO GPIOC |
Definition at line 38 of file apogee_1.0.h.
#define LED_3_GPIO_OFF gpio_set |
Definition at line 41 of file apogee_1.0.h.
#define LED_3_GPIO_ON gpio_clear |
Definition at line 40 of file apogee_1.0.h.
#define LED_3_GPIO_PIN GPIO1 |
Definition at line 39 of file apogee_1.0.h.
#define LED_4_AFIO_REMAP ((void)0) |
Definition at line 52 of file apogee_1.0.h.
#define LED_4_GPIO GPIOC |
Definition at line 48 of file apogee_1.0.h.
#define LED_4_GPIO_OFF gpio_set |
Definition at line 51 of file apogee_1.0.h.
#define LED_4_GPIO_ON gpio_clear |
Definition at line 50 of file apogee_1.0.h.
#define LED_4_GPIO_PIN GPIO3 |
Definition at line 49 of file apogee_1.0.h.
#define LED_5_AFIO_REMAP ((void)0) |
Definition at line 62 of file apogee_1.0.h.
#define LED_5_GPIO GPIOB |
Definition at line 58 of file apogee_1.0.h.
#define LED_5_GPIO_OFF gpio_clear |
Definition at line 61 of file apogee_1.0.h.
#define LED_5_GPIO_ON gpio_set |
Definition at line 60 of file apogee_1.0.h.
#define LED_5_GPIO_PIN GPIO1 |
Definition at line 59 of file apogee_1.0.h.
#define LED_6_AFIO_REMAP ((void)0) |
Definition at line 72 of file apogee_1.0.h.
#define LED_6_GPIO GPIOC |
Definition at line 68 of file apogee_1.0.h.
#define LED_6_GPIO_OFF gpio_clear |
Definition at line 71 of file apogee_1.0.h.
#define LED_6_GPIO_ON gpio_set |
Definition at line 70 of file apogee_1.0.h.
#define LED_6_GPIO_PIN GPIO5 |
Definition at line 69 of file apogee_1.0.h.
#define LED_7_AFIO_REMAP ((void)0) |
Definition at line 82 of file apogee_1.0.h.
#define LED_7_GPIO GPIOC |
Definition at line 78 of file apogee_1.0.h.
#define LED_7_GPIO_OFF gpio_clear |
Definition at line 81 of file apogee_1.0.h.
#define LED_7_GPIO_ON gpio_set |
Definition at line 80 of file apogee_1.0.h.
#define LED_7_GPIO_PIN GPIO4 |
Definition at line 79 of file apogee_1.0.h.
#define LED_8_AFIO_REMAP ((void)0) |
Definition at line 92 of file apogee_1.0.h.
#define LED_8_GPIO GPIOB |
Definition at line 88 of file apogee_1.0.h.
#define LED_8_GPIO_OFF gpio_clear |
Definition at line 91 of file apogee_1.0.h.
#define LED_8_GPIO_ON gpio_set |
Definition at line 90 of file apogee_1.0.h.
#define LED_8_GPIO_PIN GPIO15 |
Definition at line 89 of file apogee_1.0.h.
#define NVIC_ADC_IRQ_PRIO (RTOS_PRIO+5) |
Definition at line 438 of file apogee_1.0.h.
#define NVIC_I2C_IRQ_PRIO (RTOS_PRIO+2) |
Definition at line 434 of file apogee_1.0.h.
#define NVIC_SPI_IRQ_PRIO (RTOS_PRIO+3) |
Definition at line 435 of file apogee_1.0.h.
#define NVIC_TIM6_DAC_IRQ_PRIO (RTOS_PRIO+6) |
Definition at line 439 of file apogee_1.0.h.
#define NVIC_TIM_IRQ_PRIO (RTOS_PRIO+1) |
Definition at line 433 of file apogee_1.0.h.
#define NVIC_UART_IRQ_PRIO (RTOS_PRIO+4) |
Definition at line 436 of file apogee_1.0.h.
#define NVIC_USART_IRQ_PRIO (RTOS_PRIO+4) |
Definition at line 437 of file apogee_1.0.h.
Definition at line 95 of file apogee_1.0.h.
#define PPM_CC_IE TIM_DIER_CC1IE |
Definition at line 349 of file apogee_1.0.h.
#define PPM_CC_IF TIM_SR_CC1IF |
Definition at line 350 of file apogee_1.0.h.
#define PPM_CHANNEL TIM_IC1 |
Definition at line 344 of file apogee_1.0.h.
#define PPM_GPIO_AF GPIO_AF1 |
Definition at line 353 of file apogee_1.0.h.
#define PPM_GPIO_PIN GPIO8 |
Definition at line 352 of file apogee_1.0.h.
#define PPM_GPIO_PORT GPIOA |
Definition at line 351 of file apogee_1.0.h.
#define PPM_IRQ NVIC_TIM1_CC_IRQ |
Definition at line 346 of file apogee_1.0.h.
#define PPM_IRQ2 NVIC_TIM1_UP_TIM10_IRQ |
Definition at line 347 of file apogee_1.0.h.
#define PPM_TIMER_INPUT TIM_IC_IN_TI1 |
Definition at line 345 of file apogee_1.0.h.
#define PWM_INPUT1_CC_IE (TIM_DIER_CC1IE | TIM_DIER_CC2IE) |
Definition at line 369 of file apogee_1.0.h.
#define PWM_INPUT1_CHANNEL_DUTY TIM_IC2 |
Definition at line 364 of file apogee_1.0.h.
#define PWM_INPUT1_CHANNEL_PERIOD TIM_IC1 |
Definition at line 363 of file apogee_1.0.h.
#define PWM_INPUT1_GPIO_AF GPIO_AF1 |
Definition at line 379 of file apogee_1.0.h.
#define PWM_INPUT1_GPIO_PIN GPIO8 |
Definition at line 378 of file apogee_1.0.h.
#define PWM_INPUT1_GPIO_PORT GPIOA |
Definition at line 377 of file apogee_1.0.h.
#define PWM_INPUT1_IRQ NVIC_TIM1_CC_IRQ |
Definition at line 367 of file apogee_1.0.h.
#define PWM_INPUT1_IRQ2 NVIC_TIM1_UP_TIM10_IRQ |
Definition at line 368 of file apogee_1.0.h.
#define PWM_INPUT1_SLAVE_TRIG TIM_SMCR_TS_TI1FP1 |
Definition at line 366 of file apogee_1.0.h.
#define PWM_INPUT1_TIMER TIM1 |
Definition at line 359 of file apogee_1.0.h.
#define PWM_INPUT1_TIMER_INPUT TIM_IC_IN_TI1 |
Definition at line 365 of file apogee_1.0.h.
#define PWM_INPUT2_CC_IE (TIM_DIER_CC3IE | TIM_DIER_CC4IE) |
Definition at line 391 of file apogee_1.0.h.
#define PWM_INPUT2_CHANNEL_DUTY TIM_IC2 |
Definition at line 387 of file apogee_1.0.h.
#define PWM_INPUT2_CHANNEL_PERIOD TIM_IC1 |
Definition at line 386 of file apogee_1.0.h.
#define PWM_INPUT2_GPIO_AF GPIO_AF3 |
Definition at line 408 of file apogee_1.0.h.
#define PWM_INPUT2_GPIO_PIN GPIO2 |
Definition at line 407 of file apogee_1.0.h.
#define PWM_INPUT2_GPIO_PORT GPIOA |
Definition at line 406 of file apogee_1.0.h.
#define PWM_INPUT2_IRQ NVIC_TIM1_BRK_TIM9_IRQ |
Definition at line 390 of file apogee_1.0.h.
#define PWM_INPUT2_SLAVE_TRIG TIM_SMCR_TS_TI1FP1 |
Definition at line 389 of file apogee_1.0.h.
#define PWM_INPUT2_TIMER TIM9 |
Definition at line 382 of file apogee_1.0.h.
#define PWM_INPUT2_TIMER_INPUT TIM_IC_IN_TI1 |
Definition at line 388 of file apogee_1.0.h.
#define PWM_SERVO_0 0 |
Definition at line 236 of file apogee_1.0.h.
#define PWM_SERVO_0_AF GPIO_AF2 |
Definition at line 240 of file apogee_1.0.h.
#define PWM_SERVO_0_GPIO GPIOB |
Definition at line 238 of file apogee_1.0.h.
#define PWM_SERVO_0_OC TIM_OC3 |
Definition at line 241 of file apogee_1.0.h.
#define PWM_SERVO_0_OC_BIT (1<<2) |
Definition at line 242 of file apogee_1.0.h.
#define PWM_SERVO_0_PIN GPIO0 |
Definition at line 239 of file apogee_1.0.h.
#define PWM_SERVO_0_TIMER TIM3 |
Definition at line 237 of file apogee_1.0.h.
#define PWM_SERVO_1 1 |
Definition at line 251 of file apogee_1.0.h.
#define PWM_SERVO_1_AF GPIO_AF1 |
Definition at line 255 of file apogee_1.0.h.
#define PWM_SERVO_1_GPIO GPIOA |
Definition at line 253 of file apogee_1.0.h.
#define PWM_SERVO_1_OC TIM_OC3 |
Definition at line 256 of file apogee_1.0.h.
#define PWM_SERVO_1_OC_BIT (1<<2) |
Definition at line 257 of file apogee_1.0.h.
#define PWM_SERVO_1_PIN GPIO2 |
Definition at line 254 of file apogee_1.0.h.
#define PWM_SERVO_1_TIMER TIM2 |
Definition at line 252 of file apogee_1.0.h.
#define PWM_SERVO_2 2 |
Definition at line 266 of file apogee_1.0.h.
#define PWM_SERVO_2_AF GPIO_AF2 |
Definition at line 270 of file apogee_1.0.h.
#define PWM_SERVO_2_GPIO GPIOB |
Definition at line 268 of file apogee_1.0.h.
#define PWM_SERVO_2_OC TIM_OC2 |
Definition at line 271 of file apogee_1.0.h.
#define PWM_SERVO_2_OC_BIT (1<<1) |
Definition at line 272 of file apogee_1.0.h.
#define PWM_SERVO_2_PIN GPIO5 |
Definition at line 269 of file apogee_1.0.h.
#define PWM_SERVO_2_TIMER TIM3 |
Definition at line 267 of file apogee_1.0.h.
#define PWM_SERVO_3 3 |
Definition at line 281 of file apogee_1.0.h.
#define PWM_SERVO_3_AF GPIO_AF2 |
Definition at line 285 of file apogee_1.0.h.
#define PWM_SERVO_3_GPIO GPIOB |
Definition at line 283 of file apogee_1.0.h.
#define PWM_SERVO_3_OC TIM_OC1 |
Definition at line 286 of file apogee_1.0.h.
#define PWM_SERVO_3_OC_BIT (1<<0) |
Definition at line 287 of file apogee_1.0.h.
#define PWM_SERVO_3_PIN GPIO4 |
Definition at line 284 of file apogee_1.0.h.
#define PWM_SERVO_3_TIMER TIM3 |
Definition at line 282 of file apogee_1.0.h.
#define PWM_SERVO_4 4 |
Definition at line 296 of file apogee_1.0.h.
#define PWM_SERVO_4_AF GPIO_AF1 |
Definition at line 300 of file apogee_1.0.h.
#define PWM_SERVO_4_GPIO GPIOB |
Definition at line 298 of file apogee_1.0.h.
#define PWM_SERVO_4_OC TIM_OC2 |
Definition at line 301 of file apogee_1.0.h.
#define PWM_SERVO_4_OC_BIT (1<<1) |
Definition at line 302 of file apogee_1.0.h.
#define PWM_SERVO_4_PIN GPIO3 |
Definition at line 299 of file apogee_1.0.h.
#define PWM_SERVO_4_TIMER TIM2 |
Definition at line 297 of file apogee_1.0.h.
#define PWM_SERVO_5 5 |
Definition at line 311 of file apogee_1.0.h.
#define PWM_SERVO_5_AF GPIO_AF1 |
Definition at line 315 of file apogee_1.0.h.
#define PWM_SERVO_5_GPIO GPIOA |
Definition at line 313 of file apogee_1.0.h.
#define PWM_SERVO_5_OC TIM_OC1 |
Definition at line 316 of file apogee_1.0.h.
#define PWM_SERVO_5_OC_BIT (1<<0) |
Definition at line 317 of file apogee_1.0.h.
#define PWM_SERVO_5_PIN GPIO15 |
Definition at line 314 of file apogee_1.0.h.
#define PWM_SERVO_5_TIMER TIM2 |
Definition at line 312 of file apogee_1.0.h.
#define PWM_SERVO_6_OC_BIT 0 |
Definition at line 332 of file apogee_1.0.h.
#define PWM_TIM2_CHAN_MASK (PWM_SERVO_1_OC_BIT|PWM_SERVO_4_OC_BIT|PWM_SERVO_5_OC_BIT) |
Definition at line 336 of file apogee_1.0.h.
#define PWM_TIM3_CHAN_MASK (PWM_SERVO_0_OC_BIT|PWM_SERVO_2_OC_BIT|PWM_SERVO_3_OC_BIT|PWM_SERVO_6_OC_BIT) |
Definition at line 337 of file apogee_1.0.h.
#define PWM_USE_TIM2 1 |
Definition at line 226 of file apogee_1.0.h.
#define PWM_USE_TIM3 1 |
Definition at line 227 of file apogee_1.0.h.
#define RC_POLARITY_GPIO_PIN GPIO13 |
Definition at line 100 of file apogee_1.0.h.
#define RC_POLARITY_GPIO_PORT GPIOB |
Definition at line 99 of file apogee_1.0.h.
#define RTOS_PRIO 2 |
Definition at line 432 of file apogee_1.0.h.
#define SPEKTRUM_BIND_PIN GPIO15 |
Definition at line 417 of file apogee_1.0.h.
#define SPEKTRUM_BIND_PIN_PORT GPIOB |
Definition at line 418 of file apogee_1.0.h.
#define SPEKTRUM_PRIMARY_BIND_CONF_PIN GPIO8 |
Definition at line 426 of file apogee_1.0.h.
#define SPEKTRUM_PRIMARY_BIND_CONF_PORT GPIOA |
Definition at line 425 of file apogee_1.0.h.
#define SPI1_GPIO_AF GPIO_AF5 |
Definition at line 136 of file apogee_1.0.h.
#define SPI1_GPIO_MISO GPIO6 |
Definition at line 138 of file apogee_1.0.h.
#define SPI1_GPIO_MOSI GPIO7 |
Definition at line 140 of file apogee_1.0.h.
#define SPI1_GPIO_PORT_MISO GPIOA |
Definition at line 137 of file apogee_1.0.h.
#define SPI1_GPIO_PORT_MOSI GPIOA |
Definition at line 139 of file apogee_1.0.h.
#define SPI1_GPIO_PORT_SCK GPIOA |
Definition at line 141 of file apogee_1.0.h.
#define SPI1_GPIO_SCK GPIO5 |
Definition at line 142 of file apogee_1.0.h.
#define SPI_SELECT_SLAVE0_PIN GPIO9 |
Definition at line 146 of file apogee_1.0.h.
#define SPI_SELECT_SLAVE0_PORT GPIOB |
Definition at line 145 of file apogee_1.0.h.
#define SPI_SELECT_SLAVE1_PIN GPIO1 |
Definition at line 149 of file apogee_1.0.h.
#define SPI_SELECT_SLAVE1_PORT GPIOB |
Definition at line 148 of file apogee_1.0.h.
#define SPI_SELECT_SLAVE2_PIN GPIO5 |
Definition at line 152 of file apogee_1.0.h.
#define SPI_SELECT_SLAVE2_PORT GPIOC |
Definition at line 151 of file apogee_1.0.h.
#define SPI_SELECT_SLAVE3_PIN GPIO4 |
Definition at line 155 of file apogee_1.0.h.
#define SPI_SELECT_SLAVE3_PORT GPIOC |
Definition at line 154 of file apogee_1.0.h.
#define SPI_SELECT_SLAVE4_PIN GPIO15 |
Definition at line 158 of file apogee_1.0.h.
#define SPI_SELECT_SLAVE4_PORT GPIOB |
Definition at line 157 of file apogee_1.0.h.
#define TIM1_CC_IF_DUTY TIM_SR_CC2IF |
Definition at line 373 of file apogee_1.0.h.
#define TIM1_CC_IF_PERIOD TIM_SR_CC1IF |
Definition at line 372 of file apogee_1.0.h.
#define TIM1_CCR_DUTY TIM1_CCR2 |
Definition at line 375 of file apogee_1.0.h.
#define TIM1_CCR_PERIOD TIM1_CCR1 |
Definition at line 374 of file apogee_1.0.h.
#define TIM1_PWM_INPUT_IDX 0 |
Definition at line 371 of file apogee_1.0.h.
#define TIM9_CC_IF_DUTY TIM_SR_CC2IF |
Definition at line 399 of file apogee_1.0.h.
#define TIM9_CC_IF_PERIOD TIM_SR_CC1IF |
Definition at line 398 of file apogee_1.0.h.
#define TIM9_CCR_DUTY TIM9_CCR2 |
Definition at line 401 of file apogee_1.0.h.
#define TIM9_CCR_PERIOD TIM9_CCR1 |
Definition at line 400 of file apogee_1.0.h.
#define TIM9_PWM_INPUT_IDX 1 |
Definition at line 397 of file apogee_1.0.h.
#define UART1_GPIO_AF GPIO_AF7 |
Definition at line 112 of file apogee_1.0.h.
#define UART1_GPIO_PORT_RX GPIOA |
Definition at line 113 of file apogee_1.0.h.
#define UART1_GPIO_PORT_TX GPIOB |
Definition at line 115 of file apogee_1.0.h.
#define UART1_GPIO_RX GPIO10 |
Definition at line 114 of file apogee_1.0.h.
#define UART1_GPIO_TX GPIO6 |
Definition at line 116 of file apogee_1.0.h.
#define UART2_GPIO_AF GPIO_AF7 |
Definition at line 118 of file apogee_1.0.h.
#define UART2_GPIO_PORT_RX GPIOA |
Definition at line 119 of file apogee_1.0.h.
#define UART2_GPIO_RX GPIO3 |
Definition at line 120 of file apogee_1.0.h.
#define UART4_GPIO_AF GPIO_AF8 |
Definition at line 123 of file apogee_1.0.h.
#define UART4_GPIO_PORT_RX GPIOA |
Definition at line 124 of file apogee_1.0.h.
#define UART4_GPIO_PORT_TX GPIOA |
Definition at line 126 of file apogee_1.0.h.
#define UART4_GPIO_RX GPIO1 |
Definition at line 125 of file apogee_1.0.h.
#define UART4_GPIO_TX GPIO0 |
Definition at line 127 of file apogee_1.0.h.
#define UART6_GPIO_AF GPIO_AF8 |
Definition at line 129 of file apogee_1.0.h.
#define UART6_GPIO_PORT_RX GPIOC |
Definition at line 130 of file apogee_1.0.h.
#define UART6_GPIO_PORT_TX GPIOC |
Definition at line 132 of file apogee_1.0.h.
#define UART6_GPIO_RX GPIO7 |
Definition at line 131 of file apogee_1.0.h.
#define UART6_GPIO_TX GPIO6 |
Definition at line 133 of file apogee_1.0.h.
#define USE_AD_TIM4 1 |
Definition at line 162 of file apogee_1.0.h.
#define USE_ADC_4 1 |
Definition at line 194 of file apogee_1.0.h.
#define USE_BARO_BOARD 1 |
Definition at line 221 of file apogee_1.0.h.
#define USE_LED_1 1 |
Definition at line 16 of file apogee_1.0.h.
#define USE_LED_2 1 |
Definition at line 26 of file apogee_1.0.h.
#define USE_LED_3 1 |
Definition at line 36 of file apogee_1.0.h.
#define USE_LED_4 1 |
Definition at line 46 of file apogee_1.0.h.
#define USE_LED_5 0 |
Definition at line 56 of file apogee_1.0.h.
#define USE_LED_6 0 |
Definition at line 66 of file apogee_1.0.h.
#define USE_LED_7 0 |
Definition at line 76 of file apogee_1.0.h.
#define USE_LED_8 0 |
Definition at line 86 of file apogee_1.0.h.
#define USE_PPM_TIM1 1 |
Definition at line 342 of file apogee_1.0.h.
#define USE_PWM0 1 |
Definition at line 233 of file apogee_1.0.h.
#define USE_PWM1 1 |
Definition at line 248 of file apogee_1.0.h.
#define USE_PWM2 1 |
Definition at line 263 of file apogee_1.0.h.
#define USE_PWM3 1 |
Definition at line 278 of file apogee_1.0.h.
#define USE_PWM4 1 |
Definition at line 293 of file apogee_1.0.h.
#define USE_PWM5 1 |
Definition at line 308 of file apogee_1.0.h.
#define USE_PWM_INPUT_TIM1 TRUE |
Definition at line 370 of file apogee_1.0.h.
#define USE_PWM_INPUT_TIM9 FALSE |
Definition at line 395 of file apogee_1.0.h.
#define USE_UART2_TX FALSE |
Definition at line 121 of file apogee_1.0.h.