[peripherals] mpu60x0: common implementation in c file