Searched refs:g_I2cBusDev (Results 1 – 2 of 2) sorted by relevance
31 static struct rt_i2c_bus_device *g_I2cBusDev = NULL; variable67 RT_ASSERT(g_I2cBusDev != NULL); in I2C_ReadNAU8822()80 if (rt_i2c_transfer(g_I2cBusDev, &msgs[0], 2) != 2) in I2C_ReadNAU8822()94 RT_ASSERT(g_I2cBusDev != NULL); in I2C_WriteNAU8822()104 if (g_I2cBusDev && rt_i2c_transfer(g_I2cBusDev, &msg, 1) != 1) in I2C_WriteNAU8822()469 g_I2cBusDev = psI2cBusDev; in nu_hw_nau8822_init()
31 static struct rt_i2c_bus_device *g_I2cBusDev = NULL; variable67 RT_ASSERT(g_I2cBusDev != NULL); in I2C_WriteNAU88L25()79 if (g_I2cBusDev && rt_i2c_transfer(g_I2cBusDev, &msg, 1) != 1) in I2C_WriteNAU88L25()93 RT_ASSERT(g_I2cBusDev != NULL); in I2C_ReadNAU88L25()109 if (rt_i2c_transfer(g_I2cBusDev, &msgs[0], 2) != 2) in I2C_ReadNAU88L25()464 g_I2cBusDev = psI2cBusDev; in nu_hw_nau88l25_init()
Completed in 690 milliseconds