Driver for a Kionix KXTF9 3-axis accelerometer.
All correct at time of writing, but as always, manufacturers love to move things around on their website.
http://www.kionix.com/accelerometers/kxtf9
http://www.kionix.com/sites/default/files/KXTF9-1026%20Specifications%20Rev%206.pdf
This code has been tested using an ATAVRSBIN2 Inertial Evaluation Board and a MEGA-1284P Xplained board.
| Parameter | Supported settings |
| Bandwidth (Hz) | No configurable |
| Range (g) | ±2, ±4, ±8 |
| Communication | up to 400 kHz (I2C) |
| Macros | |
| KXTF9_I2C_ADDR | KXTF9 8-bit I2C address |
| Functions | |
| kxtf9_initialize_i2c | Initialize sensor on I2C bus |