Paparazzi UAS  v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
lisa_mx_common.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define BOARD_LISA_MX
 
#define EXT_CLK   12000000
 
#define AHB_CLK   168000000
 
#define USE_LED_1   1
 
#define LED_1_GPIO   GPIOA
 
#define LED_1_GPIO_PIN   GPIO8
 
#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 USE_LED_3   1
 
#define LED_3_GPIO   GPIOC
 
#define LED_3_GPIO_PIN   GPIO2
 
#define LED_3_GPIO_ON   gpio_clear
 
#define LED_3_GPIO_OFF   gpio_set
 
#define LED_3_AFIO_REMAP   ((void)0)
 
#define USE_LED_4   1
 
#define LED_4_GPIO   GPIOC
 
#define LED_4_GPIO_PIN   GPIO5
 
#define LED_4_GPIO_ON   gpio_clear
 
#define LED_4_GPIO_OFF   gpio_set
 
#define LED_4_AFIO_REMAP   ((void)0)
 
#define USE_LED_5   1
 
#define LED_5_GPIO   GPIOC
 
#define LED_5_GPIO_PIN   GPIO15
 
#define LED_5_GPIO_ON   gpio_clear
 
#define LED_5_GPIO_OFF   gpio_set
 
#define LED_5_AFIO_REMAP   ((void)0)
 
#define LED_6_GPIO   GPIOC
 
#define LED_6_GPIO_PIN   GPIO3
 
#define LED_6_GPIO_ON   gpio_clear
 
#define LED_6_GPIO_OFF   gpio_set
 
#define LED_6_AFIO_REMAP   ((void)0)
 
#define LED_7_GPIO   GPIOC
 
#define LED_7_GPIO_PIN   GPIO0
 
#define LED_7_GPIO_ON   gpio_clear
 
#define LED_7_GPIO_OFF   gpio_set
 
#define LED_7_AFIO_REMAP   ((void)0)
 
#define LED_8_GPIO   GPIOC
 
#define LED_8_GPIO_PIN   GPIO1
 
#define LED_8_GPIO_ON   gpio_clear
 
#define LED_8_GPIO_OFF   gpio_set
 
#define LED_8_AFIO_REMAP   ((void)0)
 
#define LED_BODY_GPIO   GPIOB
 
#define LED_BODY_GPIO_PIN   GPIO1
 
#define LED_BODY_GPIO_ON   gpio_set
 
#define LED_BODY_GPIO_OFF   gpio_clear
 
#define LED_BODY_AFIO_REMAP   ((void)0)
 
#define LED_12_GPIO   GPIOC
 
#define LED_12_GPIO_PIN   GPIO12
 
#define LED_12_GPIO_ON   gpio_clear
 
#define LED_12_GPIO_OFF   gpio_set
 
#define LED_12_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 UART6_GPIO_AF   GPIO_AF8
 
#define UART6_GPIO_PORT_RX   GPIOC
 
#define UART6_GPIO_RX   GPIO7
 
#define UART6_GPIO_PORT_TX   GPIOC
 
#define UART6_GPIO_TX   GPIO6
 
#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_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 SPI2_GPIO_AF   GPIO_AF5
 
#define SPI2_GPIO_PORT_MISO   GPIOB
 
#define SPI2_GPIO_MISO   GPIO14
 
#define SPI2_GPIO_PORT_MOSI   GPIOB
 
#define SPI2_GPIO_MOSI   GPIO15
 
#define SPI2_GPIO_PORT_SCK   GPIOB
 
#define SPI2_GPIO_SCK   GPIO13
 
#define SPI_SELECT_SLAVE0_PORT   GPIOA
 
#define SPI_SELECT_SLAVE0_PIN   GPIO15
 
#define SPI_SELECT_SLAVE1_PORT   GPIOA
 
#define SPI_SELECT_SLAVE1_PIN   GPIO4
 
#define SPI_SELECT_SLAVE2_PORT   GPIOB
 
#define SPI_SELECT_SLAVE2_PIN   GPIO12
 
#define SPI_SELECT_SLAVE3_PORT   GPIOC
 
#define SPI_SELECT_SLAVE3_PIN   GPIO13
 
#define SPI_SELECT_SLAVE4_PORT   GPIOC
 
#define SPI_SELECT_SLAVE4_PIN   GPIO12
 
#define SPI_SELECT_SLAVE5_PORT   GPIOC
 
#define SPI_SELECT_SLAVE5_PIN   GPIO4
 
#define SPI1_GPIO_PORT_NSS   GPIOA
 
#define SPI1_GPIO_NSS   GPIO4
 
#define SPI2_GPIO_PORT_NSS   GPIOB
 
#define SPI2_GPIO_NSS   GPIO12
 
#define SPI3_GPIO_PORT_NSS   GPIOA
 
#define SPI3_GPIO_NSS   GPIO15
 
#define I2C1_GPIO_PORT   GPIOB
 
#define I2C1_GPIO_SCL   GPIO6
 
#define I2C1_GPIO_SDA   GPIO7
 
#define I2C2_GPIO_PORT   GPIOB
 
#define I2C2_GPIO_SCL   GPIO10
 
#define I2C2_GPIO_SDA   GPIO11
 
#define USE_ADC_5   1
 
#define AD1_4_CHANNEL   14
 
#define ADC_5   AD1_4
 
#define ADC_5_GPIO_PORT   GPIOC
 
#define ADC_5_GPIO_PIN   GPIO4
 
#define ADC_CHANNEL_VSUPPLY   ADC_5
 
#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   GPIOC
 
#define PWM_SERVO_1_PIN   GPIO6
 
#define PWM_SERVO_1_AF   GPIO_AF2
 
#define PWM_SERVO_1_OC   TIM_OC1
 
#define PWM_SERVO_1_OC_BIT   (1<<0)
 
#define PWM_SERVO_2   1
 
#define PWM_SERVO_2_TIMER   TIM3
 
#define PWM_SERVO_2_GPIO   GPIOC
 
#define PWM_SERVO_2_PIN   GPIO7
 
#define PWM_SERVO_2_AF   GPIO_AF2
 
#define PWM_SERVO_2_OC   TIM_OC2
 
#define PWM_SERVO_2_OC_BIT   (1<<1)
 
#define PWM_SERVO_3   2
 
#define PWM_SERVO_3_TIMER   TIM3
 
#define PWM_SERVO_3_GPIO   GPIOC
 
#define PWM_SERVO_3_PIN   GPIO8
 
#define PWM_SERVO_3_AF   GPIO_AF2
 
#define PWM_SERVO_3_OC   TIM_OC3
 
#define PWM_SERVO_3_OC_BIT   (1<<2)
 
#define PWM_SERVO_4   3
 
#define PWM_SERVO_4_TIMER   TIM3
 
#define PWM_SERVO_4_GPIO   GPIOC
 
#define PWM_SERVO_4_PIN   GPIO9
 
#define PWM_SERVO_4_AF   GPIO_AF2
 
#define PWM_SERVO_4_OC   TIM_OC4
 
#define PWM_SERVO_4_OC_BIT   (1<<3)
 
#define PWM_SERVO_5   4
 
#define PWM_SERVO_5_TIMER   TIM5
 
#define PWM_SERVO_5_GPIO   GPIOA
 
#define PWM_SERVO_5_PIN   GPIO0
 
#define PWM_SERVO_5_AF   GPIO_AF2
 
#define PWM_SERVO_5_OC   TIM_OC1
 
#define PWM_SERVO_5_OC_BIT   (1<<0)
 
#define PWM_SERVO_6   5
 
#define PWM_SERVO_6_TIMER   TIM5
 
#define PWM_SERVO_6_GPIO   GPIOA
 
#define PWM_SERVO_6_PIN   GPIO1
 
#define PWM_SERVO_6_AF   GPIO_AF2
 
#define PWM_SERVO_6_OC   TIM_OC2
 
#define PWM_SERVO_6_OC_BIT   (1<<1)
 
#define PWM_SERVO_7_OC_BIT   0
 
#define PWM_SERVO_8_OC_BIT   0
 
#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)
 
#define PWM_TIM5_CHAN_MASK   (PWM_SERVO_5_OC_BIT|PWM_SERVO_6_OC_BIT)
 
#define PWM_TIM4_CHAN_MASK   (PWM_SERVO_7_OC_BIT|PWM_SERVO_8_OC_BIT)
 
#define USE_BARO_BOARD   1
 

Macro Definition Documentation

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

Definition at line 132 of file lisa_mx_common.h.

#define ACTUATORS_PWM_NB   6

Definition at line 407 of file lisa_mx_common.h.

#define ActuatorsDefaultCommit ( )    ActuatorsPwmCommit()

Definition at line 134 of file lisa_mx_common.h.

#define ActuatorsDefaultInit ( )    ActuatorsPwmInit()

Definition at line 133 of file lisa_mx_common.h.

#define AD1_4_CHANNEL   14

Definition at line 362 of file lisa_mx_common.h.

#define ADC_5   AD1_4

Definition at line 363 of file lisa_mx_common.h.

#define ADC_5_GPIO_PIN   GPIO4

Definition at line 365 of file lisa_mx_common.h.

#define ADC_5_GPIO_PORT   GPIOC

Definition at line 364 of file lisa_mx_common.h.

#define ADC_CHANNEL_VSUPPLY   ADC_5

Definition at line 377 of file lisa_mx_common.h.

#define AHB_CLK   168000000

Definition at line 30 of file lisa_mx_common.h.

#define BOARD_LISA_MX

Definition at line 26 of file lisa_mx_common.h.

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

Definition at line 131 of file lisa_mx_common.h.

#define DefaultVoltageOfAdc (   adc)    (0.0045*adc)

Definition at line 380 of file lisa_mx_common.h.

#define EXT_CLK   12000000

Definition at line 29 of file lisa_mx_common.h.

#define I2C1_GPIO_PORT   GPIOB

Definition at line 302 of file lisa_mx_common.h.

#define I2C1_GPIO_SCL   GPIO6

Definition at line 303 of file lisa_mx_common.h.

#define I2C1_GPIO_SDA   GPIO7

Definition at line 304 of file lisa_mx_common.h.

#define I2C2_GPIO_PORT   GPIOB

Definition at line 306 of file lisa_mx_common.h.

#define I2C2_GPIO_SCL   GPIO10

Definition at line 307 of file lisa_mx_common.h.

#define I2C2_GPIO_SDA   GPIO11

Definition at line 308 of file lisa_mx_common.h.

#define LED_12_AFIO_REMAP   ((void)0)

Definition at line 127 of file lisa_mx_common.h.

#define LED_12_GPIO   GPIOC

Definition at line 123 of file lisa_mx_common.h.

#define LED_12_GPIO_OFF   gpio_set

Definition at line 126 of file lisa_mx_common.h.

#define LED_12_GPIO_ON   gpio_clear

Definition at line 125 of file lisa_mx_common.h.

#define LED_12_GPIO_PIN   GPIO12

Definition at line 124 of file lisa_mx_common.h.

#define LED_1_AFIO_REMAP   ((void)0)

Definition at line 44 of file lisa_mx_common.h.

#define LED_1_GPIO   GPIOA

Definition at line 40 of file lisa_mx_common.h.

#define LED_1_GPIO_OFF   gpio_set

Definition at line 43 of file lisa_mx_common.h.

#define LED_1_GPIO_ON   gpio_clear

Definition at line 42 of file lisa_mx_common.h.

#define LED_1_GPIO_PIN   GPIO8

Definition at line 41 of file lisa_mx_common.h.

#define LED_2_AFIO_REMAP   ((void)0)

Definition at line 54 of file lisa_mx_common.h.

#define LED_2_GPIO   GPIOB

Definition at line 50 of file lisa_mx_common.h.

#define LED_2_GPIO_OFF   gpio_set

Definition at line 53 of file lisa_mx_common.h.

#define LED_2_GPIO_ON   gpio_clear

Definition at line 52 of file lisa_mx_common.h.

#define LED_2_GPIO_PIN   GPIO4

Definition at line 51 of file lisa_mx_common.h.

#define LED_3_AFIO_REMAP   ((void)0)

Definition at line 64 of file lisa_mx_common.h.

#define LED_3_GPIO   GPIOC

Definition at line 60 of file lisa_mx_common.h.

#define LED_3_GPIO_OFF   gpio_set

Definition at line 63 of file lisa_mx_common.h.

#define LED_3_GPIO_ON   gpio_clear

Definition at line 62 of file lisa_mx_common.h.

#define LED_3_GPIO_PIN   GPIO2

Definition at line 61 of file lisa_mx_common.h.

#define LED_4_AFIO_REMAP   ((void)0)

Definition at line 74 of file lisa_mx_common.h.

#define LED_4_GPIO   GPIOC

Definition at line 70 of file lisa_mx_common.h.

#define LED_4_GPIO_OFF   gpio_set

Definition at line 73 of file lisa_mx_common.h.

#define LED_4_GPIO_ON   gpio_clear

Definition at line 72 of file lisa_mx_common.h.

#define LED_4_GPIO_PIN   GPIO5

Definition at line 71 of file lisa_mx_common.h.

#define LED_5_AFIO_REMAP   ((void)0)

Definition at line 84 of file lisa_mx_common.h.

#define LED_5_GPIO   GPIOC

Definition at line 80 of file lisa_mx_common.h.

#define LED_5_GPIO_OFF   gpio_set

Definition at line 83 of file lisa_mx_common.h.

#define LED_5_GPIO_ON   gpio_clear

Definition at line 82 of file lisa_mx_common.h.

#define LED_5_GPIO_PIN   GPIO15

Definition at line 81 of file lisa_mx_common.h.

#define LED_6_AFIO_REMAP   ((void)0)

Definition at line 94 of file lisa_mx_common.h.

#define LED_6_GPIO   GPIOC

Definition at line 90 of file lisa_mx_common.h.

#define LED_6_GPIO_OFF   gpio_set

Definition at line 93 of file lisa_mx_common.h.

#define LED_6_GPIO_ON   gpio_clear

Definition at line 92 of file lisa_mx_common.h.

#define LED_6_GPIO_PIN   GPIO3

Definition at line 91 of file lisa_mx_common.h.

#define LED_7_AFIO_REMAP   ((void)0)

Definition at line 101 of file lisa_mx_common.h.

#define LED_7_GPIO   GPIOC

Definition at line 97 of file lisa_mx_common.h.

#define LED_7_GPIO_OFF   gpio_set

Definition at line 100 of file lisa_mx_common.h.

#define LED_7_GPIO_ON   gpio_clear

Definition at line 99 of file lisa_mx_common.h.

#define LED_7_GPIO_PIN   GPIO0

Definition at line 98 of file lisa_mx_common.h.

#define LED_8_AFIO_REMAP   ((void)0)

Definition at line 108 of file lisa_mx_common.h.

#define LED_8_GPIO   GPIOC

Definition at line 104 of file lisa_mx_common.h.

#define LED_8_GPIO_OFF   gpio_set

Definition at line 107 of file lisa_mx_common.h.

#define LED_8_GPIO_ON   gpio_clear

Definition at line 106 of file lisa_mx_common.h.

#define LED_8_GPIO_PIN   GPIO1

Definition at line 105 of file lisa_mx_common.h.

#define LED_BODY_AFIO_REMAP   ((void)0)

Definition at line 120 of file lisa_mx_common.h.

#define LED_BODY_GPIO   GPIOB

Definition at line 116 of file lisa_mx_common.h.

#define LED_BODY_GPIO_OFF   gpio_clear

Definition at line 119 of file lisa_mx_common.h.

#define LED_BODY_GPIO_ON   gpio_set

Definition at line 118 of file lisa_mx_common.h.

#define LED_BODY_GPIO_PIN   GPIO1

Definition at line 117 of file lisa_mx_common.h.

#define PPM_CC_IE   TIM_DIER_CC2IE

Definition at line 239 of file lisa_mx_common.h.

#define PPM_CC_IF   TIM_SR_CC2IF

Definition at line 240 of file lisa_mx_common.h.

#define PPM_CHANNEL   TIM_IC2

Definition at line 235 of file lisa_mx_common.h.

#define PPM_CONFIG   2

Definition at line 215 of file lisa_mx_common.h.

#define PPM_GPIO_AF   GPIO_AF1

Definition at line 243 of file lisa_mx_common.h.

#define PPM_GPIO_PIN   GPIO1

Definition at line 242 of file lisa_mx_common.h.

#define PPM_GPIO_PORT   GPIOA

Definition at line 241 of file lisa_mx_common.h.

#define PPM_IRQ   NVIC_TIM2_IRQ

Definition at line 237 of file lisa_mx_common.h.

#define PPM_TIMER_INPUT   TIM_IC_IN_TI2

Definition at line 236 of file lisa_mx_common.h.

#define PWM_SERVO_1   0

Definition at line 414 of file lisa_mx_common.h.

#define PWM_SERVO_1_AF   GPIO_AF2

Definition at line 418 of file lisa_mx_common.h.

#define PWM_SERVO_1_GPIO   GPIOC

Definition at line 416 of file lisa_mx_common.h.

#define PWM_SERVO_1_OC   TIM_OC1

Definition at line 419 of file lisa_mx_common.h.

#define PWM_SERVO_1_OC_BIT   (1<<0)

Definition at line 420 of file lisa_mx_common.h.

#define PWM_SERVO_1_PIN   GPIO6

Definition at line 417 of file lisa_mx_common.h.

#define PWM_SERVO_1_TIMER   TIM3

Definition at line 415 of file lisa_mx_common.h.

#define PWM_SERVO_2   1

Definition at line 426 of file lisa_mx_common.h.

#define PWM_SERVO_2_AF   GPIO_AF2

Definition at line 430 of file lisa_mx_common.h.

#define PWM_SERVO_2_GPIO   GPIOC

Definition at line 428 of file lisa_mx_common.h.

#define PWM_SERVO_2_OC   TIM_OC2

Definition at line 431 of file lisa_mx_common.h.

#define PWM_SERVO_2_OC_BIT   (1<<1)

Definition at line 432 of file lisa_mx_common.h.

#define PWM_SERVO_2_PIN   GPIO7

Definition at line 429 of file lisa_mx_common.h.

#define PWM_SERVO_2_TIMER   TIM3

Definition at line 427 of file lisa_mx_common.h.

#define PWM_SERVO_3   2

Definition at line 438 of file lisa_mx_common.h.

#define PWM_SERVO_3_AF   GPIO_AF2

Definition at line 442 of file lisa_mx_common.h.

#define PWM_SERVO_3_GPIO   GPIOC

Definition at line 440 of file lisa_mx_common.h.

#define PWM_SERVO_3_OC   TIM_OC3

Definition at line 443 of file lisa_mx_common.h.

#define PWM_SERVO_3_OC_BIT   (1<<2)

Definition at line 444 of file lisa_mx_common.h.

#define PWM_SERVO_3_PIN   GPIO8

Definition at line 441 of file lisa_mx_common.h.

#define PWM_SERVO_3_TIMER   TIM3

Definition at line 439 of file lisa_mx_common.h.

#define PWM_SERVO_4   3

Definition at line 450 of file lisa_mx_common.h.

#define PWM_SERVO_4_AF   GPIO_AF2

Definition at line 454 of file lisa_mx_common.h.

#define PWM_SERVO_4_GPIO   GPIOC

Definition at line 452 of file lisa_mx_common.h.

#define PWM_SERVO_4_OC   TIM_OC4

Definition at line 455 of file lisa_mx_common.h.

#define PWM_SERVO_4_OC_BIT   (1<<3)

Definition at line 456 of file lisa_mx_common.h.

#define PWM_SERVO_4_PIN   GPIO9

Definition at line 453 of file lisa_mx_common.h.

#define PWM_SERVO_4_TIMER   TIM3

Definition at line 451 of file lisa_mx_common.h.

#define PWM_SERVO_5   4

Definition at line 462 of file lisa_mx_common.h.

#define PWM_SERVO_5_AF   GPIO_AF2

Definition at line 466 of file lisa_mx_common.h.

#define PWM_SERVO_5_GPIO   GPIOA

Definition at line 464 of file lisa_mx_common.h.

#define PWM_SERVO_5_OC   TIM_OC1

Definition at line 467 of file lisa_mx_common.h.

#define PWM_SERVO_5_OC_BIT   (1<<0)

Definition at line 468 of file lisa_mx_common.h.

#define PWM_SERVO_5_PIN   GPIO0

Definition at line 465 of file lisa_mx_common.h.

#define PWM_SERVO_5_TIMER   TIM5

Definition at line 463 of file lisa_mx_common.h.

#define PWM_SERVO_6   5

Definition at line 474 of file lisa_mx_common.h.

#define PWM_SERVO_6_AF   GPIO_AF2

Definition at line 478 of file lisa_mx_common.h.

#define PWM_SERVO_6_GPIO   GPIOA

Definition at line 476 of file lisa_mx_common.h.

#define PWM_SERVO_6_OC   TIM_OC2

Definition at line 479 of file lisa_mx_common.h.

#define PWM_SERVO_6_OC_BIT   (1<<1)

Definition at line 480 of file lisa_mx_common.h.

#define PWM_SERVO_6_PIN   GPIO1

Definition at line 477 of file lisa_mx_common.h.

#define PWM_SERVO_6_TIMER   TIM5

Definition at line 475 of file lisa_mx_common.h.

#define PWM_SERVO_7_OC_BIT   0

Definition at line 494 of file lisa_mx_common.h.

#define PWM_SERVO_8_OC_BIT   0

Definition at line 506 of file lisa_mx_common.h.

Definition at line 510 of file lisa_mx_common.h.

#define PWM_TIM4_CHAN_MASK   (PWM_SERVO_7_OC_BIT|PWM_SERVO_8_OC_BIT)

Definition at line 514 of file lisa_mx_common.h.

#define PWM_TIM5_CHAN_MASK   (PWM_SERVO_5_OC_BIT|PWM_SERVO_6_OC_BIT)

Definition at line 512 of file lisa_mx_common.h.

#define PWM_USE_TIM3   1

Definition at line 387 of file lisa_mx_common.h.

#define PWM_USE_TIM5   1

Definition at line 388 of file lisa_mx_common.h.

#define SPEKTRUM_UART1_AF   GPIO_AF7

Definition at line 196 of file lisa_mx_common.h.

#define SPEKTRUM_UART1_BANK   GPIOA

Definition at line 194 of file lisa_mx_common.h.

#define SPEKTRUM_UART1_DEV   USART1

Definition at line 199 of file lisa_mx_common.h.

#define SPEKTRUM_UART1_IRQ   NVIC_USART1_IRQ

Definition at line 197 of file lisa_mx_common.h.

#define SPEKTRUM_UART1_ISR   usart1_isr

Definition at line 198 of file lisa_mx_common.h.

#define SPEKTRUM_UART1_PIN   GPIO10

Definition at line 195 of file lisa_mx_common.h.

#define SPEKTRUM_UART1_RCC   RCC_USART1

Definition at line 193 of file lisa_mx_common.h.

#define SPEKTRUM_UART5_AF   GPIO_AF8

Definition at line 204 of file lisa_mx_common.h.

#define SPEKTRUM_UART5_BANK   GPIOD

Definition at line 202 of file lisa_mx_common.h.

#define SPEKTRUM_UART5_DEV   UART5

Definition at line 207 of file lisa_mx_common.h.

#define SPEKTRUM_UART5_IRQ   NVIC_UART5_IRQ

Definition at line 205 of file lisa_mx_common.h.

#define SPEKTRUM_UART5_ISR   uart5_isr

Definition at line 206 of file lisa_mx_common.h.

#define SPEKTRUM_UART5_PIN   GPIO2

Definition at line 203 of file lisa_mx_common.h.

#define SPEKTRUM_UART5_RCC   RCC_UART5

Definition at line 201 of file lisa_mx_common.h.

#define SPI1_GPIO_AF   GPIO_AF5

Definition at line 257 of file lisa_mx_common.h.

#define SPI1_GPIO_MISO   GPIO6

Definition at line 259 of file lisa_mx_common.h.

#define SPI1_GPIO_MOSI   GPIO7

Definition at line 261 of file lisa_mx_common.h.

#define SPI1_GPIO_NSS   GPIO4

Definition at line 293 of file lisa_mx_common.h.

#define SPI1_GPIO_PORT_MISO   GPIOA

Definition at line 258 of file lisa_mx_common.h.

#define SPI1_GPIO_PORT_MOSI   GPIOA

Definition at line 260 of file lisa_mx_common.h.

#define SPI1_GPIO_PORT_NSS   GPIOA

Definition at line 292 of file lisa_mx_common.h.

#define SPI1_GPIO_PORT_SCK   GPIOA

Definition at line 262 of file lisa_mx_common.h.

#define SPI1_GPIO_SCK   GPIO5

Definition at line 263 of file lisa_mx_common.h.

#define SPI2_GPIO_AF   GPIO_AF5

Definition at line 265 of file lisa_mx_common.h.

#define SPI2_GPIO_MISO   GPIO14

Definition at line 267 of file lisa_mx_common.h.

#define SPI2_GPIO_MOSI   GPIO15

Definition at line 269 of file lisa_mx_common.h.

#define SPI2_GPIO_NSS   GPIO12

Definition at line 296 of file lisa_mx_common.h.

#define SPI2_GPIO_PORT_MISO   GPIOB

Definition at line 266 of file lisa_mx_common.h.

#define SPI2_GPIO_PORT_MOSI   GPIOB

Definition at line 268 of file lisa_mx_common.h.

#define SPI2_GPIO_PORT_NSS   GPIOB

Definition at line 295 of file lisa_mx_common.h.

#define SPI2_GPIO_PORT_SCK   GPIOB

Definition at line 270 of file lisa_mx_common.h.

#define SPI2_GPIO_SCK   GPIO13

Definition at line 271 of file lisa_mx_common.h.

#define SPI3_GPIO_NSS   GPIO15

Definition at line 299 of file lisa_mx_common.h.

#define SPI3_GPIO_PORT_NSS   GPIOA

Definition at line 298 of file lisa_mx_common.h.

#define SPI_SELECT_SLAVE0_PIN   GPIO15

Definition at line 274 of file lisa_mx_common.h.

#define SPI_SELECT_SLAVE0_PORT   GPIOA

Definition at line 273 of file lisa_mx_common.h.

#define SPI_SELECT_SLAVE1_PIN   GPIO4

Definition at line 277 of file lisa_mx_common.h.

#define SPI_SELECT_SLAVE1_PORT   GPIOA

Definition at line 276 of file lisa_mx_common.h.

#define SPI_SELECT_SLAVE2_PIN   GPIO12

Definition at line 280 of file lisa_mx_common.h.

#define SPI_SELECT_SLAVE2_PORT   GPIOB

Definition at line 279 of file lisa_mx_common.h.

#define SPI_SELECT_SLAVE3_PIN   GPIO13

Definition at line 283 of file lisa_mx_common.h.

#define SPI_SELECT_SLAVE3_PORT   GPIOC

Definition at line 282 of file lisa_mx_common.h.

#define SPI_SELECT_SLAVE4_PIN   GPIO12

Definition at line 286 of file lisa_mx_common.h.

#define SPI_SELECT_SLAVE4_PORT   GPIOC

Definition at line 285 of file lisa_mx_common.h.

#define SPI_SELECT_SLAVE5_PIN   GPIO4

Definition at line 289 of file lisa_mx_common.h.

#define SPI_SELECT_SLAVE5_PORT   GPIOC

Definition at line 288 of file lisa_mx_common.h.

#define UART1_GPIO_AF   GPIO_AF7

Definition at line 138 of file lisa_mx_common.h.

#define UART1_GPIO_PORT_RX   GPIOA

Definition at line 139 of file lisa_mx_common.h.

#define UART1_GPIO_PORT_TX   GPIOA

Definition at line 141 of file lisa_mx_common.h.

#define UART1_GPIO_RX   GPIO10

Definition at line 140 of file lisa_mx_common.h.

#define UART1_GPIO_TX   GPIO9

Definition at line 142 of file lisa_mx_common.h.

#define UART2_GPIO_AF   GPIO_AF7

Definition at line 144 of file lisa_mx_common.h.

#define UART2_GPIO_PORT_RX   GPIOA

Definition at line 145 of file lisa_mx_common.h.

#define UART2_GPIO_PORT_TX   GPIOA

Definition at line 147 of file lisa_mx_common.h.

#define UART2_GPIO_RX   GPIO3

Definition at line 146 of file lisa_mx_common.h.

#define UART2_GPIO_TX   GPIO2

Definition at line 148 of file lisa_mx_common.h.

#define UART3_GPIO_AF   GPIO_AF7

Definition at line 164 of file lisa_mx_common.h.

#define UART3_GPIO_PORT_RX   GPIOC

Definition at line 165 of file lisa_mx_common.h.

#define UART3_GPIO_PORT_TX   GPIOC

Definition at line 167 of file lisa_mx_common.h.

#define UART3_GPIO_RX   GPIO11

Definition at line 166 of file lisa_mx_common.h.

#define UART3_GPIO_TX   GPIO10

Definition at line 168 of file lisa_mx_common.h.

#define UART5_GPIO_AF   GPIO_AF8

Definition at line 172 of file lisa_mx_common.h.

#define UART5_GPIO_PORT_RX   GPIOD

Definition at line 173 of file lisa_mx_common.h.

#define UART5_GPIO_PORT_TX   GPIOC

Definition at line 175 of file lisa_mx_common.h.

#define UART5_GPIO_RX   GPIO2

Definition at line 174 of file lisa_mx_common.h.

#define UART5_GPIO_TX   GPIO12

Definition at line 176 of file lisa_mx_common.h.

#define UART6_GPIO_AF   GPIO_AF8

Definition at line 178 of file lisa_mx_common.h.

#define UART6_GPIO_PORT_RX   GPIOC

Definition at line 179 of file lisa_mx_common.h.

#define UART6_GPIO_PORT_TX   GPIOC

Definition at line 181 of file lisa_mx_common.h.

#define UART6_GPIO_RX   GPIO7

Definition at line 180 of file lisa_mx_common.h.

#define UART6_GPIO_TX   GPIO6

Definition at line 182 of file lisa_mx_common.h.

#define USE_AD_TIM1   1

Definition at line 249 of file lisa_mx_common.h.

#define USE_ADC_5   1

Definition at line 359 of file lisa_mx_common.h.

#define USE_BARO_BOARD   1

Definition at line 519 of file lisa_mx_common.h.

#define USE_LED_1   1

Definition at line 38 of file lisa_mx_common.h.

#define USE_LED_2   1

Definition at line 48 of file lisa_mx_common.h.

#define USE_LED_3   1

Definition at line 58 of file lisa_mx_common.h.

#define USE_LED_4   1

Definition at line 68 of file lisa_mx_common.h.

#define USE_LED_5   1

Definition at line 78 of file lisa_mx_common.h.

#define USE_PPM_TIM2   1

Definition at line 234 of file lisa_mx_common.h.

#define USE_PWM1   1

Definition at line 390 of file lisa_mx_common.h.

#define USE_PWM2   1

Definition at line 391 of file lisa_mx_common.h.

#define USE_PWM3   1

Definition at line 392 of file lisa_mx_common.h.

#define USE_PWM4   1

Definition at line 393 of file lisa_mx_common.h.

#define USE_PWM5   1

Definition at line 394 of file lisa_mx_common.h.

#define USE_PWM6   1

Definition at line 395 of file lisa_mx_common.h.