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
krooz_sd.h File Reference

Go to the source code of this file.

Macros

#define BOARD_KROOZ
 
#define EXT_CLK   12000000
 
#define AHB_CLK   168000000
 
#define USE_LED_1   1
 
#define LED_1_GPIO   GPIOA
 
#define LED_1_GPIO_CLK   RCC_AHB1ENR_IOPAEN
 
#define LED_1_GPIO_PIN   GPIO13
 
#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   GPIOA
 
#define LED_2_GPIO_CLK   RCC_AHB1ENR_IOPAEN
 
#define LED_2_GPIO_PIN   GPIO14
 
#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   GPIOA
 
#define LED_3_GPIO_CLK   RCC_AHB1ENR_IOPAEN
 
#define LED_3_GPIO_PIN   GPIO15
 
#define LED_3_GPIO_ON   gpio_clear
 
#define LED_3_GPIO_OFF   gpio_set
 
#define LED_3_AFIO_REMAP   ((void)0)
 
#define CAM_SW_GPIO   GPIOB
 
#define CAM_SW_GPIO_CLK   RCC_AHB1ENR_IOPBEN
 
#define CAM_SW_GPIO_PIN   GPIO4
 
#define CAM_SW_AFIO_REMAP   ((void)0)
 
#define CAM_SH_GPIO   GPIOC
 
#define CAM_SH_GPIO_CLK   RCC_AHB1ENR_IOPCEN
 
#define CAM_SH_GPIO_PIN   GPIO2
 
#define CAM_SH_AFIO_REMAP   ((void)0)
 
#define CAM_V_GPIO   GPIOC
 
#define CAM_V_GPIO_CLK   RCC_AHB1ENR_IOPCEN
 
#define CAM_V_GPIO_PIN   GPIO15
 
#define CAM_V_AFIO_REMAP   ((void)0)
 
#define BEEPER_GPIO   GPIOC
 
#define BEEPER_GPIO_CLK   RCC_AHB1ENR_IOPCEN
 
#define BEEPER_GPIO_PIN   GPIO14
 
#define BEEPER_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.008874*adc)
 
#define UART1_GPIO_AF   GPIO_AF7
 
#define UART1_GPIO_PORT_RX   GPIOA
 
#define UART1_GPIO_RX   GPIO10
 
#define UART1_GPIO_PORT_TX   GPIOA
 
#define UART1_GPIO_TX   GPIO9
 
#define UART3_GPIO_AF   GPIO_AF7
 
#define UART3_GPIO_PORT_RX   GPIOC
 
#define UART3_GPIO_RX   GPIO11
 
#define UART3_GPIO_PORT_TX   GPIOC
 
#define UART3_GPIO_TX   GPIO10
 
#define UART5_GPIO_AF   GPIO_AF8
 
#define UART5_GPIO_PORT_RX   GPIOD
 
#define UART5_GPIO_RX   GPIO2
 
#define UART5_GPIO_PORT_TX   GPIOC
 
#define UART5_GPIO_TX   GPIO12
 
#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_AD_TIM1   1
 
#define BOARD_ADC_CHANNEL_1   12
 
#define BOARD_ADC_CHANNEL_2   10
 
#define BOARD_ADC_CHANNEL_3   11
 
#define BOARD_ADC_CHANNEL_4   13
 
#define BOARD_ADC_CHANNEL_5   14
 
#define BOARD_ADC_CHANNEL_6   15
 
#define ADC_CHANNEL_VSUPPLY   ADC_4
 
#define ADC_CHANNEL_CAM1   ADC_1
 
#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_IOPCEN
 
#define ADC_4_INIT()   gpio_mode_setup(GPIOC, GPIO_MODE_ANALOG, GPIO_PUPD_NONE, GPIO3)
 
#define USE_AD1_4   1
 
#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 GPIO_I2C1_SCL   GPIO8
 
#define GPIO_I2C1_SDA   GPIO9
 
#define GPIO_I2C2_SCL   GPIO10
 
#define GPIO_I2C2_SDA   GPIO11
 
#define GPIO_I2C3_SCL   GPIO8
 
#define GPIO_I2C3_SDA   GPIO9
 
#define BOARD_HAS_BARO   1
 
#define PWM_USE_TIM3   1
 
#define PWM_USE_TIM4   1
 
#define PWM_USE_TIM5   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 USE_PWM6   1
 
#define USE_PWM7   1
 
#define USE_PWM8   1
 
#define USE_PWM9   1
 
#define ACTUATORS_PWM_NB   10
 
#define PWM_SERVO_0   0
 
#define PWM_SERVO_0_TIMER   TIM3
 
#define PWM_SERVO_0_RCC_IOP   RCC_AHB1ENR_IOPCEN
 
#define PWM_SERVO_0_GPIO   GPIOC
 
#define PWM_SERVO_0_PIN   GPIO6
 
#define PWM_SERVO_0_AF   GPIO_AF1
 
#define PWM_SERVO_0_OC   TIM_OC1
 
#define PWM_SERVO_0_OC_BIT   (1<<0)
 
#define PWM_SERVO_1   1
 
#define PWM_SERVO_1_TIMER   TIM3
 
#define PWM_SERVO_1_RCC_IOP   RCC_AHB1ENR_IOPCEN
 
#define PWM_SERVO_1_GPIO   GPIOC
 
#define PWM_SERVO_1_PIN   GPIO7
 
#define PWM_SERVO_1_AF   GPIO_AF1
 
#define PWM_SERVO_1_OC   TIM_OC2
 
#define PWM_SERVO_1_OC_BIT   (1<<1)
 
#define PWM_SERVO_2   2
 
#define PWM_SERVO_2_TIMER   TIM3
 
#define PWM_SERVO_2_RCC_IOP   RCC_AHB1ENR_IOPCEN
 
#define PWM_SERVO_2_GPIO   GPIOC
 
#define PWM_SERVO_2_PIN   GPIO8
 
#define PWM_SERVO_2_AF   GPIO_AF1
 
#define PWM_SERVO_2_OC   TIM_OC3
 
#define PWM_SERVO_2_OC_BIT   (1<<2)
 
#define PWM_SERVO_3_IDX   3
 
#define PWM_SERVO_3_TIMER   TIM3
 
#define PWM_SERVO_3_RCC_IOP   RCC_AHB1ENR_IOPCEN
 
#define PWM_SERVO_3_GPIO   GPIOC
 
#define PWM_SERVO_3_PIN   GPIO9
 
#define PWM_SERVO_3_AF   GPIO_AF1
 
#define PWM_SERVO_3_OC   TIM_OC4
 
#define PWM_SERVO_3_OC_BIT   (1<<3)
 
#define PWM_SERVO_4   4
 
#define PWM_SERVO_4_TIMER   TIM4
 
#define PWM_SERVO_4_RCC_IOP   RCC_AHB1ENR_IOPBEN
 
#define PWM_SERVO_4_GPIO   GPIOB
 
#define PWM_SERVO_4_PIN   GPIO6
 
#define PWM_SERVO_4_AF   GPIO_AF1
 
#define PWM_SERVO_4_OC   TIM_OC1
 
#define PWM_SERVO_4_OC_BIT   (1<<0)
 
#define PWM_SERVO_5   5
 
#define PWM_SERVO_5_TIMER   TIM4
 
#define PWM_SERVO_5_RCC_IOP   RCC_AHB1ENR_IOPBEN
 
#define PWM_SERVO_5_GPIO   GPIOB
 
#define PWM_SERVO_5_PIN   GPIO7
 
#define PWM_SERVO_5_AF   GPIO_AF1
 
#define PWM_SERVO_5_OC   TIM_OC2
 
#define PWM_SERVO_5_OC_BIT   (1<<1)
 
#define PWM_SERVO_6   6
 
#define PWM_SERVO_6_TIMER   TIM5
 
#define PWM_SERVO_6_RCC_IOP   RCC_AHB1ENR_IOPAEN
 
#define PWM_SERVO_6_GPIO   GPIOA
 
#define PWM_SERVO_6_PIN   GPIO0
 
#define PWM_SERVO_6_AF   GPIO_AF1
 
#define PWM_SERVO_6_OC   TIM_OC1
 
#define PWM_SERVO_6_OC_BIT   (1<<0)
 
#define PWM_SERVO_7   7
 
#define PWM_SERVO_7_TIMER   TIM5
 
#define PWM_SERVO_7_RCC_IOP   RCC_AHB1ENR_IOPAEN
 
#define PWM_SERVO_7_GPIO   GPIOA
 
#define PWM_SERVO_7_PIN   GPIO1
 
#define PWM_SERVO_7_AF   GPIO_AF1
 
#define PWM_SERVO_7_OC   TIM_OC2
 
#define PWM_SERVO_7_OC_BIT   (1<<1)
 
#define PWM_SERVO_8   8
 
#define PWM_SERVO_8_TIMER   TIM5
 
#define PWM_SERVO_8_RCC_IOP   RCC_AHB1ENR_IOPAEN
 
#define PWM_SERVO_8_GPIO   GPIOA
 
#define PWM_SERVO_8_PIN   GPIO2
 
#define PWM_SERVO_8_AF   GPIO_AF1
 
#define PWM_SERVO_8_OC   TIM_OC3
 
#define PWM_SERVO_8_OC_BIT   (1<<2)
 
#define PWM_SERVO_9   9
 
#define PWM_SERVO_9_TIMER   TIM5
 
#define PWM_SERVO_9_RCC_IOP   RCC_AHB1ENR_IOPAEN
 
#define PWM_SERVO_9_GPIO   GPIOA
 
#define PWM_SERVO_9_PIN   GPIO3
 
#define PWM_SERVO_9_AF   GPIO_AF1
 
#define PWM_SERVO_9_OC   TIM_OC4
 
#define PWM_SERVO_9_OC_BIT   (1<<3)
 
#define PWM_SERVO_10_OC_BIT   0
 
#define PWM_TIM2_CHAN_MASK   (PWM_SERVO_10_OC_BIT)
 
#define PWM_TIM3_CHAN_MASK   (PWM_SERVO_0_OC_BIT|PWM_SERVO_1_OC_BIT|PWM_SERVO_2_OC_BIT|PWM_SERVO_3_OC_BIT)
 
#define PWM_TIM4_CHAN_MASK   (PWM_SERVO_4_OC_BIT|PWM_SERVO_5_OC_BIT)
 
#define PWM_TIM5_CHAN_MASK   (PWM_SERVO_6_OC_BIT|PWM_SERVO_7_OC_BIT|PWM_SERVO_8_OC_BIT|PWM_SERVO_9_OC_BIT)
 
#define USE_PPM_TIM2   1
 
#define PPM_CHANNEL   TIM_IC2
 
#define PPM_TIMER_INPUT   TIM_IC_IN_TI2
 
#define PPM_IRQ   NVIC_TIM2_IRQ
 
#define PPM_CC_EN   TIM_DIER_CC2IE
 
#define PPM_CC_IF   TIM_SR_CC2IF
 
#define PPM_GPIO_PORT   GPIOB
 
#define PPM_GPIO_PIN   GPIO3
 
#define PPM_GPIO_AF   GPIO_AF1
 
#define SPEKTRUM_BIND_PIN   GPIO8
 
#define SPEKTRUM_BIND_PIN_PORT   GPIOA
 

Macro Definition Documentation

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

Definition at line 77 of file krooz_sd.h.

#define ACTUATORS_PWM_NB   10

Definition at line 230 of file krooz_sd.h.

#define ActuatorsDefaultCommit ( )    ActuatorsPwmCommit()

Definition at line 79 of file krooz_sd.h.

#define ActuatorsDefaultInit ( )    ActuatorsPwmInit()

Definition at line 78 of file krooz_sd.h.

#define ADC1_GPIO_INIT (   gpio)
Value:
{ \
}
#define ADC_4_INIT()
Definition: krooz_sd.h:181
#define ADC_1_INIT()
Definition: krooz_sd.h:150
#define ADC_2_INIT()
Definition: krooz_sd.h:162
#define ADC_3_INIT()
Definition: krooz_sd.h:174

Definition at line 192 of file krooz_sd.h.

#define ADC_1   ADC1_C1

Definition at line 141 of file krooz_sd.h.

#define ADC_1_GPIO_CLOCK_PORT   0

Definition at line 149 of file krooz_sd.h.

#define ADC_1_INIT ( )    {}

Definition at line 150 of file krooz_sd.h.

#define ADC_2   ADC1_C2

Definition at line 153 of file krooz_sd.h.

#define ADC_2_GPIO_CLOCK_PORT   0

Definition at line 161 of file krooz_sd.h.

#define ADC_2_INIT ( )    {}

Definition at line 162 of file krooz_sd.h.

#define ADC_3   ADC1_C3

Definition at line 165 of file krooz_sd.h.

#define ADC_3_GPIO_CLOCK_PORT   0

Definition at line 173 of file krooz_sd.h.

#define ADC_3_INIT ( )    {}

Definition at line 174 of file krooz_sd.h.

#define ADC_4   ADC1_C4

Definition at line 177 of file krooz_sd.h.

#define ADC_4_GPIO_CLOCK_PORT   RCC_AHB1ENR_IOPCEN

Definition at line 180 of file krooz_sd.h.

#define ADC_4_INIT ( )    gpio_mode_setup(GPIOC, GPIO_MODE_ANALOG, GPIO_PUPD_NONE, GPIO3)

Definition at line 181 of file krooz_sd.h.

#define ADC_CHANNEL_CAM1   ADC_1

Definition at line 132 of file krooz_sd.h.

#define ADC_CHANNEL_VSUPPLY   ADC_4

Definition at line 129 of file krooz_sd.h.

Definition at line 189 of file krooz_sd.h.

#define AHB_CLK   168000000

Definition at line 8 of file krooz_sd.h.

#define BEEPER_AFIO_REMAP   ((void)0)

Definition at line 72 of file krooz_sd.h.

#define BEEPER_GPIO   GPIOC

Definition at line 69 of file krooz_sd.h.

#define BEEPER_GPIO_CLK   RCC_AHB1ENR_IOPCEN

Definition at line 70 of file krooz_sd.h.

#define BEEPER_GPIO_PIN   GPIO14

Definition at line 71 of file krooz_sd.h.

#define BOARD_ADC_CHANNEL_1   12

Definition at line 116 of file krooz_sd.h.

#define BOARD_ADC_CHANNEL_2   10

Definition at line 117 of file krooz_sd.h.

#define BOARD_ADC_CHANNEL_3   11

Definition at line 118 of file krooz_sd.h.

#define BOARD_ADC_CHANNEL_4   13

Definition at line 119 of file krooz_sd.h.

#define BOARD_ADC_CHANNEL_5   14

Definition at line 120 of file krooz_sd.h.

#define BOARD_ADC_CHANNEL_6   15

Definition at line 121 of file krooz_sd.h.

#define BOARD_HAS_BARO   1

Definition at line 210 of file krooz_sd.h.

#define BOARD_KROOZ

Definition at line 4 of file krooz_sd.h.

#define CAM_SH_AFIO_REMAP   ((void)0)

Definition at line 61 of file krooz_sd.h.

#define CAM_SH_GPIO   GPIOC

Definition at line 58 of file krooz_sd.h.

#define CAM_SH_GPIO_CLK   RCC_AHB1ENR_IOPCEN

Definition at line 59 of file krooz_sd.h.

#define CAM_SH_GPIO_PIN   GPIO2

Definition at line 60 of file krooz_sd.h.

#define CAM_SW_AFIO_REMAP   ((void)0)

Definition at line 55 of file krooz_sd.h.

#define CAM_SW_GPIO   GPIOB

Definition at line 52 of file krooz_sd.h.

#define CAM_SW_GPIO_CLK   RCC_AHB1ENR_IOPBEN

Definition at line 53 of file krooz_sd.h.

#define CAM_SW_GPIO_PIN   GPIO4

Definition at line 54 of file krooz_sd.h.

#define CAM_V_AFIO_REMAP   ((void)0)

Definition at line 67 of file krooz_sd.h.

#define CAM_V_GPIO   GPIOC

Definition at line 64 of file krooz_sd.h.

#define CAM_V_GPIO_CLK   RCC_AHB1ENR_IOPCEN

Definition at line 65 of file krooz_sd.h.

#define CAM_V_GPIO_PIN   GPIO15

Definition at line 66 of file krooz_sd.h.

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

Definition at line 76 of file krooz_sd.h.

#define DefaultVoltageOfAdc (   adc)    (0.008874*adc)

Definition at line 81 of file krooz_sd.h.

#define EXT_CLK   12000000

Definition at line 7 of file krooz_sd.h.

#define GPIO_I2C1_SCL   GPIO8

Definition at line 202 of file krooz_sd.h.

#define GPIO_I2C1_SDA   GPIO9

Definition at line 203 of file krooz_sd.h.

#define GPIO_I2C2_SCL   GPIO10

Definition at line 204 of file krooz_sd.h.

#define GPIO_I2C2_SDA   GPIO11

Definition at line 205 of file krooz_sd.h.

#define GPIO_I2C3_SCL   GPIO8

Definition at line 206 of file krooz_sd.h.

#define GPIO_I2C3_SDA   GPIO9

Definition at line 207 of file krooz_sd.h.

#define I2C1_GPIO_PORT   GPIOB

Definition at line 104 of file krooz_sd.h.

#define I2C1_GPIO_SCL   GPIO8

Definition at line 105 of file krooz_sd.h.

#define I2C1_GPIO_SDA   GPIO7

Definition at line 106 of file krooz_sd.h.

#define I2C2_GPIO_PORT   GPIOB

Definition at line 108 of file krooz_sd.h.

#define I2C2_GPIO_SCL   GPIO10

Definition at line 109 of file krooz_sd.h.

#define I2C2_GPIO_SDA   GPIO11

Definition at line 110 of file krooz_sd.h.

#define LED_1_AFIO_REMAP   ((void)0)

Definition at line 23 of file krooz_sd.h.

#define LED_1_GPIO   GPIOA

Definition at line 18 of file krooz_sd.h.

#define LED_1_GPIO_CLK   RCC_AHB1ENR_IOPAEN

Definition at line 19 of file krooz_sd.h.

#define LED_1_GPIO_OFF   gpio_set

Definition at line 22 of file krooz_sd.h.

#define LED_1_GPIO_ON   gpio_clear

Definition at line 21 of file krooz_sd.h.

#define LED_1_GPIO_PIN   GPIO13

Definition at line 20 of file krooz_sd.h.

#define LED_2_AFIO_REMAP   ((void)0)

Definition at line 34 of file krooz_sd.h.

#define LED_2_GPIO   GPIOA

Definition at line 29 of file krooz_sd.h.

#define LED_2_GPIO_CLK   RCC_AHB1ENR_IOPAEN

Definition at line 30 of file krooz_sd.h.

#define LED_2_GPIO_OFF   gpio_set

Definition at line 33 of file krooz_sd.h.

#define LED_2_GPIO_ON   gpio_clear

Definition at line 32 of file krooz_sd.h.

#define LED_2_GPIO_PIN   GPIO14

Definition at line 31 of file krooz_sd.h.

#define LED_3_AFIO_REMAP   ((void)0)

Definition at line 45 of file krooz_sd.h.

#define LED_3_GPIO   GPIOA

Definition at line 40 of file krooz_sd.h.

#define LED_3_GPIO_CLK   RCC_AHB1ENR_IOPAEN

Definition at line 41 of file krooz_sd.h.

#define LED_3_GPIO_OFF   gpio_set

Definition at line 44 of file krooz_sd.h.

#define LED_3_GPIO_ON   gpio_clear

Definition at line 43 of file krooz_sd.h.

#define LED_3_GPIO_PIN   GPIO15

Definition at line 42 of file krooz_sd.h.

#define PPM_CC_EN   TIM_DIER_CC2IE

Definition at line 390 of file krooz_sd.h.

#define PPM_CC_IF   TIM_SR_CC2IF

Definition at line 391 of file krooz_sd.h.

#define PPM_CHANNEL   TIM_IC2

Definition at line 385 of file krooz_sd.h.

#define PPM_GPIO_AF   GPIO_AF1

Definition at line 394 of file krooz_sd.h.

#define PPM_GPIO_PIN   GPIO3

Definition at line 393 of file krooz_sd.h.

#define PPM_GPIO_PORT   GPIOB

Definition at line 392 of file krooz_sd.h.

#define PPM_IRQ   NVIC_TIM2_IRQ

Definition at line 387 of file krooz_sd.h.

#define PPM_TIMER_INPUT   TIM_IC_IN_TI2

Definition at line 386 of file krooz_sd.h.

#define PWM_SERVO_0   0

Definition at line 234 of file krooz_sd.h.

#define PWM_SERVO_0_AF   GPIO_AF1

Definition at line 239 of file krooz_sd.h.

#define PWM_SERVO_0_GPIO   GPIOC

Definition at line 237 of file krooz_sd.h.

#define PWM_SERVO_0_OC   TIM_OC1

Definition at line 240 of file krooz_sd.h.

#define PWM_SERVO_0_OC_BIT   (1<<0)

Definition at line 241 of file krooz_sd.h.

#define PWM_SERVO_0_PIN   GPIO6

Definition at line 238 of file krooz_sd.h.

#define PWM_SERVO_0_RCC_IOP   RCC_AHB1ENR_IOPCEN

Definition at line 236 of file krooz_sd.h.

#define PWM_SERVO_0_TIMER   TIM3

Definition at line 235 of file krooz_sd.h.

#define PWM_SERVO_1   1

Definition at line 247 of file krooz_sd.h.

#define PWM_SERVO_10_OC_BIT   0

Definition at line 373 of file krooz_sd.h.

#define PWM_SERVO_1_AF   GPIO_AF1

Definition at line 252 of file krooz_sd.h.

#define PWM_SERVO_1_GPIO   GPIOC

Definition at line 250 of file krooz_sd.h.

#define PWM_SERVO_1_OC   TIM_OC2

Definition at line 253 of file krooz_sd.h.

#define PWM_SERVO_1_OC_BIT   (1<<1)

Definition at line 254 of file krooz_sd.h.

#define PWM_SERVO_1_PIN   GPIO7

Definition at line 251 of file krooz_sd.h.

#define PWM_SERVO_1_RCC_IOP   RCC_AHB1ENR_IOPCEN

Definition at line 249 of file krooz_sd.h.

#define PWM_SERVO_1_TIMER   TIM3

Definition at line 248 of file krooz_sd.h.

#define PWM_SERVO_2   2

Definition at line 260 of file krooz_sd.h.

#define PWM_SERVO_2_AF   GPIO_AF1

Definition at line 265 of file krooz_sd.h.

#define PWM_SERVO_2_GPIO   GPIOC

Definition at line 263 of file krooz_sd.h.

#define PWM_SERVO_2_OC   TIM_OC3

Definition at line 266 of file krooz_sd.h.

#define PWM_SERVO_2_OC_BIT   (1<<2)

Definition at line 267 of file krooz_sd.h.

#define PWM_SERVO_2_PIN   GPIO8

Definition at line 264 of file krooz_sd.h.

#define PWM_SERVO_2_RCC_IOP   RCC_AHB1ENR_IOPCEN

Definition at line 262 of file krooz_sd.h.

#define PWM_SERVO_2_TIMER   TIM3

Definition at line 261 of file krooz_sd.h.

#define PWM_SERVO_3_AF   GPIO_AF1

Definition at line 278 of file krooz_sd.h.

#define PWM_SERVO_3_GPIO   GPIOC

Definition at line 276 of file krooz_sd.h.

#define PWM_SERVO_3_IDX   3

Definition at line 273 of file krooz_sd.h.

#define PWM_SERVO_3_OC   TIM_OC4

Definition at line 279 of file krooz_sd.h.

#define PWM_SERVO_3_OC_BIT   (1<<3)

Definition at line 280 of file krooz_sd.h.

#define PWM_SERVO_3_PIN   GPIO9

Definition at line 277 of file krooz_sd.h.

#define PWM_SERVO_3_RCC_IOP   RCC_AHB1ENR_IOPCEN

Definition at line 275 of file krooz_sd.h.

#define PWM_SERVO_3_TIMER   TIM3

Definition at line 274 of file krooz_sd.h.

#define PWM_SERVO_4   4

Definition at line 286 of file krooz_sd.h.

#define PWM_SERVO_4_AF   GPIO_AF1

Definition at line 291 of file krooz_sd.h.

#define PWM_SERVO_4_GPIO   GPIOB

Definition at line 289 of file krooz_sd.h.

#define PWM_SERVO_4_OC   TIM_OC1

Definition at line 292 of file krooz_sd.h.

#define PWM_SERVO_4_OC_BIT   (1<<0)

Definition at line 293 of file krooz_sd.h.

#define PWM_SERVO_4_PIN   GPIO6

Definition at line 290 of file krooz_sd.h.

#define PWM_SERVO_4_RCC_IOP   RCC_AHB1ENR_IOPBEN

Definition at line 288 of file krooz_sd.h.

#define PWM_SERVO_4_TIMER   TIM4

Definition at line 287 of file krooz_sd.h.

#define PWM_SERVO_5   5

Definition at line 299 of file krooz_sd.h.

#define PWM_SERVO_5_AF   GPIO_AF1

Definition at line 304 of file krooz_sd.h.

#define PWM_SERVO_5_GPIO   GPIOB

Definition at line 302 of file krooz_sd.h.

#define PWM_SERVO_5_OC   TIM_OC2

Definition at line 305 of file krooz_sd.h.

#define PWM_SERVO_5_OC_BIT   (1<<1)

Definition at line 306 of file krooz_sd.h.

#define PWM_SERVO_5_PIN   GPIO7

Definition at line 303 of file krooz_sd.h.

#define PWM_SERVO_5_RCC_IOP   RCC_AHB1ENR_IOPBEN

Definition at line 301 of file krooz_sd.h.

#define PWM_SERVO_5_TIMER   TIM4

Definition at line 300 of file krooz_sd.h.

#define PWM_SERVO_6   6

Definition at line 312 of file krooz_sd.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_6_AF   GPIO_AF1

Definition at line 317 of file krooz_sd.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_6_GPIO   GPIOA

Definition at line 315 of file krooz_sd.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_6_OC   TIM_OC1

Definition at line 318 of file krooz_sd.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_6_OC_BIT   (1<<0)

Definition at line 319 of file krooz_sd.h.

#define PWM_SERVO_6_PIN   GPIO0

Definition at line 316 of file krooz_sd.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_6_RCC_IOP   RCC_AHB1ENR_IOPAEN

Definition at line 314 of file krooz_sd.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_6_TIMER   TIM5

Definition at line 313 of file krooz_sd.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_7   7

Definition at line 325 of file krooz_sd.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_7_AF   GPIO_AF1

Definition at line 330 of file krooz_sd.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_7_GPIO   GPIOA

Definition at line 328 of file krooz_sd.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_7_OC   TIM_OC2

Definition at line 331 of file krooz_sd.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_7_OC_BIT   (1<<1)

Definition at line 332 of file krooz_sd.h.

#define PWM_SERVO_7_PIN   GPIO1

Definition at line 329 of file krooz_sd.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_7_RCC_IOP   RCC_AHB1ENR_IOPAEN

Definition at line 327 of file krooz_sd.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_7_TIMER   TIM5

Definition at line 326 of file krooz_sd.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_8   8

Definition at line 338 of file krooz_sd.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_8_AF   GPIO_AF1

Definition at line 343 of file krooz_sd.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_8_GPIO   GPIOA

Definition at line 341 of file krooz_sd.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_8_OC   TIM_OC3

Definition at line 344 of file krooz_sd.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_8_OC_BIT   (1<<2)

Definition at line 345 of file krooz_sd.h.

#define PWM_SERVO_8_PIN   GPIO2

Definition at line 342 of file krooz_sd.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_8_RCC_IOP   RCC_AHB1ENR_IOPAEN

Definition at line 340 of file krooz_sd.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_8_TIMER   TIM5

Definition at line 339 of file krooz_sd.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_9   9

Definition at line 351 of file krooz_sd.h.

#define PWM_SERVO_9_AF   GPIO_AF1

Definition at line 356 of file krooz_sd.h.

#define PWM_SERVO_9_GPIO   GPIOA

Definition at line 354 of file krooz_sd.h.

#define PWM_SERVO_9_OC   TIM_OC4

Definition at line 357 of file krooz_sd.h.

#define PWM_SERVO_9_OC_BIT   (1<<3)

Definition at line 358 of file krooz_sd.h.

#define PWM_SERVO_9_PIN   GPIO3

Definition at line 355 of file krooz_sd.h.

#define PWM_SERVO_9_RCC_IOP   RCC_AHB1ENR_IOPAEN

Definition at line 353 of file krooz_sd.h.

#define PWM_SERVO_9_TIMER   TIM5

Definition at line 352 of file krooz_sd.h.

#define PWM_TIM2_CHAN_MASK   (PWM_SERVO_10_OC_BIT)

Definition at line 376 of file krooz_sd.h.

Definition at line 377 of file krooz_sd.h.

#define PWM_TIM4_CHAN_MASK   (PWM_SERVO_4_OC_BIT|PWM_SERVO_5_OC_BIT)

Definition at line 378 of file krooz_sd.h.

Referenced by actuators_pwm_arch_init().

Definition at line 379 of file krooz_sd.h.

Referenced by actuators_pwm_arch_init().

#define PWM_USE_TIM3   1

Definition at line 214 of file krooz_sd.h.

#define PWM_USE_TIM4   1

Definition at line 215 of file krooz_sd.h.

#define PWM_USE_TIM5   1

Definition at line 216 of file krooz_sd.h.

#define SPEKTRUM_BIND_PIN   GPIO8

Definition at line 400 of file krooz_sd.h.

#define SPEKTRUM_BIND_PIN_PORT   GPIOA

Definition at line 401 of file krooz_sd.h.

#define UART1_GPIO_AF   GPIO_AF7

Definition at line 84 of file krooz_sd.h.

#define UART1_GPIO_PORT_RX   GPIOA

Definition at line 85 of file krooz_sd.h.

#define UART1_GPIO_PORT_TX   GPIOA

Definition at line 87 of file krooz_sd.h.

#define UART1_GPIO_RX   GPIO10

Definition at line 86 of file krooz_sd.h.

#define UART1_GPIO_TX   GPIO9

Definition at line 88 of file krooz_sd.h.

#define UART3_GPIO_AF   GPIO_AF7

Definition at line 90 of file krooz_sd.h.

#define UART3_GPIO_PORT_RX   GPIOC

Definition at line 91 of file krooz_sd.h.

#define UART3_GPIO_PORT_TX   GPIOC

Definition at line 93 of file krooz_sd.h.

#define UART3_GPIO_RX   GPIO11

Definition at line 92 of file krooz_sd.h.

#define UART3_GPIO_TX   GPIO10

Definition at line 94 of file krooz_sd.h.

#define UART5_GPIO_AF   GPIO_AF8

Definition at line 96 of file krooz_sd.h.

#define UART5_GPIO_PORT_RX   GPIOD

Definition at line 97 of file krooz_sd.h.

#define UART5_GPIO_PORT_TX   GPIOC

Definition at line 99 of file krooz_sd.h.

#define UART5_GPIO_RX   GPIO2

Definition at line 98 of file krooz_sd.h.

#define UART5_GPIO_TX   GPIO12

Definition at line 100 of file krooz_sd.h.

#define USE_AD1   1

Definition at line 135 of file krooz_sd.h.

#define USE_AD1_4   1

Definition at line 183 of file krooz_sd.h.

#define USE_AD_TIM1   1

Definition at line 114 of file krooz_sd.h.

#define USE_LED_1   1

Definition at line 16 of file krooz_sd.h.

#define USE_LED_2   1

Definition at line 27 of file krooz_sd.h.

#define USE_LED_3   1

Definition at line 38 of file krooz_sd.h.

#define USE_PPM_TIM2   1

Definition at line 383 of file krooz_sd.h.

#define USE_PWM0   1

Definition at line 218 of file krooz_sd.h.

#define USE_PWM1   1

Definition at line 219 of file krooz_sd.h.

#define USE_PWM2   1

Definition at line 220 of file krooz_sd.h.

#define USE_PWM3   1

Definition at line 221 of file krooz_sd.h.

#define USE_PWM4   1

Definition at line 222 of file krooz_sd.h.

#define USE_PWM5   1

Definition at line 223 of file krooz_sd.h.

#define USE_PWM6   1

Definition at line 224 of file krooz_sd.h.

#define USE_PWM7   1

Definition at line 225 of file krooz_sd.h.

#define USE_PWM8   1

Definition at line 226 of file krooz_sd.h.

#define USE_PWM9   1

Definition at line 227 of file krooz_sd.h.