1 #ifndef BOARD_STM32V1F4 2 #define BOARD_STM32V1F4 5 #include "../../SPIDevice.h" 159 {
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 },
161 {
BOARD_SDCARD_NAME,
_SPI3, 3,
SPI_MODE_3, 255,
SPI_1_125MHZ,
SPI_18MHZ,
SPI_TRANSFER_DMA,
DMA_Priority_Medium, 0, 1 },
168 #ifdef BOARD_HMC5883_DRDY_PIN 175 #ifdef BOARD_MPU6000_DRDY_PIN 182 #ifdef BOARD_SBUS_INVERTER const adc_dev const _adc3
#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__
-*- 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
const uint8_t F4Light_SPI_DEVICE_NUM_DEVICES
const struct TIM_Channel PWM_Channels[]
Stores STM32-specific information related to a given Maple pin.
const gpio_dev *const gpio_device
static INLINE void gpio_write_bit(const gpio_dev *const dev, uint8_t pin, uint8_t val)
#define BOARD_MPU6000_DRDY_PIN