Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
board.h File Reference

Go to the source code of this file.

Macros

#define BOARD_LIA_STM32F105RC
 
#define BOARD_NAME   "Lia 1.1 STM32F105RC"
 
#define STM32_LSECLK   0
 
#define STM32_HSECLK   12000000
 
#define STM32_VDD   330
 
#define STM32F105xC
 
#define VAL_GPIOACRL   0xB4BB4BBB /* PA7...PA0 */
 
#define VAL_GPIOACRH   0x44444447 /* PA15...PA8 */
 
#define VAL_GPIOAODR   0xFFFFFFFF
 
#define VAL_GPIOBCRL   0xBB474444 /* PB7...PB0 */
 
#define VAL_GPIOBCRH   0xB4B3EE74 /* PB15...PB8 */
 
#define VAL_GPIOBODR   0xFFFFFFFF
 
#define VAL_GPIOCCRL   0xBB700700 /* PC7...PC0 */
 
#define VAL_GPIOCCRH   0x743B4BBB /* PC15...PC8 */
 
#define VAL_GPIOCODR   0xFFFFFFFF
 
#define VAL_GPIODCRL   0x88888488 /* PD7...PD0 */
 
#define VAL_GPIODCRH   0x88888888 /* PD15...PD8 */
 
#define VAL_GPIODODR   0xFFFFFFFF
 
#define VAL_GPIOECRL   0x88888888 /* PE7...PE0 */
 
#define VAL_GPIOECRH   0x88888888 /* PE15...PE8 */
 
#define VAL_GPIOEODR   0xFFFFFFFF
 
#define AHB_CLK   STM32_HCLK
 
#define USE_LED_1   1
 
#define LED_1_GPIO   GPIOA
 
#define LED_1_GPIO_PIN   8
 
#define LED_1_GPIO_ON   gpio_clear
 
#define LED_1_GPIO_OFF   gpio_set
 
#define USE_LED_2   1
 
#define LED_2_GPIO   GPIOB
 
#define LED_2_GPIO_PIN   4
 
#define LED_2_GPIO_ON   gpio_clear
 
#define LED_2_GPIO_OFF   gpio_set
 
#define USE_LED_3   1
 
#define LED_3_GPIO   GPIOC
 
#define LED_3_GPIO_PIN   2
 
#define LED_3_GPIO_ON   gpio_clear
 
#define LED_3_GPIO_OFF   gpio_set
 
#define USE_LED_4   1
 
#define LED_4_GPIO   GPIOC
 
#define LED_4_GPIO_PIN   5
 
#define LED_4_GPIO_ON   gpio_clear
 
#define LED_4_GPIO_OFF   gpio_set
 
#define USE_LED_5   0
 
#define LED_5_GPIO   GPIOC
 
#define LED_5_GPIO_PIN   15
 
#define LED_5_GPIO_ON   gpio_set
 
#define LED_5_GPIO_OFF   gpio_clear
 
#define USE_ADC_4   1
 
#define AD1_4_CHANNEL   ADC_CHANNEL_IN14
 
#define ADC_4   AD1_4
 
#define ADC_4_GPIO_PORT   GPIOC
 
#define ADC_4_GPIO_PIN   GPIO4
 
#define USE_ADC_5   1
 
#define USE_ADC_SENSOR   1
 
#define AD1_5_CHANNEL   ADC_CHANNEL_SENSOR
 
#define ADC_5   AD1_5
 
#define ADC_5_GPIO_PORT   GPIOC
 
#define ADC_5_GPIO_PIN   GPIO4
 
#define ADC_CHANNEL_VSUPPLY   ADC_4
 
#define DefaultVoltageOfAdc(adc)   (0.004489*adc)
 
#define USE_PWM0   1
 
#define PWM_SERVO_0   0
 
#define PWM_SERVO_0_GPIO   GPIOC
 
#define PWM_SERVO_0_PIN   GPIO6
 
#define PWM_SERVO_0_AF   GPIO_AF2
 
#define PWM_SERVO_0_DRIVER   PWMD3
 
#define PWM_SERVO_0_CHANNEL   0
 
#define PWM_SERVO_0_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH
 
#define USE_PWM1   1
 
#define PWM_SERVO_1   1
 
#define PWM_SERVO_1_GPIO   GPIOC
 
#define PWM_SERVO_1_PIN   GPIO7
 
#define PWM_SERVO_1_AF   GPIO_AF1
 
#define PWM_SERVO_1_DRIVER   PWMD3
 
#define PWM_SERVO_1_CHANNEL   1
 
#define PWM_SERVO_1_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH
 
#define USE_PWM2   1
 
#define PWM_SERVO_2   2
 
#define PWM_SERVO_2_GPIO   GPIOC
 
#define PWM_SERVO_2_PIN   GPIO8
 
#define PWM_SERVO_2_AF   GPIO_AF2
 
#define PWM_SERVO_2_DRIVER   PWMD3
 
#define PWM_SERVO_2_CHANNEL   2
 
#define PWM_SERVO_2_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH
 
#define USE_PWM3   1
 
#define PWM_SERVO_3   3
 
#define PWM_SERVO_3_GPIO   GPIOC
 
#define PWM_SERVO_3_PIN   GPIO9
 
#define PWM_SERVO_3_AF   GPIO_AF2
 
#define PWM_SERVO_3_DRIVER   PWMD3
 
#define PWM_SERVO_3_CHANNEL   3
 
#define PWM_SERVO_3_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH
 
#define USE_PWM4   1
 
#define PWM_SERVO_4   4
 
#define PWM_SERVO_4_GPIO   GPIOA
 
#define PWM_SERVO_4_PIN   GPIO0
 
#define PWM_SERVO_4_AF   GPIO_AF2
 
#define PWM_SERVO_4_DRIVER   PWMD5
 
#define PWM_SERVO_4_CHANNEL   0
 
#define PWM_SERVO_4_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH
 
#define USE_PWM5   1
 
#define PWM_SERVO_5   5
 
#define PWM_SERVO_5_GPIO   GPIOA
 
#define PWM_SERVO_5_PIN   GPIO1
 
#define PWM_SERVO_5_AF   GPIO_AF2
 
#define PWM_SERVO_5_DRIVER   PWMD5
 
#define PWM_SERVO_5_CHANNEL   1
 
#define PWM_SERVO_5_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH
 
#define PWM_CONF_TIM3   1
 
#define PWM_CONF_TIM5   1
 
#define PWM_CONF3_DEF
 
#define PWM_CONF5_DEF
 
#define RC_PPM_TICKS_PER_USEC   6
 PPM radio defines. More...
 
#define PPM_TIMER_FREQUENCY   6000000
 
#define PPM_CHANNEL   ICU_CHANNEL_1
 
#define PPM_TIMER   ICUD1
 
#define I2C1_CLOCK_SPEED   400000
 I2C defines. More...
 
#define I2C1_CFG_DEF
 
#define I2C2_CLOCK_SPEED   400000
 
#define I2C2_CFG_DEF
 
#define SPI_SELECT_SLAVE0_PORT   GPIOA
 SPI Config. More...
 
#define SPI_SELECT_SLAVE0_PIN   GPIO15
 
#define SPI_SELECT_SLAVE1_PORT   GPIOA
 
#define SPI_SELECT_SLAVE1_PIN   GPIO4
 
#define SPI_SELECT_SLAVE2_PORT   GPIOB
 
#define SPI_SELECT_SLAVE2_PIN   GPIO12
 
#define SPI_SELECT_SLAVE3_PORT   GPIOC
 
#define SPI_SELECT_SLAVE3_PIN   GPIO13
 
#define SPI_SELECT_SLAVE4_PORT   GPIOC
 
#define SPI_SELECT_SLAVE4_PIN   GPIO12
 
#define SPI_SELECT_SLAVE5_PORT   GPIOC
 
#define SPI_SELECT_SLAVE5_PIN   GPIO4
 
#define SPI1_GPIO_PORT_NSS   GPIOA
 
#define SPI1_GPIO_NSS   GPIO4
 
#define SPI2_GPIO_PORT_NSS   GPIOB
 
#define SPI2_GPIO_NSS   GPIO12
 
#define SPI3_GPIO_PORT_NSS   GPIO
 
#define USE_BARO_BOARD   1
 Baro. More...
 
#define DEFAULT_ACTUATORS   "subsystems/actuators/actuators_pwm.h"
 
#define ActuatorDefaultSet(_x, _y)   ActuatorPwmSet(_x,_y)
 
#define ActuatorsDefaultInit()   ActuatorsPwmInit()
 
#define ActuatorsDefaultCommit()   ActuatorsPwmCommit()
 

Functions

void boardInit (void)
 Board-specific initialization code. More...
 

Macro Definition Documentation

◆ ActuatorDefaultSet

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

Definition at line 562 of file board.h.

◆ ActuatorsDefaultCommit

#define ActuatorsDefaultCommit ( )    ActuatorsPwmCommit()

Definition at line 564 of file board.h.

◆ ActuatorsDefaultInit

#define ActuatorsDefaultInit ( )    ActuatorsPwmInit()

Definition at line 563 of file board.h.

◆ AD1_4_CHANNEL

#define AD1_4_CHANNEL   ADC_CHANNEL_IN14

Definition at line 269 of file board.h.

◆ AD1_5_CHANNEL

#define AD1_5_CHANNEL   ADC_CHANNEL_SENSOR

Definition at line 281 of file board.h.

◆ ADC_4

#define ADC_4   AD1_4

Definition at line 270 of file board.h.

◆ ADC_4_GPIO_PIN

#define ADC_4_GPIO_PIN   GPIO4

Definition at line 272 of file board.h.

◆ ADC_4_GPIO_PORT

#define ADC_4_GPIO_PORT   GPIOC

Definition at line 271 of file board.h.

◆ ADC_5

#define ADC_5   AD1_5

Definition at line 282 of file board.h.

◆ ADC_5_GPIO_PIN

#define ADC_5_GPIO_PIN   GPIO4

Definition at line 284 of file board.h.

◆ ADC_5_GPIO_PORT

#define ADC_5_GPIO_PORT   GPIOC

Definition at line 283 of file board.h.

◆ ADC_CHANNEL_VSUPPLY

#define ADC_CHANNEL_VSUPPLY   ADC_4

Definition at line 291 of file board.h.

◆ AHB_CLK

#define AHB_CLK   STM32_HCLK

Definition at line 186 of file board.h.

◆ BOARD_LIA_STM32F105RC

#define BOARD_LIA_STM32F105RC

Definition at line 27 of file board.h.

◆ BOARD_NAME

#define BOARD_NAME   "Lia 1.1 STM32F105RC"

Definition at line 28 of file board.h.

◆ DEFAULT_ACTUATORS

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

Definition at line 561 of file board.h.

◆ DefaultVoltageOfAdc

#define DefaultVoltageOfAdc (   adc)    (0.004489*adc)

Definition at line 294 of file board.h.

◆ I2C1_CFG_DEF

#define I2C1_CFG_DEF
Value:
{ \
OPMODE_I2C, \
I2C1_CLOCK_SPEED, \
FAST_DUTY_CYCLE_2, \
}

Definition at line 505 of file board.h.

◆ I2C1_CLOCK_SPEED

#define I2C1_CLOCK_SPEED   400000

I2C defines.

Definition at line 504 of file board.h.

◆ I2C2_CFG_DEF

#define I2C2_CFG_DEF
Value:
{ \
OPMODE_I2C, \
I2C2_CLOCK_SPEED, \
FAST_DUTY_CYCLE_2, \
}

Definition at line 512 of file board.h.

◆ I2C2_CLOCK_SPEED

#define I2C2_CLOCK_SPEED   400000

Definition at line 511 of file board.h.

◆ LED_1_GPIO

#define LED_1_GPIO   GPIOA

Definition at line 196 of file board.h.

◆ LED_1_GPIO_OFF

#define LED_1_GPIO_OFF   gpio_set

Definition at line 199 of file board.h.

◆ LED_1_GPIO_ON

#define LED_1_GPIO_ON   gpio_clear

Definition at line 198 of file board.h.

◆ LED_1_GPIO_PIN

#define LED_1_GPIO_PIN   8

Definition at line 197 of file board.h.

◆ LED_2_GPIO

#define LED_2_GPIO   GPIOB

Definition at line 205 of file board.h.

◆ LED_2_GPIO_OFF

#define LED_2_GPIO_OFF   gpio_set

Definition at line 208 of file board.h.

◆ LED_2_GPIO_ON

#define LED_2_GPIO_ON   gpio_clear

Definition at line 207 of file board.h.

◆ LED_2_GPIO_PIN

#define LED_2_GPIO_PIN   4

Definition at line 206 of file board.h.

◆ LED_3_GPIO

#define LED_3_GPIO   GPIOC

Definition at line 214 of file board.h.

◆ LED_3_GPIO_OFF

#define LED_3_GPIO_OFF   gpio_set

Definition at line 217 of file board.h.

◆ LED_3_GPIO_ON

#define LED_3_GPIO_ON   gpio_clear

Definition at line 216 of file board.h.

◆ LED_3_GPIO_PIN

#define LED_3_GPIO_PIN   2

Definition at line 215 of file board.h.

◆ LED_4_GPIO

#define LED_4_GPIO   GPIOC

Definition at line 223 of file board.h.

◆ LED_4_GPIO_OFF

#define LED_4_GPIO_OFF   gpio_set

Definition at line 226 of file board.h.

◆ LED_4_GPIO_ON

#define LED_4_GPIO_ON   gpio_clear

Definition at line 225 of file board.h.

◆ LED_4_GPIO_PIN

#define LED_4_GPIO_PIN   5

Definition at line 224 of file board.h.

◆ LED_5_GPIO

#define LED_5_GPIO   GPIOC

Definition at line 232 of file board.h.

◆ LED_5_GPIO_OFF

#define LED_5_GPIO_OFF   gpio_clear

Definition at line 235 of file board.h.

◆ LED_5_GPIO_ON

#define LED_5_GPIO_ON   gpio_set

Definition at line 234 of file board.h.

◆ LED_5_GPIO_PIN

#define LED_5_GPIO_PIN   15

Definition at line 233 of file board.h.

◆ PPM_CHANNEL

#define PPM_CHANNEL   ICU_CHANNEL_1

Definition at line 498 of file board.h.

◆ PPM_TIMER

#define PPM_TIMER   ICUD1

Definition at line 499 of file board.h.

◆ PPM_TIMER_FREQUENCY

#define PPM_TIMER_FREQUENCY   6000000

Definition at line 497 of file board.h.

◆ PWM_CONF3_DEF

#define PWM_CONF3_DEF
Value:
{ \
PWM_FREQUENCY, \
PWM_FREQUENCY/TIM3_SERVO_HZ, \
NULL, \
{ \
{PWM_SERVO_0_ACTIVE, NULL}, \
{PWM_SERVO_1_ACTIVE, NULL}, \
{PWM_SERVO_2_ACTIVE, NULL}, \
}, \
0, \
0 \
}

Definition at line 464 of file board.h.

◆ PWM_CONF5_DEF

#define PWM_CONF5_DEF
Value:
{ \
PWM_FREQUENCY, \
PWM_FREQUENCY/TIM5_SERVO_HZ, \
NULL, \
{ \
{PWM_SERVO_4_ACTIVE, NULL}, \
{PWM_SERVO_5_ACTIVE, NULL}, \
{PWM_OUTPUT_DISABLED, NULL}, \
{PWM_OUTPUT_DISABLED, NULL} \
}, \
0, \
0 \
}

Definition at line 477 of file board.h.

◆ PWM_CONF_TIM3

#define PWM_CONF_TIM3   1

Definition at line 462 of file board.h.

◆ PWM_CONF_TIM5

#define PWM_CONF_TIM5   1

Definition at line 463 of file board.h.

◆ PWM_SERVO_0

#define PWM_SERVO_0   0

Definition at line 303 of file board.h.

◆ PWM_SERVO_0_ACTIVE

#define PWM_SERVO_0_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 309 of file board.h.

◆ PWM_SERVO_0_AF

#define PWM_SERVO_0_AF   GPIO_AF2

Definition at line 306 of file board.h.

◆ PWM_SERVO_0_CHANNEL

#define PWM_SERVO_0_CHANNEL   0

Definition at line 308 of file board.h.

◆ PWM_SERVO_0_DRIVER

#define PWM_SERVO_0_DRIVER   PWMD3

Definition at line 307 of file board.h.

◆ PWM_SERVO_0_GPIO

#define PWM_SERVO_0_GPIO   GPIOC

Definition at line 304 of file board.h.

◆ PWM_SERVO_0_PIN

#define PWM_SERVO_0_PIN   GPIO6

Definition at line 305 of file board.h.

◆ PWM_SERVO_1

#define PWM_SERVO_1   1

Definition at line 318 of file board.h.

◆ PWM_SERVO_1_ACTIVE

#define PWM_SERVO_1_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 324 of file board.h.

◆ PWM_SERVO_1_AF

#define PWM_SERVO_1_AF   GPIO_AF1

Definition at line 321 of file board.h.

◆ PWM_SERVO_1_CHANNEL

#define PWM_SERVO_1_CHANNEL   1

Definition at line 323 of file board.h.

◆ PWM_SERVO_1_DRIVER

#define PWM_SERVO_1_DRIVER   PWMD3

Definition at line 322 of file board.h.

◆ PWM_SERVO_1_GPIO

#define PWM_SERVO_1_GPIO   GPIOC

Definition at line 319 of file board.h.

◆ PWM_SERVO_1_PIN

#define PWM_SERVO_1_PIN   GPIO7

Definition at line 320 of file board.h.

◆ PWM_SERVO_2

#define PWM_SERVO_2   2

Definition at line 333 of file board.h.

◆ PWM_SERVO_2_ACTIVE

#define PWM_SERVO_2_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 339 of file board.h.

◆ PWM_SERVO_2_AF

#define PWM_SERVO_2_AF   GPIO_AF2

Definition at line 336 of file board.h.

◆ PWM_SERVO_2_CHANNEL

#define PWM_SERVO_2_CHANNEL   2

Definition at line 338 of file board.h.

◆ PWM_SERVO_2_DRIVER

#define PWM_SERVO_2_DRIVER   PWMD3

Definition at line 337 of file board.h.

◆ PWM_SERVO_2_GPIO

#define PWM_SERVO_2_GPIO   GPIOC

Definition at line 334 of file board.h.

◆ PWM_SERVO_2_PIN

#define PWM_SERVO_2_PIN   GPIO8

Definition at line 335 of file board.h.

◆ PWM_SERVO_3

#define PWM_SERVO_3   3

Definition at line 348 of file board.h.

◆ PWM_SERVO_3_ACTIVE

#define PWM_SERVO_3_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 354 of file board.h.

◆ PWM_SERVO_3_AF

#define PWM_SERVO_3_AF   GPIO_AF2

Definition at line 351 of file board.h.

◆ PWM_SERVO_3_CHANNEL

#define PWM_SERVO_3_CHANNEL   3

Definition at line 353 of file board.h.

◆ PWM_SERVO_3_DRIVER

#define PWM_SERVO_3_DRIVER   PWMD3

Definition at line 352 of file board.h.

◆ PWM_SERVO_3_GPIO

#define PWM_SERVO_3_GPIO   GPIOC

Definition at line 349 of file board.h.

◆ PWM_SERVO_3_PIN

#define PWM_SERVO_3_PIN   GPIO9

Definition at line 350 of file board.h.

◆ PWM_SERVO_4

#define PWM_SERVO_4   4

Definition at line 363 of file board.h.

◆ PWM_SERVO_4_ACTIVE

#define PWM_SERVO_4_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 369 of file board.h.

◆ PWM_SERVO_4_AF

#define PWM_SERVO_4_AF   GPIO_AF2

Definition at line 366 of file board.h.

◆ PWM_SERVO_4_CHANNEL

#define PWM_SERVO_4_CHANNEL   0

Definition at line 368 of file board.h.

◆ PWM_SERVO_4_DRIVER

#define PWM_SERVO_4_DRIVER   PWMD5

Definition at line 367 of file board.h.

◆ PWM_SERVO_4_GPIO

#define PWM_SERVO_4_GPIO   GPIOA

Definition at line 364 of file board.h.

◆ PWM_SERVO_4_PIN

#define PWM_SERVO_4_PIN   GPIO0

Definition at line 365 of file board.h.

◆ PWM_SERVO_5

#define PWM_SERVO_5   5

Definition at line 378 of file board.h.

◆ PWM_SERVO_5_ACTIVE

#define PWM_SERVO_5_ACTIVE   PWM_OUTPUT_ACTIVE_HIGH

Definition at line 384 of file board.h.

◆ PWM_SERVO_5_AF

#define PWM_SERVO_5_AF   GPIO_AF2

Definition at line 381 of file board.h.

◆ PWM_SERVO_5_CHANNEL

#define PWM_SERVO_5_CHANNEL   1

Definition at line 383 of file board.h.

◆ PWM_SERVO_5_DRIVER

#define PWM_SERVO_5_DRIVER   PWMD5

Definition at line 382 of file board.h.

◆ PWM_SERVO_5_GPIO

#define PWM_SERVO_5_GPIO   GPIOA

Definition at line 379 of file board.h.

◆ PWM_SERVO_5_PIN

#define PWM_SERVO_5_PIN   GPIO1

Definition at line 380 of file board.h.

◆ RC_PPM_TICKS_PER_USEC

#define RC_PPM_TICKS_PER_USEC   6

PPM radio defines.

Definition at line 496 of file board.h.

◆ SPI1_GPIO_NSS

#define SPI1_GPIO_NSS   GPIO4

Definition at line 540 of file board.h.

◆ SPI1_GPIO_PORT_NSS

#define SPI1_GPIO_PORT_NSS   GPIOA

Definition at line 539 of file board.h.

◆ SPI2_GPIO_NSS

#define SPI2_GPIO_NSS   GPIO12

Definition at line 543 of file board.h.

◆ SPI2_GPIO_PORT_NSS

#define SPI2_GPIO_PORT_NSS   GPIOB

Definition at line 542 of file board.h.

◆ SPI3_GPIO_PORT_NSS

#define SPI3_GPIO_PORT_NSS   GPIO

Definition at line 545 of file board.h.

◆ SPI_SELECT_SLAVE0_PIN

#define SPI_SELECT_SLAVE0_PIN   GPIO15

Definition at line 522 of file board.h.

◆ SPI_SELECT_SLAVE0_PORT

#define SPI_SELECT_SLAVE0_PORT   GPIOA

SPI Config.

Definition at line 521 of file board.h.

◆ SPI_SELECT_SLAVE1_PIN

#define SPI_SELECT_SLAVE1_PIN   GPIO4

Definition at line 525 of file board.h.

◆ SPI_SELECT_SLAVE1_PORT

#define SPI_SELECT_SLAVE1_PORT   GPIOA

Definition at line 524 of file board.h.

◆ SPI_SELECT_SLAVE2_PIN

#define SPI_SELECT_SLAVE2_PIN   GPIO12

Definition at line 528 of file board.h.

◆ SPI_SELECT_SLAVE2_PORT

#define SPI_SELECT_SLAVE2_PORT   GPIOB

Definition at line 527 of file board.h.

◆ SPI_SELECT_SLAVE3_PIN

#define SPI_SELECT_SLAVE3_PIN   GPIO13

Definition at line 531 of file board.h.

◆ SPI_SELECT_SLAVE3_PORT

#define SPI_SELECT_SLAVE3_PORT   GPIOC

Definition at line 530 of file board.h.

◆ SPI_SELECT_SLAVE4_PIN

#define SPI_SELECT_SLAVE4_PIN   GPIO12

Definition at line 534 of file board.h.

◆ SPI_SELECT_SLAVE4_PORT

#define SPI_SELECT_SLAVE4_PORT   GPIOC

Definition at line 533 of file board.h.

◆ SPI_SELECT_SLAVE5_PIN

#define SPI_SELECT_SLAVE5_PIN   GPIO4

Definition at line 537 of file board.h.

◆ SPI_SELECT_SLAVE5_PORT

#define SPI_SELECT_SLAVE5_PORT   GPIOC

Definition at line 536 of file board.h.

◆ STM32_HSECLK

#define STM32_HSECLK   12000000

Definition at line 39 of file board.h.

◆ STM32_LSECLK

#define STM32_LSECLK   0

Definition at line 35 of file board.h.

◆ STM32_VDD

#define STM32_VDD   330

Definition at line 47 of file board.h.

◆ STM32F105xC

#define STM32F105xC

Definition at line 52 of file board.h.

◆ USE_ADC_4

#define USE_ADC_4   1

Definition at line 266 of file board.h.

◆ USE_ADC_5

#define USE_ADC_5   1

Definition at line 277 of file board.h.

◆ USE_ADC_SENSOR

#define USE_ADC_SENSOR   1

Definition at line 278 of file board.h.

◆ USE_BARO_BOARD

#define USE_BARO_BOARD   1

Baro.

Apparently needed for backwards compatibility with the ancient onboard baro boards

Definition at line 554 of file board.h.

◆ USE_LED_1

#define USE_LED_1   1

Definition at line 194 of file board.h.

◆ USE_LED_2

#define USE_LED_2   1

Definition at line 203 of file board.h.

◆ USE_LED_3

#define USE_LED_3   1

Definition at line 212 of file board.h.

◆ USE_LED_4

#define USE_LED_4   1

Definition at line 221 of file board.h.

◆ USE_LED_5

#define USE_LED_5   0

Definition at line 230 of file board.h.

◆ USE_PWM0

#define USE_PWM0   1

Definition at line 300 of file board.h.

◆ USE_PWM1

#define USE_PWM1   1

Definition at line 315 of file board.h.

◆ USE_PWM2

#define USE_PWM2   1

Definition at line 330 of file board.h.

◆ USE_PWM3

#define USE_PWM3   1

Definition at line 345 of file board.h.

◆ USE_PWM4

#define USE_PWM4   1

Definition at line 360 of file board.h.

◆ USE_PWM5

#define USE_PWM5   1

Definition at line 375 of file board.h.

◆ VAL_GPIOACRH

#define VAL_GPIOACRH   0x44444447 /* PA15...PA8 */

Definition at line 100 of file board.h.

◆ VAL_GPIOACRL

#define VAL_GPIOACRL   0xB4BB4BBB /* PA7...PA0 */

Definition at line 99 of file board.h.

◆ VAL_GPIOAODR

#define VAL_GPIOAODR   0xFFFFFFFF

Definition at line 101 of file board.h.

◆ VAL_GPIOBCRH

#define VAL_GPIOBCRH   0xB4B3EE74 /* PB15...PB8 */

Definition at line 125 of file board.h.

◆ VAL_GPIOBCRL

#define VAL_GPIOBCRL   0xBB474444 /* PB7...PB0 */

Definition at line 124 of file board.h.

◆ VAL_GPIOBODR

#define VAL_GPIOBODR   0xFFFFFFFF

Definition at line 126 of file board.h.

◆ VAL_GPIOCCRH

#define VAL_GPIOCCRH   0x743B4BBB /* PC15...PC8 */

Definition at line 148 of file board.h.

◆ VAL_GPIOCCRL

#define VAL_GPIOCCRL   0xBB700700 /* PC7...PC0 */

Definition at line 147 of file board.h.

◆ VAL_GPIOCODR

#define VAL_GPIOCODR   0xFFFFFFFF

Definition at line 149 of file board.h.

◆ VAL_GPIODCRH

#define VAL_GPIODCRH   0x88888888 /* PD15...PD8 */

Definition at line 171 of file board.h.

◆ VAL_GPIODCRL

#define VAL_GPIODCRL   0x88888488 /* PD7...PD0 */

Definition at line 170 of file board.h.

◆ VAL_GPIODODR

#define VAL_GPIODODR   0xFFFFFFFF

Definition at line 172 of file board.h.

◆ VAL_GPIOECRH

#define VAL_GPIOECRH   0x88888888 /* PE15...PE8 */

Definition at line 179 of file board.h.

◆ VAL_GPIOECRL

#define VAL_GPIOECRL   0x88888888 /* PE7...PE0 */

Definition at line 178 of file board.h.

◆ VAL_GPIOEODR

#define VAL_GPIOEODR   0xFFFFFFFF

Definition at line 180 of file board.h.

Function Documentation

◆ boardInit()

void boardInit ( void  )

Board-specific initialization code.

Todo:
Add your board-specific code, if any.
Todo:
Add your board-specific code, if any.
Todo:
Add your board-specific code, if any.
Todo:
Add your board-specific code, if any.
Todo:
Add your board-specific code, if any.
Todo:
Add your board-specific code, if any.
Todo:
Add your board-specific code, if any.
Todo:
Add your board-specific code, if any.
Todo:
Add your board-specific code, if any.
Todo:
Add your board-specific code, if any.
Todo:
Add your board-specific code, if any.

Definition at line 261 of file board.c.

TIM5_SERVO_HZ
#define TIM5_SERVO_HZ
Definition: actuators_pwm_arch.h:69
PWM_SERVO_2_ACTIVE
#define PWM_SERVO_2_ACTIVE
Definition: board.h:339
PWM_SERVO_0_ACTIVE
#define PWM_SERVO_0_ACTIVE
Definition: board.h:309
TIM3_SERVO_HZ
#define TIM3_SERVO_HZ
Definition: actuators_pwm_arch.h:63
PWM_SERVO_1_ACTIVE
#define PWM_SERVO_1_ACTIVE
Definition: board.h:324
PWM_SERVO_4_ACTIVE
#define PWM_SERVO_4_ACTIVE
Definition: board.h:369
PWM_SERVO_3_ACTIVE
#define PWM_SERVO_3_ACTIVE
Definition: board.h:354
PWM_SERVO_5_ACTIVE
#define PWM_SERVO_5_ACTIVE
Definition: board.h:384