Ak8963ConfStatus
Config status states.
void ak8963_configure(struct Ak8963 *ak)
bool initialized
config done flag
enum Ak8963Status status
main status
Default Ak8963 structure.
struct i2c_periph * i2c_p
peripheral used for communcation
enum Ak8963ConfStatus init_status
init status
Ak8963Status
Normal status states.
I2C transaction structure.
I2C peripheral structure.
static void ak8963_periodic(struct Ak8963 *ak)
convenience function: read or start configuration if not already initialized
void ak8963_read(struct Ak8963 *ak)
volatile bool data_available
data ready flag
void ak8963_init(struct Ak8963 *ak, struct i2c_periph *i2c_p, uint8_t addr)
Initialize AK8963 struct.
struct i2c_transaction i2c_trans
i2c transaction used for communication with the ak8936
void ak8963_event(struct Ak8963 *ak)
Paparazzi fixed point algebra.
Architecture independent I2C (Inter-Integrated Circuit Bus) API.