|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
void adxl345_i2c_start_configure(struct Adxl345_I2c *adxl)
Start configuration if not already done.
struct Adxl345Config config
static void adxl345_i2c_periodic(struct Adxl345_I2c *adxl)
convenience function: read or start configuration if not already initialized
Paparazzi fixed point algebra.
struct i2c_periph * i2c_p
bool initialized
config done flag
I2C transaction structure.
void adxl345_i2c_event(struct Adxl345_I2c *adxl)
union Adxl345_I2c::@304 data
volatile bool data_available
data ready flag
void adxl345_i2c_read(struct Adxl345_I2c *adxl)
struct i2c_transaction i2c_trans
enum Adxl345ConfStatus init_status
init status
void adxl345_i2c_init(struct Adxl345_I2c *adxl, struct i2c_periph *i2c_p, uint8_t addr)