Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
lisa_m_1.0.h File Reference
+ Include dependency graph for lisa_m_1.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   GPIOB
 
#define LED_1_GPIO_PIN   GPIO4
 
#define LED_1_GPIO_ON   gpio_clear
 
#define LED_1_GPIO_OFF   gpio_set
 
#define LED_1_AFIO_REMAP
 
#define USE_LED_2   1
 
#define LED_2_GPIO   GPIOC
 
#define LED_2_GPIO_PIN   GPIO5
 
#define LED_2_GPIO_ON   gpio_clear
 
#define LED_2_GPIO_OFF   gpio_set
 
#define LED_2_AFIO_REMAP   ((void)0)
 
#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   GPIO12
 
#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   GPIO10
 
#define LED_5_GPIO_ON   gpio_clear
 
#define LED_5_GPIO_OFF   gpio_set
 
#define LED_5_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 SPEKTRUM_BIND_PIN   GPIO3
 
#define SPEKTRUM_BIND_PIN_PORT   GPIOC
 
#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.00485*adc)
 
#define USE_BARO_BOARD   1
 

Macro Definition Documentation

◆ ActuatorDefaultSet

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

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

◆ ActuatorsDefaultCommit

#define ActuatorsDefaultCommit ( )    ActuatorsPwmCommit()

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

◆ ActuatorsDefaultInit

#define ActuatorsDefaultInit ( )    ActuatorsPwmInit()

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

◆ AHB_CLK

#define AHB_CLK   72000000

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

◆ BOARD_LISA_M

#define BOARD_LISA_M

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

◆ DEFAULT_ACTUATORS

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

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

◆ DefaultVoltageOfAdc

#define DefaultVoltageOfAdc (   adc)    (0.00485*adc)

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

◆ EXT_CLK

#define EXT_CLK   12000000

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

◆ LED_1_AFIO_REMAP

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

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

◆ LED_1_GPIO

#define LED_1_GPIO   GPIOB

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

◆ LED_1_GPIO_OFF

#define LED_1_GPIO_OFF   gpio_set

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

◆ LED_1_GPIO_ON

#define LED_1_GPIO_ON   gpio_clear

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

◆ LED_1_GPIO_PIN

#define LED_1_GPIO_PIN   GPIO4

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

◆ LED_2_AFIO_REMAP

#define LED_2_AFIO_REMAP   ((void)0)

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

◆ LED_2_GPIO

#define LED_2_GPIO   GPIOC

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

◆ LED_2_GPIO_OFF

#define LED_2_GPIO_OFF   gpio_set

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

◆ LED_2_GPIO_ON

#define LED_2_GPIO_ON   gpio_clear

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

◆ LED_2_GPIO_PIN

#define LED_2_GPIO_PIN   GPIO5

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

◆ LED_3_AFIO_REMAP

#define LED_3_AFIO_REMAP   ((void)0)

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

◆ LED_3_GPIO

#define LED_3_GPIO   GPIOC

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

◆ LED_3_GPIO_OFF

#define LED_3_GPIO_OFF   gpio_set

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

◆ LED_3_GPIO_ON

#define LED_3_GPIO_ON   gpio_clear

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

◆ LED_3_GPIO_PIN

#define LED_3_GPIO_PIN   GPIO2

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

◆ LED_4_AFIO_REMAP

#define LED_4_AFIO_REMAP   ((void)0)

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

◆ LED_4_GPIO

#define LED_4_GPIO   GPIOC

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

◆ LED_4_GPIO_OFF

#define LED_4_GPIO_OFF   gpio_set

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

◆ LED_4_GPIO_ON

#define LED_4_GPIO_ON   gpio_clear

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

◆ LED_4_GPIO_PIN

#define LED_4_GPIO_PIN   GPIO12

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

◆ LED_5_AFIO_REMAP

#define LED_5_AFIO_REMAP   ((void)0)

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

◆ LED_5_GPIO

#define LED_5_GPIO   GPIOC

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

◆ LED_5_GPIO_OFF

#define LED_5_GPIO_OFF   gpio_set

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

◆ LED_5_GPIO_ON

#define LED_5_GPIO_ON   gpio_clear

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

◆ LED_5_GPIO_PIN

#define LED_5_GPIO_PIN   GPIO10

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

◆ LED_BODY_AFIO_REMAP

#define LED_BODY_AFIO_REMAP   ((void)0)

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

◆ LED_BODY_GPIO

#define LED_BODY_GPIO   GPIOB

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

◆ LED_BODY_GPIO_OFF

#define LED_BODY_GPIO_OFF   gpio_clear

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

◆ LED_BODY_GPIO_ON

#define LED_BODY_GPIO_ON   gpio_set

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

◆ LED_BODY_GPIO_PIN

#define LED_BODY_GPIO_PIN   GPIO1

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

◆ SPEKTRUM_BIND_PIN

#define SPEKTRUM_BIND_PIN   GPIO3

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

◆ SPEKTRUM_BIND_PIN_PORT

#define SPEKTRUM_BIND_PIN_PORT   GPIOC

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

◆ USE_BARO_BOARD

#define USE_BARO_BOARD   1

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

◆ USE_LED_1

#define USE_LED_1   1

Definition at line 15 of file lisa_m_1.0.h.

◆ USE_LED_2

#define USE_LED_2   1

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

◆ USE_LED_3

#define USE_LED_3   1

Definition at line 38 of file lisa_m_1.0.h.

◆ USE_LED_4

#define USE_LED_4   1

Definition at line 48 of file lisa_m_1.0.h.

◆ USE_LED_5

#define USE_LED_5   1

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