Paparazzi UAS  v7.0_unstable
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 AFIO_MAPR_VAL   (AFIO_MAPR_USART3_REMAP_PARTIALREMAP | AFIO_MAPR_SWJ_CFG_NOJNTRST | AFIO_MAPR_TIM3_REMAP_FULLREMAP)
 Remap several IO pins. More...
 
#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_PWM_TIM3   1
 
#define USE_PWM_TIM5   1
 
#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_CONF   pwmcfg3
 
#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_CONF   pwmcfg3
 
#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_CONF   pwmcfg3
 
#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_CONF   pwmcfg3
 
#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_SERVO4_CONF   pwmcfg5
 
#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_CONF   pwmcfg5
 
#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   "modules/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 490 of file board.h.

◆ ActuatorsDefaultCommit

#define ActuatorsDefaultCommit ( )    ActuatorsPwmCommit()

Definition at line 492 of file board.h.

◆ ActuatorsDefaultInit

#define ActuatorsDefaultInit ( )    ActuatorsPwmInit()

Definition at line 491 of file board.h.

◆ AD1_4_CHANNEL

#define AD1_4_CHANNEL   ADC_CHANNEL_IN14

Definition at line 273 of file board.h.

◆ AD1_5_CHANNEL

#define AD1_5_CHANNEL   ADC_CHANNEL_SENSOR

Definition at line 285 of file board.h.

◆ ADC_4

#define ADC_4   AD1_4

Definition at line 274 of file board.h.

◆ ADC_4_GPIO_PIN

#define ADC_4_GPIO_PIN   GPIO4

Definition at line 276 of file board.h.

◆ ADC_4_GPIO_PORT

#define ADC_4_GPIO_PORT   GPIOC

Definition at line 275 of file board.h.

◆ ADC_5

#define ADC_5   AD1_5

Definition at line 286 of file board.h.

◆ ADC_5_GPIO_PIN

#define ADC_5_GPIO_PIN   GPIO4

Definition at line 288 of file board.h.

◆ ADC_5_GPIO_PORT

#define ADC_5_GPIO_PORT   GPIOC

Definition at line 287 of file board.h.

◆ ADC_CHANNEL_VSUPPLY

#define ADC_CHANNEL_VSUPPLY   ADC_4

Definition at line 295 of file board.h.

◆ AFIO_MAPR_VAL

#define AFIO_MAPR_VAL   (AFIO_MAPR_USART3_REMAP_PARTIALREMAP | AFIO_MAPR_SWJ_CFG_NOJNTRST | AFIO_MAPR_TIM3_REMAP_FULLREMAP)

Remap several IO pins.

Definition at line 185 of file board.h.

◆ AHB_CLK

#define AHB_CLK   STM32_HCLK

Definition at line 190 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   "modules/actuators/actuators_pwm.h"

Definition at line 489 of file board.h.

◆ DefaultVoltageOfAdc

#define DefaultVoltageOfAdc (   adc)    (0.004489*adc)

Definition at line 298 of file board.h.

◆ I2C1_CFG_DEF

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

Definition at line 433 of file board.h.

◆ I2C1_CLOCK_SPEED

#define I2C1_CLOCK_SPEED   400000

I2C defines.

Definition at line 432 of file board.h.

◆ I2C2_CFG_DEF

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

Definition at line 440 of file board.h.

◆ I2C2_CLOCK_SPEED

#define I2C2_CLOCK_SPEED   400000

Definition at line 439 of file board.h.

◆ LED_1_GPIO

#define LED_1_GPIO   GPIOA

Definition at line 200 of file board.h.

◆ LED_1_GPIO_OFF

#define LED_1_GPIO_OFF   gpio_set

Definition at line 203 of file board.h.

◆ LED_1_GPIO_ON

#define LED_1_GPIO_ON   gpio_clear

Definition at line 202 of file board.h.

◆ LED_1_GPIO_PIN

#define LED_1_GPIO_PIN   8

Definition at line 201 of file board.h.

◆ LED_2_GPIO

#define LED_2_GPIO   GPIOB

Definition at line 209 of file board.h.

◆ LED_2_GPIO_OFF

#define LED_2_GPIO_OFF   gpio_set

Definition at line 212 of file board.h.

◆ LED_2_GPIO_ON

#define LED_2_GPIO_ON   gpio_clear

Definition at line 211 of file board.h.

◆ LED_2_GPIO_PIN

#define LED_2_GPIO_PIN   4

Definition at line 210 of file board.h.

◆ LED_3_GPIO

#define LED_3_GPIO   GPIOC

Definition at line 218 of file board.h.

◆ LED_3_GPIO_OFF

#define LED_3_GPIO_OFF   gpio_set

Definition at line 221 of file board.h.

◆ LED_3_GPIO_ON

#define LED_3_GPIO_ON   gpio_clear

Definition at line 220 of file board.h.

◆ LED_3_GPIO_PIN

#define LED_3_GPIO_PIN   2

Definition at line 219 of file board.h.

◆ LED_4_GPIO

#define LED_4_GPIO   GPIOC

Definition at line 227 of file board.h.

◆ LED_4_GPIO_OFF

#define LED_4_GPIO_OFF   gpio_set

Definition at line 230 of file board.h.

◆ LED_4_GPIO_ON

#define LED_4_GPIO_ON   gpio_clear

Definition at line 229 of file board.h.

◆ LED_4_GPIO_PIN

#define LED_4_GPIO_PIN   5

Definition at line 228 of file board.h.

◆ LED_5_GPIO

#define LED_5_GPIO   GPIOC

Definition at line 236 of file board.h.

◆ LED_5_GPIO_OFF

#define LED_5_GPIO_OFF   gpio_clear

Definition at line 239 of file board.h.

◆ LED_5_GPIO_ON

#define LED_5_GPIO_ON   gpio_set

Definition at line 238 of file board.h.

◆ LED_5_GPIO_PIN

#define LED_5_GPIO_PIN   15

Definition at line 237 of file board.h.

◆ PPM_CHANNEL

#define PPM_CHANNEL   ICU_CHANNEL_1

Definition at line 426 of file board.h.

◆ PPM_TIMER

#define PPM_TIMER   ICUD1

Definition at line 427 of file board.h.

◆ PPM_TIMER_FREQUENCY

#define PPM_TIMER_FREQUENCY   6000000

Definition at line 425 of file board.h.

◆ PWM_SERVO4_CONF

#define PWM_SERVO4_CONF   pwmcfg5

Definition at line 377 of file board.h.

◆ PWM_SERVO_0

#define PWM_SERVO_0   0

Definition at line 319 of file board.h.

◆ PWM_SERVO_0_AF

#define PWM_SERVO_0_AF   GPIO_AF2

Definition at line 322 of file board.h.

◆ PWM_SERVO_0_CHANNEL

#define PWM_SERVO_0_CHANNEL   0

Definition at line 324 of file board.h.

◆ PWM_SERVO_0_CONF

#define PWM_SERVO_0_CONF   pwmcfg3

Definition at line 325 of file board.h.

◆ PWM_SERVO_0_DRIVER

#define PWM_SERVO_0_DRIVER   PWMD3

Definition at line 323 of file board.h.

◆ PWM_SERVO_0_GPIO

#define PWM_SERVO_0_GPIO   GPIOC

Definition at line 320 of file board.h.

◆ PWM_SERVO_0_PIN

#define PWM_SERVO_0_PIN   GPIO6

Definition at line 321 of file board.h.

◆ PWM_SERVO_1

#define PWM_SERVO_1   1

Definition at line 332 of file board.h.

◆ PWM_SERVO_1_AF

#define PWM_SERVO_1_AF   GPIO_AF1

Definition at line 335 of file board.h.

◆ PWM_SERVO_1_CHANNEL

#define PWM_SERVO_1_CHANNEL   1

Definition at line 337 of file board.h.

◆ PWM_SERVO_1_CONF

#define PWM_SERVO_1_CONF   pwmcfg3

Definition at line 338 of file board.h.

◆ PWM_SERVO_1_DRIVER

#define PWM_SERVO_1_DRIVER   PWMD3

Definition at line 336 of file board.h.

◆ PWM_SERVO_1_GPIO

#define PWM_SERVO_1_GPIO   GPIOC

Definition at line 333 of file board.h.

◆ PWM_SERVO_1_PIN

#define PWM_SERVO_1_PIN   GPIO7

Definition at line 334 of file board.h.

◆ PWM_SERVO_2

#define PWM_SERVO_2   2

Definition at line 345 of file board.h.

◆ PWM_SERVO_2_AF

#define PWM_SERVO_2_AF   GPIO_AF2

Definition at line 348 of file board.h.

◆ PWM_SERVO_2_CHANNEL

#define PWM_SERVO_2_CHANNEL   2

Definition at line 350 of file board.h.

◆ PWM_SERVO_2_CONF

#define PWM_SERVO_2_CONF   pwmcfg3

Definition at line 351 of file board.h.

◆ PWM_SERVO_2_DRIVER

#define PWM_SERVO_2_DRIVER   PWMD3

Definition at line 349 of file board.h.

◆ PWM_SERVO_2_GPIO

#define PWM_SERVO_2_GPIO   GPIOC

Definition at line 346 of file board.h.

◆ PWM_SERVO_2_PIN

#define PWM_SERVO_2_PIN   GPIO8

Definition at line 347 of file board.h.

◆ PWM_SERVO_3

#define PWM_SERVO_3   3

Definition at line 358 of file board.h.

◆ PWM_SERVO_3_AF

#define PWM_SERVO_3_AF   GPIO_AF2

Definition at line 361 of file board.h.

◆ PWM_SERVO_3_CHANNEL

#define PWM_SERVO_3_CHANNEL   3

Definition at line 363 of file board.h.

◆ PWM_SERVO_3_CONF

#define PWM_SERVO_3_CONF   pwmcfg3

Definition at line 364 of file board.h.

◆ PWM_SERVO_3_DRIVER

#define PWM_SERVO_3_DRIVER   PWMD3

Definition at line 362 of file board.h.

◆ PWM_SERVO_3_GPIO

#define PWM_SERVO_3_GPIO   GPIOC

Definition at line 359 of file board.h.

◆ PWM_SERVO_3_PIN

#define PWM_SERVO_3_PIN   GPIO9

Definition at line 360 of file board.h.

◆ PWM_SERVO_4

#define PWM_SERVO_4   4

Definition at line 371 of file board.h.

◆ PWM_SERVO_4_AF

#define PWM_SERVO_4_AF   GPIO_AF2

Definition at line 374 of file board.h.

◆ PWM_SERVO_4_CHANNEL

#define PWM_SERVO_4_CHANNEL   0

Definition at line 376 of file board.h.

◆ PWM_SERVO_4_DRIVER

#define PWM_SERVO_4_DRIVER   PWMD5

Definition at line 375 of file board.h.

◆ PWM_SERVO_4_GPIO

#define PWM_SERVO_4_GPIO   GPIOA

Definition at line 372 of file board.h.

◆ PWM_SERVO_4_PIN

#define PWM_SERVO_4_PIN   GPIO0

Definition at line 373 of file board.h.

◆ PWM_SERVO_5

#define PWM_SERVO_5   5

Definition at line 384 of file board.h.

◆ PWM_SERVO_5_AF

#define PWM_SERVO_5_AF   GPIO_AF2

Definition at line 387 of file board.h.

◆ PWM_SERVO_5_CHANNEL

#define PWM_SERVO_5_CHANNEL   1

Definition at line 389 of file board.h.

◆ PWM_SERVO_5_CONF

#define PWM_SERVO_5_CONF   pwmcfg5

Definition at line 390 of file board.h.

◆ PWM_SERVO_5_DRIVER

#define PWM_SERVO_5_DRIVER   PWMD5

Definition at line 388 of file board.h.

◆ PWM_SERVO_5_GPIO

#define PWM_SERVO_5_GPIO   GPIOA

Definition at line 385 of file board.h.

◆ PWM_SERVO_5_PIN

#define PWM_SERVO_5_PIN   GPIO1

Definition at line 386 of file board.h.

◆ RC_PPM_TICKS_PER_USEC

#define RC_PPM_TICKS_PER_USEC   6

PPM radio defines.

Definition at line 424 of file board.h.

◆ SPI1_GPIO_NSS

#define SPI1_GPIO_NSS   GPIO4

Definition at line 468 of file board.h.

◆ SPI1_GPIO_PORT_NSS

#define SPI1_GPIO_PORT_NSS   GPIOA

Definition at line 467 of file board.h.

◆ SPI2_GPIO_NSS

#define SPI2_GPIO_NSS   GPIO12

Definition at line 471 of file board.h.

◆ SPI2_GPIO_PORT_NSS

#define SPI2_GPIO_PORT_NSS   GPIOB

Definition at line 470 of file board.h.

◆ SPI3_GPIO_PORT_NSS

#define SPI3_GPIO_PORT_NSS   GPIO

Definition at line 473 of file board.h.

◆ SPI_SELECT_SLAVE0_PIN

#define SPI_SELECT_SLAVE0_PIN   GPIO15

Definition at line 450 of file board.h.

◆ SPI_SELECT_SLAVE0_PORT

#define SPI_SELECT_SLAVE0_PORT   GPIOA

SPI Config.

Definition at line 449 of file board.h.

◆ SPI_SELECT_SLAVE1_PIN

#define SPI_SELECT_SLAVE1_PIN   GPIO4

Definition at line 453 of file board.h.

◆ SPI_SELECT_SLAVE1_PORT

#define SPI_SELECT_SLAVE1_PORT   GPIOA

Definition at line 452 of file board.h.

◆ SPI_SELECT_SLAVE2_PIN

#define SPI_SELECT_SLAVE2_PIN   GPIO12

Definition at line 456 of file board.h.

◆ SPI_SELECT_SLAVE2_PORT

#define SPI_SELECT_SLAVE2_PORT   GPIOB

Definition at line 455 of file board.h.

◆ SPI_SELECT_SLAVE3_PIN

#define SPI_SELECT_SLAVE3_PIN   GPIO13

Definition at line 459 of file board.h.

◆ SPI_SELECT_SLAVE3_PORT

#define SPI_SELECT_SLAVE3_PORT   GPIOC

Definition at line 458 of file board.h.

◆ SPI_SELECT_SLAVE4_PIN

#define SPI_SELECT_SLAVE4_PIN   GPIO12

Definition at line 462 of file board.h.

◆ SPI_SELECT_SLAVE4_PORT

#define SPI_SELECT_SLAVE4_PORT   GPIOC

Definition at line 461 of file board.h.

◆ SPI_SELECT_SLAVE5_PIN

#define SPI_SELECT_SLAVE5_PIN   GPIO4

Definition at line 465 of file board.h.

◆ SPI_SELECT_SLAVE5_PORT

#define SPI_SELECT_SLAVE5_PORT   GPIOC

Definition at line 464 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 270 of file board.h.

◆ USE_ADC_5

#define USE_ADC_5   1

Definition at line 281 of file board.h.

◆ USE_ADC_SENSOR

#define USE_ADC_SENSOR   1

Definition at line 282 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 482 of file board.h.

◆ USE_LED_1

#define USE_LED_1   1

Definition at line 198 of file board.h.

◆ USE_LED_2

#define USE_LED_2   1

Definition at line 207 of file board.h.

◆ USE_LED_3

#define USE_LED_3   1

Definition at line 216 of file board.h.

◆ USE_LED_4

#define USE_LED_4   1

Definition at line 225 of file board.h.

◆ USE_LED_5

#define USE_LED_5   0

Definition at line 234 of file board.h.

◆ USE_PWM0

#define USE_PWM0   1

Definition at line 316 of file board.h.

◆ USE_PWM1

#define USE_PWM1   1

Definition at line 329 of file board.h.

◆ USE_PWM2

#define USE_PWM2   1

Definition at line 342 of file board.h.

◆ USE_PWM3

#define USE_PWM3   1

Definition at line 355 of file board.h.

◆ USE_PWM4

#define USE_PWM4   1

Definition at line 368 of file board.h.

◆ USE_PWM5

#define USE_PWM5   1

Definition at line 381 of file board.h.

◆ USE_PWM_TIM3

#define USE_PWM_TIM3   1

Definition at line 305 of file board.h.

◆ USE_PWM_TIM5

#define USE_PWM_TIM5   1

Definition at line 309 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.

Definition at line 317 of file board.c.