Go to the source code of this file.
◆ ActuatorDefaultSet
◆ ActuatorsDefaultCommit
◆ ActuatorsDefaultInit
◆ AD1_4_CHANNEL
#define AD1_4_CHANNEL ADC_CHANNEL_IN14 |
◆ AD1_5_CHANNEL
#define AD1_5_CHANNEL ADC_CHANNEL_SENSOR |
◆ ADC_4
◆ ADC_4_GPIO_PIN
#define ADC_4_GPIO_PIN GPIO4 |
◆ ADC_4_GPIO_PORT
#define ADC_4_GPIO_PORT GPIOC |
◆ ADC_5
◆ ADC_5_GPIO_PIN
#define ADC_5_GPIO_PIN GPIO4 |
◆ ADC_5_GPIO_PORT
#define ADC_5_GPIO_PORT GPIOC |
◆ ADC_CHANNEL_VSUPPLY
#define ADC_CHANNEL_VSUPPLY ADC_4 |
◆ AHB_CLK
#define AHB_CLK STM32_HCLK |
◆ BOARD_LIA_STM32F105RC
#define BOARD_LIA_STM32F105RC |
◆ BOARD_NAME
#define BOARD_NAME "Lia 1.1 STM32F105RC" |
◆ DEFAULT_ACTUATORS
◆ DefaultVoltageOfAdc
#define DefaultVoltageOfAdc |
( |
|
adc | ) |
(0.004489*adc) |
◆ 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
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 |
◆ LED_1_GPIO
◆ LED_1_GPIO_OFF
◆ LED_1_GPIO_ON
◆ LED_1_GPIO_PIN
◆ LED_2_GPIO
◆ LED_2_GPIO_OFF
◆ LED_2_GPIO_ON
◆ LED_2_GPIO_PIN
◆ LED_3_GPIO
◆ LED_3_GPIO_OFF
◆ LED_3_GPIO_ON
◆ LED_3_GPIO_PIN
◆ LED_4_GPIO
◆ LED_4_GPIO_OFF
◆ LED_4_GPIO_ON
◆ LED_4_GPIO_PIN
◆ LED_5_GPIO
◆ LED_5_GPIO_OFF
◆ LED_5_GPIO_ON
◆ LED_5_GPIO_PIN
#define LED_5_GPIO_PIN 15 |
◆ PPM_CHANNEL
#define PPM_CHANNEL ICU_CHANNEL_1 |
◆ PPM_TIMER
◆ PPM_TIMER_FREQUENCY
#define PPM_TIMER_FREQUENCY 6000000 |
◆ PWM_CONF3_DEF
Value: { \
PWM_FREQUENCY, \
NULL, \
{ \
}, \
0, \
0 \
}
Definition at line 464 of file board.h.
◆ PWM_CONF5_DEF
Value: { \
PWM_FREQUENCY, \
NULL, \
{ \
{PWM_OUTPUT_DISABLED, NULL}, \
{PWM_OUTPUT_DISABLED, NULL} \
}, \
0, \
0 \
}
Definition at line 477 of file board.h.
◆ PWM_CONF_TIM3
◆ PWM_CONF_TIM5
◆ PWM_SERVO_0
◆ PWM_SERVO_0_ACTIVE
#define PWM_SERVO_0_ACTIVE PWM_OUTPUT_ACTIVE_HIGH |
◆ PWM_SERVO_0_AF
◆ PWM_SERVO_0_CHANNEL
#define PWM_SERVO_0_CHANNEL 0 |
◆ PWM_SERVO_0_DRIVER
#define PWM_SERVO_0_DRIVER PWMD3 |
◆ PWM_SERVO_0_GPIO
#define PWM_SERVO_0_GPIO GPIOC |
◆ PWM_SERVO_0_PIN
#define PWM_SERVO_0_PIN GPIO6 |
◆ PWM_SERVO_1
◆ PWM_SERVO_1_ACTIVE
#define PWM_SERVO_1_ACTIVE PWM_OUTPUT_ACTIVE_HIGH |
◆ PWM_SERVO_1_AF
◆ PWM_SERVO_1_CHANNEL
#define PWM_SERVO_1_CHANNEL 1 |
◆ PWM_SERVO_1_DRIVER
#define PWM_SERVO_1_DRIVER PWMD3 |
◆ PWM_SERVO_1_GPIO
#define PWM_SERVO_1_GPIO GPIOC |
◆ PWM_SERVO_1_PIN
#define PWM_SERVO_1_PIN GPIO7 |
◆ PWM_SERVO_2
◆ PWM_SERVO_2_ACTIVE
#define PWM_SERVO_2_ACTIVE PWM_OUTPUT_ACTIVE_HIGH |
◆ PWM_SERVO_2_AF
◆ PWM_SERVO_2_CHANNEL
#define PWM_SERVO_2_CHANNEL 2 |
◆ PWM_SERVO_2_DRIVER
#define PWM_SERVO_2_DRIVER PWMD3 |
◆ PWM_SERVO_2_GPIO
#define PWM_SERVO_2_GPIO GPIOC |
◆ PWM_SERVO_2_PIN
#define PWM_SERVO_2_PIN GPIO8 |
◆ PWM_SERVO_3
◆ PWM_SERVO_3_ACTIVE
#define PWM_SERVO_3_ACTIVE PWM_OUTPUT_ACTIVE_HIGH |
◆ PWM_SERVO_3_AF
◆ PWM_SERVO_3_CHANNEL
#define PWM_SERVO_3_CHANNEL 3 |
◆ PWM_SERVO_3_DRIVER
#define PWM_SERVO_3_DRIVER PWMD3 |
◆ PWM_SERVO_3_GPIO
#define PWM_SERVO_3_GPIO GPIOC |
◆ PWM_SERVO_3_PIN
#define PWM_SERVO_3_PIN GPIO9 |
◆ PWM_SERVO_4
◆ PWM_SERVO_4_ACTIVE
#define PWM_SERVO_4_ACTIVE PWM_OUTPUT_ACTIVE_HIGH |
◆ PWM_SERVO_4_AF
◆ PWM_SERVO_4_CHANNEL
#define PWM_SERVO_4_CHANNEL 0 |
◆ PWM_SERVO_4_DRIVER
#define PWM_SERVO_4_DRIVER PWMD5 |
◆ PWM_SERVO_4_GPIO
#define PWM_SERVO_4_GPIO GPIOA |
◆ PWM_SERVO_4_PIN
#define PWM_SERVO_4_PIN GPIO0 |
◆ PWM_SERVO_5
◆ PWM_SERVO_5_ACTIVE
#define PWM_SERVO_5_ACTIVE PWM_OUTPUT_ACTIVE_HIGH |
◆ PWM_SERVO_5_AF
◆ PWM_SERVO_5_CHANNEL
#define PWM_SERVO_5_CHANNEL 1 |
◆ PWM_SERVO_5_DRIVER
#define PWM_SERVO_5_DRIVER PWMD5 |
◆ PWM_SERVO_5_GPIO
#define PWM_SERVO_5_GPIO GPIOA |
◆ PWM_SERVO_5_PIN
#define PWM_SERVO_5_PIN GPIO1 |
◆ 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 |
◆ SPI1_GPIO_PORT_NSS
#define SPI1_GPIO_PORT_NSS GPIOA |
◆ SPI2_GPIO_NSS
◆ SPI2_GPIO_PORT_NSS
#define SPI2_GPIO_PORT_NSS GPIOB |
◆ SPI3_GPIO_PORT_NSS
#define SPI3_GPIO_PORT_NSS GPIO |
◆ SPI_SELECT_SLAVE0_PIN
#define SPI_SELECT_SLAVE0_PIN GPIO15 |
◆ 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 |
◆ SPI_SELECT_SLAVE1_PORT
#define SPI_SELECT_SLAVE1_PORT GPIOA |
◆ SPI_SELECT_SLAVE2_PIN
#define SPI_SELECT_SLAVE2_PIN GPIO12 |
◆ SPI_SELECT_SLAVE2_PORT
#define SPI_SELECT_SLAVE2_PORT GPIOB |
◆ SPI_SELECT_SLAVE3_PIN
#define SPI_SELECT_SLAVE3_PIN GPIO13 |
◆ SPI_SELECT_SLAVE3_PORT
#define SPI_SELECT_SLAVE3_PORT GPIOC |
◆ SPI_SELECT_SLAVE4_PIN
#define SPI_SELECT_SLAVE4_PIN GPIO12 |
◆ SPI_SELECT_SLAVE4_PORT
#define SPI_SELECT_SLAVE4_PORT GPIOC |
◆ SPI_SELECT_SLAVE5_PIN
#define SPI_SELECT_SLAVE5_PIN GPIO4 |
◆ SPI_SELECT_SLAVE5_PORT
#define SPI_SELECT_SLAVE5_PORT GPIOC |
◆ STM32_HSECLK
#define STM32_HSECLK 12000000 |
◆ STM32_LSECLK
◆ STM32_VDD
◆ STM32F105xC
◆ USE_ADC_4
◆ USE_ADC_5
◆ USE_ADC_SENSOR
◆ USE_BARO_BOARD
Baro.
Apparently needed for backwards compatibility with the ancient onboard baro boards
Definition at line 554 of file board.h.
◆ USE_LED_1
◆ USE_LED_2
◆ USE_LED_3
◆ USE_LED_4
◆ USE_LED_5
◆ USE_PWM0
◆ USE_PWM1
◆ USE_PWM2
◆ USE_PWM3
◆ USE_PWM4
◆ USE_PWM5
◆ VAL_GPIOACRH
#define VAL_GPIOACRH 0x44444447 /* PA15...PA8 */ |
◆ VAL_GPIOACRL
#define VAL_GPIOACRL 0xB4BB4BBB /* PA7...PA0 */ |
◆ VAL_GPIOAODR
#define VAL_GPIOAODR 0xFFFFFFFF |
◆ VAL_GPIOBCRH
#define VAL_GPIOBCRH 0xB4B3EE74 /* PB15...PB8 */ |
◆ VAL_GPIOBCRL
#define VAL_GPIOBCRL 0xBB474444 /* PB7...PB0 */ |
◆ VAL_GPIOBODR
#define VAL_GPIOBODR 0xFFFFFFFF |
◆ VAL_GPIOCCRH
#define VAL_GPIOCCRH 0x743B4BBB /* PC15...PC8 */ |
◆ VAL_GPIOCCRL
#define VAL_GPIOCCRL 0xBB700700 /* PC7...PC0 */ |
◆ VAL_GPIOCODR
#define VAL_GPIOCODR 0xFFFFFFFF |
◆ VAL_GPIODCRH
#define VAL_GPIODCRH 0x88888888 /* PD15...PD8 */ |
◆ VAL_GPIODCRL
#define VAL_GPIODCRL 0x88888488 /* PD7...PD0 */ |
◆ VAL_GPIODODR
#define VAL_GPIODODR 0xFFFFFFFF |
◆ VAL_GPIOECRH
#define VAL_GPIOECRH 0x88888888 /* PE15...PE8 */ |
◆ VAL_GPIOECRL
#define VAL_GPIOECRL 0x88888888 /* PE7...PE0 */ |
◆ VAL_GPIOEODR
#define VAL_GPIOEODR 0xFFFFFFFF |
◆ boardInit()
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.