Paparazzi UAS  v5.15_devel-81-gd13dafb
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
lisa_m_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 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 UART1_GPIO_AF   0
 
#define UART1_GPIO_PORT_RX   GPIO_BANK_USART1_RX
 
#define UART1_GPIO_RX   GPIO_USART1_RX
 
#define UART1_GPIO_PORT_TX   GPIO_BANK_USART1_TX
 
#define UART1_GPIO_TX   GPIO_USART1_TX
 
#define UART2_GPIO_AF   0
 
#define UART2_GPIO_PORT_RX   GPIO_BANK_USART2_RX
 
#define UART2_GPIO_RX   GPIO_USART2_RX
 
#define UART2_GPIO_PORT_TX   GPIO_BANK_USART2_TX
 
#define UART2_GPIO_TX   GPIO_USART2_TX
 
#define UART3_GPIO_AF   AFIO_MAPR_USART3_REMAP_PARTIAL_REMAP
 
#define UART3_GPIO_PORT_RX   GPIO_BANK_USART3_PR_RX
 
#define UART3_GPIO_RX   GPIO_USART3_PR_RX
 
#define UART3_GPIO_PORT_TX   GPIO_BANK_USART3_PR_TX
 
#define UART3_GPIO_TX   GPIO_USART3_PR_TX
 
#define UART5_GPIO_AF   0
 
#define UART5_GPIO_PORT_RX   GPIO_BANK_UART5_RX
 
#define UART5_GPIO_RX   GPIO_UART5_RX
 
#define UART5_GPIO_PORT_TX   GPIO_BANK_UART5_TX
 
#define UART5_GPIO_TX   GPIO_UART5_TX
 
#define SPEKTRUM_UART1_RCC   RCC_USART1
 
#define SPEKTRUM_UART1_BANK   GPIO_BANK_USART1_RX
 
#define SPEKTRUM_UART1_PIN   GPIO_USART1_RX
 
#define SPEKTRUM_UART1_AF   0
 
#define SPEKTRUM_UART1_IRQ   NVIC_USART1_IRQ
 
#define SPEKTRUM_UART1_ISR   usart1_isr
 
#define SPEKTRUM_UART1_DEV   USART1
 
#define SPEKTRUM_UART3_RCC   RCC_USART3
 
#define SPEKTRUM_UART3_BANK   GPIO_BANK_USART3_PR_RX
 
#define SPEKTRUM_UART3_PIN   GPIO_USART3_PR_RX
 
#define SPEKTRUM_UART3_AF   AFIO_MAPR_USART3_REMAP_PARTIAL_REMAP
 
#define SPEKTRUM_UART3_IRQ   NVIC_USART3_IRQ
 
#define SPEKTRUM_UART3_ISR   usart3_isr
 
#define SPEKTRUM_UART3_DEV   USART3
 
#define SPEKTRUM_UART5_RCC   RCC_UART5
 
#define SPEKTRUM_UART5_BANK   GPIO_BANK_UART5_RX
 
#define SPEKTRUM_UART5_PIN   GPIO_UART5_RX
 
#define SPEKTRUM_UART5_AF   0
 
#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   0
 
#define USE_AD_TIM1   1
 
#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 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 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   AFIO_MAPR_TIM3_REMAP_FULL_REMAP
 
#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   AFIO_MAPR_TIM3_REMAP_FULL_REMAP
 
#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   AFIO_MAPR_TIM3_REMAP_FULL_REMAP
 
#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   AFIO_MAPR_TIM3_REMAP_FULL_REMAP
 
#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   0
 
#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   0
 
#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)
 

Macro Definition Documentation

#define ACTUATORS_PWM_NB   6

Definition at line 268 of file lisa_m_common.h.

#define AD1_4_CHANNEL   14

Definition at line 203 of file lisa_m_common.h.

#define ADC_5   AD1_4

Definition at line 204 of file lisa_m_common.h.

#define ADC_5_GPIO_PIN   GPIO4

Definition at line 206 of file lisa_m_common.h.

#define ADC_5_GPIO_PORT   GPIOC

Definition at line 205 of file lisa_m_common.h.

#define ADC_CHANNEL_VSUPPLY   ADC_5

Definition at line 218 of file lisa_m_common.h.

#define I2C1_GPIO_PORT   GPIOB

Definition at line 225 of file lisa_m_common.h.

#define I2C1_GPIO_SCL   GPIO6

Definition at line 226 of file lisa_m_common.h.

#define I2C1_GPIO_SDA   GPIO7

Definition at line 227 of file lisa_m_common.h.

#define I2C2_GPIO_PORT   GPIOB

Definition at line 229 of file lisa_m_common.h.

#define I2C2_GPIO_SCL   GPIO10

Definition at line 230 of file lisa_m_common.h.

#define I2C2_GPIO_SDA   GPIO11

Definition at line 231 of file lisa_m_common.h.

#define PPM_CC_IE   TIM_DIER_CC2IE

Definition at line 134 of file lisa_m_common.h.

#define PPM_CC_IF   TIM_SR_CC2IF

Definition at line 135 of file lisa_m_common.h.

#define PPM_CHANNEL   TIM_IC2

Definition at line 130 of file lisa_m_common.h.

#define PPM_CONFIG   2

Definition at line 110 of file lisa_m_common.h.

#define PPM_GPIO_AF   0

Definition at line 138 of file lisa_m_common.h.

#define PPM_GPIO_PIN   GPIO1

Definition at line 137 of file lisa_m_common.h.

#define PPM_GPIO_PORT   GPIOA

Definition at line 136 of file lisa_m_common.h.

#define PPM_IRQ   NVIC_TIM2_IRQ

Definition at line 132 of file lisa_m_common.h.

#define PPM_TIMER_INPUT   TIM_IC_IN_TI2

Definition at line 131 of file lisa_m_common.h.

#define PWM_SERVO_1   0

Definition at line 275 of file lisa_m_common.h.

#define PWM_SERVO_1_AF   AFIO_MAPR_TIM3_REMAP_FULL_REMAP

Definition at line 279 of file lisa_m_common.h.

#define PWM_SERVO_1_GPIO   GPIOC

Definition at line 277 of file lisa_m_common.h.

#define PWM_SERVO_1_OC   TIM_OC1

Definition at line 280 of file lisa_m_common.h.

#define PWM_SERVO_1_OC_BIT   (1<<0)

Definition at line 281 of file lisa_m_common.h.

#define PWM_SERVO_1_PIN   GPIO6

Definition at line 278 of file lisa_m_common.h.

#define PWM_SERVO_1_TIMER   TIM3

Definition at line 276 of file lisa_m_common.h.

#define PWM_SERVO_2   1

Definition at line 287 of file lisa_m_common.h.

#define PWM_SERVO_2_AF   AFIO_MAPR_TIM3_REMAP_FULL_REMAP

Definition at line 291 of file lisa_m_common.h.

#define PWM_SERVO_2_GPIO   GPIOC

Definition at line 289 of file lisa_m_common.h.

#define PWM_SERVO_2_OC   TIM_OC2

Definition at line 292 of file lisa_m_common.h.

#define PWM_SERVO_2_OC_BIT   (1<<1)

Definition at line 293 of file lisa_m_common.h.

#define PWM_SERVO_2_PIN   GPIO7

Definition at line 290 of file lisa_m_common.h.

#define PWM_SERVO_2_TIMER   TIM3

Definition at line 288 of file lisa_m_common.h.

#define PWM_SERVO_3   2

Definition at line 299 of file lisa_m_common.h.

#define PWM_SERVO_3_AF   AFIO_MAPR_TIM3_REMAP_FULL_REMAP

Definition at line 303 of file lisa_m_common.h.

#define PWM_SERVO_3_GPIO   GPIOC

Definition at line 301 of file lisa_m_common.h.

#define PWM_SERVO_3_OC   TIM_OC3

Definition at line 304 of file lisa_m_common.h.

#define PWM_SERVO_3_OC_BIT   (1<<2)

Definition at line 305 of file lisa_m_common.h.

#define PWM_SERVO_3_PIN   GPIO8

Definition at line 302 of file lisa_m_common.h.

#define PWM_SERVO_3_TIMER   TIM3

Definition at line 300 of file lisa_m_common.h.

#define PWM_SERVO_4   3

Definition at line 311 of file lisa_m_common.h.

#define PWM_SERVO_4_AF   AFIO_MAPR_TIM3_REMAP_FULL_REMAP

Definition at line 315 of file lisa_m_common.h.

#define PWM_SERVO_4_GPIO   GPIOC

Definition at line 313 of file lisa_m_common.h.

#define PWM_SERVO_4_OC   TIM_OC4

Definition at line 316 of file lisa_m_common.h.

#define PWM_SERVO_4_OC_BIT   (1<<3)

Definition at line 317 of file lisa_m_common.h.

#define PWM_SERVO_4_PIN   GPIO9

Definition at line 314 of file lisa_m_common.h.

#define PWM_SERVO_4_TIMER   TIM3

Definition at line 312 of file lisa_m_common.h.

#define PWM_SERVO_5   4

Definition at line 323 of file lisa_m_common.h.

#define PWM_SERVO_5_AF   0

Definition at line 327 of file lisa_m_common.h.

#define PWM_SERVO_5_GPIO   GPIOA

Definition at line 325 of file lisa_m_common.h.

#define PWM_SERVO_5_OC   TIM_OC1

Definition at line 328 of file lisa_m_common.h.

#define PWM_SERVO_5_OC_BIT   (1<<0)

Definition at line 329 of file lisa_m_common.h.

#define PWM_SERVO_5_PIN   GPIO0

Definition at line 326 of file lisa_m_common.h.

#define PWM_SERVO_5_TIMER   TIM5

Definition at line 324 of file lisa_m_common.h.

#define PWM_SERVO_6   5

Definition at line 347 of file lisa_m_common.h.

#define PWM_SERVO_6_AF   0

Definition at line 351 of file lisa_m_common.h.

#define PWM_SERVO_6_GPIO   GPIOA

Definition at line 349 of file lisa_m_common.h.

#define PWM_SERVO_6_OC   TIM_OC2

Definition at line 352 of file lisa_m_common.h.

#define PWM_SERVO_6_OC_BIT   (1<<1)

Definition at line 353 of file lisa_m_common.h.

#define PWM_SERVO_6_PIN   GPIO1

Definition at line 350 of file lisa_m_common.h.

#define PWM_SERVO_6_TIMER   TIM5

Definition at line 348 of file lisa_m_common.h.

#define PWM_SERVO_7_OC_BIT   0

Definition at line 384 of file lisa_m_common.h.

#define PWM_SERVO_8_OC_BIT   0

Definition at line 396 of file lisa_m_common.h.

Definition at line 400 of file lisa_m_common.h.

#define PWM_TIM4_CHAN_MASK   (PWM_SERVO_7_OC_BIT|PWM_SERVO_8_OC_BIT)

Definition at line 404 of file lisa_m_common.h.

#define PWM_TIM5_CHAN_MASK   (PWM_SERVO_5_OC_BIT|PWM_SERVO_6_OC_BIT)

Definition at line 402 of file lisa_m_common.h.

#define PWM_USE_TIM3   1

Definition at line 238 of file lisa_m_common.h.

#define PWM_USE_TIM5   1

Definition at line 239 of file lisa_m_common.h.

#define SPEKTRUM_UART1_AF   0

Definition at line 82 of file lisa_m_common.h.

#define SPEKTRUM_UART1_BANK   GPIO_BANK_USART1_RX

Definition at line 80 of file lisa_m_common.h.

#define SPEKTRUM_UART1_DEV   USART1

Definition at line 85 of file lisa_m_common.h.

#define SPEKTRUM_UART1_IRQ   NVIC_USART1_IRQ

Definition at line 83 of file lisa_m_common.h.

#define SPEKTRUM_UART1_ISR   usart1_isr

Definition at line 84 of file lisa_m_common.h.

#define SPEKTRUM_UART1_PIN   GPIO_USART1_RX

Definition at line 81 of file lisa_m_common.h.

#define SPEKTRUM_UART1_RCC   RCC_USART1

Definition at line 79 of file lisa_m_common.h.

#define SPEKTRUM_UART3_AF   AFIO_MAPR_USART3_REMAP_PARTIAL_REMAP

Definition at line 90 of file lisa_m_common.h.

#define SPEKTRUM_UART3_BANK   GPIO_BANK_USART3_PR_RX

Definition at line 88 of file lisa_m_common.h.

#define SPEKTRUM_UART3_DEV   USART3

Definition at line 93 of file lisa_m_common.h.

#define SPEKTRUM_UART3_IRQ   NVIC_USART3_IRQ

Definition at line 91 of file lisa_m_common.h.

#define SPEKTRUM_UART3_ISR   usart3_isr

Definition at line 92 of file lisa_m_common.h.

#define SPEKTRUM_UART3_PIN   GPIO_USART3_PR_RX

Definition at line 89 of file lisa_m_common.h.

#define SPEKTRUM_UART3_RCC   RCC_USART3

Definition at line 87 of file lisa_m_common.h.

#define SPEKTRUM_UART5_AF   0

Definition at line 98 of file lisa_m_common.h.

#define SPEKTRUM_UART5_BANK   GPIO_BANK_UART5_RX

Definition at line 96 of file lisa_m_common.h.

#define SPEKTRUM_UART5_DEV   UART5

Definition at line 101 of file lisa_m_common.h.

#define SPEKTRUM_UART5_IRQ   NVIC_UART5_IRQ

Definition at line 99 of file lisa_m_common.h.

#define SPEKTRUM_UART5_ISR   uart5_isr

Definition at line 100 of file lisa_m_common.h.

#define SPEKTRUM_UART5_PIN   GPIO_UART5_RX

Definition at line 97 of file lisa_m_common.h.

#define SPEKTRUM_UART5_RCC   RCC_UART5

Definition at line 95 of file lisa_m_common.h.

#define SPI_SELECT_SLAVE0_PIN   GPIO15

Definition at line 7 of file lisa_m_common.h.

#define SPI_SELECT_SLAVE0_PORT   GPIOA

Definition at line 6 of file lisa_m_common.h.

#define SPI_SELECT_SLAVE1_PIN   GPIO4

Definition at line 10 of file lisa_m_common.h.

#define SPI_SELECT_SLAVE1_PORT   GPIOA

Definition at line 9 of file lisa_m_common.h.

#define SPI_SELECT_SLAVE2_PIN   GPIO12

Definition at line 13 of file lisa_m_common.h.

#define SPI_SELECT_SLAVE2_PORT   GPIOB

Definition at line 12 of file lisa_m_common.h.

#define SPI_SELECT_SLAVE3_PIN   GPIO13

Definition at line 16 of file lisa_m_common.h.

#define SPI_SELECT_SLAVE3_PORT   GPIOC

Definition at line 15 of file lisa_m_common.h.

#define SPI_SELECT_SLAVE4_PIN   GPIO12

Definition at line 19 of file lisa_m_common.h.

#define SPI_SELECT_SLAVE4_PORT   GPIOC

Definition at line 18 of file lisa_m_common.h.

#define SPI_SELECT_SLAVE5_PIN   GPIO4

Definition at line 22 of file lisa_m_common.h.

#define SPI_SELECT_SLAVE5_PORT   GPIOC

Definition at line 21 of file lisa_m_common.h.

#define UART1_GPIO_AF   0

Definition at line 31 of file lisa_m_common.h.

#define UART1_GPIO_PORT_RX   GPIO_BANK_USART1_RX

Definition at line 32 of file lisa_m_common.h.

#define UART1_GPIO_PORT_TX   GPIO_BANK_USART1_TX

Definition at line 34 of file lisa_m_common.h.

#define UART1_GPIO_RX   GPIO_USART1_RX

Definition at line 33 of file lisa_m_common.h.

#define UART1_GPIO_TX   GPIO_USART1_TX

Definition at line 35 of file lisa_m_common.h.

#define UART2_GPIO_AF   0

Definition at line 37 of file lisa_m_common.h.

#define UART2_GPIO_PORT_RX   GPIO_BANK_USART2_RX

Definition at line 38 of file lisa_m_common.h.

#define UART2_GPIO_PORT_TX   GPIO_BANK_USART2_TX

Definition at line 40 of file lisa_m_common.h.

#define UART2_GPIO_RX   GPIO_USART2_RX

Definition at line 39 of file lisa_m_common.h.

#define UART2_GPIO_TX   GPIO_USART2_TX

Definition at line 41 of file lisa_m_common.h.

#define UART3_GPIO_AF   AFIO_MAPR_USART3_REMAP_PARTIAL_REMAP

Definition at line 57 of file lisa_m_common.h.

#define UART3_GPIO_PORT_RX   GPIO_BANK_USART3_PR_RX

Definition at line 58 of file lisa_m_common.h.

#define UART3_GPIO_PORT_TX   GPIO_BANK_USART3_PR_TX

Definition at line 60 of file lisa_m_common.h.

#define UART3_GPIO_RX   GPIO_USART3_PR_RX

Definition at line 59 of file lisa_m_common.h.

#define UART3_GPIO_TX   GPIO_USART3_PR_TX

Definition at line 61 of file lisa_m_common.h.

#define UART5_GPIO_AF   0

Definition at line 64 of file lisa_m_common.h.

#define UART5_GPIO_PORT_RX   GPIO_BANK_UART5_RX

Definition at line 65 of file lisa_m_common.h.

#define UART5_GPIO_PORT_TX   GPIO_BANK_UART5_TX

Definition at line 67 of file lisa_m_common.h.

#define UART5_GPIO_RX   GPIO_UART5_RX

Definition at line 66 of file lisa_m_common.h.

#define UART5_GPIO_TX   GPIO_UART5_TX

Definition at line 68 of file lisa_m_common.h.

#define USE_AD_TIM1   1

Definition at line 144 of file lisa_m_common.h.

#define USE_ADC_5   1

Definition at line 200 of file lisa_m_common.h.

#define USE_PPM_TIM2   1

Definition at line 129 of file lisa_m_common.h.

#define USE_PWM1   1

Definition at line 241 of file lisa_m_common.h.

#define USE_PWM2   1

Definition at line 242 of file lisa_m_common.h.

#define USE_PWM3   1

Definition at line 243 of file lisa_m_common.h.

#define USE_PWM4   1

Definition at line 244 of file lisa_m_common.h.

#define USE_PWM5   1

Definition at line 252 of file lisa_m_common.h.

#define USE_PWM6   1

Definition at line 253 of file lisa_m_common.h.