The read functions have a mma8x5x_data_t* argument which is a struct with 3 int16_t members. Thus we should cast res->val instead of just res.
- renambed to mma8x5x to reflect the versatility - cleaned up the interface - fixed value computation for non 12-bit devices of the family - added default configuration with mma8x5x_params.h