Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
apogee_1.0.h File Reference

Go to the source code of this file.

Macros

#define BOARD_APOGEE
 
#define EXT_CLK   16000000
 
#define AHB_CLK   168000000
 
#define USE_LED_1   1
 
#define LED_1_GPIO   GPIOC
 
#define LED_1_GPIO_PIN   GPIO0
 
#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   GPIOC
 
#define LED_2_GPIO_PIN   GPIO13
 
#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   GPIO1
 
#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   GPIO3
 
#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   0
 
#define LED_5_GPIO   GPIOB
 
#define LED_5_GPIO_PIN   GPIO1
 
#define LED_5_GPIO_ON   gpio_set
 
#define LED_5_GPIO_OFF   gpio_clear
 
#define LED_5_AFIO_REMAP   ((void)0)
 
#define USE_LED_6   0
 
#define LED_6_GPIO   GPIOC
 
#define LED_6_GPIO_PIN   GPIO5
 
#define LED_6_GPIO_ON   gpio_set
 
#define LED_6_GPIO_OFF   gpio_clear
 
#define LED_6_AFIO_REMAP   ((void)0)
 
#define USE_LED_7   0
 
#define LED_7_GPIO   GPIOC
 
#define LED_7_GPIO_PIN   GPIO4
 
#define LED_7_GPIO_ON   gpio_set
 
#define LED_7_GPIO_OFF   gpio_clear
 
#define LED_7_AFIO_REMAP   ((void)0)
 
#define USE_LED_8   0
 
#define LED_8_GPIO   GPIOB
 
#define LED_8_GPIO_PIN   GPIO15
 
#define LED_8_GPIO_ON   gpio_set
 
#define LED_8_GPIO_OFF   gpio_clear
 
#define LED_8_AFIO_REMAP   ((void)0)
 
#define POWER_SWITCH_GPIO   GPIOB,GPIO12
 
#define RC_POLARITY_GPIO_PORT   GPIOB
 
#define RC_POLARITY_GPIO_PIN   GPIO13
 
#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.006185*adc)
 
#define UART1_GPIO_AF   GPIO_AF7
 
#define UART1_GPIO_PORT_RX   GPIOA
 
#define UART1_GPIO_RX   GPIO10
 
#define UART1_GPIO_PORT_TX   GPIOB
 
#define UART1_GPIO_TX   GPIO6
 
#define UART2_GPIO_AF   GPIO_AF7
 
#define UART2_GPIO_PORT_RX   GPIOA
 
#define UART2_GPIO_RX   GPIO3
 
#define USE_UART2_TX   FALSE
 
#define UART4_GPIO_AF   GPIO_AF8
 
#define UART4_GPIO_PORT_RX   GPIOA
 
#define UART4_GPIO_RX   GPIO1
 
#define UART4_GPIO_PORT_TX   GPIOA
 
#define UART4_GPIO_TX   GPIO0
 
#define UART6_GPIO_AF   GPIO_AF8
 
#define UART6_GPIO_PORT_RX   GPIOC
 
#define UART6_GPIO_RX   GPIO7
 
#define UART6_GPIO_PORT_TX   GPIOC
 
#define UART6_GPIO_TX   GPIO6
 
#define SPI1_GPIO_AF   GPIO_AF5
 
#define SPI1_GPIO_PORT_MISO   GPIOA
 
#define SPI1_GPIO_MISO   GPIO6
 
#define SPI1_GPIO_PORT_MOSI   GPIOA
 
#define SPI1_GPIO_MOSI   GPIO7
 
#define SPI1_GPIO_PORT_SCK   GPIOA
 
#define SPI1_GPIO_SCK   GPIO5
 
#define SPI_SELECT_SLAVE0_PORT   GPIOB
 
#define SPI_SELECT_SLAVE0_PIN   GPIO9
 
#define USE_AD_TIM4   1
 
#define USE_ADC_4   1
 
#define AD1_4_CHANNEL   4
 
#define ADC_4   AD1_4
 
#define ADC_4_GPIO_PORT   GPIOA
 
#define ADC_4_GPIO_PIN   GPIO4
 
#define ADC_CHANNEL_VSUPPLY   ADC_4
 
#define I2C1_GPIO_PORT   GPIOB
 
#define I2C1_GPIO_SCL   GPIO8
 
#define I2C1_GPIO_SDA   GPIO7
 
#define I2C2_GPIO_PORT   GPIOB
 
#define I2C2_GPIO_SCL   GPIO10
 
#define I2C2_GPIO_SDA   GPIO11
 
#define USE_BARO_BOARD   1
 
#define PWM_USE_TIM2   1
 
#define PWM_USE_TIM3   1
 
#define USE_PWM0   1
 
#define PWM_SERVO_0   0
 
#define PWM_SERVO_0_TIMER   TIM3
 
#define PWM_SERVO_0_GPIO   GPIOB
 
#define PWM_SERVO_0_PIN   GPIO0
 
#define PWM_SERVO_0_AF   GPIO_AF2
 
#define PWM_SERVO_0_OC   TIM_OC3
 
#define PWM_SERVO_0_OC_BIT   (1<<2)
 
#define USE_PWM1   1
 
#define PWM_SERVO_1   1
 
#define PWM_SERVO_1_TIMER   TIM2
 
#define PWM_SERVO_1_GPIO   GPIOA
 
#define PWM_SERVO_1_PIN   GPIO2
 
#define PWM_SERVO_1_AF   GPIO_AF1
 
#define PWM_SERVO_1_OC   TIM_OC3
 
#define PWM_SERVO_1_OC_BIT   (1<<2)
 
#define USE_PWM2   1
 
#define PWM_SERVO_2   2
 
#define PWM_SERVO_2_TIMER   TIM3
 
#define PWM_SERVO_2_GPIO   GPIOB
 
#define PWM_SERVO_2_PIN   GPIO5
 
#define PWM_SERVO_2_AF   GPIO_AF2
 
#define PWM_SERVO_2_OC   TIM_OC2
 
#define PWM_SERVO_2_OC_BIT   (1<<1)
 
#define USE_PWM3   1
 
#define PWM_SERVO_3   3
 
#define PWM_SERVO_3_TIMER   TIM3
 
#define PWM_SERVO_3_GPIO   GPIOB
 
#define PWM_SERVO_3_PIN   GPIO4
 
#define PWM_SERVO_3_AF   GPIO_AF2
 
#define PWM_SERVO_3_OC   TIM_OC1
 
#define PWM_SERVO_3_OC_BIT   (1<<0)
 
#define USE_PWM4   1
 
#define PWM_SERVO_4   4
 
#define PWM_SERVO_4_TIMER   TIM2
 
#define PWM_SERVO_4_GPIO   GPIOB
 
#define PWM_SERVO_4_PIN   GPIO3
 
#define PWM_SERVO_4_AF   GPIO_AF1
 
#define PWM_SERVO_4_OC   TIM_OC2
 
#define PWM_SERVO_4_OC_BIT   (1<<1)
 
#define USE_PWM5   1
 
#define PWM_SERVO_5   5
 
#define PWM_SERVO_5_TIMER   TIM2
 
#define PWM_SERVO_5_GPIO   GPIOA
 
#define PWM_SERVO_5_PIN   GPIO15
 
#define PWM_SERVO_5_AF   GPIO_AF1
 
#define PWM_SERVO_5_OC   TIM_OC1
 
#define PWM_SERVO_5_OC_BIT   (1<<0)
 
#define PWM_SERVO_6_OC_BIT   0
 
#define PWM_TIM2_CHAN_MASK   (PWM_SERVO_1_OC_BIT|PWM_SERVO_4_OC_BIT|PWM_SERVO_5_OC_BIT)
 
#define PWM_TIM3_CHAN_MASK   (PWM_SERVO_0_OC_BIT|PWM_SERVO_2_OC_BIT|PWM_SERVO_3_OC_BIT|PWM_SERVO_6_OC_BIT)
 
#define USE_PPM_TIM1   1
 
#define PPM_CHANNEL   TIM_IC1
 
#define PPM_TIMER_INPUT   TIM_IC_IN_TI1
 
#define PPM_IRQ   NVIC_TIM1_CC_IRQ
 
#define PPM_IRQ2   NVIC_TIM1_UP_TIM10_IRQ
 
#define PPM_CC_IE   TIM_DIER_CC1IE
 
#define PPM_CC_IF   TIM_SR_CC1IF
 
#define PPM_GPIO_PORT   GPIOA
 
#define PPM_GPIO_PIN   GPIO8
 
#define PPM_GPIO_AF   GPIO_AF1
 
#define PWM_INPUT1_TIMER   TIM1
 
#define PWM_INPUT1_CHANNEL_PERIOD   TIM_IC1
 
#define PWM_INPUT1_CHANNEL_DUTY   TIM_IC2
 
#define PWM_INPUT1_TIMER_INPUT   TIM_IC_IN_TI1
 
#define PWM_INPUT1_SLAVE_TRIG   TIM_SMCR_TS_IT1FP1
 
#define PWM_INPUT1_IRQ   NVIC_TIM1_CC_IRQ
 
#define PWM_INPUT1_IRQ2   NVIC_TIM1_UP_TIM10_IRQ
 
#define PWM_INPUT1_CC_IE   (TIM_DIER_CC1IE | TIM_DIER_CC2IE)
 
#define USE_PWM_INPUT_TIM1   TRUE
 
#define TIM1_PWM_INPUT_IDX   0
 
#define TIM1_CC_IF_PERIOD   TIM_SR_CC1IF
 
#define TIM1_CC_IF_DUTY   TIM_SR_CC2IF
 
#define TIM1_CCR_PERIOD   TIM1_CCR1
 
#define TIM1_CCR_DUTY   TIM1_CCR2
 
#define PWM_INPUT1_GPIO_PORT   GPIOA
 
#define PWM_INPUT1_GPIO_PIN   GPIO8
 
#define PWM_INPUT1_GPIO_AF   GPIO_AF1
 
#define SPEKTRUM_BIND_PIN   GPIO15
 
#define SPEKTRUM_BIND_PIN_PORT   GPIOB
 
#define SPEKTRUM_PRIMARY_BIND_CONF_PORT   GPIOA
 
#define SPEKTRUM_PRIMARY_BIND_CONF_PIN   GPIO8
 
#define SPEKTRUM_UART2_RCC   RCC_USART2
 
#define SPEKTRUM_UART2_BANK   GPIOA
 
#define SPEKTRUM_UART2_PIN   GPIO3
 
#define SPEKTRUM_UART2_AF   GPIO_AF7
 
#define SPEKTRUM_UART2_IRQ   NVIC_USART2_IRQ
 
#define SPEKTRUM_UART2_ISR   usart2_isr
 
#define SPEKTRUM_UART2_DEV   USART2
 
#define RTOS_PRIO   2
 
#define NVIC_TIM_IRQ_PRIO   (RTOS_PRIO+1)
 
#define NVIC_I2C_IRQ_PRIO   (RTOS_PRIO+2)
 
#define NVIC_SPI_IRQ_PRIO   (RTOS_PRIO+3)
 
#define NVIC_UART_IRQ_PRIO   (RTOS_PRIO+4)
 
#define NVIC_USART_IRQ_PRIO   (RTOS_PRIO+4)
 
#define NVIC_ADC_IRQ_PRIO   (RTOS_PRIO+5)
 
#define NVIC_TIM6_DAC_IRQ_PRIO   (RTOS_PRIO+6)
 

Macro Definition Documentation

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

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

#define ActuatorsDefaultCommit ( )    ActuatorsPwmCommit()

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

#define ActuatorsDefaultInit ( )    ActuatorsPwmInit()

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

#define AD1_4_CHANNEL   4

Definition at line 184 of file apogee_1.0.h.

#define ADC_4   AD1_4

Definition at line 185 of file apogee_1.0.h.

#define ADC_4_GPIO_PIN   GPIO4

Definition at line 187 of file apogee_1.0.h.

#define ADC_4_GPIO_PORT   GPIOA

Definition at line 186 of file apogee_1.0.h.

#define ADC_CHANNEL_VSUPPLY   ADC_4

Definition at line 192 of file apogee_1.0.h.

#define AHB_CLK   168000000

Definition at line 8 of file apogee_1.0.h.

#define BOARD_APOGEE

Definition at line 4 of file apogee_1.0.h.

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

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

#define DefaultVoltageOfAdc (   adc)    (0.006185*adc)

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

#define EXT_CLK   16000000

Definition at line 7 of file apogee_1.0.h.

#define I2C1_GPIO_PORT   GPIOB

Definition at line 197 of file apogee_1.0.h.

#define I2C1_GPIO_SCL   GPIO8

Definition at line 198 of file apogee_1.0.h.

#define I2C1_GPIO_SDA   GPIO7

Definition at line 199 of file apogee_1.0.h.

#define I2C2_GPIO_PORT   GPIOB

Definition at line 201 of file apogee_1.0.h.

#define I2C2_GPIO_SCL   GPIO10

Definition at line 202 of file apogee_1.0.h.

#define I2C2_GPIO_SDA   GPIO11

Definition at line 203 of file apogee_1.0.h.

#define LED_1_AFIO_REMAP   ((void)0)

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

#define LED_1_GPIO   GPIOC

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

#define LED_1_GPIO_OFF   gpio_set

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

#define LED_1_GPIO_ON   gpio_clear

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

#define LED_1_GPIO_PIN   GPIO0

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

#define LED_2_AFIO_REMAP   ((void)0)

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

#define LED_2_GPIO   GPIOC

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

#define LED_2_GPIO_OFF   gpio_set

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

#define LED_2_GPIO_ON   gpio_clear

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

#define LED_2_GPIO_PIN   GPIO13

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

#define LED_3_AFIO_REMAP   ((void)0)

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

#define LED_3_GPIO   GPIOC

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

#define LED_3_GPIO_OFF   gpio_set

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

#define LED_3_GPIO_ON   gpio_clear

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

#define LED_3_GPIO_PIN   GPIO1

Definition at line 39 of file apogee_1.0.h.

#define LED_4_AFIO_REMAP   ((void)0)

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

#define LED_4_GPIO   GPIOC

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

#define LED_4_GPIO_OFF   gpio_set

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

#define LED_4_GPIO_ON   gpio_clear

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

#define LED_4_GPIO_PIN   GPIO3

Definition at line 49 of file apogee_1.0.h.

#define LED_5_AFIO_REMAP   ((void)0)

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

#define LED_5_GPIO   GPIOB

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

#define LED_5_GPIO_OFF   gpio_clear

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

#define LED_5_GPIO_ON   gpio_set

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

#define LED_5_GPIO_PIN   GPIO1

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

#define LED_6_AFIO_REMAP   ((void)0)

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

#define LED_6_GPIO   GPIOC

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

#define LED_6_GPIO_OFF   gpio_clear

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

#define LED_6_GPIO_ON   gpio_set

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

#define LED_6_GPIO_PIN   GPIO5

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

#define LED_7_AFIO_REMAP   ((void)0)

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

#define LED_7_GPIO   GPIOC

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

#define LED_7_GPIO_OFF   gpio_clear

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

#define LED_7_GPIO_ON   gpio_set

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

#define LED_7_GPIO_PIN   GPIO4

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

#define LED_8_AFIO_REMAP   ((void)0)

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

#define LED_8_GPIO   GPIOB

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

#define LED_8_GPIO_OFF   gpio_clear

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

#define LED_8_GPIO_ON   gpio_set

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

#define LED_8_GPIO_PIN   GPIO15

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

#define NVIC_ADC_IRQ_PRIO   (RTOS_PRIO+5)

Definition at line 402 of file apogee_1.0.h.

#define NVIC_I2C_IRQ_PRIO   (RTOS_PRIO+2)

Definition at line 398 of file apogee_1.0.h.

#define NVIC_SPI_IRQ_PRIO   (RTOS_PRIO+3)

Definition at line 399 of file apogee_1.0.h.

#define NVIC_TIM6_DAC_IRQ_PRIO   (RTOS_PRIO+6)

Definition at line 403 of file apogee_1.0.h.

#define NVIC_TIM_IRQ_PRIO   (RTOS_PRIO+1)

Definition at line 397 of file apogee_1.0.h.

#define NVIC_UART_IRQ_PRIO   (RTOS_PRIO+4)

Definition at line 400 of file apogee_1.0.h.

#define NVIC_USART_IRQ_PRIO   (RTOS_PRIO+4)

Definition at line 401 of file apogee_1.0.h.

#define POWER_SWITCH_GPIO   GPIOB,GPIO12

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

Referenced by autopilot_init().

#define PPM_CC_IE   TIM_DIER_CC1IE

Definition at line 336 of file apogee_1.0.h.

#define PPM_CC_IF   TIM_SR_CC1IF

Definition at line 337 of file apogee_1.0.h.

#define PPM_CHANNEL   TIM_IC1

Definition at line 331 of file apogee_1.0.h.

#define PPM_GPIO_AF   GPIO_AF1

Definition at line 340 of file apogee_1.0.h.

#define PPM_GPIO_PIN   GPIO8

Definition at line 339 of file apogee_1.0.h.

#define PPM_GPIO_PORT   GPIOA

Definition at line 338 of file apogee_1.0.h.

#define PPM_IRQ   NVIC_TIM1_CC_IRQ

Definition at line 333 of file apogee_1.0.h.

#define PPM_IRQ2   NVIC_TIM1_UP_TIM10_IRQ

Definition at line 334 of file apogee_1.0.h.

#define PPM_TIMER_INPUT   TIM_IC_IN_TI1

Definition at line 332 of file apogee_1.0.h.

#define PWM_INPUT1_CC_IE   (TIM_DIER_CC1IE | TIM_DIER_CC2IE)

Definition at line 352 of file apogee_1.0.h.

Referenced by pwm_input_init().

#define PWM_INPUT1_CHANNEL_DUTY   TIM_IC2

Definition at line 347 of file apogee_1.0.h.

Referenced by pwm_input_init().

#define PWM_INPUT1_CHANNEL_PERIOD   TIM_IC1

Definition at line 346 of file apogee_1.0.h.

Referenced by pwm_input_init().

#define PWM_INPUT1_GPIO_AF   GPIO_AF1

Definition at line 362 of file apogee_1.0.h.

Referenced by pwm_input_init().

#define PWM_INPUT1_GPIO_PIN   GPIO8

Definition at line 361 of file apogee_1.0.h.

Referenced by pwm_input_init().

#define PWM_INPUT1_GPIO_PORT   GPIOA

Definition at line 360 of file apogee_1.0.h.

Referenced by pwm_input_init().

#define PWM_INPUT1_IRQ   NVIC_TIM1_CC_IRQ

Definition at line 350 of file apogee_1.0.h.

Referenced by pwm_input_init().

#define PWM_INPUT1_IRQ2   NVIC_TIM1_UP_TIM10_IRQ

Definition at line 351 of file apogee_1.0.h.

Referenced by pwm_input_init().

#define PWM_INPUT1_SLAVE_TRIG   TIM_SMCR_TS_IT1FP1

Definition at line 349 of file apogee_1.0.h.

Referenced by pwm_input_init().

#define PWM_INPUT1_TIMER   TIM1

Definition at line 345 of file apogee_1.0.h.

Referenced by pwm_input_init().

#define PWM_INPUT1_TIMER_INPUT   TIM_IC_IN_TI1

Definition at line 348 of file apogee_1.0.h.

Referenced by pwm_input_init().

#define PWM_SERVO_0   0

Definition at line 223 of file apogee_1.0.h.

#define PWM_SERVO_0_AF   GPIO_AF2

Definition at line 227 of file apogee_1.0.h.

#define PWM_SERVO_0_GPIO   GPIOB

Definition at line 225 of file apogee_1.0.h.

#define PWM_SERVO_0_OC   TIM_OC3

Definition at line 228 of file apogee_1.0.h.

#define PWM_SERVO_0_OC_BIT   (1<<2)

Definition at line 229 of file apogee_1.0.h.

#define PWM_SERVO_0_PIN   GPIO0

Definition at line 226 of file apogee_1.0.h.

#define PWM_SERVO_0_TIMER   TIM3

Definition at line 224 of file apogee_1.0.h.

#define PWM_SERVO_1   1

Definition at line 238 of file apogee_1.0.h.

#define PWM_SERVO_1_AF   GPIO_AF1

Definition at line 242 of file apogee_1.0.h.

#define PWM_SERVO_1_GPIO   GPIOA

Definition at line 240 of file apogee_1.0.h.

#define PWM_SERVO_1_OC   TIM_OC3

Definition at line 243 of file apogee_1.0.h.

#define PWM_SERVO_1_OC_BIT   (1<<2)

Definition at line 244 of file apogee_1.0.h.

#define PWM_SERVO_1_PIN   GPIO2

Definition at line 241 of file apogee_1.0.h.

#define PWM_SERVO_1_TIMER   TIM2

Definition at line 239 of file apogee_1.0.h.

#define PWM_SERVO_2   2

Definition at line 253 of file apogee_1.0.h.

#define PWM_SERVO_2_AF   GPIO_AF2

Definition at line 257 of file apogee_1.0.h.

#define PWM_SERVO_2_GPIO   GPIOB

Definition at line 255 of file apogee_1.0.h.

#define PWM_SERVO_2_OC   TIM_OC2

Definition at line 258 of file apogee_1.0.h.

#define PWM_SERVO_2_OC_BIT   (1<<1)

Definition at line 259 of file apogee_1.0.h.

#define PWM_SERVO_2_PIN   GPIO5

Definition at line 256 of file apogee_1.0.h.

#define PWM_SERVO_2_TIMER   TIM3

Definition at line 254 of file apogee_1.0.h.

#define PWM_SERVO_3   3

Definition at line 268 of file apogee_1.0.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_3_AF   GPIO_AF2

Definition at line 272 of file apogee_1.0.h.

#define PWM_SERVO_3_GPIO   GPIOB

Definition at line 270 of file apogee_1.0.h.

#define PWM_SERVO_3_OC   TIM_OC1

Definition at line 273 of file apogee_1.0.h.

#define PWM_SERVO_3_OC_BIT   (1<<0)

Definition at line 274 of file apogee_1.0.h.

#define PWM_SERVO_3_PIN   GPIO4

Definition at line 271 of file apogee_1.0.h.

#define PWM_SERVO_3_TIMER   TIM3

Definition at line 269 of file apogee_1.0.h.

#define PWM_SERVO_4   4

Definition at line 283 of file apogee_1.0.h.

#define PWM_SERVO_4_AF   GPIO_AF1

Definition at line 287 of file apogee_1.0.h.

#define PWM_SERVO_4_GPIO   GPIOB

Definition at line 285 of file apogee_1.0.h.

#define PWM_SERVO_4_OC   TIM_OC2

Definition at line 288 of file apogee_1.0.h.

#define PWM_SERVO_4_OC_BIT   (1<<1)

Definition at line 289 of file apogee_1.0.h.

#define PWM_SERVO_4_PIN   GPIO3

Definition at line 286 of file apogee_1.0.h.

#define PWM_SERVO_4_TIMER   TIM2

Definition at line 284 of file apogee_1.0.h.

#define PWM_SERVO_5   5

Definition at line 298 of file apogee_1.0.h.

#define PWM_SERVO_5_AF   GPIO_AF1

Definition at line 302 of file apogee_1.0.h.

#define PWM_SERVO_5_GPIO   GPIOA

Definition at line 300 of file apogee_1.0.h.

#define PWM_SERVO_5_OC   TIM_OC1

Definition at line 303 of file apogee_1.0.h.

#define PWM_SERVO_5_OC_BIT   (1<<0)

Definition at line 304 of file apogee_1.0.h.

#define PWM_SERVO_5_PIN   GPIO15

Definition at line 301 of file apogee_1.0.h.

#define PWM_SERVO_5_TIMER   TIM2

Definition at line 299 of file apogee_1.0.h.

#define PWM_SERVO_6_OC_BIT   0

Definition at line 319 of file apogee_1.0.h.

#define PWM_TIM2_CHAN_MASK   (PWM_SERVO_1_OC_BIT|PWM_SERVO_4_OC_BIT|PWM_SERVO_5_OC_BIT)

Definition at line 323 of file apogee_1.0.h.

Definition at line 324 of file apogee_1.0.h.

#define PWM_USE_TIM2   1

Definition at line 213 of file apogee_1.0.h.

#define PWM_USE_TIM3   1

Definition at line 214 of file apogee_1.0.h.

#define RC_POLARITY_GPIO_PIN   GPIO13

Definition at line 100 of file apogee_1.0.h.

Referenced by radio_control_impl_init(), and sbus_common_init().

#define RC_POLARITY_GPIO_PORT   GPIOB

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

Referenced by radio_control_impl_init(), and sbus_common_init().

#define RTOS_PRIO   2

Definition at line 396 of file apogee_1.0.h.

#define SPEKTRUM_BIND_PIN   GPIO15

Definition at line 371 of file apogee_1.0.h.

#define SPEKTRUM_BIND_PIN_PORT   GPIOB

Definition at line 372 of file apogee_1.0.h.

#define SPEKTRUM_PRIMARY_BIND_CONF_PIN   GPIO8

Definition at line 380 of file apogee_1.0.h.

#define SPEKTRUM_PRIMARY_BIND_CONF_PORT   GPIOA

Definition at line 379 of file apogee_1.0.h.

#define SPEKTRUM_UART2_AF   GPIO_AF7

Definition at line 387 of file apogee_1.0.h.

#define SPEKTRUM_UART2_BANK   GPIOA

Definition at line 385 of file apogee_1.0.h.

#define SPEKTRUM_UART2_DEV   USART2

Definition at line 390 of file apogee_1.0.h.

#define SPEKTRUM_UART2_IRQ   NVIC_USART2_IRQ

Definition at line 388 of file apogee_1.0.h.

#define SPEKTRUM_UART2_ISR   usart2_isr

Definition at line 389 of file apogee_1.0.h.

#define SPEKTRUM_UART2_PIN   GPIO3

Definition at line 386 of file apogee_1.0.h.

#define SPEKTRUM_UART2_RCC   RCC_USART2

Definition at line 384 of file apogee_1.0.h.

#define SPI1_GPIO_AF   GPIO_AF5

Definition at line 136 of file apogee_1.0.h.

#define SPI1_GPIO_MISO   GPIO6

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

#define SPI1_GPIO_MOSI   GPIO7

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

#define SPI1_GPIO_PORT_MISO   GPIOA

Definition at line 137 of file apogee_1.0.h.

#define SPI1_GPIO_PORT_MOSI   GPIOA

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

#define SPI1_GPIO_PORT_SCK   GPIOA

Definition at line 141 of file apogee_1.0.h.

#define SPI1_GPIO_SCK   GPIO5

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

#define SPI_SELECT_SLAVE0_PIN   GPIO9

Definition at line 145 of file apogee_1.0.h.

#define SPI_SELECT_SLAVE0_PORT   GPIOB

Definition at line 144 of file apogee_1.0.h.

#define TIM1_CC_IF_DUTY   TIM_SR_CC2IF

Definition at line 356 of file apogee_1.0.h.

#define TIM1_CC_IF_PERIOD   TIM_SR_CC1IF

Definition at line 355 of file apogee_1.0.h.

#define TIM1_CCR_DUTY   TIM1_CCR2

Definition at line 358 of file apogee_1.0.h.

#define TIM1_CCR_PERIOD   TIM1_CCR1

Definition at line 357 of file apogee_1.0.h.

#define TIM1_PWM_INPUT_IDX   0

Definition at line 354 of file apogee_1.0.h.

#define UART1_GPIO_AF   GPIO_AF7

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

#define UART1_GPIO_PORT_RX   GPIOA

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

#define UART1_GPIO_PORT_TX   GPIOB

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

#define UART1_GPIO_RX   GPIO10

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

#define UART1_GPIO_TX   GPIO6

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

#define UART2_GPIO_AF   GPIO_AF7

Definition at line 118 of file apogee_1.0.h.

#define UART2_GPIO_PORT_RX   GPIOA

Definition at line 119 of file apogee_1.0.h.

#define UART2_GPIO_RX   GPIO3

Definition at line 120 of file apogee_1.0.h.

#define UART4_GPIO_AF   GPIO_AF8

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

#define UART4_GPIO_PORT_RX   GPIOA

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

#define UART4_GPIO_PORT_TX   GPIOA

Definition at line 126 of file apogee_1.0.h.

#define UART4_GPIO_RX   GPIO1

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

#define UART4_GPIO_TX   GPIO0

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

#define UART6_GPIO_AF   GPIO_AF8

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

#define UART6_GPIO_PORT_RX   GPIOC

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

#define UART6_GPIO_PORT_TX   GPIOC

Definition at line 132 of file apogee_1.0.h.

#define UART6_GPIO_RX   GPIO7

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

#define UART6_GPIO_TX   GPIO6

Definition at line 133 of file apogee_1.0.h.

#define USE_AD_TIM4   1

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

#define USE_ADC_4   1

Definition at line 181 of file apogee_1.0.h.

#define USE_BARO_BOARD   1

Definition at line 208 of file apogee_1.0.h.

#define USE_LED_1   1

Definition at line 16 of file apogee_1.0.h.

#define USE_LED_2   1

Definition at line 26 of file apogee_1.0.h.

#define USE_LED_3   1

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

#define USE_LED_4   1

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

#define USE_LED_5   0

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

#define USE_LED_6   0

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

#define USE_LED_7   0

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

#define USE_LED_8   0

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

#define USE_PPM_TIM1   1

Definition at line 329 of file apogee_1.0.h.

#define USE_PWM0   1

Definition at line 220 of file apogee_1.0.h.

#define USE_PWM1   1

Definition at line 235 of file apogee_1.0.h.

#define USE_PWM2   1

Definition at line 250 of file apogee_1.0.h.

#define USE_PWM3   1

Definition at line 265 of file apogee_1.0.h.

#define USE_PWM4   1

Definition at line 280 of file apogee_1.0.h.

#define USE_PWM5   1

Definition at line 295 of file apogee_1.0.h.

#define USE_PWM_INPUT_TIM1   TRUE

Definition at line 353 of file apogee_1.0.h.

#define USE_UART2_TX   FALSE

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