dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
pios_px4flow_priv.h File Reference
#include <stdint.h>
#include <stdbool.h>

Go to the source code of this file.

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 ()