[][src]Module px4flow_bsp::peripherals

This crate provides some common useful interfaces to the PX4FLOW board, such as obtaining camera and gyro data.

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