Driver for a Freescale MMA8491Q accelerometer.
All correct at time of writing, but as always, manufacturers love to move things around on their website.
This code has been tested using an eLement-14/Freescale XTRINSIC-SENSORS-EVK:
This was wired to a CoreStack and installed on a SolderCore:
http://soldercore.com/products/soldercore/
| Parameter | Supported settings |
| Bandwidth (Hz) | 1.56, 6.25, 12.5, 50, 100, 200, 400, 800 |
| Range (g) | ±8 |
| Communication | 400 kHz (I2C) |
| Macros | |
| MMA8491Q_I2C_ADDR | MMA8491Q 8-bit I2C address |
| Functions | |
| mma8491q_initialize_i2c | Initialize sensor on I2C bus |