Paparazzi UAS  v5.15_devel-81-gd13dafb
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces 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_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_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_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_GPIOB
 
#define CAM_SW_GPIO_PIN   GPIO4
 
#define CAM_SW_AFIO_REMAP   ((void)0)
 
#define CAM_SH_GPIO   GPIOC
 
#define CAM_SH_GPIO_CLK   RCC_GPIOC
 
#define CAM_SH_GPIO_PIN   GPIO2
 
#define CAM_SH_AFIO_REMAP   ((void)0)
 
#define CAM_V_GPIO   GPIOC
 
#define CAM_V_GPIO_CLK   RCC_GPIOC
 
#define CAM_V_GPIO_PIN   GPIO15
 
#define CAM_V_AFIO_REMAP   ((void)0)
 
#define BEEPER_GPIO   GPIOC
 
#define BEEPER_GPIO_CLK   RCC_GPIOC
 
#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 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 SPI2_GPIO_AF   GPIO_AF5
 
#define SPI2_GPIO_PORT_MISO   GPIOB
 
#define SPI2_GPIO_MISO   GPIO14
 
#define SPI2_GPIO_PORT_MOSI   GPIOB
 
#define SPI2_GPIO_MOSI   GPIO15
 
#define SPI2_GPIO_PORT_SCK   GPIOB
 
#define SPI2_GPIO_SCK   GPIO13
 
#define SPI_SELECT_SLAVE0_PORT   GPIOA
 
#define SPI_SELECT_SLAVE0_PIN   GPIO4
 
#define SPI_SELECT_SLAVE1_PORT   GPIOB
 
#define SPI_SELECT_SLAVE1_PIN   GPIO12
 
#define SPI_SELECT_SLAVE2_PORT   GPIOB
 
#define SPI_SELECT_SLAVE2_PIN   GPIO2
 
#define I2C1_GPIO_PORT   GPIOB
 
#define I2C1_GPIO_SCL   GPIO8
 
#define I2C1_GPIO_SDA   GPIO9
 
#define I2C2_GPIO_PORT   GPIOB
 
#define I2C2_GPIO_SCL   GPIO10
 
#define I2C2_GPIO_SDA   GPIO11
 
#define I2C3_GPIO_PORT_SCL   GPIOA
 
#define I2C3_GPIO_PORT_SDA   GPIOC
 
#define I2C3_GPIO_SCL   GPIO8
 
#define I2C3_GPIO_SDA   GPIO9
 
#define USE_AD_TIM1   1
 
#define ADC_CHANNEL_VSUPPLY   ADC_4
 
#define ADC_CHANNEL_CAM1   ADC_1
 
#define USE_ADC_4   1
 
#define AD1_4_CHANNEL   13
 
#define ADC_4   AD1_4
 
#define ADC_4_GPIO_PORT   GPIOC
 
#define ADC_4_GPIO_PIN   GPIO3
 
#define USE_BARO_BOARD   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_GPIO   GPIOB
 
#define PWM_SERVO_0_PIN   GPIO1
 
#define PWM_SERVO_0_AF   GPIO_AF2
 
#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   TIM3
 
#define PWM_SERVO_1_GPIO   GPIOC
 
#define PWM_SERVO_1_PIN   GPIO8
 
#define PWM_SERVO_1_AF   GPIO_AF2
 
#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_GPIO   GPIOC
 
#define PWM_SERVO_2_PIN   GPIO7
 
#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   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 PWM_SERVO_4   4
 
#define PWM_SERVO_4_TIMER   TIM4
 
#define PWM_SERVO_4_GPIO   GPIOB
 
#define PWM_SERVO_4_PIN   GPIO7
 
#define PWM_SERVO_4_AF   GPIO_AF2
 
#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   TIM4
 
#define PWM_SERVO_5_GPIO   GPIOB
 
#define PWM_SERVO_5_PIN   GPIO6
 
#define PWM_SERVO_5_AF   GPIO_AF2
 
#define PWM_SERVO_5_OC   TIM_OC1
 
#define PWM_SERVO_5_OC_BIT   (1<<0)
 
#define PWM_SERVO_6   6
 
#define PWM_SERVO_6_TIMER   TIM5
 
#define PWM_SERVO_6_GPIO   GPIOA
 
#define PWM_SERVO_6_PIN   GPIO3
 
#define PWM_SERVO_6_AF   GPIO_AF2
 
#define PWM_SERVO_6_OC   TIM_OC4
 
#define PWM_SERVO_6_OC_BIT   (1<<3)
 
#define PWM_SERVO_7   7
 
#define PWM_SERVO_7_TIMER   TIM5
 
#define PWM_SERVO_7_GPIO   GPIOA
 
#define PWM_SERVO_7_PIN   GPIO2
 
#define PWM_SERVO_7_AF   GPIO_AF2
 
#define PWM_SERVO_7_OC   TIM_OC3
 
#define PWM_SERVO_7_OC_BIT   (1<<2)
 
#define PWM_SERVO_8   8
 
#define PWM_SERVO_8_TIMER   TIM5
 
#define PWM_SERVO_8_GPIO   GPIOA
 
#define PWM_SERVO_8_PIN   GPIO1
 
#define PWM_SERVO_8_AF   GPIO_AF2
 
#define PWM_SERVO_8_OC   TIM_OC2
 
#define PWM_SERVO_8_OC_BIT   (1<<1)
 
#define PWM_SERVO_9   9
 
#define PWM_SERVO_9_TIMER   TIM5
 
#define PWM_SERVO_9_GPIO   GPIOA
 
#define PWM_SERVO_9_PIN   GPIO0
 
#define PWM_SERVO_9_AF   GPIO_AF2
 
#define PWM_SERVO_9_OC   TIM_OC1
 
#define PWM_SERVO_9_OC_BIT   (1<<0)
 
#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_IE   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   GPIO0
 
#define SPEKTRUM_BIND_PIN_PORT   GPIOB
 
#define SPEKTRUM_UART1_RCC   RCC_USART1
 
#define SPEKTRUM_UART1_BANK   GPIOA
 
#define SPEKTRUM_UART1_PIN   GPIO10
 
#define SPEKTRUM_UART1_AF   GPIO_AF7
 
#define SPEKTRUM_UART1_IRQ   NVIC_USART1_IRQ
 
#define SPEKTRUM_UART1_ISR   usart1_isr
 
#define SPEKTRUM_UART1_DEV   USART1
 

Macro Definition Documentation

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

Definition at line 74 of file krooz_sd.h.

#define ACTUATORS_PWM_NB   10

Definition at line 215 of file krooz_sd.h.

#define ActuatorsDefaultCommit ( )    ActuatorsPwmCommit()

Definition at line 76 of file krooz_sd.h.

#define ActuatorsDefaultInit ( )    ActuatorsPwmInit()

Definition at line 75 of file krooz_sd.h.

#define AD1_4_CHANNEL   13

Definition at line 181 of file krooz_sd.h.

#define ADC_4   AD1_4

Definition at line 182 of file krooz_sd.h.

#define ADC_4_GPIO_PIN   GPIO3

Definition at line 184 of file krooz_sd.h.

#define ADC_4_GPIO_PORT   GPIOC

Definition at line 183 of file krooz_sd.h.

#define ADC_CHANNEL_CAM1   ADC_1

Definition at line 149 of file krooz_sd.h.

#define ADC_CHANNEL_VSUPPLY   ADC_4

Definition at line 146 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 69 of file krooz_sd.h.

#define BEEPER_GPIO   GPIOC

Definition at line 66 of file krooz_sd.h.

#define BEEPER_GPIO_CLK   RCC_GPIOC

Definition at line 67 of file krooz_sd.h.

#define BEEPER_GPIO_PIN   GPIO14

Definition at line 68 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 58 of file krooz_sd.h.

#define CAM_SH_GPIO   GPIOC

Definition at line 55 of file krooz_sd.h.

#define CAM_SH_GPIO_CLK   RCC_GPIOC

Definition at line 56 of file krooz_sd.h.

#define CAM_SH_GPIO_PIN   GPIO2

Definition at line 57 of file krooz_sd.h.

#define CAM_SW_AFIO_REMAP   ((void)0)

Definition at line 52 of file krooz_sd.h.

#define CAM_SW_GPIO   GPIOB

Definition at line 49 of file krooz_sd.h.

#define CAM_SW_GPIO_CLK   RCC_GPIOB

Definition at line 50 of file krooz_sd.h.

#define CAM_SW_GPIO_PIN   GPIO4

Definition at line 51 of file krooz_sd.h.

#define CAM_V_AFIO_REMAP   ((void)0)

Definition at line 64 of file krooz_sd.h.

#define CAM_V_GPIO   GPIOC

Definition at line 61 of file krooz_sd.h.

#define CAM_V_GPIO_CLK   RCC_GPIOC

Definition at line 62 of file krooz_sd.h.

#define CAM_V_GPIO_PIN   GPIO15

Definition at line 63 of file krooz_sd.h.

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

Definition at line 73 of file krooz_sd.h.

#define DefaultVoltageOfAdc (   adc)    (0.008874*adc)

Definition at line 78 of file krooz_sd.h.

#define EXT_CLK   12000000

Definition at line 7 of file krooz_sd.h.

#define I2C1_GPIO_PORT   GPIOB

Definition at line 124 of file krooz_sd.h.

#define I2C1_GPIO_SCL   GPIO8

Definition at line 125 of file krooz_sd.h.

#define I2C1_GPIO_SDA   GPIO9

Definition at line 126 of file krooz_sd.h.

#define I2C2_GPIO_PORT   GPIOB

Definition at line 128 of file krooz_sd.h.

#define I2C2_GPIO_SCL   GPIO10

Definition at line 129 of file krooz_sd.h.

#define I2C2_GPIO_SDA   GPIO11

Definition at line 130 of file krooz_sd.h.

#define I2C3_GPIO_PORT_SCL   GPIOA

Definition at line 132 of file krooz_sd.h.

#define I2C3_GPIO_PORT_SDA   GPIOC

Definition at line 133 of file krooz_sd.h.

#define I2C3_GPIO_SCL   GPIO8

Definition at line 134 of file krooz_sd.h.

#define I2C3_GPIO_SDA   GPIO9

Definition at line 135 of file krooz_sd.h.

#define LED_1_AFIO_REMAP   ((void)0)

Definition at line 22 of file krooz_sd.h.

#define LED_1_GPIO   GPIOA

Definition at line 18 of file krooz_sd.h.

#define LED_1_GPIO_OFF   gpio_set

Definition at line 21 of file krooz_sd.h.

#define LED_1_GPIO_ON   gpio_clear

Definition at line 20 of file krooz_sd.h.

#define LED_1_GPIO_PIN   GPIO13

Definition at line 19 of file krooz_sd.h.

#define LED_2_AFIO_REMAP   ((void)0)

Definition at line 32 of file krooz_sd.h.

#define LED_2_GPIO   GPIOA

Definition at line 28 of file krooz_sd.h.

#define LED_2_GPIO_OFF   gpio_set

Definition at line 31 of file krooz_sd.h.

#define LED_2_GPIO_ON   gpio_clear

Definition at line 30 of file krooz_sd.h.

#define LED_2_GPIO_PIN   GPIO14

Definition at line 29 of file krooz_sd.h.

#define LED_3_AFIO_REMAP   ((void)0)

Definition at line 42 of file krooz_sd.h.

#define LED_3_GPIO   GPIOA

Definition at line 38 of file krooz_sd.h.

#define LED_3_GPIO_OFF   gpio_set

Definition at line 41 of file krooz_sd.h.

#define LED_3_GPIO_ON   gpio_clear

Definition at line 40 of file krooz_sd.h.

#define LED_3_GPIO_PIN   GPIO15

Definition at line 39 of file krooz_sd.h.

#define PPM_CC_IE   TIM_DIER_CC2IE

Definition at line 365 of file krooz_sd.h.

#define PPM_CC_IF   TIM_SR_CC2IF

Definition at line 366 of file krooz_sd.h.

#define PPM_CHANNEL   TIM_IC2

Definition at line 360 of file krooz_sd.h.

#define PPM_GPIO_AF   GPIO_AF1

Definition at line 369 of file krooz_sd.h.

#define PPM_GPIO_PIN   GPIO3

Definition at line 368 of file krooz_sd.h.

#define PPM_GPIO_PORT   GPIOB

Definition at line 367 of file krooz_sd.h.

#define PPM_IRQ   NVIC_TIM2_IRQ

Definition at line 362 of file krooz_sd.h.

#define PPM_TIMER_INPUT   TIM_IC_IN_TI2

Definition at line 361 of file krooz_sd.h.

#define PWM_SERVO_0   0

Definition at line 220 of file krooz_sd.h.

#define PWM_SERVO_0_AF   GPIO_AF2

Definition at line 224 of file krooz_sd.h.

#define PWM_SERVO_0_GPIO   GPIOB

Definition at line 222 of file krooz_sd.h.

#define PWM_SERVO_0_OC   TIM_OC4

Definition at line 225 of file krooz_sd.h.

#define PWM_SERVO_0_OC_BIT   (1<<3)

Definition at line 226 of file krooz_sd.h.

#define PWM_SERVO_0_PIN   GPIO1

Definition at line 223 of file krooz_sd.h.

#define PWM_SERVO_0_TIMER   TIM3

Definition at line 221 of file krooz_sd.h.

#define PWM_SERVO_1   1

Definition at line 232 of file krooz_sd.h.

#define PWM_SERVO_10_OC_BIT   0

Definition at line 348 of file krooz_sd.h.

#define PWM_SERVO_1_AF   GPIO_AF2

Definition at line 236 of file krooz_sd.h.

#define PWM_SERVO_1_GPIO   GPIOC

Definition at line 234 of file krooz_sd.h.

#define PWM_SERVO_1_OC   TIM_OC3

Definition at line 237 of file krooz_sd.h.

#define PWM_SERVO_1_OC_BIT   (1<<2)

Definition at line 238 of file krooz_sd.h.

#define PWM_SERVO_1_PIN   GPIO8

Definition at line 235 of file krooz_sd.h.

#define PWM_SERVO_1_TIMER   TIM3

Definition at line 233 of file krooz_sd.h.

#define PWM_SERVO_2   2

Definition at line 244 of file krooz_sd.h.

#define PWM_SERVO_2_AF   GPIO_AF2

Definition at line 248 of file krooz_sd.h.

#define PWM_SERVO_2_GPIO   GPIOC

Definition at line 246 of file krooz_sd.h.

#define PWM_SERVO_2_OC   TIM_OC2

Definition at line 249 of file krooz_sd.h.

#define PWM_SERVO_2_OC_BIT   (1<<1)

Definition at line 250 of file krooz_sd.h.

#define PWM_SERVO_2_PIN   GPIO7

Definition at line 247 of file krooz_sd.h.

#define PWM_SERVO_2_TIMER   TIM3

Definition at line 245 of file krooz_sd.h.

#define PWM_SERVO_3   3

Definition at line 256 of file krooz_sd.h.

#define PWM_SERVO_3_AF   GPIO_AF2

Definition at line 260 of file krooz_sd.h.

#define PWM_SERVO_3_GPIO   GPIOB

Definition at line 258 of file krooz_sd.h.

#define PWM_SERVO_3_OC   TIM_OC1

Definition at line 261 of file krooz_sd.h.

#define PWM_SERVO_3_OC_BIT   (1<<0)

Definition at line 262 of file krooz_sd.h.

#define PWM_SERVO_3_PIN   GPIO4

Definition at line 259 of file krooz_sd.h.

#define PWM_SERVO_3_TIMER   TIM3

Definition at line 257 of file krooz_sd.h.

#define PWM_SERVO_4   4

Definition at line 268 of file krooz_sd.h.

#define PWM_SERVO_4_AF   GPIO_AF2

Definition at line 272 of file krooz_sd.h.

#define PWM_SERVO_4_GPIO   GPIOB

Definition at line 270 of file krooz_sd.h.

#define PWM_SERVO_4_OC   TIM_OC2

Definition at line 273 of file krooz_sd.h.

#define PWM_SERVO_4_OC_BIT   (1<<1)

Definition at line 274 of file krooz_sd.h.

#define PWM_SERVO_4_PIN   GPIO7

Definition at line 271 of file krooz_sd.h.

#define PWM_SERVO_4_TIMER   TIM4

Definition at line 269 of file krooz_sd.h.

#define PWM_SERVO_5   5

Definition at line 280 of file krooz_sd.h.

#define PWM_SERVO_5_AF   GPIO_AF2

Definition at line 284 of file krooz_sd.h.

#define PWM_SERVO_5_GPIO   GPIOB

Definition at line 282 of file krooz_sd.h.

#define PWM_SERVO_5_OC   TIM_OC1

Definition at line 285 of file krooz_sd.h.

#define PWM_SERVO_5_OC_BIT   (1<<0)

Definition at line 286 of file krooz_sd.h.

#define PWM_SERVO_5_PIN   GPIO6

Definition at line 283 of file krooz_sd.h.

#define PWM_SERVO_5_TIMER   TIM4

Definition at line 281 of file krooz_sd.h.

#define PWM_SERVO_6   6

Definition at line 292 of file krooz_sd.h.

#define PWM_SERVO_6_AF   GPIO_AF2

Definition at line 296 of file krooz_sd.h.

#define PWM_SERVO_6_GPIO   GPIOA

Definition at line 294 of file krooz_sd.h.

#define PWM_SERVO_6_OC   TIM_OC4

Definition at line 297 of file krooz_sd.h.

#define PWM_SERVO_6_OC_BIT   (1<<3)

Definition at line 298 of file krooz_sd.h.

#define PWM_SERVO_6_PIN   GPIO3

Definition at line 295 of file krooz_sd.h.

#define PWM_SERVO_6_TIMER   TIM5

Definition at line 293 of file krooz_sd.h.

#define PWM_SERVO_7   7

Definition at line 304 of file krooz_sd.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_7_AF   GPIO_AF2

Definition at line 308 of file krooz_sd.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_7_GPIO   GPIOA

Definition at line 306 of file krooz_sd.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_7_OC   TIM_OC3

Definition at line 309 of file krooz_sd.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_7_OC_BIT   (1<<2)

Definition at line 310 of file krooz_sd.h.

#define PWM_SERVO_7_PIN   GPIO2

Definition at line 307 of file krooz_sd.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_7_TIMER   TIM5

Definition at line 305 of file krooz_sd.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_8   8

Definition at line 316 of file krooz_sd.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_8_AF   GPIO_AF2

Definition at line 320 of file krooz_sd.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_8_GPIO   GPIOA

Definition at line 318 of file krooz_sd.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_8_OC   TIM_OC2

Definition at line 321 of file krooz_sd.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_8_OC_BIT   (1<<1)

Definition at line 322 of file krooz_sd.h.

#define PWM_SERVO_8_PIN   GPIO1

Definition at line 319 of file krooz_sd.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_8_TIMER   TIM5

Definition at line 317 of file krooz_sd.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_9   9

Definition at line 328 of file krooz_sd.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_9_AF   GPIO_AF2

Definition at line 332 of file krooz_sd.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_9_GPIO   GPIOA

Definition at line 330 of file krooz_sd.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_9_OC   TIM_OC1

Definition at line 333 of file krooz_sd.h.

Referenced by actuators_pwm_commit().

#define PWM_SERVO_9_OC_BIT   (1<<0)

Definition at line 334 of file krooz_sd.h.

#define PWM_SERVO_9_PIN   GPIO0

Definition at line 331 of file krooz_sd.h.

Referenced by actuators_pwm_arch_init().

#define PWM_SERVO_9_TIMER   TIM5

Definition at line 329 of file krooz_sd.h.

Referenced by actuators_pwm_commit().

#define PWM_TIM2_CHAN_MASK   (PWM_SERVO_10_OC_BIT)

Definition at line 351 of file krooz_sd.h.

Definition at line 352 of file krooz_sd.h.

#define PWM_TIM4_CHAN_MASK   (PWM_SERVO_4_OC_BIT|PWM_SERVO_5_OC_BIT)

Definition at line 353 of file krooz_sd.h.

Definition at line 354 of file krooz_sd.h.

#define PWM_USE_TIM3   1

Definition at line 195 of file krooz_sd.h.

#define PWM_USE_TIM4   1

Definition at line 196 of file krooz_sd.h.

#define PWM_USE_TIM5   1

Definition at line 197 of file krooz_sd.h.

#define SPEKTRUM_BIND_PIN   GPIO0

Definition at line 376 of file krooz_sd.h.

#define SPEKTRUM_BIND_PIN_PORT   GPIOB

Definition at line 377 of file krooz_sd.h.

#define SPEKTRUM_UART1_AF   GPIO_AF7

Definition at line 382 of file krooz_sd.h.

#define SPEKTRUM_UART1_BANK   GPIOA

Definition at line 380 of file krooz_sd.h.

#define SPEKTRUM_UART1_DEV   USART1

Definition at line 385 of file krooz_sd.h.

#define SPEKTRUM_UART1_IRQ   NVIC_USART1_IRQ

Definition at line 383 of file krooz_sd.h.

#define SPEKTRUM_UART1_ISR   usart1_isr

Definition at line 384 of file krooz_sd.h.

#define SPEKTRUM_UART1_PIN   GPIO10

Definition at line 381 of file krooz_sd.h.

#define SPEKTRUM_UART1_RCC   RCC_USART1

Definition at line 379 of file krooz_sd.h.

#define SPI1_GPIO_AF   GPIO_AF5

Definition at line 100 of file krooz_sd.h.

#define SPI1_GPIO_MISO   GPIO6

Definition at line 102 of file krooz_sd.h.

#define SPI1_GPIO_MOSI   GPIO7

Definition at line 104 of file krooz_sd.h.

#define SPI1_GPIO_PORT_MISO   GPIOA

Definition at line 101 of file krooz_sd.h.

#define SPI1_GPIO_PORT_MOSI   GPIOA

Definition at line 103 of file krooz_sd.h.

#define SPI1_GPIO_PORT_SCK   GPIOA

Definition at line 105 of file krooz_sd.h.

#define SPI1_GPIO_SCK   GPIO5

Definition at line 106 of file krooz_sd.h.

#define SPI2_GPIO_AF   GPIO_AF5

Definition at line 108 of file krooz_sd.h.

#define SPI2_GPIO_MISO   GPIO14

Definition at line 110 of file krooz_sd.h.

#define SPI2_GPIO_MOSI   GPIO15

Definition at line 112 of file krooz_sd.h.

#define SPI2_GPIO_PORT_MISO   GPIOB

Definition at line 109 of file krooz_sd.h.

#define SPI2_GPIO_PORT_MOSI   GPIOB

Definition at line 111 of file krooz_sd.h.

#define SPI2_GPIO_PORT_SCK   GPIOB

Definition at line 113 of file krooz_sd.h.

#define SPI2_GPIO_SCK   GPIO13

Definition at line 114 of file krooz_sd.h.

#define SPI_SELECT_SLAVE0_PIN   GPIO4

Definition at line 117 of file krooz_sd.h.

#define SPI_SELECT_SLAVE0_PORT   GPIOA

Definition at line 116 of file krooz_sd.h.

#define SPI_SELECT_SLAVE1_PIN   GPIO12

Definition at line 119 of file krooz_sd.h.

#define SPI_SELECT_SLAVE1_PORT   GPIOB

Definition at line 118 of file krooz_sd.h.

#define SPI_SELECT_SLAVE2_PIN   GPIO2

Definition at line 121 of file krooz_sd.h.

#define SPI_SELECT_SLAVE2_PORT   GPIOB

Definition at line 120 of file krooz_sd.h.

#define UART1_GPIO_AF   GPIO_AF7

Definition at line 81 of file krooz_sd.h.

#define UART1_GPIO_PORT_RX   GPIOA

Definition at line 82 of file krooz_sd.h.

#define UART1_GPIO_PORT_TX   GPIOA

Definition at line 84 of file krooz_sd.h.

#define UART1_GPIO_RX   GPIO10

Definition at line 83 of file krooz_sd.h.

#define UART1_GPIO_TX   GPIO9

Definition at line 85 of file krooz_sd.h.

#define UART3_GPIO_AF   GPIO_AF7

Definition at line 87 of file krooz_sd.h.

#define UART3_GPIO_PORT_RX   GPIOC

Definition at line 88 of file krooz_sd.h.

#define UART3_GPIO_PORT_TX   GPIOC

Definition at line 90 of file krooz_sd.h.

#define UART3_GPIO_RX   GPIO11

Definition at line 89 of file krooz_sd.h.

#define UART3_GPIO_TX   GPIO10

Definition at line 91 of file krooz_sd.h.

#define UART5_GPIO_AF   GPIO_AF8

Definition at line 93 of file krooz_sd.h.

#define UART5_GPIO_PORT_RX   GPIOD

Definition at line 94 of file krooz_sd.h.

#define UART5_GPIO_PORT_TX   GPIOC

Definition at line 96 of file krooz_sd.h.

#define UART5_GPIO_RX   GPIO2

Definition at line 95 of file krooz_sd.h.

#define UART5_GPIO_TX   GPIO12

Definition at line 97 of file krooz_sd.h.

#define USE_AD_TIM1   1

Definition at line 138 of file krooz_sd.h.

#define USE_ADC_4   1

Definition at line 178 of file krooz_sd.h.

#define USE_BARO_BOARD   1

Definition at line 190 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 26 of file krooz_sd.h.

#define USE_LED_3   1

Definition at line 36 of file krooz_sd.h.

#define USE_PPM_TIM2   1

Definition at line 358 of file krooz_sd.h.

#define USE_PWM0   1

Definition at line 199 of file krooz_sd.h.

#define USE_PWM1   1

Definition at line 200 of file krooz_sd.h.

#define USE_PWM2   1

Definition at line 201 of file krooz_sd.h.

#define USE_PWM3   1

Definition at line 202 of file krooz_sd.h.

#define USE_PWM4   1

Definition at line 203 of file krooz_sd.h.

#define USE_PWM5   1

Definition at line 204 of file krooz_sd.h.

#define USE_PWM6   1

Definition at line 205 of file krooz_sd.h.

#define USE_PWM7   1

Definition at line 206 of file krooz_sd.h.

#define USE_PWM8   1

Definition at line 207 of file krooz_sd.h.

#define USE_PWM9   1

Definition at line 208 of file krooz_sd.h.