CTL_STATUS_t mma8491q_initialize_i2c(MMA8491Q_ACCELEROMETER_t *self, CTL_I2C_BUS_t *bus, int addr, CTL_STATUS_t write_en *self, int);
mma8491q_initialize_i2c initializes the accelerometer interface self with methods to communicate with an MMA8491Q accelerometer on the I2C bus bus with 8-bit I2C address addr.
Once the accelerometer interface is initialized, you can use all standard accelerometer methods from the sensor API on the interface.
mma8491q_initialize_i2c returns a standard status code.
mma8491q_initialize_i2c is thread-safe if a mutex is associated with the I2C bus bus.