CTL_STATUS_t mpu6000_aux_transport_setup(CTL_TRANSPORT_t *aux, MPU6000_t *mpu);
mpu6000_aux_transport_setup initializes the transport aux to issue I2C transactions on the MPU-60x0 mpu auxiliary I2C bus. This allows SPI-based MPU-6000s to control a magnetometer, or any other sensor, attached to its auxiliary I2C bus.
mpu6000_aux_transport_setup returns a standard status code.
mpu6000_aux_transport_setup is thread-safe if the transport aux is thread-safe. Typically, for SPI and I2C transports, you ensure thread safety by associating a mutex with the bus used by the transport.