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 87 of file elle0_common.h.
#define ACTUATORS_PWM_NB 6 |
Definition at line 351 of file elle0_common.h.
#define ActuatorsDefaultCommit | ( | ) | ActuatorsPwmCommit() |
Definition at line 89 of file elle0_common.h.
#define ActuatorsDefaultInit | ( | ) | ActuatorsPwmInit() |
Definition at line 88 of file elle0_common.h.
#define AD1_1_CHANNEL 14 |
Definition at line 279 of file elle0_common.h.
#define ADC_1 AD1_1 |
Definition at line 280 of file elle0_common.h.
#define ADC_1_GPIO_PIN GPIO4 |
Definition at line 282 of file elle0_common.h.
#define ADC_1_GPIO_PORT GPIOC |
Definition at line 281 of file elle0_common.h.
#define ADC_CHANNEL_VSUPPLY ADC_1 |
Definition at line 308 of file elle0_common.h.
#define AHB_CLK 168000000 |
Definition at line 30 of file elle0_common.h.
#define BOARD_ELLE0 |
Definition at line 26 of file elle0_common.h.
#define DEFAULT_ACTUATORS "subsystems/actuators/actuators_pwm.h" |
Definition at line 86 of file elle0_common.h.
#define DefaultVoltageOfAdc | ( | adc | ) | (0.0045*adc) |
Definition at line 311 of file elle0_common.h.
#define EXT_CLK 25000000 |
Definition at line 29 of file elle0_common.h.
#define I2C1_GPIO_PORT GPIOB |
Definition at line 254 of file elle0_common.h.
#define I2C1_GPIO_SCL GPIO6 |
Definition at line 255 of file elle0_common.h.
#define I2C1_GPIO_SDA GPIO7 |
Definition at line 256 of file elle0_common.h.
#define I2C2_GPIO_PORT GPIOB |
Definition at line 258 of file elle0_common.h.
#define I2C2_GPIO_SCL GPIO10 |
Definition at line 259 of file elle0_common.h.
#define I2C2_GPIO_SDA GPIO11 |
Definition at line 260 of file elle0_common.h.
#define LED_12_AFIO_REMAP ((void)0) |
Definition at line 82 of file elle0_common.h.
#define LED_12_GPIO GPIOC |
Definition at line 78 of file elle0_common.h.
#define LED_12_GPIO_OFF gpio_set |
Definition at line 81 of file elle0_common.h.
#define LED_12_GPIO_ON gpio_clear |
Definition at line 80 of file elle0_common.h.
#define LED_12_GPIO_PIN GPIO12 |
Definition at line 79 of file elle0_common.h.
#define LED_1_AFIO_REMAP ((void)0) |
Definition at line 44 of file elle0_common.h.
#define LED_1_GPIO GPIOA |
Definition at line 40 of file elle0_common.h.
#define LED_1_GPIO_OFF gpio_set |
Definition at line 43 of file elle0_common.h.
#define LED_1_GPIO_ON gpio_clear |
Definition at line 42 of file elle0_common.h.
#define LED_1_GPIO_PIN GPIO8 |
Definition at line 41 of file elle0_common.h.
#define LED_2_AFIO_REMAP ((void)0) |
Definition at line 54 of file elle0_common.h.
#define LED_2_GPIO GPIOB |
Definition at line 50 of file elle0_common.h.
#define LED_2_GPIO_OFF gpio_set |
Definition at line 53 of file elle0_common.h.
#define LED_2_GPIO_ON gpio_clear |
Definition at line 52 of file elle0_common.h.
#define LED_2_GPIO_PIN GPIO4 |
Definition at line 51 of file elle0_common.h.
#define LED_3_AFIO_REMAP ((void)0) |
Definition at line 64 of file elle0_common.h.
#define LED_3_GPIO GPIOC |
Definition at line 60 of file elle0_common.h.
#define LED_3_GPIO_OFF gpio_set |
Definition at line 63 of file elle0_common.h.
#define LED_3_GPIO_ON gpio_clear |
Definition at line 62 of file elle0_common.h.
#define LED_3_GPIO_PIN GPIO2 |
Definition at line 61 of file elle0_common.h.
#define LED_BODY_AFIO_REMAP ((void)0) |
Definition at line 75 of file elle0_common.h.
#define LED_BODY_GPIO GPIOB |
Definition at line 71 of file elle0_common.h.
#define LED_BODY_GPIO_OFF gpio_clear |
Definition at line 74 of file elle0_common.h.
#define LED_BODY_GPIO_ON gpio_set |
Definition at line 73 of file elle0_common.h.
#define LED_BODY_GPIO_PIN GPIO1 |
Definition at line 72 of file elle0_common.h.
#define PPM_CC_IE TIM_DIER_CC2IE |
Definition at line 178 of file elle0_common.h.
#define PPM_CC_IF TIM_SR_CC2IF |
Definition at line 179 of file elle0_common.h.
#define PPM_CHANNEL TIM_IC2 |
Definition at line 174 of file elle0_common.h.
#define PPM_CONFIG 2 |
Definition at line 154 of file elle0_common.h.
#define PPM_GPIO_AF GPIO_AF1 |
Definition at line 182 of file elle0_common.h.
#define PPM_GPIO_PIN GPIO1 |
Definition at line 181 of file elle0_common.h.
#define PPM_GPIO_PORT GPIOA |
Definition at line 180 of file elle0_common.h.
#define PPM_IRQ NVIC_TIM2_IRQ |
Definition at line 176 of file elle0_common.h.
#define PPM_TIMER_INPUT TIM_IC_IN_TI2 |
Definition at line 175 of file elle0_common.h.
#define PWM_SERVO_1 0 |
Definition at line 356 of file elle0_common.h.
#define PWM_SERVO_1_AF GPIO_AF2 |
Definition at line 360 of file elle0_common.h.
#define PWM_SERVO_1_GPIO GPIOC |
Definition at line 358 of file elle0_common.h.
#define PWM_SERVO_1_OC TIM_OC1 |
Definition at line 361 of file elle0_common.h.
#define PWM_SERVO_1_OC_BIT (1<<0) |
Definition at line 362 of file elle0_common.h.
#define PWM_SERVO_1_PIN GPIO6 |
Definition at line 359 of file elle0_common.h.
#define PWM_SERVO_1_TIMER TIM3 |
Definition at line 357 of file elle0_common.h.
#define PWM_SERVO_2 1 |
Definition at line 368 of file elle0_common.h.
#define PWM_SERVO_2_AF GPIO_AF2 |
Definition at line 372 of file elle0_common.h.
#define PWM_SERVO_2_GPIO GPIOC |
Definition at line 370 of file elle0_common.h.
#define PWM_SERVO_2_OC TIM_OC2 |
Definition at line 373 of file elle0_common.h.
#define PWM_SERVO_2_OC_BIT (1<<1) |
Definition at line 374 of file elle0_common.h.
#define PWM_SERVO_2_PIN GPIO7 |
Definition at line 371 of file elle0_common.h.
#define PWM_SERVO_2_TIMER TIM3 |
Definition at line 369 of file elle0_common.h.
#define PWM_SERVO_3 2 |
Definition at line 380 of file elle0_common.h.
#define PWM_SERVO_3_AF GPIO_AF2 |
Definition at line 384 of file elle0_common.h.
#define PWM_SERVO_3_GPIO GPIOC |
Definition at line 382 of file elle0_common.h.
#define PWM_SERVO_3_OC TIM_OC3 |
Definition at line 385 of file elle0_common.h.
#define PWM_SERVO_3_OC_BIT (1<<2) |
Definition at line 386 of file elle0_common.h.
#define PWM_SERVO_3_PIN GPIO8 |
Definition at line 383 of file elle0_common.h.
#define PWM_SERVO_3_TIMER TIM3 |
Definition at line 381 of file elle0_common.h.
#define PWM_SERVO_4 3 |
Definition at line 392 of file elle0_common.h.
#define PWM_SERVO_4_AF GPIO_AF2 |
Definition at line 396 of file elle0_common.h.
#define PWM_SERVO_4_GPIO GPIOC |
Definition at line 394 of file elle0_common.h.
#define PWM_SERVO_4_OC TIM_OC4 |
Definition at line 397 of file elle0_common.h.
#define PWM_SERVO_4_OC_BIT (1<<3) |
Definition at line 398 of file elle0_common.h.
#define PWM_SERVO_4_PIN GPIO9 |
Definition at line 395 of file elle0_common.h.
#define PWM_SERVO_4_TIMER TIM3 |
Definition at line 393 of file elle0_common.h.
#define PWM_SERVO_5 4 |
Definition at line 404 of file elle0_common.h.
#define PWM_SERVO_5_AF GPIO_AF2 |
Definition at line 408 of file elle0_common.h.
#define PWM_SERVO_5_GPIO GPIOA |
Definition at line 406 of file elle0_common.h.
#define PWM_SERVO_5_OC TIM_OC1 |
Definition at line 409 of file elle0_common.h.
#define PWM_SERVO_5_OC_BIT (1<<0) |
Definition at line 410 of file elle0_common.h.
#define PWM_SERVO_5_PIN GPIO0 |
Definition at line 407 of file elle0_common.h.
#define PWM_SERVO_5_TIMER TIM5 |
Definition at line 405 of file elle0_common.h.
#define PWM_SERVO_6 5 |
Definition at line 416 of file elle0_common.h.
#define PWM_SERVO_6_AF GPIO_AF2 |
Definition at line 420 of file elle0_common.h.
#define PWM_SERVO_6_GPIO GPIOA |
Definition at line 418 of file elle0_common.h.
#define PWM_SERVO_6_OC TIM_OC2 |
Definition at line 421 of file elle0_common.h.
Referenced by actuators_pwm_commit().
#define PWM_SERVO_6_OC_BIT (1<<1) |
Definition at line 422 of file elle0_common.h.
#define PWM_SERVO_6_PIN GPIO1 |
Definition at line 419 of file elle0_common.h.
#define PWM_SERVO_6_TIMER TIM5 |
Definition at line 417 of file elle0_common.h.
Referenced by actuators_pwm_commit().
#define PWM_SERVO_7_OC_BIT 0 |
Definition at line 436 of file elle0_common.h.
#define PWM_SERVO_8_OC_BIT 0 |
Definition at line 448 of file elle0_common.h.
#define PWM_TIM3_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 452 of file elle0_common.h.
#define PWM_TIM4_CHAN_MASK (PWM_SERVO_7_OC_BIT|PWM_SERVO_8_OC_BIT) |
Definition at line 456 of file elle0_common.h.
#define PWM_TIM5_CHAN_MASK (PWM_SERVO_5_OC_BIT|PWM_SERVO_6_OC_BIT) |
Definition at line 454 of file elle0_common.h.
Referenced by actuators_dualpwm_arch_init(), and actuators_pwm_arch_init().
#define PWM_USE_TIM3 1 |
Definition at line 318 of file elle0_common.h.
#define PWM_USE_TIM5 1 |
Definition at line 319 of file elle0_common.h.
#define SPEKTRUM_BIND_PIN GPIO0 |
Definition at line 121 of file elle0_common.h.
#define SPEKTRUM_BIND_PIN_PORT GPIOB |
Definition at line 122 of file elle0_common.h.
#define SPEKTRUM_UART1_AF GPIO_AF7 |
Definition at line 127 of file elle0_common.h.
#define SPEKTRUM_UART1_BANK GPIOA |
Definition at line 125 of file elle0_common.h.
#define SPEKTRUM_UART1_DEV USART1 |
Definition at line 130 of file elle0_common.h.
#define SPEKTRUM_UART1_IRQ NVIC_USART1_IRQ |
Definition at line 128 of file elle0_common.h.
#define SPEKTRUM_UART1_ISR usart1_isr |
Definition at line 129 of file elle0_common.h.
#define SPEKTRUM_UART1_PIN GPIO10 |
Definition at line 126 of file elle0_common.h.
#define SPEKTRUM_UART1_RCC RCC_USART1 |
Definition at line 124 of file elle0_common.h.
#define SPEKTRUM_UART2_AF GPIO_AF7 |
Definition at line 135 of file elle0_common.h.
#define SPEKTRUM_UART2_BANK GPIOA |
Definition at line 133 of file elle0_common.h.
#define SPEKTRUM_UART2_DEV USART2 |
Definition at line 138 of file elle0_common.h.
#define SPEKTRUM_UART2_IRQ NVIC_USART2_IRQ |
Definition at line 136 of file elle0_common.h.
#define SPEKTRUM_UART2_ISR usart2_isr |
Definition at line 137 of file elle0_common.h.
#define SPEKTRUM_UART2_PIN GPIO3 |
Definition at line 134 of file elle0_common.h.
#define SPEKTRUM_UART2_RCC RCC_USART2 |
Definition at line 132 of file elle0_common.h.
#define SPEKTRUM_UART5_AF GPIO_AF8 |
Definition at line 143 of file elle0_common.h.
#define SPEKTRUM_UART5_BANK GPIOD |
Definition at line 141 of file elle0_common.h.
#define SPEKTRUM_UART5_DEV UART5 |
Definition at line 146 of file elle0_common.h.
#define SPEKTRUM_UART5_IRQ NVIC_UART5_IRQ |
Definition at line 144 of file elle0_common.h.
#define SPEKTRUM_UART5_ISR uart5_isr |
Definition at line 145 of file elle0_common.h.
#define SPEKTRUM_UART5_PIN GPIO2 |
Definition at line 142 of file elle0_common.h.
#define SPEKTRUM_UART5_RCC RCC_UART5 |
Definition at line 140 of file elle0_common.h.
#define SPI1_GPIO_AF GPIO_AF5 |
Definition at line 212 of file elle0_common.h.
#define SPI1_GPIO_MISO GPIO6 |
Definition at line 214 of file elle0_common.h.
#define SPI1_GPIO_MOSI GPIO7 |
Definition at line 216 of file elle0_common.h.
#define SPI1_GPIO_NSS GPIO4 |
Definition at line 247 of file elle0_common.h.
#define SPI1_GPIO_PORT_MISO GPIOA |
Definition at line 213 of file elle0_common.h.
#define SPI1_GPIO_PORT_MOSI GPIOA |
Definition at line 215 of file elle0_common.h.
#define SPI1_GPIO_PORT_NSS GPIOA |
Definition at line 246 of file elle0_common.h.
#define SPI1_GPIO_PORT_SCK GPIOA |
Definition at line 217 of file elle0_common.h.
#define SPI1_GPIO_SCK GPIO5 |
Definition at line 218 of file elle0_common.h.
#define SPI2_GPIO_AF GPIO_AF5 |
Definition at line 220 of file elle0_common.h.
Referenced by spi2_arch_init().
#define SPI2_GPIO_MISO GPIO14 |
Definition at line 222 of file elle0_common.h.
Referenced by spi2_arch_init().
#define SPI2_GPIO_MOSI GPIO15 |
Definition at line 224 of file elle0_common.h.
Referenced by spi2_arch_init().
#define SPI2_GPIO_NSS GPIO12 |
Definition at line 250 of file elle0_common.h.
#define SPI2_GPIO_PORT_MISO GPIOB |
Definition at line 221 of file elle0_common.h.
Referenced by spi2_arch_init().
#define SPI2_GPIO_PORT_MOSI GPIOB |
Definition at line 223 of file elle0_common.h.
Referenced by spi2_arch_init().
#define SPI2_GPIO_PORT_NSS GPIOB |
Definition at line 249 of file elle0_common.h.
#define SPI2_GPIO_PORT_SCK GPIOB |
Definition at line 225 of file elle0_common.h.
Referenced by spi2_arch_init().
#define SPI2_GPIO_SCK GPIO13 |
Definition at line 226 of file elle0_common.h.
Referenced by spi2_arch_init().
#define SPI_SELECT_SLAVE0_PIN GPIO15 |
Definition at line 229 of file elle0_common.h.
#define SPI_SELECT_SLAVE0_PORT GPIOA |
Definition at line 228 of file elle0_common.h.
#define SPI_SELECT_SLAVE1_PIN GPIO4 |
Definition at line 232 of file elle0_common.h.
#define SPI_SELECT_SLAVE1_PORT GPIOA |
Definition at line 231 of file elle0_common.h.
#define SPI_SELECT_SLAVE2_PIN GPIO12 |
Definition at line 235 of file elle0_common.h.
#define SPI_SELECT_SLAVE2_PORT GPIOB |
Definition at line 234 of file elle0_common.h.
#define SPI_SELECT_SLAVE3_PIN GPIO13 |
Definition at line 238 of file elle0_common.h.
#define SPI_SELECT_SLAVE3_PORT GPIOC |
Definition at line 237 of file elle0_common.h.
#define SPI_SELECT_SLAVE4_PIN GPIO12 |
Definition at line 241 of file elle0_common.h.
#define SPI_SELECT_SLAVE4_PORT GPIOC |
Definition at line 240 of file elle0_common.h.
#define SPI_SELECT_SLAVE5_PIN GPIO4 |
Definition at line 244 of file elle0_common.h.
#define SPI_SELECT_SLAVE5_PORT GPIOC |
Definition at line 243 of file elle0_common.h.
#define UART1_GPIO_AF GPIO_AF7 |
Definition at line 93 of file elle0_common.h.
#define UART1_GPIO_PORT_RX GPIOA |
Definition at line 94 of file elle0_common.h.
#define UART1_GPIO_PORT_TX GPIOA |
Definition at line 96 of file elle0_common.h.
#define UART1_GPIO_RX GPIO10 |
Definition at line 95 of file elle0_common.h.
#define UART1_GPIO_TX GPIO9 |
Definition at line 97 of file elle0_common.h.
#define UART2_GPIO_AF GPIO_AF7 |
Definition at line 99 of file elle0_common.h.
#define UART2_GPIO_PORT_RX GPIOA |
Definition at line 100 of file elle0_common.h.
#define UART2_GPIO_PORT_TX GPIOA |
Definition at line 102 of file elle0_common.h.
#define UART2_GPIO_RX GPIO3 |
Definition at line 101 of file elle0_common.h.
#define UART2_GPIO_TX GPIO2 |
Definition at line 103 of file elle0_common.h.
#define UART3_GPIO_AF GPIO_AF7 |
Definition at line 105 of file elle0_common.h.
#define UART3_GPIO_PORT_RX GPIOC |
Definition at line 106 of file elle0_common.h.
#define UART3_GPIO_PORT_TX GPIOC |
Definition at line 108 of file elle0_common.h.
#define UART3_GPIO_RX GPIO11 |
Definition at line 107 of file elle0_common.h.
#define UART3_GPIO_TX GPIO10 |
Definition at line 109 of file elle0_common.h.
#define UART5_GPIO_AF GPIO_AF8 |
Definition at line 111 of file elle0_common.h.
#define UART5_GPIO_PORT_RX GPIOD |
Definition at line 112 of file elle0_common.h.
#define UART5_GPIO_PORT_TX GPIOC |
Definition at line 114 of file elle0_common.h.
#define UART5_GPIO_RX GPIO2 |
Definition at line 113 of file elle0_common.h.
#define UART5_GPIO_TX GPIO12 |
Definition at line 115 of file elle0_common.h.
#define USE_AD_TIM1 1 |
Definition at line 188 of file elle0_common.h.
#define USE_ADC_1 1 |
Definition at line 275 of file elle0_common.h.
#define USE_BARO_BOARD 1 |
Definition at line 461 of file elle0_common.h.
#define USE_LED_1 1 |
Definition at line 38 of file elle0_common.h.
#define USE_LED_2 1 |
Definition at line 48 of file elle0_common.h.
#define USE_LED_3 1 |
Definition at line 58 of file elle0_common.h.
#define USE_PPM_TIM2 1 |
Definition at line 173 of file elle0_common.h.
#define USE_PWM1 1 |
Definition at line 322 of file elle0_common.h.
#define USE_PWM2 1 |
Definition at line 325 of file elle0_common.h.
#define USE_PWM3 1 |
Definition at line 328 of file elle0_common.h.
#define USE_PWM4 1 |
Definition at line 331 of file elle0_common.h.
#define USE_PWM5 1 |
Definition at line 334 of file elle0_common.h.
#define USE_PWM6 1 |
Definition at line 337 of file elle0_common.h.