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 63 of file navstik_1.0.h.
#define ActuatorsDefaultCommit | ( | ) | ActuatorsPwmCommit() |
Definition at line 65 of file navstik_1.0.h.
#define ActuatorsDefaultInit | ( | ) | ActuatorsPwmInit() |
Definition at line 64 of file navstik_1.0.h.
#define AD1_1_CHANNEL 11 |
Definition at line 168 of file navstik_1.0.h.
#define AD1_2_CHANNEL 1 |
Definition at line 178 of file navstik_1.0.h.
#define ADC_1 AD1_1 |
Definition at line 169 of file navstik_1.0.h.
#define ADC_1_GPIO_PIN GPIO1 |
Definition at line 171 of file navstik_1.0.h.
#define ADC_1_GPIO_PORT GPIOC |
Definition at line 170 of file navstik_1.0.h.
#define ADC_2 AD1_2 |
Definition at line 179 of file navstik_1.0.h.
#define ADC_2_GPIO_PIN GPIO1 |
Definition at line 181 of file navstik_1.0.h.
#define ADC_2_GPIO_PORT GPIOA |
Definition at line 180 of file navstik_1.0.h.
#define ADC_CHANNEL_CURRENT ADC_2 |
Definition at line 189 of file navstik_1.0.h.
#define ADC_CHANNEL_VSUPPLY ADC_1 |
Definition at line 186 of file navstik_1.0.h.
#define AHB_CLK 168000000 |
Definition at line 28 of file navstik_1.0.h.
#define DEFAULT_ACTUATORS "modules/actuators/actuators_pwm.h" |
Definition at line 62 of file navstik_1.0.h.
#define DefaultMilliAmpereOfAdc | ( | adc | ) | (0.42497*adc) |
Definition at line 193 of file navstik_1.0.h.
#define DefaultVoltageOfAdc | ( | adc | ) | (0.00382*adc) |
Definition at line 192 of file navstik_1.0.h.
#define EXT_CLK 25000000 |
Definition at line 27 of file navstik_1.0.h.
Definition at line 58 of file navstik_1.0.h.
#define I2C1_GPIO_PORT GPIOB |
Definition at line 143 of file navstik_1.0.h.
#define I2C1_GPIO_SCL GPIO8 |
Definition at line 144 of file navstik_1.0.h.
#define I2C1_GPIO_SDA GPIO9 |
Definition at line 145 of file navstik_1.0.h.
#define I2C3_GPIO_PORT_SCL GPIOA |
Definition at line 147 of file navstik_1.0.h.
#define I2C3_GPIO_PORT_SDA GPIOC |
Definition at line 149 of file navstik_1.0.h.
#define I2C3_GPIO_SCL GPIO8 |
Definition at line 148 of file navstik_1.0.h.
#define I2C3_GPIO_SDA GPIO9 |
Definition at line 150 of file navstik_1.0.h.
Definition at line 59 of file navstik_1.0.h.
#define LED_1_AFIO_REMAP ((void)0) |
Definition at line 42 of file navstik_1.0.h.
#define LED_1_GPIO GPIOC |
Definition at line 38 of file navstik_1.0.h.
#define LED_1_GPIO_OFF gpio_clear |
Definition at line 41 of file navstik_1.0.h.
#define LED_1_GPIO_ON gpio_set |
Definition at line 40 of file navstik_1.0.h.
#define LED_1_GPIO_PIN GPIO4 |
Definition at line 39 of file navstik_1.0.h.
#define LED_2_AFIO_REMAP ((void)0) |
Definition at line 52 of file navstik_1.0.h.
#define LED_2_GPIO GPIOC |
Definition at line 48 of file navstik_1.0.h.
#define LED_2_GPIO_OFF gpio_clear |
Definition at line 51 of file navstik_1.0.h.
#define LED_2_GPIO_ON gpio_set |
Definition at line 50 of file navstik_1.0.h.
#define LED_2_GPIO_PIN GPIO5 |
Definition at line 49 of file navstik_1.0.h.
#define PPM_CC_IE TIM_DIER_CC2IE |
Definition at line 120 of file navstik_1.0.h.
#define PPM_CC_IF TIM_SR_CC2IF |
Definition at line 121 of file navstik_1.0.h.
#define PPM_CHANNEL TIM_IC3 |
Definition at line 115 of file navstik_1.0.h.
#define PPM_GPIO_AF GPIO_AF8 |
Definition at line 124 of file navstik_1.0.h.
#define PPM_GPIO_PIN GPIO7 |
Definition at line 123 of file navstik_1.0.h.
#define PPM_GPIO_PORT GPIOC |
Definition at line 122 of file navstik_1.0.h.
#define PPM_IRQ NVIC_TIM3_CC_IRQ |
Definition at line 117 of file navstik_1.0.h.
#define PPM_IRQ2 NVIC_TIM1_UP_TIM10_IRQ |
Definition at line 118 of file navstik_1.0.h.
#define PPM_TIMER_INPUT TIM_IC_IN_TI2 |
Definition at line 116 of file navstik_1.0.h.
#define PWM_SERVO_1 0 |
Definition at line 215 of file navstik_1.0.h.
#define PWM_SERVO_1_AF GPIO_AF2 |
Definition at line 219 of file navstik_1.0.h.
#define PWM_SERVO_1_GPIO GPIOB |
Definition at line 217 of file navstik_1.0.h.
#define PWM_SERVO_1_OC TIM_OC2 |
Definition at line 220 of file navstik_1.0.h.
#define PWM_SERVO_1_OC_BIT (1<<1) |
Definition at line 221 of file navstik_1.0.h.
#define PWM_SERVO_1_PIN GPIO5 |
Definition at line 218 of file navstik_1.0.h.
#define PWM_SERVO_1_TIMER TIM3 |
Definition at line 216 of file navstik_1.0.h.
#define PWM_SERVO_2 1 |
Definition at line 227 of file navstik_1.0.h.
#define PWM_SERVO_2_AF GPIO_AF1 |
Definition at line 231 of file navstik_1.0.h.
#define PWM_SERVO_2_GPIO GPIOA |
Definition at line 229 of file navstik_1.0.h.
#define PWM_SERVO_2_OC TIM_OC3 |
Definition at line 232 of file navstik_1.0.h.
#define PWM_SERVO_2_OC_BIT (1<<2) |
Definition at line 233 of file navstik_1.0.h.
#define PWM_SERVO_2_PIN GPIO10 |
Definition at line 230 of file navstik_1.0.h.
#define PWM_SERVO_2_TIMER TIM1 |
Definition at line 228 of file navstik_1.0.h.
#define PWM_SERVO_3 2 |
Definition at line 239 of file navstik_1.0.h.
#define PWM_SERVO_3_AF GPIO_AF3 |
Definition at line 243 of file navstik_1.0.h.
#define PWM_SERVO_3_GPIO GPIOC |
Definition at line 241 of file navstik_1.0.h.
#define PWM_SERVO_3_OC TIM_OC3 |
Definition at line 244 of file navstik_1.0.h.
#define PWM_SERVO_3_OC_BIT (1<<2) |
Definition at line 245 of file navstik_1.0.h.
#define PWM_SERVO_3_PIN GPIO8 |
Definition at line 242 of file navstik_1.0.h.
#define PWM_SERVO_3_TIMER TIM8 |
Definition at line 240 of file navstik_1.0.h.
#define PWM_SERVO_4 3 |
Definition at line 251 of file navstik_1.0.h.
#define PWM_SERVO_4_AF GPIO_AF1 |
Definition at line 255 of file navstik_1.0.h.
#define PWM_SERVO_4_GPIO GPIOB |
Definition at line 253 of file navstik_1.0.h.
#define PWM_SERVO_4_OC TIM_OC4 |
Definition at line 256 of file navstik_1.0.h.
#define PWM_SERVO_4_OC_BIT (1<<3) |
Definition at line 257 of file navstik_1.0.h.
#define PWM_SERVO_4_PIN GPIO11 |
Definition at line 254 of file navstik_1.0.h.
#define PWM_SERVO_4_TIMER TIM2 |
Definition at line 252 of file navstik_1.0.h.
#define PWM_SERVO_5 4 |
Definition at line 263 of file navstik_1.0.h.
#define PWM_SERVO_5_AF GPIO_AF2 |
Definition at line 267 of file navstik_1.0.h.
#define PWM_SERVO_5_GPIO GPIOB |
Definition at line 265 of file navstik_1.0.h.
#define PWM_SERVO_5_OC TIM_OC4 |
Definition at line 268 of file navstik_1.0.h.
#define PWM_SERVO_5_OC_BIT (1<<3) |
Definition at line 269 of file navstik_1.0.h.
#define PWM_SERVO_5_PIN GPIO1 |
Definition at line 266 of file navstik_1.0.h.
#define PWM_SERVO_5_TIMER TIM3 |
Definition at line 264 of file navstik_1.0.h.
#define PWM_SERVO_6 5 |
Definition at line 275 of file navstik_1.0.h.
#define PWM_SERVO_6_AF GPIO_AF2 |
Definition at line 279 of file navstik_1.0.h.
#define PWM_SERVO_6_GPIO GPIOB |
Definition at line 277 of file navstik_1.0.h.
#define PWM_SERVO_6_OC TIM_OC3 |
Definition at line 280 of file navstik_1.0.h.
#define PWM_SERVO_6_OC_BIT (1<<2) |
Definition at line 281 of file navstik_1.0.h.
#define PWM_SERVO_6_PIN GPIO0 |
Definition at line 278 of file navstik_1.0.h.
#define PWM_SERVO_6_TIMER TIM3 |
Definition at line 276 of file navstik_1.0.h.
#define PWM_TIM1_CHAN_MASK (PWM_SERVO_2_OC_BIT) |
Definition at line 287 of file navstik_1.0.h.
#define PWM_TIM2_CHAN_MASK (PWM_SERVO_4_OC_BIT) |
Definition at line 289 of file navstik_1.0.h.
#define PWM_TIM3_CHAN_MASK (PWM_SERVO_1_OC_BIT|PWM_SERVO_5_OC_BIT|PWM_SERVO_6_OC_BIT) |
Definition at line 291 of file navstik_1.0.h.
#define PWM_TIM8_CHAN_MASK (PWM_SERVO_3_OC_BIT) |
Definition at line 293 of file navstik_1.0.h.
#define PWM_USE_TIM1 1 |
Definition at line 200 of file navstik_1.0.h.
#define PWM_USE_TIM2 2 |
Definition at line 201 of file navstik_1.0.h.
#define PWM_USE_TIM3 3 |
Definition at line 202 of file navstik_1.0.h.
#define PWM_USE_TIM8 8 |
Definition at line 203 of file navstik_1.0.h.
#define SPEKTRUM_BIND_PIN GPIO6 |
Definition at line 97 of file navstik_1.0.h.
#define SPEKTRUM_BIND_PIN_HIGH 1 |
Definition at line 99 of file navstik_1.0.h.
#define SPEKTRUM_BIND_PIN_PORT GPIOC |
Definition at line 98 of file navstik_1.0.h.
#define SPEKTRUM_UART6_AF GPIO_AF8 |
Definition at line 104 of file navstik_1.0.h.
#define SPEKTRUM_UART6_BANK GPIOC |
Definition at line 102 of file navstik_1.0.h.
#define SPEKTRUM_UART6_DEV USART6 |
Definition at line 107 of file navstik_1.0.h.
#define SPEKTRUM_UART6_IRQ NVIC_USART6_IRQ |
Definition at line 105 of file navstik_1.0.h.
#define SPEKTRUM_UART6_ISR usart6_isr |
Definition at line 106 of file navstik_1.0.h.
#define SPEKTRUM_UART6_PIN GPIO7 |
Definition at line 103 of file navstik_1.0.h.
#define SPEKTRUM_UART6_RCC RCC_USART6 |
Definition at line 101 of file navstik_1.0.h.
#define SPI2_GPIO_AF GPIO_AF5 |
Definition at line 127 of file navstik_1.0.h.
#define SPI2_GPIO_MISO GPIO2 |
Definition at line 129 of file navstik_1.0.h.
#define SPI2_GPIO_MOSI GPIO3 |
Definition at line 131 of file navstik_1.0.h.
#define SPI2_GPIO_PORT_MISO GPIOC |
Definition at line 128 of file navstik_1.0.h.
#define SPI2_GPIO_PORT_MOSI GPIOC |
Definition at line 130 of file navstik_1.0.h.
#define SPI2_GPIO_PORT_SCK GPIOB |
Definition at line 132 of file navstik_1.0.h.
#define SPI2_GPIO_SCK GPIO10 |
Definition at line 133 of file navstik_1.0.h.
#define SPI_SELECT_SLAVE0_PIN GPIO0 |
Definition at line 136 of file navstik_1.0.h.
#define SPI_SELECT_SLAVE0_PORT GPIOA |
Definition at line 135 of file navstik_1.0.h.
#define SPI_SELECT_SLAVE1_PIN GPIO5 |
Definition at line 139 of file navstik_1.0.h.
#define SPI_SELECT_SLAVE1_PORT GPIOA |
Definition at line 138 of file navstik_1.0.h.
#define UART1_GPIO_AF GPIO_AF7 |
Definition at line 69 of file navstik_1.0.h.
#define UART1_GPIO_PORT_RX GPIOB |
Definition at line 70 of file navstik_1.0.h.
#define UART1_GPIO_PORT_TX GPIOB |
Definition at line 72 of file navstik_1.0.h.
#define UART1_GPIO_RX GPIO7 |
Definition at line 71 of file navstik_1.0.h.
#define UART1_GPIO_TX GPIO6 |
Definition at line 73 of file navstik_1.0.h.
#define UART2_GPIO_AF GPIO_AF7 |
Definition at line 75 of file navstik_1.0.h.
#define UART2_GPIO_PORT_RX GPIOA |
Definition at line 76 of file navstik_1.0.h.
#define UART2_GPIO_PORT_TX GPIOA |
Definition at line 78 of file navstik_1.0.h.
#define UART2_GPIO_RX GPIO3 |
Definition at line 77 of file navstik_1.0.h.
#define UART2_GPIO_TX GPIO2 |
Definition at line 79 of file navstik_1.0.h.
#define UART5_GPIO_AF GPIO_AF8 |
Definition at line 81 of file navstik_1.0.h.
#define UART5_GPIO_PORT_RX GPIOD |
Definition at line 82 of file navstik_1.0.h.
#define UART5_GPIO_PORT_TX GPIOC |
Definition at line 84 of file navstik_1.0.h.
#define UART5_GPIO_RX GPIO2 |
Definition at line 83 of file navstik_1.0.h.
#define UART5_GPIO_TX GPIO12 |
Definition at line 85 of file navstik_1.0.h.
#define UART6_GPIO_AF GPIO_AF8 |
Definition at line 87 of file navstik_1.0.h.
#define UART6_GPIO_PORT_RX GPIOC |
Definition at line 88 of file navstik_1.0.h.
#define UART6_GPIO_PORT_TX GPIOC |
Definition at line 90 of file navstik_1.0.h.
#define UART6_GPIO_RX GPIO7 |
Definition at line 89 of file navstik_1.0.h.
#define UART6_GPIO_TX GPIO6 |
Definition at line 91 of file navstik_1.0.h.
#define USE_ADC_1 1 |
Definition at line 165 of file navstik_1.0.h.
#define USE_ADC_2 1 |
Definition at line 175 of file navstik_1.0.h.
#define USE_BARO_BOARD 1 |
Definition at line 297 of file navstik_1.0.h.
#define USE_LED_1 1 |
Definition at line 36 of file navstik_1.0.h.
#define USE_LED_2 1 |
Definition at line 46 of file navstik_1.0.h.
#define USE_PPM_TIM8 8 |
Definition at line 114 of file navstik_1.0.h.
#define USE_PWM1 1 |
Definition at line 205 of file navstik_1.0.h.
#define USE_PWM2 1 |
Definition at line 206 of file navstik_1.0.h.
#define USE_PWM3 1 |
Definition at line 207 of file navstik_1.0.h.
#define USE_PWM4 1 |
Definition at line 208 of file navstik_1.0.h.
#define USE_PWM5 1 |
Definition at line 209 of file navstik_1.0.h.
#define USE_PWM6 1 |
Definition at line 210 of file navstik_1.0.h.