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 245 of file px4io_2.4.h.
#define ActuatorsDefaultCommit | ( | ) | ActuatorsPwmCommit() |
Definition at line 247 of file px4io_2.4.h.
#define ActuatorsDefaultInit | ( | ) | ActuatorsPwmInit() |
Definition at line 246 of file px4io_2.4.h.
#define AHB_CLK 24000000 |
Definition at line 9 of file px4io_2.4.h.
#define BOARD_PX4IO |
Definition at line 4 of file px4io_2.4.h.
#define DEFAULT_ACTUATORS "modules/actuators/actuators_pwm.h" |
Definition at line 244 of file px4io_2.4.h.
#define EXT_CLK 24000000 |
Definition at line 8 of file px4io_2.4.h.
#define LED_1_AFIO_REMAP ((void)0) |
Definition at line 23 of file px4io_2.4.h.
#define LED_1_GPIO GPIOB |
Definition at line 19 of file px4io_2.4.h.
#define LED_1_GPIO_OFF gpio_set |
Definition at line 22 of file px4io_2.4.h.
#define LED_1_GPIO_ON gpio_clear |
Definition at line 21 of file px4io_2.4.h.
#define LED_1_GPIO_PIN GPIO14 |
Definition at line 20 of file px4io_2.4.h.
#define LED_2_AFIO_REMAP ((void)0) |
Definition at line 33 of file px4io_2.4.h.
#define LED_2_GPIO GPIOB |
Definition at line 29 of file px4io_2.4.h.
#define LED_2_GPIO_OFF gpio_set |
Definition at line 32 of file px4io_2.4.h.
#define LED_2_GPIO_ON gpio_clear |
Definition at line 31 of file px4io_2.4.h.
#define LED_2_GPIO_PIN GPIO15 |
Definition at line 30 of file px4io_2.4.h.
#define LED_3_AFIO_REMAP ((void)0) |
Definition at line 43 of file px4io_2.4.h.
#define LED_3_GPIO GPIOB |
Definition at line 39 of file px4io_2.4.h.
#define LED_3_GPIO_OFF gpio_set |
Definition at line 42 of file px4io_2.4.h.
#define LED_3_GPIO_ON gpio_clear |
Definition at line 41 of file px4io_2.4.h.
#define LED_3_GPIO_PIN GPIO13 |
Definition at line 40 of file px4io_2.4.h.
#define PPM_CC_IE TIM_DIER_CC1IE |
Definition at line 99 of file px4io_2.4.h.
#define PPM_CC_IF TIM_SR_CC1IF |
Definition at line 100 of file px4io_2.4.h.
#define PPM_CHANNEL TIM_IC1 |
Definition at line 94 of file px4io_2.4.h.
#define PPM_GPIO_AF 0 |
Definition at line 103 of file px4io_2.4.h.
#define PPM_GPIO_PIN GPIO8 |
Definition at line 102 of file px4io_2.4.h.
#define PPM_GPIO_PORT GPIOA |
Definition at line 101 of file px4io_2.4.h.
#define PPM_IRQ NVIC_TIM1_UP_IRQ |
Definition at line 96 of file px4io_2.4.h.
#define PPM_IRQ2 NVIC_TIM1_CC_IRQ |
Definition at line 97 of file px4io_2.4.h.
#define PPM_TIMER_INPUT TIM_IC_IN_TI1 |
Definition at line 95 of file px4io_2.4.h.
#define PWM_SERVO_1 0 |
Definition at line 141 of file px4io_2.4.h.
#define PWM_SERVO_1_AF 0 |
Definition at line 145 of file px4io_2.4.h.
#define PWM_SERVO_1_GPIO GPIOA |
Definition at line 143 of file px4io_2.4.h.
#define PWM_SERVO_1_OC TIM_OC1 |
Definition at line 146 of file px4io_2.4.h.
#define PWM_SERVO_1_OC_BIT (1<<0) |
Definition at line 147 of file px4io_2.4.h.
#define PWM_SERVO_1_PIN GPIO0 |
Definition at line 144 of file px4io_2.4.h.
#define PWM_SERVO_1_TIMER TIM2 |
Definition at line 142 of file px4io_2.4.h.
#define PWM_SERVO_2 1 |
Definition at line 153 of file px4io_2.4.h.
#define PWM_SERVO_2_AF 0 |
Definition at line 157 of file px4io_2.4.h.
#define PWM_SERVO_2_GPIO GPIOA |
Definition at line 155 of file px4io_2.4.h.
#define PWM_SERVO_2_OC TIM_OC2 |
Definition at line 158 of file px4io_2.4.h.
#define PWM_SERVO_2_OC_BIT (1<<1) |
Definition at line 159 of file px4io_2.4.h.
#define PWM_SERVO_2_PIN GPIO1 |
Definition at line 156 of file px4io_2.4.h.
#define PWM_SERVO_2_TIMER TIM2 |
Definition at line 154 of file px4io_2.4.h.
#define PWM_SERVO_3 2 |
Definition at line 165 of file px4io_2.4.h.
#define PWM_SERVO_3_AF 0 |
Definition at line 169 of file px4io_2.4.h.
#define PWM_SERVO_3_GPIO GPIOB |
Definition at line 167 of file px4io_2.4.h.
#define PWM_SERVO_3_OC TIM_OC3 |
Definition at line 170 of file px4io_2.4.h.
#define PWM_SERVO_3_OC_BIT (1<<2) |
Definition at line 171 of file px4io_2.4.h.
#define PWM_SERVO_3_PIN GPIO8 |
Definition at line 168 of file px4io_2.4.h.
#define PWM_SERVO_3_TIMER TIM4 |
Definition at line 166 of file px4io_2.4.h.
#define PWM_SERVO_4 3 |
Definition at line 177 of file px4io_2.4.h.
#define PWM_SERVO_4_AF 0 |
Definition at line 181 of file px4io_2.4.h.
#define PWM_SERVO_4_GPIO GPIOB |
Definition at line 179 of file px4io_2.4.h.
#define PWM_SERVO_4_OC TIM_OC4 |
Definition at line 182 of file px4io_2.4.h.
#define PWM_SERVO_4_OC_BIT (1<<3) |
Definition at line 183 of file px4io_2.4.h.
#define PWM_SERVO_4_PIN GPIO9 |
Definition at line 180 of file px4io_2.4.h.
#define PWM_SERVO_4_TIMER TIM4 |
Definition at line 178 of file px4io_2.4.h.
#define PWM_SERVO_5_OC_BIT 0 |
Definition at line 197 of file px4io_2.4.h.
#define PWM_SERVO_6_OC_BIT 0 |
Definition at line 209 of file px4io_2.4.h.
#define PWM_SERVO_7_OC_BIT 0 |
Definition at line 221 of file px4io_2.4.h.
#define PWM_SERVO_8_OC_BIT 0 |
Definition at line 233 of file px4io_2.4.h.
#define PWM_TIM2_CHAN_MASK (PWM_SERVO_1_OC_BIT|PWM_SERVO_2_OC_BIT) |
Definition at line 237 of file px4io_2.4.h.
#define PWM_TIM4_CHAN_MASK (PWM_SERVO_3_OC_BIT|PWM_SERVO_4_OC_BIT) |
Definition at line 239 of file px4io_2.4.h.
#define PWM_USE_TIM2 1 |
Definition at line 124 of file px4io_2.4.h.
#define PWM_USE_TIM4 1 |
Definition at line 126 of file px4io_2.4.h.
#define RADIO_CONTROL_POWER_OFF gpio_clear |
Definition at line 77 of file px4io_2.4.h.
#define RADIO_CONTROL_POWER_ON gpio_set |
Definition at line 76 of file px4io_2.4.h.
#define RADIO_CONTROL_POWER_PIN GPIO13 |
Definition at line 75 of file px4io_2.4.h.
#define RADIO_CONTROL_POWER_PORT GPIOC |
Definition at line 74 of file px4io_2.4.h.
#define SPEKTRUM_TIMER 3 |
Definition at line 79 of file px4io_2.4.h.
#define SPEKTRUM_UART1_AF 0 |
Definition at line 84 of file px4io_2.4.h.
#define SPEKTRUM_UART1_BANK GPIOA |
Definition at line 82 of file px4io_2.4.h.
#define SPEKTRUM_UART1_DEV USART1 |
Definition at line 87 of file px4io_2.4.h.
#define SPEKTRUM_UART1_IRQ NVIC_USART1_IRQ |
Definition at line 85 of file px4io_2.4.h.
#define SPEKTRUM_UART1_ISR usart1_isr |
Definition at line 86 of file px4io_2.4.h.
#define SPEKTRUM_UART1_PIN GPIO10 |
Definition at line 83 of file px4io_2.4.h.
#define SPEKTRUM_UART1_RCC RCC_USART1 |
Definition at line 81 of file px4io_2.4.h.
#define UART1_GPIO_AF 0 |
Definition at line 52 of file px4io_2.4.h.
#define UART1_GPIO_PORT_RX GPIOA |
Definition at line 53 of file px4io_2.4.h.
#define UART1_GPIO_PORT_TX GPIOA |
Definition at line 55 of file px4io_2.4.h.
#define UART1_GPIO_RX GPIO10 |
Definition at line 54 of file px4io_2.4.h.
#define UART1_GPIO_TX GPIO9 |
Definition at line 56 of file px4io_2.4.h.
#define UART2_GPIO_AF 0 |
Definition at line 58 of file px4io_2.4.h.
#define UART2_GPIO_PORT_RX GPIOA |
Definition at line 59 of file px4io_2.4.h.
#define UART2_GPIO_PORT_TX GPIOA |
Definition at line 61 of file px4io_2.4.h.
#define UART2_GPIO_RX GPIO3 |
Definition at line 60 of file px4io_2.4.h.
#define UART2_GPIO_TX GPIO2 |
Definition at line 62 of file px4io_2.4.h.
#define UART3_GPIO_AF 0 |
Definition at line 64 of file px4io_2.4.h.
#define UART3_GPIO_PORT_RX GPIOB |
Definition at line 65 of file px4io_2.4.h.
#define UART3_GPIO_PORT_TX GPIOB |
Definition at line 67 of file px4io_2.4.h.
#define UART3_GPIO_RX GPIO11 |
Definition at line 66 of file px4io_2.4.h.
#define UART3_GPIO_TX GPIO10 |
Definition at line 68 of file px4io_2.4.h.
#define USE_ADC_1 0 |
Definition at line 107 of file px4io_2.4.h.
#define USE_LED_1 1 |
Definition at line 17 of file px4io_2.4.h.
#define USE_LED_2 1 |
Definition at line 27 of file px4io_2.4.h.
#define USE_LED_3 1 |
Definition at line 37 of file px4io_2.4.h.
#define USE_PPM_TIM1 1 |
Definition at line 93 of file px4io_2.4.h.
#define USE_PWM1 1 |
Definition at line 130 of file px4io_2.4.h.
#define USE_PWM2 1 |
Definition at line 131 of file px4io_2.4.h.
#define USE_PWM3 1 |
Definition at line 132 of file px4io_2.4.h.
#define USE_PWM4 1 |
Definition at line 133 of file px4io_2.4.h.