1 #ifndef BOARD_STM32V1F4 2 #define BOARD_STM32V1F4 5 #include "../../SPIDevice.h" 192 {
BOARD_INS_MPU60x0_NAME,
_SPI1, 1,
SPI_MODE_0,
BOARD_MPU6000_CS_PIN,
SPI_1_125MHZ,
SPI_9MHZ,
SPI_TRANSFER_DMA,
DMA_Priority_VeryHigh, 1, 5 },
193 {
BOARD_SDCARD_NAME,
_SPI2, 2,
SPI_MODE_0, 255,
SPI_1_125MHZ,
SPI_18MHZ,
SPI_TRANSFER_DMA,
DMA_Priority_Medium, 0, 0 },
194 {
HAL_BARO_BMP280_NAME,
_SPI3, 3,
SPI_MODE_3,
BOARD_BMP280_CS_PIN,
SPI_1_125MHZ,
SPI_9MHZ,
SPI_TRANSFER_DMA,
DMA_Priority_High, 1, 1 },
195 {
BOARD_OSD_NAME,
_SPI3, 3,
SPI_MODE_3,
BOARD_OSD_CS_PIN,
SPI_1_125MHZ,
SPI_4_5MHZ,
SPI_TRANSFER_DMA,
DMA_Priority_Low, 2, 2 },
213 #ifdef BOARD_HMC5883_DRDY_PIN 218 #ifdef BOARD_MPU6000_DRDY_PIN 223 #ifdef BOARD_SBUS_INVERTER const adc_dev const _adc3
#define BOARD_BMP280_CS_PIN
const spi_dev *const _SPI2
#define BOARD_SBUS_INVERTER
#define BOARD_INS_MPU60x0_NAME
#define BOARD_HMC5883_DRDY_PIN
const stm32_pin_info PIN_MAP[BOARD_NR_GPIO_PINS]
const stm32_pin_info PIN_MAP [BOARD_NR_GPIO_PINS] __FLASH__
#define DMA_Priority_High
-*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
void gpio_set_mode(const gpio_dev *const dev, uint8_t pin, gpio_pin_mode mode)
const SPIDesc spi_device_table[]
const spi_dev *const _SPI3
#define BOARD_MPU6000_CS_PIN
#define BOARD_SDCARD_NAME
#define DMA_Priority_Medium
#define BOARD_NR_GPIO_PINS
#define DMA_Priority_VeryHigh
Board-specific pin information.
Common definitions and utility routines for the ArduPilot libraries.
void boardInit(void)
Board-specific initialization code.
const spi_dev *const _SPI1
#define HAL_BARO_BMP280_NAME
const uint8_t F4Light_SPI_DEVICE_NUM_DEVICES
const struct TIM_Channel PWM_Channels[]
Stores STM32-specific information related to a given Maple pin.
static INLINE void gpio_write_bit(const gpio_dev *const dev, uint8_t pin, uint8_t val)
#define BOARD_MPU6000_DRDY_PIN