Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
openpilot_revo_1.0.h File Reference

Go to the source code of this file.

Macros

#define BOARD_REVO
 
#define EXT_CLK   8000000
 
#define AHB_CLK   168000000
 
#define USE_LED_1   1
 
#define LED_1_GPIO   GPIOB
 
#define LED_1_GPIO_PIN   GPIO5
 
#define LED_1_GPIO_ON   gpio_clear
 
#define LED_1_GPIO_OFF   gpio_set
 
#define LED_1_AFIO_REMAP   ((void)0)
 
#define USE_LED_2   1
 
#define LED_2_GPIO   GPIOB
 
#define LED_2_GPIO_PIN   GPIO4
 
#define LED_2_GPIO_ON   gpio_clear
 
#define LED_2_GPIO_OFF   gpio_set
 
#define LED_2_AFIO_REMAP   ((void)0)
 
#define DEFAULT_ACTUATORS   "subsystems/actuators/actuators_pwm.h"
 
#define ActuatorDefaultSet(_x, _y)   ActuatorPwmSet(_x,_y)
 
#define ActuatorsDefaultInit()   ActuatorsPwmInit()
 
#define ActuatorsDefaultCommit()   ActuatorsPwmCommit()
 
#define UART1_GPIO_AF   GPIO_AF7
 
#define UART1_GPIO_PORT_RX   GPIOA
 
#define UART1_GPIO_RX   GPIO10
 
#define UART1_GPIO_PORT_TX   GPIOA
 
#define UART1_GPIO_TX   GPIO9
 
#define UART2_GPIO_AF   GPIO_AF7
 
#define UART2_GPIO_PORT_RX   GPIOA
 
#define UART2_GPIO_RX   GPIO3
 
#define UART2_GPIO_PORT_TX   GPIOA
 
#define UART2_GPIO_TX   GPIO2
 
#define UART3_GPIO_AF   GPIO_AF7
 
#define UART3_GPIO_PORT_RX   GPIOC
 
#define UART3_GPIO_RX   GPIO11
 
#define UART3_GPIO_PORT_TX   GPIOC
 
#define UART3_GPIO_TX   GPIO10
 
#define UART5_GPIO_AF   GPIO_AF8
 
#define UART5_GPIO_PORT_RX   GPIOD
 
#define UART5_GPIO_RX   GPIO2
 
#define UART5_GPIO_PORT_TX   GPIOC
 
#define UART5_GPIO_TX   GPIO12
 
#define SPEKTRUM_BIND_PIN   GPIO0
 
#define SPEKTRUM_BIND_PIN_PORT   GPIOB
 
#define SPEKTRUM_UART1_RCC   RCC_USART1
 
#define SPEKTRUM_UART1_BANK   GPIOA
 
#define SPEKTRUM_UART1_PIN   GPIO10
 
#define SPEKTRUM_UART1_AF   GPIO_AF7
 
#define SPEKTRUM_UART1_IRQ   NVIC_USART1_IRQ
 
#define SPEKTRUM_UART1_ISR   usart1_isr
 
#define SPEKTRUM_UART1_DEV   USART1
 
#define SPEKTRUM_UART2_RCC   RCC_USART2
 
#define SPEKTRUM_UART2_BANK   GPIOA
 
#define SPEKTRUM_UART2_PIN   GPIO3
 
#define SPEKTRUM_UART2_AF   GPIO_AF7
 
#define SPEKTRUM_UART2_IRQ   NVIC_USART2_IRQ
 
#define SPEKTRUM_UART2_ISR   usart2_isr
 
#define SPEKTRUM_UART2_DEV   USART2
 
#define SPEKTRUM_UART5_RCC   RCC_UART5
 
#define SPEKTRUM_UART5_BANK   GPIOD
 
#define SPEKTRUM_UART5_PIN   GPIO2
 
#define SPEKTRUM_UART5_AF   GPIO_AF8
 
#define SPEKTRUM_UART5_IRQ   NVIC_UART5_IRQ
 
#define SPEKTRUM_UART5_ISR   uart5_isr
 
#define SPEKTRUM_UART5_DEV   UART5
 
#define PPM_CONFIG   2
 
#define USE_PPM_TIM2   1
 
#define PPM_CHANNEL   TIM_IC2
 
#define PPM_TIMER_INPUT   TIM_IC_IN_TI2
 
#define PPM_IRQ   NVIC_TIM2_IRQ
 
#define PPM_CC_IE   TIM_DIER_CC2IE
 
#define PPM_CC_IF   TIM_SR_CC2IF
 
#define PPM_GPIO_PORT   GPIOA
 
#define PPM_GPIO_PIN   GPIO1
 
#define PPM_GPIO_AF   GPIO_AF1
 
#define USE_AD_TIM1   1
 
#define SPI1_GPIO_AF   GPIO_AF5
 
#define SPI1_GPIO_PORT_MISO   GPIOA
 
#define SPI1_GPIO_MISO   GPIO6
 
#define SPI1_GPIO_PORT_MOSI   GPIOA
 
#define SPI1_GPIO_MOSI   GPIO7
 
#define SPI1_GPIO_PORT_SCK   GPIOA
 
#define SPI1_GPIO_SCK   GPIO5
 
#define SPI1_GPIO_PORT_NSS   GPIOA
 
#define SPI1_GPIO_NSS   GPIO4
 
#define SPI3_GPIO_AF   GPIO_AF5
 
#define SPI3_GPIO_PORT_MISO   GPIOC
 
#define SPI3_GPIO_MISO   GPIO11
 
#define SPI3_GPIO_PORT_MOSI   GPIOC
 
#define SPI3_GPIO_MOSI   GPIO12
 
#define SPI3_GPIO_PORT_SCK   GPIOC
 
#define SPI3_GPIO_SCK   GPIO10
 
#define SPI3_GPIO_PORT_NSS   GPIOA
 
#define SPI3_GPIO_NSS   GPIO15
 
#define SPI_SELECT_SLAVE0_PORT   GPIOA
 
#define SPI_SELECT_SLAVE0_PIN   GPIO15
 
#define SPI_SELECT_SLAVE1_PORT   GPIOB
 
#define SPI_SELECT_SLAVE1_PIN   GPIO3
 
#define SPI_SELECT_SLAVE2_PORT   GPIOA
 
#define SPI_SELECT_SLAVE2_PIN   GPIO4
 
#define I2C1_GPIO_PORT   GPIOB
 
#define I2C1_GPIO_SCL   GPIO8
 
#define I2C1_GPIO_SDA   GPIO9
 
#define USE_ADC_1   1
 
#define AD1_1_CHANNEL   12
 
#define ADC_1   AD1_1
 
#define ADC_1_GPIO_PORT   GPIOC
 
#define ADC_1_GPIO_PIN   GPIO2
 
#define ADC_CHANNEL_VSUPPLY   ADC_1
 
#define DefaultVoltageOfAdc(adc)   (0.0045*adc)
 
#define PWM_USE_TIM3   1
 
#define PWM_USE_TIM5   1
 
#define USE_PWM1   1
 
#define USE_PWM2   1
 
#define USE_PWM3   1
 
#define USE_PWM4   1
 
#define USE_PWM5   1
 
#define USE_PWM6   1
 
#define ACTUATORS_PWM_NB   6
 
#define PWM_SERVO_1   0
 
#define PWM_SERVO_1_TIMER   TIM3
 
#define PWM_SERVO_1_GPIO   GPIOB
 
#define PWM_SERVO_1_PIN   GPIO0
 
#define PWM_SERVO_1_AF   GPIO_AF2
 
#define PWM_SERVO_1_OC   TIM_OC3
 
#define PWM_SERVO_1_OC_BIT   (1<<2)
 
#define PWM_SERVO_2   1
 
#define PWM_SERVO_2_TIMER   TIM3
 
#define PWM_SERVO_2_GPIO   GPIOB
 
#define PWM_SERVO_2_PIN   GPIO1
 
#define PWM_SERVO_2_AF   GPIO_AF2
 
#define PWM_SERVO_2_OC   TIM_OC4
 
#define PWM_SERVO_2_OC_BIT   (1<<3)
 
#define PWM_SERVO_3   2
 
#define PWM_SERVO_3_TIMER   TIM9
 
#define PWM_SERVO_3_GPIO   GPIOA
 
#define PWM_SERVO_3_PIN   GPIO3
 
#define PWM_SERVO_3_AF   GPIO_AF2
 
#define PWM_SERVO_3_OC   TIM_OC2
 
#define PWM_SERVO_3_OC_BIT   (1<<1)
 
#define PWM_SERVO_4   3
 
#define PWM_SERVO_4_TIMER   TIM2
 
#define PWM_SERVO_4_GPIO   GPIOA
 
#define PWM_SERVO_4_PIN   GPIO2
 
#define PWM_SERVO_4_AF   GPIO_AF2
 
#define PWM_SERVO_4_OC   TIM_OC3
 
#define PWM_SERVO_4_OC_BIT   (1<<2)
 
#define PWM_SERVO_5   4
 
#define PWM_SERVO_5_TIMER   TIM5
 
#define PWM_SERVO_5_GPIO   GPIOA
 
#define PWM_SERVO_5_PIN   GPIO1
 
#define PWM_SERVO_5_AF   GPIO_AF2
 
#define PWM_SERVO_5_OC   TIM_OC2
 
#define PWM_SERVO_5_OC_BIT   (1<<1)
 
#define PWM_SERVO_6   5
 
#define PWM_SERVO_6_TIMER   TIM5
 
#define PWM_SERVO_6_GPIO   GPIOA
 
#define PWM_SERVO_6_PIN   GPIO0
 
#define PWM_SERVO_6_AF   GPIO_AF2
 
#define PWM_SERVO_6_OC   TIM_OC1
 
#define PWM_SERVO_6_OC_BIT   (1<<0)
 
#define PWM_TIM3_CHAN_MASK   (PWM_SERVO_1_OC_BIT|PWM_SERVO_2_OC_BIT)
 
#define PWM_TIM9_CHAN_MASK   (PWM_SERVO_3_OC_BIT)
 
#define PWM_TIM2_CHAN_MASK   (PWM_SERVO_4_OC_BIT)
 
#define PWM_TIM5_CHAN_MASK   (PWM_SERVO_5_OC_BIT|PWM_SERVO_6_OC_BIT)
 
#define USE_BARO_BOARD   1
 

Macro Definition Documentation

◆ ActuatorDefaultSet

#define ActuatorDefaultSet (   _x,
  _y 
)    ActuatorPwmSet(_x,_y)

Definition at line 59 of file openpilot_revo_1.0.h.

◆ ACTUATORS_PWM_NB

#define ACTUATORS_PWM_NB   6

Definition at line 286 of file openpilot_revo_1.0.h.

◆ ActuatorsDefaultCommit

#define ActuatorsDefaultCommit ( )    ActuatorsPwmCommit()

Definition at line 61 of file openpilot_revo_1.0.h.

◆ ActuatorsDefaultInit

#define ActuatorsDefaultInit ( )    ActuatorsPwmInit()

Definition at line 60 of file openpilot_revo_1.0.h.

◆ AD1_1_CHANNEL

#define AD1_1_CHANNEL   12

Definition at line 238 of file openpilot_revo_1.0.h.

◆ ADC_1

#define ADC_1   AD1_1

Definition at line 239 of file openpilot_revo_1.0.h.

◆ ADC_1_GPIO_PIN

#define ADC_1_GPIO_PIN   GPIO2

Definition at line 241 of file openpilot_revo_1.0.h.

◆ ADC_1_GPIO_PORT

#define ADC_1_GPIO_PORT   GPIOC

Definition at line 240 of file openpilot_revo_1.0.h.

◆ ADC_CHANNEL_VSUPPLY

#define ADC_CHANNEL_VSUPPLY   ADC_1

Definition at line 254 of file openpilot_revo_1.0.h.

◆ AHB_CLK

#define AHB_CLK   168000000

Definition at line 30 of file openpilot_revo_1.0.h.

◆ BOARD_REVO

#define BOARD_REVO

Definition at line 26 of file openpilot_revo_1.0.h.

◆ DEFAULT_ACTUATORS

#define DEFAULT_ACTUATORS   "subsystems/actuators/actuators_pwm.h"

Definition at line 58 of file openpilot_revo_1.0.h.

◆ DefaultVoltageOfAdc

#define DefaultVoltageOfAdc (   adc)    (0.0045*adc)

Definition at line 258 of file openpilot_revo_1.0.h.

◆ EXT_CLK

#define EXT_CLK   8000000

Definition at line 29 of file openpilot_revo_1.0.h.

◆ I2C1_GPIO_PORT

#define I2C1_GPIO_PORT   GPIOB

Definition at line 208 of file openpilot_revo_1.0.h.

◆ I2C1_GPIO_SCL

#define I2C1_GPIO_SCL   GPIO8

Definition at line 209 of file openpilot_revo_1.0.h.

◆ I2C1_GPIO_SDA

#define I2C1_GPIO_SDA   GPIO9

Definition at line 210 of file openpilot_revo_1.0.h.

◆ LED_1_AFIO_REMAP

#define LED_1_AFIO_REMAP   ((void)0)

Definition at line 44 of file openpilot_revo_1.0.h.

◆ LED_1_GPIO

#define LED_1_GPIO   GPIOB

Definition at line 40 of file openpilot_revo_1.0.h.

◆ LED_1_GPIO_OFF

#define LED_1_GPIO_OFF   gpio_set

Definition at line 43 of file openpilot_revo_1.0.h.

◆ LED_1_GPIO_ON

#define LED_1_GPIO_ON   gpio_clear

Definition at line 42 of file openpilot_revo_1.0.h.

◆ LED_1_GPIO_PIN

#define LED_1_GPIO_PIN   GPIO5

Definition at line 41 of file openpilot_revo_1.0.h.

◆ LED_2_AFIO_REMAP

#define LED_2_AFIO_REMAP   ((void)0)

Definition at line 54 of file openpilot_revo_1.0.h.

◆ LED_2_GPIO

#define LED_2_GPIO   GPIOB

Definition at line 50 of file openpilot_revo_1.0.h.

◆ LED_2_GPIO_OFF

#define LED_2_GPIO_OFF   gpio_set

Definition at line 53 of file openpilot_revo_1.0.h.

◆ LED_2_GPIO_ON

#define LED_2_GPIO_ON   gpio_clear

Definition at line 52 of file openpilot_revo_1.0.h.

◆ LED_2_GPIO_PIN

#define LED_2_GPIO_PIN   GPIO4

Definition at line 51 of file openpilot_revo_1.0.h.

◆ PPM_CC_IE

#define PPM_CC_IE   TIM_DIER_CC2IE

Definition at line 151 of file openpilot_revo_1.0.h.

◆ PPM_CC_IF

#define PPM_CC_IF   TIM_SR_CC2IF

Definition at line 152 of file openpilot_revo_1.0.h.

◆ PPM_CHANNEL

#define PPM_CHANNEL   TIM_IC2

Definition at line 147 of file openpilot_revo_1.0.h.

◆ PPM_CONFIG

#define PPM_CONFIG   2

Definition at line 127 of file openpilot_revo_1.0.h.

◆ PPM_GPIO_AF

#define PPM_GPIO_AF   GPIO_AF1

Definition at line 155 of file openpilot_revo_1.0.h.

◆ PPM_GPIO_PIN

#define PPM_GPIO_PIN   GPIO1

Definition at line 154 of file openpilot_revo_1.0.h.

◆ PPM_GPIO_PORT

#define PPM_GPIO_PORT   GPIOA

Definition at line 153 of file openpilot_revo_1.0.h.

◆ PPM_IRQ

#define PPM_IRQ   NVIC_TIM2_IRQ

Definition at line 149 of file openpilot_revo_1.0.h.

◆ PPM_TIMER_INPUT

#define PPM_TIMER_INPUT   TIM_IC_IN_TI2

Definition at line 148 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_1

#define PWM_SERVO_1   0

Definition at line 291 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_1_AF

#define PWM_SERVO_1_AF   GPIO_AF2

Definition at line 295 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_1_GPIO

#define PWM_SERVO_1_GPIO   GPIOB

Definition at line 293 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_1_OC

#define PWM_SERVO_1_OC   TIM_OC3

Definition at line 296 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_1_OC_BIT

#define PWM_SERVO_1_OC_BIT   (1<<2)

Definition at line 297 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_1_PIN

#define PWM_SERVO_1_PIN   GPIO0

Definition at line 294 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_1_TIMER

#define PWM_SERVO_1_TIMER   TIM3

Definition at line 292 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_2

#define PWM_SERVO_2   1

Definition at line 303 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_2_AF

#define PWM_SERVO_2_AF   GPIO_AF2

Definition at line 307 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_2_GPIO

#define PWM_SERVO_2_GPIO   GPIOB

Definition at line 305 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_2_OC

#define PWM_SERVO_2_OC   TIM_OC4

Definition at line 308 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_2_OC_BIT

#define PWM_SERVO_2_OC_BIT   (1<<3)

Definition at line 309 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_2_PIN

#define PWM_SERVO_2_PIN   GPIO1

Definition at line 306 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_2_TIMER

#define PWM_SERVO_2_TIMER   TIM3

Definition at line 304 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_3

#define PWM_SERVO_3   2

Definition at line 315 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_3_AF

#define PWM_SERVO_3_AF   GPIO_AF2

Definition at line 319 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_3_GPIO

#define PWM_SERVO_3_GPIO   GPIOA

Definition at line 317 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_3_OC

#define PWM_SERVO_3_OC   TIM_OC2

Definition at line 320 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_3_OC_BIT

#define PWM_SERVO_3_OC_BIT   (1<<1)

Definition at line 321 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_3_PIN

#define PWM_SERVO_3_PIN   GPIO3

Definition at line 318 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_3_TIMER

#define PWM_SERVO_3_TIMER   TIM9

Definition at line 316 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_4

#define PWM_SERVO_4   3

Definition at line 327 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_4_AF

#define PWM_SERVO_4_AF   GPIO_AF2

Definition at line 331 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_4_GPIO

#define PWM_SERVO_4_GPIO   GPIOA

Definition at line 329 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_4_OC

#define PWM_SERVO_4_OC   TIM_OC3

Definition at line 332 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_4_OC_BIT

#define PWM_SERVO_4_OC_BIT   (1<<2)

Definition at line 333 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_4_PIN

#define PWM_SERVO_4_PIN   GPIO2

Definition at line 330 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_4_TIMER

#define PWM_SERVO_4_TIMER   TIM2

Definition at line 328 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_5

#define PWM_SERVO_5   4

Definition at line 339 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_5_AF

#define PWM_SERVO_5_AF   GPIO_AF2

Definition at line 343 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_5_GPIO

#define PWM_SERVO_5_GPIO   GPIOA

Definition at line 341 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_5_OC

#define PWM_SERVO_5_OC   TIM_OC2

Definition at line 344 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_5_OC_BIT

#define PWM_SERVO_5_OC_BIT   (1<<1)

Definition at line 345 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_5_PIN

#define PWM_SERVO_5_PIN   GPIO1

Definition at line 342 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_5_TIMER

#define PWM_SERVO_5_TIMER   TIM5

Definition at line 340 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_6

#define PWM_SERVO_6   5

Definition at line 351 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_6_AF

#define PWM_SERVO_6_AF   GPIO_AF2

Definition at line 355 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_6_GPIO

#define PWM_SERVO_6_GPIO   GPIOA

Definition at line 353 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_6_OC

#define PWM_SERVO_6_OC   TIM_OC1

Definition at line 356 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_6_OC_BIT

#define PWM_SERVO_6_OC_BIT   (1<<0)

Definition at line 357 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_6_PIN

#define PWM_SERVO_6_PIN   GPIO0

Definition at line 354 of file openpilot_revo_1.0.h.

◆ PWM_SERVO_6_TIMER

#define PWM_SERVO_6_TIMER   TIM5

Definition at line 352 of file openpilot_revo_1.0.h.

◆ PWM_TIM2_CHAN_MASK

#define PWM_TIM2_CHAN_MASK   (PWM_SERVO_4_OC_BIT)

Definition at line 369 of file openpilot_revo_1.0.h.

◆ PWM_TIM3_CHAN_MASK

#define PWM_TIM3_CHAN_MASK   (PWM_SERVO_1_OC_BIT|PWM_SERVO_2_OC_BIT)

Definition at line 365 of file openpilot_revo_1.0.h.

◆ PWM_TIM5_CHAN_MASK

#define PWM_TIM5_CHAN_MASK   (PWM_SERVO_5_OC_BIT|PWM_SERVO_6_OC_BIT)

Definition at line 371 of file openpilot_revo_1.0.h.

◆ PWM_TIM9_CHAN_MASK

#define PWM_TIM9_CHAN_MASK   (PWM_SERVO_3_OC_BIT)

Definition at line 367 of file openpilot_revo_1.0.h.

◆ PWM_USE_TIM3

#define PWM_USE_TIM3   1

Definition at line 265 of file openpilot_revo_1.0.h.

◆ PWM_USE_TIM5

#define PWM_USE_TIM5   1

Definition at line 266 of file openpilot_revo_1.0.h.

◆ SPEKTRUM_BIND_PIN

#define SPEKTRUM_BIND_PIN   GPIO0

Definition at line 94 of file openpilot_revo_1.0.h.

◆ SPEKTRUM_BIND_PIN_PORT

#define SPEKTRUM_BIND_PIN_PORT   GPIOB

Definition at line 95 of file openpilot_revo_1.0.h.

◆ SPEKTRUM_UART1_AF

#define SPEKTRUM_UART1_AF   GPIO_AF7

Definition at line 100 of file openpilot_revo_1.0.h.

◆ SPEKTRUM_UART1_BANK

#define SPEKTRUM_UART1_BANK   GPIOA

Definition at line 98 of file openpilot_revo_1.0.h.

◆ SPEKTRUM_UART1_DEV

#define SPEKTRUM_UART1_DEV   USART1

Definition at line 103 of file openpilot_revo_1.0.h.

◆ SPEKTRUM_UART1_IRQ

#define SPEKTRUM_UART1_IRQ   NVIC_USART1_IRQ

Definition at line 101 of file openpilot_revo_1.0.h.

◆ SPEKTRUM_UART1_ISR

#define SPEKTRUM_UART1_ISR   usart1_isr

Definition at line 102 of file openpilot_revo_1.0.h.

◆ SPEKTRUM_UART1_PIN

#define SPEKTRUM_UART1_PIN   GPIO10

Definition at line 99 of file openpilot_revo_1.0.h.

◆ SPEKTRUM_UART1_RCC

#define SPEKTRUM_UART1_RCC   RCC_USART1

Definition at line 97 of file openpilot_revo_1.0.h.

◆ SPEKTRUM_UART2_AF

#define SPEKTRUM_UART2_AF   GPIO_AF7

Definition at line 108 of file openpilot_revo_1.0.h.

◆ SPEKTRUM_UART2_BANK

#define SPEKTRUM_UART2_BANK   GPIOA

Definition at line 106 of file openpilot_revo_1.0.h.

◆ SPEKTRUM_UART2_DEV

#define SPEKTRUM_UART2_DEV   USART2

Definition at line 111 of file openpilot_revo_1.0.h.

◆ SPEKTRUM_UART2_IRQ

#define SPEKTRUM_UART2_IRQ   NVIC_USART2_IRQ

Definition at line 109 of file openpilot_revo_1.0.h.

◆ SPEKTRUM_UART2_ISR

#define SPEKTRUM_UART2_ISR   usart2_isr

Definition at line 110 of file openpilot_revo_1.0.h.

◆ SPEKTRUM_UART2_PIN

#define SPEKTRUM_UART2_PIN   GPIO3

Definition at line 107 of file openpilot_revo_1.0.h.

◆ SPEKTRUM_UART2_RCC

#define SPEKTRUM_UART2_RCC   RCC_USART2

Definition at line 105 of file openpilot_revo_1.0.h.

◆ SPEKTRUM_UART5_AF

#define SPEKTRUM_UART5_AF   GPIO_AF8

Definition at line 116 of file openpilot_revo_1.0.h.

◆ SPEKTRUM_UART5_BANK

#define SPEKTRUM_UART5_BANK   GPIOD

Definition at line 114 of file openpilot_revo_1.0.h.

◆ SPEKTRUM_UART5_DEV

#define SPEKTRUM_UART5_DEV   UART5

Definition at line 119 of file openpilot_revo_1.0.h.

◆ SPEKTRUM_UART5_IRQ

#define SPEKTRUM_UART5_IRQ   NVIC_UART5_IRQ

Definition at line 117 of file openpilot_revo_1.0.h.

◆ SPEKTRUM_UART5_ISR

#define SPEKTRUM_UART5_ISR   uart5_isr

Definition at line 118 of file openpilot_revo_1.0.h.

◆ SPEKTRUM_UART5_PIN

#define SPEKTRUM_UART5_PIN   GPIO2

Definition at line 115 of file openpilot_revo_1.0.h.

◆ SPEKTRUM_UART5_RCC

#define SPEKTRUM_UART5_RCC   RCC_UART5

Definition at line 113 of file openpilot_revo_1.0.h.

◆ SPI1_GPIO_AF

#define SPI1_GPIO_AF   GPIO_AF5

Definition at line 170 of file openpilot_revo_1.0.h.

◆ SPI1_GPIO_MISO

#define SPI1_GPIO_MISO   GPIO6

Definition at line 172 of file openpilot_revo_1.0.h.

◆ SPI1_GPIO_MOSI

#define SPI1_GPIO_MOSI   GPIO7

Definition at line 174 of file openpilot_revo_1.0.h.

◆ SPI1_GPIO_NSS

#define SPI1_GPIO_NSS   GPIO4

Definition at line 178 of file openpilot_revo_1.0.h.

◆ SPI1_GPIO_PORT_MISO

#define SPI1_GPIO_PORT_MISO   GPIOA

Definition at line 171 of file openpilot_revo_1.0.h.

◆ SPI1_GPIO_PORT_MOSI

#define SPI1_GPIO_PORT_MOSI   GPIOA

Definition at line 173 of file openpilot_revo_1.0.h.

◆ SPI1_GPIO_PORT_NSS

#define SPI1_GPIO_PORT_NSS   GPIOA

Definition at line 177 of file openpilot_revo_1.0.h.

◆ SPI1_GPIO_PORT_SCK

#define SPI1_GPIO_PORT_SCK   GPIOA

Definition at line 175 of file openpilot_revo_1.0.h.

◆ SPI1_GPIO_SCK

#define SPI1_GPIO_SCK   GPIO5

Definition at line 176 of file openpilot_revo_1.0.h.

◆ SPI3_GPIO_AF

#define SPI3_GPIO_AF   GPIO_AF5

Definition at line 181 of file openpilot_revo_1.0.h.

◆ SPI3_GPIO_MISO

#define SPI3_GPIO_MISO   GPIO11

Definition at line 183 of file openpilot_revo_1.0.h.

◆ SPI3_GPIO_MOSI

#define SPI3_GPIO_MOSI   GPIO12

Definition at line 185 of file openpilot_revo_1.0.h.

◆ SPI3_GPIO_NSS

#define SPI3_GPIO_NSS   GPIO15

Definition at line 190 of file openpilot_revo_1.0.h.

◆ SPI3_GPIO_PORT_MISO

#define SPI3_GPIO_PORT_MISO   GPIOC

Definition at line 182 of file openpilot_revo_1.0.h.

◆ SPI3_GPIO_PORT_MOSI

#define SPI3_GPIO_PORT_MOSI   GPIOC

Definition at line 184 of file openpilot_revo_1.0.h.

◆ SPI3_GPIO_PORT_NSS

#define SPI3_GPIO_PORT_NSS   GPIOA

Definition at line 189 of file openpilot_revo_1.0.h.

◆ SPI3_GPIO_PORT_SCK

#define SPI3_GPIO_PORT_SCK   GPIOC

Definition at line 186 of file openpilot_revo_1.0.h.

◆ SPI3_GPIO_SCK

#define SPI3_GPIO_SCK   GPIO10

Definition at line 187 of file openpilot_revo_1.0.h.

◆ SPI_SELECT_SLAVE0_PIN

#define SPI_SELECT_SLAVE0_PIN   GPIO15

Definition at line 194 of file openpilot_revo_1.0.h.

◆ SPI_SELECT_SLAVE0_PORT

#define SPI_SELECT_SLAVE0_PORT   GPIOA

Definition at line 193 of file openpilot_revo_1.0.h.

◆ SPI_SELECT_SLAVE1_PIN

#define SPI_SELECT_SLAVE1_PIN   GPIO3

Definition at line 198 of file openpilot_revo_1.0.h.

◆ SPI_SELECT_SLAVE1_PORT

#define SPI_SELECT_SLAVE1_PORT   GPIOB

Definition at line 197 of file openpilot_revo_1.0.h.

◆ SPI_SELECT_SLAVE2_PIN

#define SPI_SELECT_SLAVE2_PIN   GPIO4

Definition at line 202 of file openpilot_revo_1.0.h.

◆ SPI_SELECT_SLAVE2_PORT

#define SPI_SELECT_SLAVE2_PORT   GPIOA

Definition at line 201 of file openpilot_revo_1.0.h.

◆ UART1_GPIO_AF

#define UART1_GPIO_AF   GPIO_AF7

Definition at line 66 of file openpilot_revo_1.0.h.

◆ UART1_GPIO_PORT_RX

#define UART1_GPIO_PORT_RX   GPIOA

Definition at line 67 of file openpilot_revo_1.0.h.

◆ UART1_GPIO_PORT_TX

#define UART1_GPIO_PORT_TX   GPIOA

Definition at line 69 of file openpilot_revo_1.0.h.

◆ UART1_GPIO_RX

#define UART1_GPIO_RX   GPIO10

Definition at line 68 of file openpilot_revo_1.0.h.

◆ UART1_GPIO_TX

#define UART1_GPIO_TX   GPIO9

Definition at line 70 of file openpilot_revo_1.0.h.

◆ UART2_GPIO_AF

#define UART2_GPIO_AF   GPIO_AF7

Definition at line 72 of file openpilot_revo_1.0.h.

◆ UART2_GPIO_PORT_RX

#define UART2_GPIO_PORT_RX   GPIOA

Definition at line 73 of file openpilot_revo_1.0.h.

◆ UART2_GPIO_PORT_TX

#define UART2_GPIO_PORT_TX   GPIOA

Definition at line 75 of file openpilot_revo_1.0.h.

◆ UART2_GPIO_RX

#define UART2_GPIO_RX   GPIO3

Definition at line 74 of file openpilot_revo_1.0.h.

◆ UART2_GPIO_TX

#define UART2_GPIO_TX   GPIO2

Definition at line 76 of file openpilot_revo_1.0.h.

◆ UART3_GPIO_AF

#define UART3_GPIO_AF   GPIO_AF7

Definition at line 78 of file openpilot_revo_1.0.h.

◆ UART3_GPIO_PORT_RX

#define UART3_GPIO_PORT_RX   GPIOC

Definition at line 79 of file openpilot_revo_1.0.h.

◆ UART3_GPIO_PORT_TX

#define UART3_GPIO_PORT_TX   GPIOC

Definition at line 81 of file openpilot_revo_1.0.h.

◆ UART3_GPIO_RX

#define UART3_GPIO_RX   GPIO11

Definition at line 80 of file openpilot_revo_1.0.h.

◆ UART3_GPIO_TX

#define UART3_GPIO_TX   GPIO10

Definition at line 82 of file openpilot_revo_1.0.h.

◆ UART5_GPIO_AF

#define UART5_GPIO_AF   GPIO_AF8

Definition at line 84 of file openpilot_revo_1.0.h.

◆ UART5_GPIO_PORT_RX

#define UART5_GPIO_PORT_RX   GPIOD

Definition at line 85 of file openpilot_revo_1.0.h.

◆ UART5_GPIO_PORT_TX

#define UART5_GPIO_PORT_TX   GPIOC

Definition at line 87 of file openpilot_revo_1.0.h.

◆ UART5_GPIO_RX

#define UART5_GPIO_RX   GPIO2

Definition at line 86 of file openpilot_revo_1.0.h.

◆ UART5_GPIO_TX

#define UART5_GPIO_TX   GPIO12

Definition at line 88 of file openpilot_revo_1.0.h.

◆ USE_AD_TIM1

#define USE_AD_TIM1   1

Definition at line 161 of file openpilot_revo_1.0.h.

◆ USE_ADC_1

#define USE_ADC_1   1

Definition at line 233 of file openpilot_revo_1.0.h.

◆ USE_BARO_BOARD

#define USE_BARO_BOARD   1

Definition at line 376 of file openpilot_revo_1.0.h.

◆ USE_LED_1

#define USE_LED_1   1

Definition at line 38 of file openpilot_revo_1.0.h.

◆ USE_LED_2

#define USE_LED_2   1

Definition at line 48 of file openpilot_revo_1.0.h.

◆ USE_PPM_TIM2

#define USE_PPM_TIM2   1

Definition at line 146 of file openpilot_revo_1.0.h.

◆ USE_PWM1

#define USE_PWM1   1

Definition at line 268 of file openpilot_revo_1.0.h.

◆ USE_PWM2

#define USE_PWM2   1

Definition at line 269 of file openpilot_revo_1.0.h.

◆ USE_PWM3

#define USE_PWM3   1

Definition at line 270 of file openpilot_revo_1.0.h.

◆ USE_PWM4

#define USE_PWM4   1

Definition at line 271 of file openpilot_revo_1.0.h.

◆ USE_PWM5

#define USE_PWM5   1

Definition at line 272 of file openpilot_revo_1.0.h.

◆ USE_PWM6

#define USE_PWM6   1

Definition at line 273 of file openpilot_revo_1.0.h.