Driver for a Freescale MAG3110 magnetometer.
All correct at time of writing, but as always, manufacturers love to move things around on their website.
This code has been tested using a Freescale LFSTBEB3110 sensor daughterboard:
This was wired to a CoreProto and plugged into a SenseCore:
And finally installed on a SolderCore:
|Bandwidth (Hz)||0.625, 1.25, 2.5, 5, 10, 20, 40|
|Communication||up to 400 kHz (I2C)|
|MAG3110_I2C_ADDR||MAG3110 8-bit I2C address|
|mag3110_initialize_i2c||Initialize sensor on I2C bus|
|mag3110_read_die_temperature||Read die temperature|
|mag3110_set_oversampling_ratio||Set oversampling ratio|