Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
lisa_m_2.0.h File Reference
+ Include dependency graph for lisa_m_2.0.h:

Go to the source code of this file.

Macros

#define BOARD_LISA_M
 
#define EXT_CLK   12000000
 
#define AHB_CLK   72000000
 
#define USE_LED_1   1
 
#define LED_1_GPIO   GPIOA
 
#define LED_1_GPIO_CLK   RCC_APB2ENR_IOPAEN
 
#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_CLK   RCC_APB2ENR_IOPBEN | RCC_APB2ENR_AFIOEN
 
#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   AFIO_MAPR |= AFIO_MAPR_SWJ_CFG_FULL_SWJ_NO_JNTRST
 
#define USE_LED_3   1
 
#define LED_3_GPIO   GPIOC
 
#define LED_3_GPIO_CLK   RCC_APB2ENR_IOPCEN
 
#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_CLK   RCC_APB2ENR_IOPCEN
 
#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_CLK   RCC_APB2ENR_IOPCEN
 
#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_CLK   RCC_APB2ENR_IOPCEN
 
#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_CLK   RCC_APB2ENR_IOPCEN
 
#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_CLK   RCC_APB2ENR_IOPCEN
 
#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_CLK   RCC_APB2ENR_IOPBEN
 
#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_CLK   RCC_APB2ENR_IOPCEN
 
#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 DefaultVoltageOfAdc(adc)   (0.0045*adc)
 
#define BOARD_ADC_CHANNEL_1   13
 
#define BOARD_ADC_CHANNEL_2   10
 
#define BOARD_ADC_CHANNEL_3   11
 
#define BOARD_ADC_CHANNEL_4   14
 
#define ADC_1   0
 
#define ADC_2   1
 
#define ADC_3   2
 
#define ADC_CHANNEL_VSUPPLY   3
 
#define BOARD_HAS_BARO   1
 

Macro Definition Documentation

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

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

#define ActuatorsDefaultCommit ( )    ActuatorsPwmCommit()

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

#define ActuatorsDefaultInit ( )    ActuatorsPwmInit()

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

#define ADC_1   0

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

#define ADC_2   1

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

#define ADC_3   2

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

#define ADC_CHANNEL_VSUPPLY   3

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

#define AHB_CLK   72000000

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

#define BOARD_ADC_CHANNEL_1   13

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

#define BOARD_ADC_CHANNEL_2   10

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

#define BOARD_ADC_CHANNEL_3   11

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

#define BOARD_ADC_CHANNEL_4   14

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

#define BOARD_HAS_BARO   1

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

#define BOARD_LISA_M

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

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

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

#define DefaultVoltageOfAdc (   adc)    (0.0045*adc)

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

#define EXT_CLK   12000000

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

#define LED_12_AFIO_REMAP   ((void)0)

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

#define LED_12_GPIO   GPIOC

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

#define LED_12_GPIO_CLK   RCC_APB2ENR_IOPCEN

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

#define LED_12_GPIO_OFF   gpio_set

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

#define LED_12_GPIO_ON   gpio_clear

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

#define LED_12_GPIO_PIN   GPIO12

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

#define LED_1_AFIO_REMAP   ((void)0)

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

#define LED_1_GPIO   GPIOA

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

#define LED_1_GPIO_CLK   RCC_APB2ENR_IOPAEN

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

#define LED_1_GPIO_OFF   gpio_set

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

#define LED_1_GPIO_ON   gpio_clear

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

#define LED_1_GPIO_PIN   GPIO8

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

#define LED_2_AFIO_REMAP   AFIO_MAPR |= AFIO_MAPR_SWJ_CFG_FULL_SWJ_NO_JNTRST

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

#define LED_2_GPIO   GPIOB

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

#define LED_2_GPIO_CLK   RCC_APB2ENR_IOPBEN | RCC_APB2ENR_AFIOEN

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

#define LED_2_GPIO_OFF   gpio_set

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

#define LED_2_GPIO_ON   gpio_clear

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

#define LED_2_GPIO_PIN   GPIO4

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

#define LED_3_AFIO_REMAP   ((void)0)

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

#define LED_3_GPIO   GPIOC

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

#define LED_3_GPIO_CLK   RCC_APB2ENR_IOPCEN

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

#define LED_3_GPIO_OFF   gpio_set

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

#define LED_3_GPIO_ON   gpio_clear

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

#define LED_3_GPIO_PIN   GPIO2

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

#define LED_4_AFIO_REMAP   ((void)0)

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

#define LED_4_GPIO   GPIOC

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

#define LED_4_GPIO_CLK   RCC_APB2ENR_IOPCEN

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

#define LED_4_GPIO_OFF   gpio_set

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

#define LED_4_GPIO_ON   gpio_clear

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

#define LED_4_GPIO_PIN   GPIO5

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

#define LED_5_AFIO_REMAP   ((void)0)

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

#define LED_5_GPIO   GPIOC

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

#define LED_5_GPIO_CLK   RCC_APB2ENR_IOPCEN

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

#define LED_5_GPIO_OFF   gpio_set

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

#define LED_5_GPIO_ON   gpio_clear

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

#define LED_5_GPIO_PIN   GPIO15

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

#define LED_6_AFIO_REMAP   ((void)0)

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

#define LED_6_GPIO   GPIOC

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

#define LED_6_GPIO_CLK   RCC_APB2ENR_IOPCEN

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

#define LED_6_GPIO_OFF   gpio_set

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

#define LED_6_GPIO_ON   gpio_clear

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

#define LED_6_GPIO_PIN   GPIO3

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

#define LED_7_AFIO_REMAP   ((void)0)

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

#define LED_7_GPIO   GPIOC

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

#define LED_7_GPIO_CLK   RCC_APB2ENR_IOPCEN

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

#define LED_7_GPIO_OFF   gpio_set

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

#define LED_7_GPIO_ON   gpio_clear

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

#define LED_7_GPIO_PIN   GPIO0

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

#define LED_8_AFIO_REMAP   ((void)0)

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

#define LED_8_GPIO   GPIOC

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

#define LED_8_GPIO_CLK   RCC_APB2ENR_IOPCEN

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

#define LED_8_GPIO_OFF   gpio_set

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

#define LED_8_GPIO_ON   gpio_clear

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

#define LED_8_GPIO_PIN   GPIO1

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

#define LED_BODY_AFIO_REMAP   ((void)0)

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

#define LED_BODY_GPIO   GPIOB

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

#define LED_BODY_GPIO_CLK   RCC_APB2ENR_IOPBEN

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

#define LED_BODY_GPIO_OFF   gpio_clear

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

#define LED_BODY_GPIO_ON   gpio_set

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

#define LED_BODY_GPIO_PIN   GPIO1

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

#define USE_LED_1   1

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

#define USE_LED_2   1

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

#define USE_LED_3   1

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

#define USE_LED_4   1

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

#define USE_LED_5   1

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