Home
last modified time | relevance | path

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

/device/soc/hpmicro/sdk/hpm_sdk/drivers/src/
Dhpm_i2c_drv.c27 uint16_t t_sp; member
71 timing->t_sp = 50 / period_in_ns(src_clk_in_hz) / (HPM_I2C_DRV_DEFAULT_TPM + 1); in i2c_configure_timing()
80 …t_sudat = (250 - 2 * period_in_ns(src_clk_in_hz)) / period_in_ns(src_clk_in_hz) - 2 - timing->t_sp; in i2c_configure_timing()
89 …t_hddat = (300 - 2 * period_in_ns(src_clk_in_hz)) / period_in_ns(src_clk_in_hz) - 2 - timing->t_sp; in i2c_configure_timing()
95 / (HPM_I2C_DRV_DEFAULT_TPM + 1) / period_in_ns(src_clk_in_hz) - 2 - timing->t_sp; in i2c_configure_timing()
101 / (HPM_I2C_DRV_DEFAULT_TPM + 1) / period_in_ns(src_clk_in_hz) - 2 - timing->t_sp) in i2c_configure_timing()
129 ptr->SETUP = I2C_SETUP_T_SP_SET(timing.t_sp) in i2c_init_master()
422 ptr->SETUP = I2C_SETUP_T_SP_SET(timing.t_sp) in i2c_init_slave()