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 232 of file crazybee_f4_1.0.h.
#define ActuatorsDefaultCommit | ( | ) | ActuatorsPwmCommit() |
Definition at line 234 of file crazybee_f4_1.0.h.
#define ActuatorsDefaultInit | ( | ) | ActuatorsPwmInit() |
Definition at line 233 of file crazybee_f4_1.0.h.
#define AD1_1_CHANNEL 8 |
Definition at line 198 of file crazybee_f4_1.0.h.
#define AD1_2_CHANNEL 9 |
Definition at line 213 of file crazybee_f4_1.0.h.
#define ADC_1 AD1_1 |
Definition at line 199 of file crazybee_f4_1.0.h.
#define ADC_1_GPIO_PIN GPIO0 |
Definition at line 201 of file crazybee_f4_1.0.h.
#define ADC_1_GPIO_PORT GPIOB |
Definition at line 200 of file crazybee_f4_1.0.h.
#define ADC_2 AD1_2 |
Definition at line 214 of file crazybee_f4_1.0.h.
#define ADC_2_GPIO_PIN GPIO1 |
Definition at line 216 of file crazybee_f4_1.0.h.
#define ADC_2_GPIO_PORT GPIOB |
Definition at line 215 of file crazybee_f4_1.0.h.
#define ADC_CHANNEL_CURRENT ADC_2 |
Definition at line 218 of file crazybee_f4_1.0.h.
#define ADC_CHANNEL_VSUPPLY ADC_1 |
Definition at line 203 of file crazybee_f4_1.0.h.
#define AHB_CLK 84000000 |
Definition at line 17 of file crazybee_f4_1.0.h.
#define BIND_BUTTON_GPIO GPIOB |
Definition at line 185 of file crazybee_f4_1.0.h.
#define BIND_BUTTON_PIN GPIO2 |
Definition at line 186 of file crazybee_f4_1.0.h.
#define BOARD_CRAZYBEE_F4_V1 |
Definition at line 10 of file crazybee_f4_1.0.h.
#define CC2500_GDO0_GPIO GPIOC |
Definition at line 181 of file crazybee_f4_1.0.h.
#define CC2500_GDO0_PIN GPIO14 |
Definition at line 182 of file crazybee_f4_1.0.h.
#define DEFAULT_ACTUATORS "modules/actuators/actuators_pwm.h" |
Definition at line 231 of file crazybee_f4_1.0.h.
#define DefaultVoltageOfAdc | ( | adc | ) | (0.009*adc) |
Definition at line 204 of file crazybee_f4_1.0.h.
#define EXT_CLK 8000000 |
Clock config - STM32F4 - STM32F411CEU6 in 48 pin package UFQFPN48.
Definition at line 16 of file crazybee_f4_1.0.h.
#define LED_1_AFIO_REMAP ((void)0) |
Definition at line 28 of file crazybee_f4_1.0.h.
#define LED_1_GPIO GPIOC |
Definition at line 24 of file crazybee_f4_1.0.h.
#define LED_1_GPIO_OFF gpio_set |
Definition at line 27 of file crazybee_f4_1.0.h.
#define LED_1_GPIO_ON gpio_clear |
Definition at line 26 of file crazybee_f4_1.0.h.
#define LED_1_GPIO_PIN GPIO13 |
Definition at line 25 of file crazybee_f4_1.0.h.
#define LED_2_AFIO_REMAP ((void)0) |
Definition at line 39 of file crazybee_f4_1.0.h.
#define LED_2_GPIO GPIOB |
Definition at line 35 of file crazybee_f4_1.0.h.
#define LED_2_GPIO_OFF gpio_clear |
Definition at line 38 of file crazybee_f4_1.0.h.
#define LED_2_GPIO_ON gpio_set |
Definition at line 37 of file crazybee_f4_1.0.h.
#define LED_2_GPIO_PIN GPIO9 |
Definition at line 36 of file crazybee_f4_1.0.h.
#define LED_STRIP_GPIO_PIN GPIO0 |
Definition at line 87 of file crazybee_f4_1.0.h.
#define LED_STRIP_GPIO_PORT GPIOA |
Definition at line 86 of file crazybee_f4_1.0.h.
#define MilliAmpereOfAdc | ( | adc | ) | ((float)adc) * (3.3f / 4096.0f) * (90.0f / 5.0f) |
Definition at line 219 of file crazybee_f4_1.0.h.
#define PPM_CC_IE TIM_DIER_CC1IE |
Definition at line 110 of file crazybee_f4_1.0.h.
#define PPM_CC_IF TIM_SR_CC1IF |
Definition at line 111 of file crazybee_f4_1.0.h.
#define PPM_CHANNEL TIM_IC1 |
Definition at line 105 of file crazybee_f4_1.0.h.
#define PPM_CONFIG 1 |
Definition at line 100 of file crazybee_f4_1.0.h.
#define PPM_GPIO_AF GPIO_AF2 |
Definition at line 114 of file crazybee_f4_1.0.h.
#define PPM_GPIO_PIN GPIO0 |
Definition at line 113 of file crazybee_f4_1.0.h.
#define PPM_GPIO_PORT GPIOA |
Definition at line 112 of file crazybee_f4_1.0.h.
#define PPM_IRQ NVIC_TIM5_IRQ |
Definition at line 107 of file crazybee_f4_1.0.h.
#define PPM_TIMER_INPUT TIM_IC_IN_TI1 |
Definition at line 106 of file crazybee_f4_1.0.h.
#define PWM_SERVO_1 0 |
Definition at line 247 of file crazybee_f4_1.0.h.
#define PWM_SERVO_1_AF GPIO_AF1 |
Definition at line 251 of file crazybee_f4_1.0.h.
#define PWM_SERVO_1_GPIO GPIOB |
Definition at line 249 of file crazybee_f4_1.0.h.
#define PWM_SERVO_1_OC TIM_OC3 |
Definition at line 252 of file crazybee_f4_1.0.h.
#define PWM_SERVO_1_OC_BIT (1<<2) |
Definition at line 253 of file crazybee_f4_1.0.h.
#define PWM_SERVO_1_PIN GPIO10 |
Definition at line 250 of file crazybee_f4_1.0.h.
#define PWM_SERVO_1_TIMER TIM2 |
Definition at line 248 of file crazybee_f4_1.0.h.
#define PWM_SERVO_2 1 |
Definition at line 260 of file crazybee_f4_1.0.h.
#define PWM_SERVO_2_AF GPIO_AF2 |
Definition at line 264 of file crazybee_f4_1.0.h.
#define PWM_SERVO_2_GPIO GPIOB |
Definition at line 262 of file crazybee_f4_1.0.h.
#define PWM_SERVO_2_OC TIM_OC1 |
Definition at line 265 of file crazybee_f4_1.0.h.
#define PWM_SERVO_2_OC_BIT (1<<0) |
Definition at line 266 of file crazybee_f4_1.0.h.
#define PWM_SERVO_2_PIN GPIO6 |
Definition at line 263 of file crazybee_f4_1.0.h.
#define PWM_SERVO_2_TIMER TIM4 |
Definition at line 261 of file crazybee_f4_1.0.h.
#define PWM_SERVO_3 2 |
Definition at line 273 of file crazybee_f4_1.0.h.
#define PWM_SERVO_3_AF GPIO_AF2 |
Definition at line 277 of file crazybee_f4_1.0.h.
#define PWM_SERVO_3_GPIO GPIOB |
Definition at line 275 of file crazybee_f4_1.0.h.
#define PWM_SERVO_3_OC TIM_OC2 |
Definition at line 278 of file crazybee_f4_1.0.h.
#define PWM_SERVO_3_OC_BIT (1<<1) |
Definition at line 279 of file crazybee_f4_1.0.h.
#define PWM_SERVO_3_PIN GPIO7 |
Definition at line 276 of file crazybee_f4_1.0.h.
#define PWM_SERVO_3_TIMER TIM4 |
Definition at line 274 of file crazybee_f4_1.0.h.
#define PWM_SERVO_4 3 |
Definition at line 286 of file crazybee_f4_1.0.h.
#define PWM_SERVO_4_AF GPIO_AF2 |
Definition at line 290 of file crazybee_f4_1.0.h.
#define PWM_SERVO_4_GPIO GPIOB |
Definition at line 288 of file crazybee_f4_1.0.h.
#define PWM_SERVO_4_OC TIM_OC3 |
Definition at line 291 of file crazybee_f4_1.0.h.
#define PWM_SERVO_4_OC_BIT (1<<2) |
Definition at line 292 of file crazybee_f4_1.0.h.
#define PWM_SERVO_4_PIN GPIO8 |
Definition at line 289 of file crazybee_f4_1.0.h.
#define PWM_SERVO_4_TIMER TIM4 |
Definition at line 287 of file crazybee_f4_1.0.h.
#define PWM_TIM2_CHAN_MASK (PWM_SERVO_1_OC_BIT) |
Definition at line 297 of file crazybee_f4_1.0.h.
#define PWM_TIM4_CHAN_MASK (PWM_SERVO_2_OC_BIT|PWM_SERVO_3_OC_BIT|PWM_SERVO_4_OC_BIT) |
Definition at line 298 of file crazybee_f4_1.0.h.
#define PWM_USE_TIM2 1 |
Definition at line 237 of file crazybee_f4_1.0.h.
#define PWM_USE_TIM4 1 |
Definition at line 238 of file crazybee_f4_1.0.h.
#define SPI1_GPIO_AF GPIO_AF5 |
SPI.
Definition at line 136 of file crazybee_f4_1.0.h.
#define SPI1_GPIO_MISO GPIO6 |
Definition at line 140 of file crazybee_f4_1.0.h.
#define SPI1_GPIO_MOSI GPIO7 |
Definition at line 142 of file crazybee_f4_1.0.h.
#define SPI1_GPIO_PORT_MISO GPIOA |
Definition at line 139 of file crazybee_f4_1.0.h.
#define SPI1_GPIO_PORT_MOSI GPIOA |
Definition at line 141 of file crazybee_f4_1.0.h.
#define SPI1_GPIO_PORT_SCK GPIOA |
Definition at line 137 of file crazybee_f4_1.0.h.
#define SPI1_GPIO_SCK GPIO5 |
Definition at line 138 of file crazybee_f4_1.0.h.
#define SPI2_GPIO_AF GPIO_AF5 |
Definition at line 154 of file crazybee_f4_1.0.h.
#define SPI2_GPIO_MISO GPIO14 |
Definition at line 158 of file crazybee_f4_1.0.h.
#define SPI2_GPIO_MOSI GPIO15 |
Definition at line 160 of file crazybee_f4_1.0.h.
#define SPI2_GPIO_PORT_MISO GPIOB |
Definition at line 157 of file crazybee_f4_1.0.h.
#define SPI2_GPIO_PORT_MOSI GPIOB |
Definition at line 159 of file crazybee_f4_1.0.h.
#define SPI2_GPIO_PORT_SCK GPIOB |
Definition at line 155 of file crazybee_f4_1.0.h.
#define SPI2_GPIO_SCK GPIO13 |
Definition at line 156 of file crazybee_f4_1.0.h.
#define SPI3_GPIO_AF GPIO_AF6 |
Definition at line 168 of file crazybee_f4_1.0.h.
#define SPI3_GPIO_MISO GPIO4 |
Definition at line 172 of file crazybee_f4_1.0.h.
#define SPI3_GPIO_MOSI GPIO5 |
Definition at line 174 of file crazybee_f4_1.0.h.
#define SPI3_GPIO_PORT_MISO GPIOB |
Definition at line 171 of file crazybee_f4_1.0.h.
#define SPI3_GPIO_PORT_MOSI GPIOB |
Definition at line 173 of file crazybee_f4_1.0.h.
#define SPI3_GPIO_PORT_SCK GPIOB |
Definition at line 169 of file crazybee_f4_1.0.h.
#define SPI3_GPIO_SCK GPIO3 |
Definition at line 170 of file crazybee_f4_1.0.h.
#define SPI_SELECT_SLAVE0_PIN GPIO4 |
Definition at line 146 of file crazybee_f4_1.0.h.
#define SPI_SELECT_SLAVE0_PORT GPIOA |
Definition at line 145 of file crazybee_f4_1.0.h.
#define SPI_SELECT_SLAVE1_PIN GPIO12 |
Definition at line 164 of file crazybee_f4_1.0.h.
#define SPI_SELECT_SLAVE1_PORT GPIOB |
Definition at line 163 of file crazybee_f4_1.0.h.
#define SPI_SELECT_SLAVE2_PIN GPIO15 |
Definition at line 178 of file crazybee_f4_1.0.h.
#define SPI_SELECT_SLAVE2_PORT GPIOA |
Definition at line 177 of file crazybee_f4_1.0.h.
#define SYSTEM_MEMORY_BASE 0x1FFF0000 |
System memory base - for DFU bootloader.
Definition at line 13 of file crazybee_f4_1.0.h.
#define UART1_GPIO_AF GPIO_AF7 |
UART's.
Definition at line 43 of file crazybee_f4_1.0.h.
#define UART1_GPIO_PORT_RX GPIOA |
Definition at line 46 of file crazybee_f4_1.0.h.
#define UART1_GPIO_PORT_TX GPIOA |
Definition at line 44 of file crazybee_f4_1.0.h.
#define UART1_GPIO_RX GPIO10 |
Definition at line 47 of file crazybee_f4_1.0.h.
#define UART1_GPIO_TX GPIO9 |
Definition at line 45 of file crazybee_f4_1.0.h.
#define UART2_GPIO_AF GPIO_AF7 |
Definition at line 52 of file crazybee_f4_1.0.h.
#define UART2_GPIO_PORT_RX GPIOA |
Definition at line 55 of file crazybee_f4_1.0.h.
#define UART2_GPIO_PORT_TX GPIOA |
Definition at line 53 of file crazybee_f4_1.0.h.
#define UART2_GPIO_RX GPIO3 |
Definition at line 56 of file crazybee_f4_1.0.h.
#define UART2_GPIO_TX GPIO2 |
Definition at line 54 of file crazybee_f4_1.0.h.
#define USE_AD_TIM1 1 |
Onboard ADCs.
Definition at line 190 of file crazybee_f4_1.0.h.
#define USE_ADC_1 1 |
Definition at line 194 of file crazybee_f4_1.0.h.
#define USE_ADC_2 1 |
Definition at line 209 of file crazybee_f4_1.0.h.
#define USE_LED_1 1 |
LEDs.
Definition at line 22 of file crazybee_f4_1.0.h.
#define USE_LED_2 1 |
Definition at line 33 of file crazybee_f4_1.0.h.
#define USE_LED_STRIP 1 |
Definition at line 82 of file crazybee_f4_1.0.h.
#define USE_PPM_TIM5 1 |
Definition at line 104 of file crazybee_f4_1.0.h.
#define USE_PWM1 1 |
Definition at line 240 of file crazybee_f4_1.0.h.
#define USE_PWM2 1 |
Definition at line 241 of file crazybee_f4_1.0.h.
#define USE_PWM3 1 |
Definition at line 242 of file crazybee_f4_1.0.h.
#define USE_PWM4 1 |
Definition at line 243 of file crazybee_f4_1.0.h.