ULTRA96/tof_demo/src/vl53l0x_i2c.c
//
// Deinitialize the I2C interface and reset the 
//  the VL53L0X_Device.
//
Deinitialize the I2C interface and reset the
the VL53L0X_Device.
Deinitialize the I2C interface and reset the the VL53L0X_Device .
int VL53L0X_i2c_close(VL53L0X_Dev_t *pMyDevice)
{
    __gpioSet(enPin,0);
    __gpioClose(enPin);
    pMyDevice->I2cDevAddr      = VL53L0X_SAD;
    pMyDevice->comms_type      =  I2C_MODE;
    return 1;
}
int VL53L0X_i2c_close ( VL53L0X_Dev_t * pMyDevice ) { __gpioSet ( enPin , 0 ) ; __gpioClose ( enPin ) ; pMyDevice -> I2cDevAddr = VL53L0X_SAD ; pMyDevice -> comms_type = I2C_MODE ; return 1 ; }
Deinitialize the I2C interface and reset the
the VL53L0X_Device.
Deinitialize the I2C interface and reset the the VL53L0X_Device .
//    __gpioClose(drPin);