Searched refs:timeout_count (Results 1 – 2 of 2) sorted by relevance
/hal_renesas-latest/drivers/ra/fsp/src/r_iic_master/ |
D | r_iic_master.c | 827 uint32_t timeout_count = ((1U << (pclkb - iclk)) * p_ctrl->p_reg->ICBRL) >> 2U; in iic_master_run_hw_master() local 836 IIC_MASTER_HARDWARE_REGISTER_WAIT(p_ctrl->p_reg->ICCR2_b.BBSY, 0U, timeout_count); in iic_master_run_hw_master() 839 FSP_ERROR_RETURN((0U != timeout_count), FSP_ERR_IN_USE); in iic_master_run_hw_master() 1008 uint32_t timeout_count = IIC_MASTER_PERIPHERAL_REG_MAX_WAIT; in iic_master_txi_master() local 1049 IIC_MASTER_HARDWARE_REGISTER_WAIT(p_ctrl->p_reg->ICIER_b.TIE, 0U, timeout_count); in iic_master_txi_master() 1077 uint32_t timeout_count = IIC_MASTER_PERIPHERAL_REG_MAX_WAIT; in iic_master_tei_master() local 1135 IIC_MASTER_HARDWARE_REGISTER_WAIT(p_ctrl->p_reg->ICIER_b.TEIE, 0U, timeout_count); in iic_master_tei_master() 1335 uint32_t timeout_count = IIC_MASTER_PERIPHERAL_REG_MAX_WAIT; in iic_master_txi_send_address() local 1344 IIC_MASTER_HARDWARE_REGISTER_WAIT(p_ctrl->p_reg->ICIER_b.TIE, 0U, timeout_count); in iic_master_txi_send_address()
|
/hal_renesas-latest/drivers/rz/fsp/src/rzg/r_riic_master/ |
D | r_riic_master.c | 812 uint32_t timeout_count = (i2_clk / iic_clk * p_ctrl->p_reg->ICBRL_b.BRL) >> 2U; in iic_master_run_hw_master() local 821 IIC_MASTER_HARDWARE_REGISTER_WAIT(p_ctrl->p_reg->ICCR2_b.BBSY, 0UL, timeout_count); in iic_master_run_hw_master() 824 FSP_ERROR_RETURN((0U != timeout_count), FSP_ERR_IN_USE); in iic_master_run_hw_master()
|