Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
lia_1.1.h File Reference
+ Include dependency graph for lia_1.1.h:

Go to the source code of this file.

Macros

#define BOARD_LIA
 
#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 DEFAULT_ACTUATORS   "modules/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

◆ ActuatorDefaultSet

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

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

◆ ActuatorsDefaultCommit

#define ActuatorsDefaultCommit ( )    ActuatorsPwmCommit()

Definition at line 125 of file lia_1.1.h.

◆ ActuatorsDefaultInit

#define ActuatorsDefaultInit ( )    ActuatorsPwmInit()

Definition at line 124 of file lia_1.1.h.

◆ AHB_CLK

#define AHB_CLK   72000000

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

◆ BOARD_LIA

#define BOARD_LIA

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

◆ DEFAULT_ACTUATORS

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

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

◆ DefaultVoltageOfAdc

#define DefaultVoltageOfAdc (   adc)    (0.0045*adc)

Definition at line 128 of file lia_1.1.h.

◆ EXT_CLK

#define EXT_CLK   12000000

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

◆ LED_12_AFIO_REMAP

#define LED_12_AFIO_REMAP   ((void)0)

Definition at line 118 of file lia_1.1.h.

◆ LED_12_GPIO

#define LED_12_GPIO   GPIOC

Definition at line 114 of file lia_1.1.h.

◆ LED_12_GPIO_OFF

#define LED_12_GPIO_OFF   gpio_set

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

◆ LED_12_GPIO_ON

#define LED_12_GPIO_ON   gpio_clear

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

◆ LED_12_GPIO_PIN

#define LED_12_GPIO_PIN   GPIO12

Definition at line 115 of file lia_1.1.h.

◆ LED_1_AFIO_REMAP

#define LED_1_AFIO_REMAP   ((void)0)

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

◆ LED_1_GPIO

#define LED_1_GPIO   GPIOA

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

◆ LED_1_GPIO_OFF

#define LED_1_GPIO_OFF   gpio_set

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

◆ LED_1_GPIO_ON

#define LED_1_GPIO_ON   gpio_clear

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

◆ LED_1_GPIO_PIN

#define LED_1_GPIO_PIN   GPIO8

Definition at line 21 of file lia_1.1.h.

◆ LED_2_AFIO_REMAP

#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 lia_1.1.h.

◆ LED_2_GPIO

#define LED_2_GPIO   GPIOB

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

◆ LED_2_GPIO_OFF

#define LED_2_GPIO_OFF   gpio_set

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

◆ LED_2_GPIO_ON

#define LED_2_GPIO_ON   gpio_clear

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

◆ LED_2_GPIO_PIN

#define LED_2_GPIO_PIN   GPIO4

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

◆ LED_3_AFIO_REMAP

#define LED_3_AFIO_REMAP   ((void)0)

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

◆ LED_3_GPIO

#define LED_3_GPIO   GPIOC

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

◆ LED_3_GPIO_OFF

#define LED_3_GPIO_OFF   gpio_set

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

◆ LED_3_GPIO_ON

#define LED_3_GPIO_ON   gpio_clear

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

◆ LED_3_GPIO_PIN

#define LED_3_GPIO_PIN   GPIO2

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

◆ LED_4_AFIO_REMAP

#define LED_4_AFIO_REMAP   ((void)0)

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

◆ LED_4_GPIO

#define LED_4_GPIO   GPIOC

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

◆ LED_4_GPIO_OFF

#define LED_4_GPIO_OFF   gpio_set

Definition at line 60 of file lia_1.1.h.

◆ LED_4_GPIO_ON

#define LED_4_GPIO_ON   gpio_clear

Definition at line 59 of file lia_1.1.h.

◆ LED_4_GPIO_PIN

#define LED_4_GPIO_PIN   GPIO5

Definition at line 58 of file lia_1.1.h.

◆ LED_5_AFIO_REMAP

#define LED_5_AFIO_REMAP   ((void)0)

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

◆ LED_5_GPIO

#define LED_5_GPIO   GPIOC

Definition at line 71 of file lia_1.1.h.

◆ LED_5_GPIO_OFF

#define LED_5_GPIO_OFF   gpio_set

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

◆ LED_5_GPIO_ON

#define LED_5_GPIO_ON   gpio_clear

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

◆ LED_5_GPIO_PIN

#define LED_5_GPIO_PIN   GPIO15

Definition at line 72 of file lia_1.1.h.

◆ LED_6_AFIO_REMAP

#define LED_6_AFIO_REMAP   ((void)0)

Definition at line 85 of file lia_1.1.h.

◆ LED_6_GPIO

#define LED_6_GPIO   GPIOC

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

◆ LED_6_GPIO_OFF

#define LED_6_GPIO_OFF   gpio_set

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

◆ LED_6_GPIO_ON

#define LED_6_GPIO_ON   gpio_clear

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

◆ LED_6_GPIO_PIN

#define LED_6_GPIO_PIN   GPIO3

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

◆ LED_7_AFIO_REMAP

#define LED_7_AFIO_REMAP   ((void)0)

Definition at line 92 of file lia_1.1.h.

◆ LED_7_GPIO

#define LED_7_GPIO   GPIOC

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

◆ LED_7_GPIO_OFF

#define LED_7_GPIO_OFF   gpio_set

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

◆ LED_7_GPIO_ON

#define LED_7_GPIO_ON   gpio_clear

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

◆ LED_7_GPIO_PIN

#define LED_7_GPIO_PIN   GPIO0

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

◆ LED_8_AFIO_REMAP

#define LED_8_AFIO_REMAP   ((void)0)

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

◆ LED_8_GPIO

#define LED_8_GPIO   GPIOC

Definition at line 95 of file lia_1.1.h.

◆ LED_8_GPIO_OFF

#define LED_8_GPIO_OFF   gpio_set

Definition at line 98 of file lia_1.1.h.

◆ LED_8_GPIO_ON

#define LED_8_GPIO_ON   gpio_clear

Definition at line 97 of file lia_1.1.h.

◆ LED_8_GPIO_PIN

#define LED_8_GPIO_PIN   GPIO1

Definition at line 96 of file lia_1.1.h.

◆ LED_BODY_AFIO_REMAP

#define LED_BODY_AFIO_REMAP   ((void)0)

Definition at line 111 of file lia_1.1.h.

◆ LED_BODY_GPIO

#define LED_BODY_GPIO   GPIOB

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

◆ LED_BODY_GPIO_OFF

#define LED_BODY_GPIO_OFF   gpio_clear

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

◆ LED_BODY_GPIO_ON

#define LED_BODY_GPIO_ON   gpio_set

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

◆ LED_BODY_GPIO_PIN

#define LED_BODY_GPIO_PIN   GPIO1

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

◆ USE_BARO_BOARD

#define USE_BARO_BOARD   1

Definition at line 132 of file lia_1.1.h.

◆ USE_LED_1

#define USE_LED_1   1

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

◆ USE_LED_2

#define USE_LED_2   1

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

◆ USE_LED_3

#define USE_LED_3   1

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

◆ USE_LED_4

#define USE_LED_4   1

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

◆ USE_LED_5

#define USE_LED_5   1

Definition at line 69 of file lia_1.1.h.