Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
#include "std.h"
Go to the source code of this file.
#define ACTUATORS_PWM_NB 6 |
Definition at line 275 of file lisa_m_common.h.
#define AD1_4_CHANNEL 14 |
Definition at line 206 of file lisa_m_common.h.
#define ADC_5 AD1_4 |
Definition at line 207 of file lisa_m_common.h.
#define ADC_5_GPIO_PIN GPIO4 |
Definition at line 209 of file lisa_m_common.h.
#define ADC_5_GPIO_PORT GPIOC |
Definition at line 208 of file lisa_m_common.h.
#define ADC_CHANNEL_VSUPPLY ADC_5 |
Definition at line 221 of file lisa_m_common.h.
#define I2C1_GPIO_PORT GPIOB |
Definition at line 228 of file lisa_m_common.h.
#define I2C1_GPIO_SCL GPIO6 |
Definition at line 229 of file lisa_m_common.h.
#define I2C1_GPIO_SDA GPIO7 |
Definition at line 230 of file lisa_m_common.h.
#define I2C2_GPIO_PORT GPIOB |
Definition at line 232 of file lisa_m_common.h.
#define I2C2_GPIO_SCL GPIO10 |
Definition at line 233 of file lisa_m_common.h.
#define I2C2_GPIO_SDA GPIO11 |
Definition at line 234 of file lisa_m_common.h.
#define PWM_SERVO_1 0 |
Definition at line 282 of file lisa_m_common.h.
#define PWM_SERVO_1_AF AFIO_MAPR_TIM3_REMAP_FULL_REMAP |
Definition at line 286 of file lisa_m_common.h.
#define PWM_SERVO_1_GPIO GPIOC |
Definition at line 284 of file lisa_m_common.h.
#define PWM_SERVO_1_OC TIM_OC1 |
Definition at line 287 of file lisa_m_common.h.
#define PWM_SERVO_1_OC_BIT (1<<0) |
Definition at line 288 of file lisa_m_common.h.
#define PWM_SERVO_1_PIN GPIO6 |
Definition at line 285 of file lisa_m_common.h.
#define PWM_SERVO_1_TIMER TIM3 |
Definition at line 283 of file lisa_m_common.h.
#define PWM_SERVO_2 1 |
Definition at line 294 of file lisa_m_common.h.
#define PWM_SERVO_2_AF AFIO_MAPR_TIM3_REMAP_FULL_REMAP |
Definition at line 298 of file lisa_m_common.h.
#define PWM_SERVO_2_GPIO GPIOC |
Definition at line 296 of file lisa_m_common.h.
#define PWM_SERVO_2_OC TIM_OC2 |
Definition at line 299 of file lisa_m_common.h.
#define PWM_SERVO_2_OC_BIT (1<<1) |
Definition at line 300 of file lisa_m_common.h.
#define PWM_SERVO_2_PIN GPIO7 |
Definition at line 297 of file lisa_m_common.h.
#define PWM_SERVO_2_TIMER TIM3 |
Definition at line 295 of file lisa_m_common.h.
#define PWM_SERVO_3 2 |
Definition at line 306 of file lisa_m_common.h.
#define PWM_SERVO_3_AF AFIO_MAPR_TIM3_REMAP_FULL_REMAP |
Definition at line 310 of file lisa_m_common.h.
#define PWM_SERVO_3_GPIO GPIOC |
Definition at line 308 of file lisa_m_common.h.
#define PWM_SERVO_3_OC TIM_OC3 |
Definition at line 311 of file lisa_m_common.h.
#define PWM_SERVO_3_OC_BIT (1<<2) |
Definition at line 312 of file lisa_m_common.h.
#define PWM_SERVO_3_PIN GPIO8 |
Definition at line 309 of file lisa_m_common.h.
#define PWM_SERVO_3_TIMER TIM3 |
Definition at line 307 of file lisa_m_common.h.
#define PWM_SERVO_4 3 |
Definition at line 318 of file lisa_m_common.h.
#define PWM_SERVO_4_AF AFIO_MAPR_TIM3_REMAP_FULL_REMAP |
Definition at line 322 of file lisa_m_common.h.
#define PWM_SERVO_4_GPIO GPIOC |
Definition at line 320 of file lisa_m_common.h.
#define PWM_SERVO_4_OC TIM_OC4 |
Definition at line 323 of file lisa_m_common.h.
#define PWM_SERVO_4_OC_BIT (1<<3) |
Definition at line 324 of file lisa_m_common.h.
#define PWM_SERVO_4_PIN GPIO9 |
Definition at line 321 of file lisa_m_common.h.
#define PWM_SERVO_4_TIMER TIM3 |
Definition at line 319 of file lisa_m_common.h.
#define PWM_SERVO_5 4 |
Definition at line 330 of file lisa_m_common.h.
#define PWM_SERVO_5_AF 0 |
Definition at line 334 of file lisa_m_common.h.
#define PWM_SERVO_5_GPIO GPIOA |
Definition at line 332 of file lisa_m_common.h.
#define PWM_SERVO_5_OC TIM_OC1 |
Definition at line 335 of file lisa_m_common.h.
#define PWM_SERVO_5_OC_BIT (1<<0) |
Definition at line 336 of file lisa_m_common.h.
#define PWM_SERVO_5_PIN GPIO0 |
Definition at line 333 of file lisa_m_common.h.
#define PWM_SERVO_5_TIMER TIM5 |
Definition at line 331 of file lisa_m_common.h.
#define PWM_SERVO_6 5 |
Definition at line 354 of file lisa_m_common.h.
#define PWM_SERVO_6_AF 0 |
Definition at line 358 of file lisa_m_common.h.
#define PWM_SERVO_6_GPIO GPIOA |
Definition at line 356 of file lisa_m_common.h.
#define PWM_SERVO_6_OC TIM_OC2 |
Definition at line 359 of file lisa_m_common.h.
#define PWM_SERVO_6_OC_BIT (1<<1) |
Definition at line 360 of file lisa_m_common.h.
#define PWM_SERVO_6_PIN GPIO1 |
Definition at line 357 of file lisa_m_common.h.
#define PWM_SERVO_6_TIMER TIM5 |
Definition at line 355 of file lisa_m_common.h.
#define PWM_SERVO_7_OC_BIT 0 |
Definition at line 391 of file lisa_m_common.h.
#define PWM_SERVO_8_OC_BIT 0 |
Definition at line 403 of file lisa_m_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 407 of file lisa_m_common.h.
#define PWM_TIM4_CHAN_MASK (PWM_SERVO_7_OC_BIT|PWM_SERVO_8_OC_BIT) |
Definition at line 411 of file lisa_m_common.h.
#define PWM_TIM5_CHAN_MASK (PWM_SERVO_5_OC_BIT|PWM_SERVO_6_OC_BIT) |
Definition at line 409 of file lisa_m_common.h.
#define PWM_USE_TIM3 1 |
Definition at line 241 of file lisa_m_common.h.
#define PWM_USE_TIM5 1 |
Definition at line 242 of file lisa_m_common.h.
#define SPEKTRUM_UART1_AF 0 |
Definition at line 84 of file lisa_m_common.h.
#define SPEKTRUM_UART1_BANK GPIO_BANK_USART1_RX |
Definition at line 82 of file lisa_m_common.h.
#define SPEKTRUM_UART1_DEV USART1 |
Definition at line 87 of file lisa_m_common.h.
#define SPEKTRUM_UART1_IRQ NVIC_USART1_IRQ |
Definition at line 85 of file lisa_m_common.h.
#define SPEKTRUM_UART1_ISR usart1_isr |
Definition at line 86 of file lisa_m_common.h.
#define SPEKTRUM_UART1_PIN GPIO_USART1_RX |
Definition at line 83 of file lisa_m_common.h.
#define SPEKTRUM_UART1_RCC RCC_USART1 |
Definition at line 81 of file lisa_m_common.h.
#define SPEKTRUM_UART3_AF AFIO_MAPR_USART3_REMAP_PARTIAL_REMAP |
Definition at line 92 of file lisa_m_common.h.
#define SPEKTRUM_UART3_BANK GPIO_BANK_USART3_PR_RX |
Definition at line 90 of file lisa_m_common.h.
#define SPEKTRUM_UART3_DEV USART3 |
Definition at line 95 of file lisa_m_common.h.
#define SPEKTRUM_UART3_IRQ NVIC_USART3_IRQ |
Definition at line 93 of file lisa_m_common.h.
#define SPEKTRUM_UART3_ISR usart3_isr |
Definition at line 94 of file lisa_m_common.h.
#define SPEKTRUM_UART3_PIN GPIO_USART3_PR_RX |
Definition at line 91 of file lisa_m_common.h.
#define SPEKTRUM_UART3_RCC RCC_USART3 |
Definition at line 89 of file lisa_m_common.h.
#define SPEKTRUM_UART5_AF 0 |
Definition at line 100 of file lisa_m_common.h.
#define SPEKTRUM_UART5_BANK GPIO_BANK_UART5_RX |
Definition at line 98 of file lisa_m_common.h.
#define SPEKTRUM_UART5_DEV UART5 |
Definition at line 103 of file lisa_m_common.h.
#define SPEKTRUM_UART5_IRQ NVIC_UART5_IRQ |
Definition at line 101 of file lisa_m_common.h.
#define SPEKTRUM_UART5_ISR uart5_isr |
Definition at line 102 of file lisa_m_common.h.
#define SPEKTRUM_UART5_PIN GPIO_UART5_RX |
Definition at line 99 of file lisa_m_common.h.
#define SPEKTRUM_UART5_RCC RCC_UART5 |
Definition at line 97 of file lisa_m_common.h.
#define SPI_SELECT_SLAVE0_PIN GPIO15 |
Definition at line 9 of file lisa_m_common.h.
#define SPI_SELECT_SLAVE0_PORT GPIOA |
Definition at line 8 of file lisa_m_common.h.
#define SPI_SELECT_SLAVE1_PIN GPIO4 |
Definition at line 12 of file lisa_m_common.h.
#define SPI_SELECT_SLAVE1_PORT GPIOA |
Definition at line 11 of file lisa_m_common.h.
#define SPI_SELECT_SLAVE2_PIN GPIO12 |
Definition at line 15 of file lisa_m_common.h.
#define SPI_SELECT_SLAVE2_PORT GPIOB |
Definition at line 14 of file lisa_m_common.h.
#define SPI_SELECT_SLAVE3_PIN GPIO13 |
Definition at line 18 of file lisa_m_common.h.
#define SPI_SELECT_SLAVE3_PORT GPIOC |
Definition at line 17 of file lisa_m_common.h.
#define SPI_SELECT_SLAVE4_PIN GPIO12 |
Definition at line 21 of file lisa_m_common.h.
#define SPI_SELECT_SLAVE4_PORT GPIOC |
Definition at line 20 of file lisa_m_common.h.
#define SPI_SELECT_SLAVE5_PIN GPIO4 |
Definition at line 24 of file lisa_m_common.h.
#define SPI_SELECT_SLAVE5_PORT GPIOC |
Definition at line 23 of file lisa_m_common.h.
#define UART1_GPIO_AF 0 |
Definition at line 33 of file lisa_m_common.h.
#define UART1_GPIO_PORT_RX GPIO_BANK_USART1_RX |
Definition at line 34 of file lisa_m_common.h.
#define UART1_GPIO_PORT_TX GPIO_BANK_USART1_TX |
Definition at line 36 of file lisa_m_common.h.
#define UART1_GPIO_RX GPIO_USART1_RX |
Definition at line 35 of file lisa_m_common.h.
#define UART1_GPIO_TX GPIO_USART1_TX |
Definition at line 37 of file lisa_m_common.h.
#define UART2_GPIO_AF 0 |
Definition at line 39 of file lisa_m_common.h.
#define UART2_GPIO_PORT_RX GPIO_BANK_USART2_RX |
Definition at line 40 of file lisa_m_common.h.
#define UART2_GPIO_PORT_TX GPIO_BANK_USART2_TX |
Definition at line 42 of file lisa_m_common.h.
#define UART2_GPIO_RX GPIO_USART2_RX |
Definition at line 41 of file lisa_m_common.h.
#define UART2_GPIO_TX GPIO_USART2_TX |
Definition at line 43 of file lisa_m_common.h.
#define UART3_GPIO_AF AFIO_MAPR_USART3_REMAP_PARTIAL_REMAP |
Definition at line 59 of file lisa_m_common.h.
#define UART3_GPIO_PORT_RX GPIO_BANK_USART3_PR_RX |
Definition at line 60 of file lisa_m_common.h.
#define UART3_GPIO_PORT_TX GPIO_BANK_USART3_PR_TX |
Definition at line 62 of file lisa_m_common.h.
#define UART3_GPIO_RX GPIO_USART3_PR_RX |
Definition at line 61 of file lisa_m_common.h.
#define UART3_GPIO_TX GPIO_USART3_PR_TX |
Definition at line 63 of file lisa_m_common.h.
#define UART5_GPIO_AF 0 |
Definition at line 66 of file lisa_m_common.h.
#define UART5_GPIO_PORT_RX GPIO_BANK_UART5_RX |
Definition at line 67 of file lisa_m_common.h.
#define UART5_GPIO_PORT_TX GPIO_BANK_UART5_TX |
Definition at line 69 of file lisa_m_common.h.
#define UART5_GPIO_RX GPIO_UART5_RX |
Definition at line 68 of file lisa_m_common.h.
#define UART5_GPIO_TX GPIO_UART5_TX |
Definition at line 70 of file lisa_m_common.h.
#define USE_ADC_5 1 |
Definition at line 203 of file lisa_m_common.h.
#define USE_PWM1 1 |
Definition at line 244 of file lisa_m_common.h.
#define USE_PWM2 1 |
Definition at line 245 of file lisa_m_common.h.
#define USE_PWM3 1 |
Definition at line 246 of file lisa_m_common.h.
#define USE_PWM4 1 |
Definition at line 247 of file lisa_m_common.h.
#define USE_PWM5 1 |
Definition at line 255 of file lisa_m_common.h.
#define USE_PWM6 1 |
Definition at line 257 of file lisa_m_common.h.