Paparazzi UAS  v4.0.4_stable-3-gf39211a
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
lisa_m_2.0.h File Reference

Go to the source code of this file.

Macros

#define BOARD_LISA_M
 
#define AHB_CLK   72000000
 
#define USE_LED_1   1
 
#define LED_1_GPIO   GPIOA
 
#define LED_1_GPIO_CLK   RCC_APB2Periph_GPIOA
 
#define LED_1_GPIO_PIN   GPIO_Pin_8
 
#define LED_1_AFIO_REMAP   ((void)0)
 
#define USE_LED_2   1
 
#define LED_2_GPIO   GPIOB
 
#define LED_2_GPIO_CLK   RCC_APB2Periph_GPIOB | RCC_APB2Periph_AFIO
 
#define LED_2_GPIO_PIN   GPIO_Pin_4
 
#define LED_2_AFIO_REMAP   GPIO_PinRemapConfig(GPIO_Remap_SWJ_NoJTRST, ENABLE)
 
#define USE_LED_3   1
 
#define LED_3_GPIO   GPIOC
 
#define LED_3_GPIO_CLK   RCC_APB2Periph_GPIOC
 
#define LED_3_GPIO_PIN   GPIO_Pin_2
 
#define LED_3_AFIO_REMAP   ((void)0)
 
#define USE_LED_4   1
 
#define LED_4_GPIO   GPIOC
 
#define LED_4_GPIO_CLK   RCC_APB2Periph_GPIOC
 
#define LED_4_GPIO_PIN   GPIO_Pin_5
 
#define LED_4_AFIO_REMAP   ((void)0)
 
#define USE_LED_5   1
 
#define LED_5_GPIO   GPIOC
 
#define LED_5_GPIO_CLK   RCC_APB2Periph_GPIOC
 
#define LED_5_GPIO_PIN   GPIO_Pin_15
 
#define LED_5_AFIO_REMAP   ((void)0)
 
#define LED_6_GPIO   GPIOC
 
#define LED_6_GPIO_CLK   RCC_APB2Periph_GPIOC
 
#define LED_6_GPIO_PIN   GPIO_Pin_3
 
#define LED_6_AFIO_REMAP   ((void)0)
 
#define LED_7_GPIO   GPIOC
 
#define LED_7_GPIO_CLK   RCC_APB2Periph_GPIOC
 
#define LED_7_GPIO_PIN   GPIO_Pin_0
 
#define LED_7_AFIO_REMAP   ((void)0)
 
#define LED_8_GPIO   GPIOC
 
#define LED_8_GPIO_CLK   RCC_APB2Periph_GPIOC
 
#define LED_8_GPIO_PIN   GPIO_Pin_1
 
#define LED_8_AFIO_REMAP   ((void)0)
 
#define LED_12_GPIO   GPIOC
 
#define LED_12_GPIO_CLK   RCC_APB2Periph_GPIOC
 
#define LED_12_GPIO_PIN   GPIO_Pin_12
 
#define LED_12_AFIO_REMAP   ((void)0)
 
#define IMU_ACC_DRDY_RCC_GPIO   RCC_APB2Periph_GPIOB
 
#define IMU_ACC_DRDY_GPIO   GPIOB
 
#define IMU_ACC_DRDY_GPIO_PORTSOURCE   GPIO_PortSourceGPIOB
 
#define DefaultVoltageOfAdc(adc)   (0.0045*adc)
 
#define BOARD_ADC_CHANNEL_1   ADC_Channel_13
 
#define BOARD_ADC_CHANNEL_2   ADC_Channel_10
 
#define BOARD_ADC_CHANNEL_3   ADC_Channel_11
 
#define BOARD_ADC_CHANNEL_4   ADC_Channel_14
 
#define ADC_1   0
 
#define ADC_2   1
 
#define ADC_3   2
 
#define ADC_CHANNEL_VSUPPLY   3
 
#define BOARD_HAS_BARO   1
 
#define USE_OPENCM3   1
 
#define PWM_5AND6_TIMER   TIM5
 
#define PWM_5AND6_RCC   RCC_APB1Periph_TIM5
 
#define PWM5_OC   1
 
#define PWM6_OC   2
 
#define PWM_5AND6_GPIO   GPIOA
 
#define PWM5_Pin   GPIO_Pin_0
 
#define PWM6_Pin   GPIO_Pin_1
 

Macro Definition Documentation

#define ADC_1   0

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

#define ADC_2   1

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

#define ADC_3   2

Definition at line 120 of file lisa_m_2.0.h.

#define ADC_CHANNEL_VSUPPLY   3

Definition at line 124 of file lisa_m_2.0.h.

#define AHB_CLK   72000000

Definition at line 6 of file lisa_m_2.0.h.

#define BOARD_ADC_CHANNEL_1   ADC_Channel_13

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

#define BOARD_ADC_CHANNEL_2   ADC_Channel_10

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

#define BOARD_ADC_CHANNEL_3   ADC_Channel_11

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

#define BOARD_ADC_CHANNEL_4   ADC_Channel_14

Definition at line 112 of file lisa_m_2.0.h.

#define BOARD_HAS_BARO   1

Definition at line 139 of file lisa_m_2.0.h.

#define BOARD_LISA_M

Definition at line 4 of file lisa_m_2.0.h.

#define DefaultVoltageOfAdc (   adc)    (0.0045*adc)

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

#define IMU_ACC_DRDY_GPIO   GPIOB

Definition at line 92 of file lisa_m_2.0.h.

#define IMU_ACC_DRDY_GPIO_PORTSOURCE   GPIO_PortSourceGPIOB

Definition at line 93 of file lisa_m_2.0.h.

#define IMU_ACC_DRDY_RCC_GPIO   RCC_APB2Periph_GPIOB

Definition at line 91 of file lisa_m_2.0.h.

#define LED_12_AFIO_REMAP   ((void)0)

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

#define LED_12_GPIO   GPIOC

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

#define LED_12_GPIO_CLK   RCC_APB2Periph_GPIOC

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

#define LED_12_GPIO_PIN   GPIO_Pin_12

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

#define LED_1_AFIO_REMAP   ((void)0)

Definition at line 19 of file lisa_m_2.0.h.

#define LED_1_GPIO   GPIOA

Definition at line 16 of file lisa_m_2.0.h.

#define LED_1_GPIO_CLK   RCC_APB2Periph_GPIOA

Definition at line 17 of file lisa_m_2.0.h.

#define LED_1_GPIO_PIN   GPIO_Pin_8

Definition at line 18 of file lisa_m_2.0.h.

#define LED_2_AFIO_REMAP   GPIO_PinRemapConfig(GPIO_Remap_SWJ_NoJTRST, ENABLE)

Definition at line 28 of file lisa_m_2.0.h.

#define LED_2_GPIO   GPIOB

Definition at line 25 of file lisa_m_2.0.h.

#define LED_2_GPIO_CLK   RCC_APB2Periph_GPIOB | RCC_APB2Periph_AFIO

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

#define LED_2_GPIO_PIN   GPIO_Pin_4

Definition at line 27 of file lisa_m_2.0.h.

#define LED_3_AFIO_REMAP   ((void)0)

Definition at line 37 of file lisa_m_2.0.h.

#define LED_3_GPIO   GPIOC

Definition at line 34 of file lisa_m_2.0.h.

#define LED_3_GPIO_CLK   RCC_APB2Periph_GPIOC

Definition at line 35 of file lisa_m_2.0.h.

#define LED_3_GPIO_PIN   GPIO_Pin_2

Definition at line 36 of file lisa_m_2.0.h.

#define LED_4_AFIO_REMAP   ((void)0)

Definition at line 46 of file lisa_m_2.0.h.

#define LED_4_GPIO   GPIOC

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

#define LED_4_GPIO_CLK   RCC_APB2Periph_GPIOC

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

#define LED_4_GPIO_PIN   GPIO_Pin_5

Definition at line 45 of file lisa_m_2.0.h.

#define LED_5_AFIO_REMAP   ((void)0)

Definition at line 55 of file lisa_m_2.0.h.

#define LED_5_GPIO   GPIOC

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

#define LED_5_GPIO_CLK   RCC_APB2Periph_GPIOC

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

#define LED_5_GPIO_PIN   GPIO_Pin_15

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

#define LED_6_AFIO_REMAP   ((void)0)

Definition at line 64 of file lisa_m_2.0.h.

#define LED_6_GPIO   GPIOC

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

#define LED_6_GPIO_CLK   RCC_APB2Periph_GPIOC

Definition at line 62 of file lisa_m_2.0.h.

#define LED_6_GPIO_PIN   GPIO_Pin_3

Definition at line 63 of file lisa_m_2.0.h.

#define LED_7_AFIO_REMAP   ((void)0)

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

#define LED_7_GPIO   GPIOC

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

#define LED_7_GPIO_CLK   RCC_APB2Periph_GPIOC

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

#define LED_7_GPIO_PIN   GPIO_Pin_0

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

#define LED_8_AFIO_REMAP   ((void)0)

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

#define LED_8_GPIO   GPIOC

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

#define LED_8_GPIO_CLK   RCC_APB2Periph_GPIOC

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

#define LED_8_GPIO_PIN   GPIO_Pin_1

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

#define PWM5_OC   1

Definition at line 150 of file lisa_m_2.0.h.

#define PWM5_Pin   GPIO_Pin_0

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

#define PWM6_OC   2

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

#define PWM6_Pin   GPIO_Pin_1

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

#define PWM_5AND6_GPIO   GPIOA

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

#define PWM_5AND6_RCC   RCC_APB1Periph_TIM5

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

#define PWM_5AND6_TIMER   TIM5

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

#define USE_LED_1   1

Definition at line 14 of file lisa_m_2.0.h.

#define USE_LED_2   1

Definition at line 23 of file lisa_m_2.0.h.

#define USE_LED_3   1

Definition at line 32 of file lisa_m_2.0.h.

#define USE_LED_4   1

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

#define USE_LED_5   1

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

#define USE_OPENCM3   1

Definition at line 141 of file lisa_m_2.0.h.