Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
apogee_0.99.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_CLK   RCC_AHB1ENR_IOPCEN
 
#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_CLK   RCC_AHB1ENR_IOPCEN
 
#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 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 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 USE_AD_TIM4   1
 
#define BOARD_ADC_CHANNEL_1   8
 
#define BOARD_ADC_CHANNEL_2   9
 
#define BOARD_ADC_CHANNEL_3   14
 
#define BOARD_ADC_CHANNEL_4   4
 
#define USE_AD1   1
 
#define ADC_1   ADC1_C1
 
#define ADC_1_GPIO_CLOCK_PORT   0
 
#define ADC_1_INIT()   {}
 
#define ADC_2   ADC1_C2
 
#define ADC_2_GPIO_CLOCK_PORT   0
 
#define ADC_2_INIT()   {}
 
#define ADC_3   ADC1_C3
 
#define ADC_3_GPIO_CLOCK_PORT   0
 
#define ADC_3_INIT()   {}
 
#define ADC_4   ADC1_C4
 
#define ADC_4_GPIO_CLOCK_PORT   RCC_AHB1ENR_IOPAEN
 
#define ADC_4_INIT()   gpio_mode_setup(GPIOA, GPIO_MODE_ANALOG, GPIO_PUPD_NONE, GPIO4)
 
#define USE_AD1_4   1
 
#define ADC_CHANNEL_VSUPPLY   ADC_4
 
#define ADC_GPIO_CLOCK_PORT   (ADC_1_GPIO_CLOCK_PORT | ADC_2_GPIO_CLOCK_PORT | ADC_3_GPIO_CLOCK_PORT | ADC_4_GPIO_CLOCK_PORT)
 
#define ADC1_GPIO_INIT(gpio)
 
#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 SPI_SELECT_SLAVE2_PORT   GPIOB
 
#define SPI_SELECT_SLAVE2_PIN   GPIO12
 
#define BOARD_HAS_BARO   1
 
#define PWM_USE_TIM2   1
 
#define PWM_USE_TIM3   1
 
#define USE_PWM0   1
 
#define USE_PWM1   1
 
#define USE_PWM2   1
 
#define USE_PWM3   1
 
#define USE_PWM4   1
 
#define USE_PWM5   1
 
#define PWM_SERVO_0   0
 
#define PWM_SERVO_0_TIMER   TIM2
 
#define PWM_SERVO_0_RCC_IOP   RCC_AHB1ENR_IOPAEN
 
#define PWM_SERVO_0_GPIO   GPIOA
 
#define PWM_SERVO_0_PIN   GPIO3
 
#define PWM_SERVO_0_AF   GPIO_AF1
 
#define PWM_SERVO_0_OC   TIM_OC4
 
#define PWM_SERVO_0_OC_BIT   (1<<3)
 
#define PWM_SERVO_1   1
 
#define PWM_SERVO_1_TIMER   TIM2
 
#define PWM_SERVO_1_RCC_IOP   RCC_AHB1ENR_IOPAEN
 
#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 PWM_SERVO_2   2
 
#define PWM_SERVO_2_TIMER   TIM3
 
#define PWM_SERVO_2_RCC_IOP   RCC_AHB1ENR_IOPBEN
 
#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 PWM_SERVO_3_IDX   3
 
#define PWM_SERVO_3_TIMER   TIM3
 
#define PWM_SERVO_3_RCC_IOP   RCC_AHB1ENR_IOPBEN
 
#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 PWM_SERVO_4   4
 
#define PWM_SERVO_4_TIMER   TIM2
 
#define PWM_SERVO_4_RCC_IOP   RCC_AHB1ENR_IOPBEN
 
#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 PWM_SERVO_5   5
 
#define PWM_SERVO_5_TIMER   TIM2
 
#define PWM_SERVO_5_RCC_IOP   RCC_AHB1ENR_IOPAEN
 
#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_TIM2_CHAN_MASK   (PWM_SERVO_0_OC_BIT|PWM_SERVO_1_OC_BIT|PWM_SERVO_4_OC_BIT|PWM_SERVO_5_OC_BIT)
 
#define PWM_TIM3_CHAN_MASK   (PWM_SERVO_2_OC_BIT|PWM_SERVO_3_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 SPEKTRUM_BIND_PIN   GPIO8
 
#define SPEKTRUM_BIND_PIN_PORT   GPIOA
 
#define SPEKTRUM_UART2_RCC_REG   &RCC_APB1ENR
 
#define SPEKTRUM_UART2_RCC_DEV   RCC_APB1ENR_USART2EN
 
#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
 

Macro Definition Documentation

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

Definition at line 38 of file apogee_0.99.h.

#define ActuatorsDefaultCommit ( )    ActuatorsPwmCommit()

Definition at line 40 of file apogee_0.99.h.

#define ActuatorsDefaultInit ( )    ActuatorsPwmInit()

Definition at line 39 of file apogee_0.99.h.

#define ADC1_GPIO_INIT (   gpio)
Value:
{ \
}
#define ADC_3_INIT()
Definition: apogee_0.99.h:112
#define ADC_1_INIT()
Definition: apogee_0.99.h:88
#define ADC_2_INIT()
Definition: apogee_0.99.h:100
#define ADC_4_INIT()
Definition: apogee_0.99.h:119

Definition at line 136 of file apogee_0.99.h.

Referenced by adc_init_single().

#define ADC_1   ADC1_C1

Definition at line 79 of file apogee_0.99.h.

#define ADC_1_GPIO_CLOCK_PORT   0

Definition at line 87 of file apogee_0.99.h.

#define ADC_1_INIT ( )    {}

Definition at line 88 of file apogee_0.99.h.

#define ADC_2   ADC1_C2

Definition at line 91 of file apogee_0.99.h.

#define ADC_2_GPIO_CLOCK_PORT   0

Definition at line 99 of file apogee_0.99.h.

#define ADC_2_INIT ( )    {}

Definition at line 100 of file apogee_0.99.h.

#define ADC_3   ADC1_C3

Definition at line 103 of file apogee_0.99.h.

#define ADC_3_GPIO_CLOCK_PORT   0

Definition at line 111 of file apogee_0.99.h.

#define ADC_3_INIT ( )    {}

Definition at line 112 of file apogee_0.99.h.

#define ADC_4   ADC1_C4

Definition at line 115 of file apogee_0.99.h.

#define ADC_4_GPIO_CLOCK_PORT   RCC_AHB1ENR_IOPAEN

Definition at line 118 of file apogee_0.99.h.

#define ADC_4_INIT ( )    gpio_mode_setup(GPIOA, GPIO_MODE_ANALOG, GPIO_PUPD_NONE, GPIO4)

Definition at line 119 of file apogee_0.99.h.

#define ADC_CHANNEL_VSUPPLY   ADC_4

Definition at line 129 of file apogee_0.99.h.

Referenced by electrical_init().

Definition at line 132 of file apogee_0.99.h.

Referenced by adc_init_rcc().

#define AHB_CLK   168000000

Definition at line 8 of file apogee_0.99.h.

Referenced by SpektrumDelayInit(), SpektrumTimerInit(), and sys_time_arch_init().

#define BOARD_ADC_CHANNEL_1   8

Definition at line 67 of file apogee_0.99.h.

Referenced by adc_init().

#define BOARD_ADC_CHANNEL_2   9

Definition at line 68 of file apogee_0.99.h.

Referenced by adc_init().

#define BOARD_ADC_CHANNEL_3   14

Definition at line 69 of file apogee_0.99.h.

Referenced by adc_init().

#define BOARD_ADC_CHANNEL_4   4

Definition at line 70 of file apogee_0.99.h.

Referenced by adc_init().

#define BOARD_APOGEE

Definition at line 4 of file apogee_0.99.h.

#define BOARD_HAS_BARO   1

Definition at line 175 of file apogee_0.99.h.

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

Definition at line 37 of file apogee_0.99.h.

#define DefaultVoltageOfAdc (   adc)    (0.006185*adc)

Definition at line 42 of file apogee_0.99.h.

#define EXT_CLK   16000000

Definition at line 7 of file apogee_0.99.h.

#define I2C1_GPIO_PORT   GPIOB

Definition at line 146 of file apogee_0.99.h.

#define I2C1_GPIO_SCL   GPIO8

Definition at line 147 of file apogee_0.99.h.

#define I2C1_GPIO_SDA   GPIO7

Definition at line 148 of file apogee_0.99.h.

#define I2C2_GPIO_PORT   GPIOB

Definition at line 150 of file apogee_0.99.h.

#define I2C2_GPIO_SCL   GPIO10

Definition at line 151 of file apogee_0.99.h.

#define I2C2_GPIO_SDA   GPIO11

Definition at line 152 of file apogee_0.99.h.

#define LED_1_AFIO_REMAP   ((void)0)

Definition at line 23 of file apogee_0.99.h.

#define LED_1_GPIO   GPIOC

Definition at line 18 of file apogee_0.99.h.

#define LED_1_GPIO_CLK   RCC_AHB1ENR_IOPCEN

Definition at line 19 of file apogee_0.99.h.

#define LED_1_GPIO_OFF   gpio_set

Definition at line 22 of file apogee_0.99.h.

#define LED_1_GPIO_ON   gpio_clear

Definition at line 21 of file apogee_0.99.h.

#define LED_1_GPIO_PIN   GPIO0

Definition at line 20 of file apogee_0.99.h.

#define LED_2_AFIO_REMAP   ((void)0)

Definition at line 34 of file apogee_0.99.h.

#define LED_2_GPIO   GPIOC

Definition at line 29 of file apogee_0.99.h.

#define LED_2_GPIO_CLK   RCC_AHB1ENR_IOPCEN

Definition at line 30 of file apogee_0.99.h.

#define LED_2_GPIO_OFF   gpio_set

Definition at line 33 of file apogee_0.99.h.

#define LED_2_GPIO_ON   gpio_clear

Definition at line 32 of file apogee_0.99.h.

#define LED_2_GPIO_PIN   GPIO13

Definition at line 31 of file apogee_0.99.h.

#define PPM_CC_IE   TIM_DIER_CC1IE

Definition at line 282 of file apogee_0.99.h.

Referenced by ppm_arch_init().

#define PPM_CC_IF   TIM_SR_CC1IF

Definition at line 283 of file apogee_0.99.h.

#define PPM_CHANNEL   TIM_IC1

Definition at line 277 of file apogee_0.99.h.

Referenced by ppm_arch_init().

#define PPM_GPIO_AF   GPIO_AF1

Definition at line 286 of file apogee_0.99.h.

Referenced by ppm_arch_init().

#define PPM_GPIO_PIN   GPIO8

Definition at line 285 of file apogee_0.99.h.

Referenced by ppm_arch_init().

#define PPM_GPIO_PORT   GPIOA

Definition at line 284 of file apogee_0.99.h.

Referenced by ppm_arch_init().

#define PPM_IRQ   NVIC_TIM1_CC_IRQ

Definition at line 279 of file apogee_0.99.h.

Referenced by ppm_arch_init().

#define PPM_IRQ2   NVIC_TIM1_UP_TIM10_IRQ

Definition at line 280 of file apogee_0.99.h.

Referenced by ppm_arch_init().

#define PPM_TIMER_INPUT   TIM_IC_IN_TI1

Definition at line 278 of file apogee_0.99.h.

Referenced by ppm_arch_init().

#define PWM_SERVO_0   0

Definition at line 190 of file apogee_0.99.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_0_AF   GPIO_AF1

Definition at line 195 of file apogee_0.99.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_0_GPIO   GPIOA

Definition at line 193 of file apogee_0.99.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_0_OC   TIM_OC4

Definition at line 196 of file apogee_0.99.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_0_OC_BIT   (1<<3)

Definition at line 197 of file apogee_0.99.h.

#define PWM_SERVO_0_PIN   GPIO3

Definition at line 194 of file apogee_0.99.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_0_RCC_IOP   RCC_AHB1ENR_IOPAEN

Definition at line 192 of file apogee_0.99.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_0_TIMER   TIM2

Definition at line 191 of file apogee_0.99.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_1   1

Definition at line 203 of file apogee_0.99.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_1_AF   GPIO_AF1

Definition at line 208 of file apogee_0.99.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_1_GPIO   GPIOA

Definition at line 206 of file apogee_0.99.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_1_OC   TIM_OC3

Definition at line 209 of file apogee_0.99.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_1_OC_BIT   (1<<2)

Definition at line 210 of file apogee_0.99.h.

#define PWM_SERVO_1_PIN   GPIO2

Definition at line 207 of file apogee_0.99.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_1_RCC_IOP   RCC_AHB1ENR_IOPAEN

Definition at line 205 of file apogee_0.99.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_1_TIMER   TIM2

Definition at line 204 of file apogee_0.99.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_2   2

Definition at line 216 of file apogee_0.99.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_2_AF   GPIO_AF2

Definition at line 221 of file apogee_0.99.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_2_GPIO   GPIOB

Definition at line 219 of file apogee_0.99.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_2_OC   TIM_OC2

Definition at line 222 of file apogee_0.99.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_2_OC_BIT   (1<<1)

Definition at line 223 of file apogee_0.99.h.

#define PWM_SERVO_2_PIN   GPIO5

Definition at line 220 of file apogee_0.99.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_2_RCC_IOP   RCC_AHB1ENR_IOPBEN

Definition at line 218 of file apogee_0.99.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_2_TIMER   TIM3

Definition at line 217 of file apogee_0.99.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_3_AF   GPIO_AF2

Definition at line 234 of file apogee_0.99.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_3_GPIO   GPIOB

Definition at line 232 of file apogee_0.99.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_3_IDX   3

Definition at line 229 of file apogee_0.99.h.

#define PWM_SERVO_3_OC   TIM_OC1

Definition at line 235 of file apogee_0.99.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_3_OC_BIT   (1<<0)

Definition at line 236 of file apogee_0.99.h.

#define PWM_SERVO_3_PIN   GPIO4

Definition at line 233 of file apogee_0.99.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_3_RCC_IOP   RCC_AHB1ENR_IOPBEN

Definition at line 231 of file apogee_0.99.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_3_TIMER   TIM3

Definition at line 230 of file apogee_0.99.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_4   4

Definition at line 242 of file apogee_0.99.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_4_AF   GPIO_AF1

Definition at line 247 of file apogee_0.99.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_4_GPIO   GPIOB

Definition at line 245 of file apogee_0.99.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_4_OC   TIM_OC2

Definition at line 248 of file apogee_0.99.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_4_OC_BIT   (1<<1)

Definition at line 249 of file apogee_0.99.h.

#define PWM_SERVO_4_PIN   GPIO3

Definition at line 246 of file apogee_0.99.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_4_RCC_IOP   RCC_AHB1ENR_IOPBEN

Definition at line 244 of file apogee_0.99.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_4_TIMER   TIM2

Definition at line 243 of file apogee_0.99.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_5   5

Definition at line 255 of file apogee_0.99.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_5_AF   GPIO_AF1

Definition at line 260 of file apogee_0.99.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_5_GPIO   GPIOA

Definition at line 258 of file apogee_0.99.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_5_OC   TIM_OC1

Definition at line 261 of file apogee_0.99.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_5_OC_BIT   (1<<0)

Definition at line 262 of file apogee_0.99.h.

#define PWM_SERVO_5_PIN   GPIO15

Definition at line 259 of file apogee_0.99.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_5_RCC_IOP   RCC_AHB1ENR_IOPAEN

Definition at line 257 of file apogee_0.99.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_5_TIMER   TIM2

Definition at line 256 of file apogee_0.99.h.

Referenced by actuators_pwm_commit().

Definition at line 269 of file apogee_0.99.h.

Referenced by actuators_pwm_arch_init().

#define PWM_TIM3_CHAN_MASK   (PWM_SERVO_2_OC_BIT|PWM_SERVO_3_OC_BIT)

Definition at line 270 of file apogee_0.99.h.

Referenced by actuators_pwm_arch_init().

#define PWM_USE_TIM2   1

Definition at line 178 of file apogee_0.99.h.

#define PWM_USE_TIM3   1

Definition at line 179 of file apogee_0.99.h.

#define SPEKTRUM_BIND_PIN   GPIO8

Definition at line 292 of file apogee_0.99.h.

Referenced by radio_control_spektrum_try_bind().

#define SPEKTRUM_BIND_PIN_PORT   GPIOA

Definition at line 293 of file apogee_0.99.h.

Referenced by radio_control_spektrum_try_bind().

#define SPEKTRUM_UART2_AF   GPIO_AF7

Definition at line 299 of file apogee_0.99.h.

#define SPEKTRUM_UART2_BANK   GPIOA

Definition at line 297 of file apogee_0.99.h.

#define SPEKTRUM_UART2_DEV   USART2

Definition at line 302 of file apogee_0.99.h.

#define SPEKTRUM_UART2_IRQ   NVIC_USART2_IRQ

Definition at line 300 of file apogee_0.99.h.

#define SPEKTRUM_UART2_ISR   usart2_isr

Definition at line 301 of file apogee_0.99.h.

#define SPEKTRUM_UART2_PIN   GPIO3

Definition at line 298 of file apogee_0.99.h.

#define SPEKTRUM_UART2_RCC_DEV   RCC_APB1ENR_USART2EN

Definition at line 296 of file apogee_0.99.h.

#define SPEKTRUM_UART2_RCC_REG   &RCC_APB1ENR

Definition at line 295 of file apogee_0.99.h.

#define SPI_SELECT_SLAVE2_PIN   GPIO12

Definition at line 163 of file apogee_0.99.h.

Referenced by spi_init_slaves(), SpiSlaveSelect(), and SpiSlaveUnselect().

#define SPI_SELECT_SLAVE2_PORT   GPIOB

Definition at line 162 of file apogee_0.99.h.

Referenced by spi_init_slaves(), SpiSlaveSelect(), and SpiSlaveUnselect().

#define UART1_GPIO_AF   GPIO_AF7

Definition at line 45 of file apogee_0.99.h.

#define UART1_GPIO_PORT_RX   GPIOA

Definition at line 46 of file apogee_0.99.h.

#define UART1_GPIO_PORT_TX   GPIOB

Definition at line 48 of file apogee_0.99.h.

#define UART1_GPIO_RX   GPIO10

Definition at line 47 of file apogee_0.99.h.

#define UART1_GPIO_TX   GPIO6

Definition at line 49 of file apogee_0.99.h.

#define UART4_GPIO_AF   GPIO_AF8

Definition at line 51 of file apogee_0.99.h.

#define UART4_GPIO_PORT_RX   GPIOA

Definition at line 52 of file apogee_0.99.h.

#define UART4_GPIO_PORT_TX   GPIOA

Definition at line 54 of file apogee_0.99.h.

#define UART4_GPIO_RX   GPIO1

Definition at line 53 of file apogee_0.99.h.

#define UART4_GPIO_TX   GPIO0

Definition at line 55 of file apogee_0.99.h.

#define UART6_GPIO_AF   GPIO_AF8

Definition at line 57 of file apogee_0.99.h.

#define UART6_GPIO_PORT_RX   GPIOC

Definition at line 58 of file apogee_0.99.h.

#define UART6_GPIO_PORT_TX   GPIOC

Definition at line 60 of file apogee_0.99.h.

#define UART6_GPIO_RX   GPIO7

Definition at line 59 of file apogee_0.99.h.

#define UART6_GPIO_TX   GPIO6

Definition at line 61 of file apogee_0.99.h.

#define USE_AD1   1

Definition at line 73 of file apogee_0.99.h.

#define USE_AD1_4   1

Definition at line 121 of file apogee_0.99.h.

Referenced by adc_init().

#define USE_AD_TIM4   1

Definition at line 65 of file apogee_0.99.h.

#define USE_LED_1   1

Definition at line 16 of file apogee_0.99.h.

#define USE_LED_2   1

Definition at line 27 of file apogee_0.99.h.

#define USE_PPM_TIM1   1

Definition at line 275 of file apogee_0.99.h.

#define USE_PWM0   1

Definition at line 181 of file apogee_0.99.h.

#define USE_PWM1   1

Definition at line 182 of file apogee_0.99.h.

#define USE_PWM2   1

Definition at line 183 of file apogee_0.99.h.

#define USE_PWM3   1

Definition at line 184 of file apogee_0.99.h.

#define USE_PWM4   1

Definition at line 185 of file apogee_0.99.h.

#define USE_PWM5   1

Definition at line 186 of file apogee_0.99.h.