[][src]Module px4flow_bsp::peripherals

! This crate provides some commonly useful interfaces to the ! PX4FLOW board, such as: ! - Camera configuration/control (via the mt9v034-i2c crate) ! - Six degree of freedom (6DOF) accelerometer and gyroscope sense via the ! l3gd20 crate ! - Read/Write onboard EEPROM ! - Reading camera image data (via a DCMI read_available function) ! See the example and README for more details.

Functions

setup_peripherals

Initialize peripherals for PX4FLOW. PX4FLOW v2.3 chip is STM32F407VGT6

Type Definitions

DcmiControlPin
DcmiCtrlPins

The DCMI (camera interface) has

DcmiDataPins

Parallel image data lines for DCMI: for the PX4FLOW, only 10 are connected to the mt9v034 image sensor

DcmiParallelDataPin
DelaySource
I2c1Port

I2C1 port used for external communication

I2c2Port

board-internal I2C2 port used for MT9V034 configuration and serial EEPROM

LedOutputActivity
LedOutputComm
LedOutputError
LedOutputPinA
LedOutputPinE
Spi2Port

SPI2 port used for Gyro

SpiGyroCsn

Chip select pin for Gyro (used with SPI2)

Uart4Port
UartIoPin
Usart2Port
Usart3Port
UsartIoPin