Searched refs:st1663i_client (Results 1 – 1 of 1) sorted by relevance
22 static struct rt_i2c_client st1663i_client; variable147 error = st1663i_read_reg(&st1663i_client, 0x10, (rt_uint8_t *)&sStRegMap, sizeof(sStRegMap)); in st1663i_read_point()292 st1663i_client.bus = (struct rt_i2c_bus_device *)rt_device_find(cfg->dev_name); in rt_hw_st1663i_init()294 if (st1663i_client.bus == RT_NULL) in rt_hw_st1663i_init()300 if (rt_device_open((rt_device_t)st1663i_client.bus, RT_DEVICE_FLAG_RDWR) != RT_EOK) in rt_hw_st1663i_init()306 … if (rt_device_control((rt_device_t)st1663i_client.bus, RT_I2C_DEV_CTRL_CLK, &bus_speed) != RT_EOK) in rt_hw_st1663i_init()312 st1663i_client.client_addr = ST1663I_ADDRESS; in rt_hw_st1663i_init()314 st1663i_init(&st1663i_client); in rt_hw_st1663i_init()
Completed in 2 milliseconds