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