IST8310Status
Normal status states.
Default IST8310 structure.
bool initialized
config done flag
enum IST8310ConfStatus init_status
init status
Register and address definitions for the IST8310 magnetometer.
void ist8310_read(struct IST8310 *ist)
struct i2c_transaction i2c_trans
i2c transaction used for communication with the ist8310
I2C transaction structure.
static void ist8310_periodic(struct IST8310 *ist)
convenience function: read or start configuration if not already initialized
void ist8310_init(struct IST8310 *ist, struct i2c_periph *i2c_p, uint8_t addr)
Initialize IST8310 struct.
void ist8310_event(struct IST8310 *ist)
IST8310ConfStatus
Config status states.
volatile bool data_available
data ready flag
struct i2c_periph * i2c_p
peripheral used for communcation
enum IST8310Status status
main status
Paparazzi fixed point algebra.
void ist8310_configure(struct IST8310 *ist)
Architecture independent I2C (Inter-Integrated Circuit Bus) API.