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_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_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
 
#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 SPEKTRUM_BIND_PIN   GPIO3
 
#define SPEKTRUM_BIND_PIN_PORT   GPIOC
 
#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 USE_BARO_BOARD   1
 

Macro Definition Documentation

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

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

#define ActuatorsDefaultCommit ( )    ActuatorsPwmCommit()

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

#define ActuatorsDefaultInit ( )    ActuatorsPwmInit()

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

#define AHB_CLK   72000000

Definition at line 10 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 128 of file lisa_m_2.0.h.

#define DefaultVoltageOfAdc (   adc)    (0.0045*adc)

Definition at line 134 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 118 of file lisa_m_2.0.h.

#define LED_12_GPIO   GPIOC

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

#define LED_12_GPIO_OFF   gpio_set

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

#define LED_12_GPIO_ON   gpio_clear

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

#define LED_12_GPIO_PIN   GPIO12

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

#define LED_1_AFIO_REMAP   ((void)0)

Definition at line 24 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_OFF   gpio_set

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

#define LED_1_GPIO_ON   gpio_clear

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

#define LED_1_GPIO_PIN   GPIO8

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

#define LED_2_AFIO_REMAP
Value:
{ \
rcc_periph_clock_enable(RCC_AFIO); \
AFIO_MAPR |= AFIO_MAPR_SWJ_CFG_FULL_SWJ_NO_JNTRST; \
}

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

#define LED_2_GPIO   GPIOB

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

#define LED_2_GPIO_OFF   gpio_set

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

#define LED_2_GPIO_ON   gpio_clear

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

#define LED_2_GPIO_PIN   GPIO4

Definition at line 31 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 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 61 of file lisa_m_2.0.h.

#define LED_4_GPIO   GPIOC

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

#define LED_4_GPIO_OFF   gpio_set

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

#define LED_4_GPIO_ON   gpio_clear

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

#define LED_4_GPIO_PIN   GPIO5

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

#define LED_5_AFIO_REMAP   ((void)0)

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

#define LED_5_GPIO   GPIOC

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

#define LED_5_GPIO_OFF   gpio_set

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

#define LED_5_GPIO_ON   gpio_clear

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

#define LED_5_GPIO_PIN   GPIO15

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

#define LED_6_AFIO_REMAP   ((void)0)

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

#define LED_6_GPIO   GPIOC

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

#define LED_6_GPIO_OFF   gpio_set

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

#define LED_6_GPIO_ON   gpio_clear

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

#define LED_6_GPIO_PIN   GPIO3

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

#define LED_7_AFIO_REMAP   ((void)0)

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

#define LED_7_GPIO   GPIOC

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

#define LED_7_GPIO_OFF   gpio_set

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

#define LED_7_GPIO_ON   gpio_clear

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

#define LED_7_GPIO_PIN   GPIO0

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

#define LED_8_AFIO_REMAP   ((void)0)

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

#define LED_8_GPIO   GPIOC

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

#define LED_8_GPIO_OFF   gpio_set

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

#define LED_8_GPIO_ON   gpio_clear

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

#define LED_8_GPIO_PIN   GPIO1

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

#define LED_BODY_AFIO_REMAP   ((void)0)

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

#define LED_BODY_GPIO   GPIOB

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

#define LED_BODY_GPIO_OFF   gpio_clear

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

#define LED_BODY_GPIO_ON   gpio_set

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

#define LED_BODY_GPIO_PIN   GPIO1

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

#define SPEKTRUM_BIND_PIN   GPIO3

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

#define SPEKTRUM_BIND_PIN_PORT   GPIOC

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

#define USE_BARO_BOARD   1

Definition at line 139 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 28 of file lisa_m_2.0.h.

#define USE_LED_3   1

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

#define USE_LED_4   1

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

#define USE_LED_5   1

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