|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Default Ak8963 structure.
void ak8963_configure(struct Ak8963 *ak)
void ak8963_read(struct Ak8963 *ak)
void ak8963_event(struct Ak8963 *ak)
enum Ak8963ConfStatus init_status
init status
Paparazzi fixed point algebra.
Ak8963Status
Normal status states.
struct i2c_periph * i2c_p
peripheral used for communcation
bool initialized
config done flag
enum Ak8963Status status
main status
I2C transaction structure.
static void ak8963_periodic(struct Ak8963 *ak)
convenience function: read or start configuration if not already initialized
Ak8963ConfStatus
Config status states.
struct i2c_transaction i2c_trans
i2c transaction used for communication with the ak8936
volatile bool data_available
data ready flag
void ak8963_init(struct Ak8963 *ak, struct i2c_periph *i2c_p, uint8_t addr)
Initialize AK8963 struct.