Rleg
2
|
Modules | |
Routines to calibrate sensors | |
Functions for accelerometer ADXL345 | |
Functions for Gyrometer ITG3200 | |
Functions to Magnetometer HMC5883 | |
Functions | |
int | mag_write_reg (int i2c_dev, uint8_t reg, uint8_t data) |
WRITE TO REGISTER. More... | |
int mag_write_reg | ( | int | i2c_dev, |
uint8_t | reg, | ||
uint8_t | data | ||
) |
WRITE TO REGISTER.
i2c_dev | ||
reg | ||
[in] | WRITE TO REGISTER. |
Implements the I2C communication between Gumstix Overo Fire and HMC5883
Definition at line 10 of file mag_functions.c.
References MAG_MODE.
Referenced by mag_init().