dRonin
adbada4
dRonin firmware
|
Deals with the hardware interface to the PixHawk optical flow sensor. More...
Files | |
file | pios_px4flow.c |
PX4Flow optical flow sensor. | |
Data Structures | |
struct | Rotation |
struct | pios_px4flow_cfg |
struct | pios_px4flow_data |
Macros | |
#define | PIOS_PX4FLOW_I2C_7_BIT_ADDR 0x42 |
#define | PIOS_PX4FLOW_FRAMECOUNTER_LSB 0x00 |
#define | PIOS_PX4FLOW_FRAMECOUNTER_SINCE_LAST_I2C_READING_LSB 0x16 |
Functions | |
int32_t | PIOS_PX4Flow_Init (const struct pios_px4flow_cfg *cfg, pios_i2c_t i2c_id) |
int32_t | PIOS_PX4Flow_Test (void) |
int32_t | PIOS_PX4Flow_SetRotation (const struct Rotation rotation) |
bool | PIOS_PX4Flow_IRQHandler () |
Deals with the hardware interface to the PixHawk optical flow sensor.
#define PIOS_PX4FLOW_FRAMECOUNTER_LSB 0x00 |
Definition at line 23 of file pios_px4flow_priv.h.
#define PIOS_PX4FLOW_FRAMECOUNTER_SINCE_LAST_I2C_READING_LSB 0x16 |
Definition at line 24 of file pios_px4flow_priv.h.
#define PIOS_PX4FLOW_I2C_7_BIT_ADDR 0x42 |
Definition at line 22 of file pios_px4flow_priv.h.
int32_t PIOS_PX4Flow_Init | ( | const struct pios_px4flow_cfg * | cfg, |
pios_i2c_t | i2c_id | ||
) |
bool PIOS_PX4Flow_IRQHandler | ( | ) |
int32_t PIOS_PX4Flow_SetRotation | ( | const struct Rotation | rotation | ) |
int32_t PIOS_PX4Flow_Test | ( | void | ) |