Home
last modified time | relevance | path

Searched refs:int_i2c (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/drivers/rtc/
Drtc_am1805.c95 const struct i2c_dt_spec int_i2c; member
127 err = i2c_reg_update_byte_dt(&config->int_i2c, REG_CONTROL1_ADDR, in am1805_set_time()
146 err = i2c_burst_write_dt(&config->int_i2c, REG_SECONDS_ADDR, regs, sizeof(regs)); in am1805_set_time()
152 err = i2c_reg_update_byte_dt(&config->int_i2c, REG_CONTROL1_ADDR, REG_CONTROL1_STOP, 0); in am1805_set_time()
172 err = i2c_reg_read_byte_dt(&config->int_i2c, REG_CONTROL1_ADDR, &ctl_reg); in am1805_get_time()
183 err = i2c_burst_read_dt(&config->int_i2c, REG_SECONDS_ADDR, regs, sizeof(regs)); in am1805_get_time()
257 err = i2c_reg_write_byte_dt(&config->int_i2c, REG_OSC_STATUS_ADDR, reg); in am1805_set_calibration()
265 err = i2c_reg_write_byte_dt(&config->int_i2c, REG_XT_CALIB_ADDR, reg); in am1805_set_calibration()
288 err = i2c_reg_read_byte_dt(&config->int_i2c, REG_OSC_STATUS_ADDR, &reg); in am1805_get_calibration()
296 err = i2c_reg_read_byte_dt(&config->int_i2c, REG_XT_CALIB_ADDR, &reg); in am1805_get_calibration()
[all …]