Paparazzi UAS  v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
lisa_m_2.1.h File Reference
+ Include dependency graph for lisa_m_2.1.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   GPIO2
 
#define SPEKTRUM_BIND_PIN_PORT   GPIOB
 
#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 121 of file lisa_m_2.1.h.

#define ActuatorsDefaultCommit ( )    ActuatorsPwmCommit()

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

#define ActuatorsDefaultInit ( )    ActuatorsPwmInit()

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

#define AHB_CLK   72000000

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

#define BOARD_LISA_M

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

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

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

#define DefaultVoltageOfAdc (   adc)    (0.0045*adc)

Definition at line 126 of file lisa_m_2.1.h.

#define EXT_CLK   12000000

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

#define LED_12_AFIO_REMAP   ((void)0)

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

#define LED_12_GPIO   GPIOC

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

#define LED_12_GPIO_OFF   gpio_set

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

#define LED_12_GPIO_ON   gpio_clear

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

#define LED_12_GPIO_PIN   GPIO12

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

#define LED_1_AFIO_REMAP   ((void)0)

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

#define LED_1_GPIO   GPIOA

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

#define LED_1_GPIO_OFF   gpio_set

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

#define LED_1_GPIO_ON   gpio_clear

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

#define LED_1_GPIO_PIN   GPIO8

Definition at line 21 of file lisa_m_2.1.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.1.h.

#define LED_2_GPIO   GPIOB

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

#define LED_2_GPIO_OFF   gpio_set

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

#define LED_2_GPIO_ON   gpio_clear

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

#define LED_2_GPIO_PIN   GPIO4

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

#define LED_3_AFIO_REMAP   ((void)0)

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

#define LED_3_GPIO   GPIOC

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

#define LED_3_GPIO_OFF   gpio_set

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

#define LED_3_GPIO_ON   gpio_clear

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

#define LED_3_GPIO_PIN   GPIO2

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

#define LED_4_AFIO_REMAP   ((void)0)

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

#define LED_4_GPIO   GPIOC

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

#define LED_4_GPIO_OFF   gpio_set

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

#define LED_4_GPIO_ON   gpio_clear

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

#define LED_4_GPIO_PIN   GPIO5

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

#define LED_5_AFIO_REMAP   ((void)0)

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

#define LED_5_GPIO   GPIOC

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

#define LED_5_GPIO_OFF   gpio_set

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

#define LED_5_GPIO_ON   gpio_clear

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

#define LED_5_GPIO_PIN   GPIO15

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

#define LED_6_AFIO_REMAP   ((void)0)

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

#define LED_6_GPIO   GPIOC

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

#define LED_6_GPIO_OFF   gpio_set

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

#define LED_6_GPIO_ON   gpio_clear

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

#define LED_6_GPIO_PIN   GPIO3

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

#define LED_7_AFIO_REMAP   ((void)0)

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

#define LED_7_GPIO   GPIOC

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

#define LED_7_GPIO_OFF   gpio_set

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

#define LED_7_GPIO_ON   gpio_clear

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

#define LED_7_GPIO_PIN   GPIO0

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

#define LED_8_AFIO_REMAP   ((void)0)

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

#define LED_8_GPIO   GPIOC

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

#define LED_8_GPIO_OFF   gpio_set

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

#define LED_8_GPIO_ON   gpio_clear

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

#define LED_8_GPIO_PIN   GPIO1

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

#define LED_BODY_AFIO_REMAP   ((void)0)

Definition at line 103 of file lisa_m_2.1.h.

#define LED_BODY_GPIO   GPIOB

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

#define LED_BODY_GPIO_OFF   gpio_clear

Definition at line 102 of file lisa_m_2.1.h.

#define LED_BODY_GPIO_ON   gpio_set

Definition at line 101 of file lisa_m_2.1.h.

#define LED_BODY_GPIO_PIN   GPIO1

Definition at line 100 of file lisa_m_2.1.h.

#define SPEKTRUM_BIND_PIN   GPIO2

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

#define SPEKTRUM_BIND_PIN_PORT   GPIOB

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

#define USE_BARO_BOARD   1

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

#define USE_LED_1   1

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

#define USE_LED_2   1

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

#define USE_LED_3   1

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

#define USE_LED_4   1

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

#define USE_LED_5   1

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