Lines Matching refs:scbClockHz

546 uint32_t Cy_SCB_I2C_SetDataRate(CySCB_Type *base, uint32_t dataRateHz, uint32_t scbClockHz)  in Cy_SCB_I2C_SetDataRate()  argument
548 CY_ASSERT_L2(scbClockHz > 0UL); in Cy_SCB_I2C_SetDataRate()
555 actualDataRateHz = Cy_SCB_I2C_GetDataRate(base, scbClockHz); in Cy_SCB_I2C_SetDataRate()
579 …if ((scbClockHz >= CY_SCB_I2C_MASTER_STD_CLK_MIN) && (scbClockHz <= CY_SCB_I2C_MASTER_STD_CLK_MAX)) in Cy_SCB_I2C_SetDataRate()
591 …if ((scbClockHz >= CY_SCB_I2C_MASTER_FST_CLK_MIN) && (scbClockHz <= CY_SCB_I2C_MASTER_FST_CLK_MAX)) in Cy_SCB_I2C_SetDataRate()
603 …if ((scbClockHz >= CY_SCB_I2C_MASTER_FSTP_CLK_MIN) && (scbClockHz <= CY_SCB_I2C_MASTER_FSTP_CLK_MA… in Cy_SCB_I2C_SetDataRate()
620 uint32_t period = 1000000000U / scbClockHz; in Cy_SCB_I2C_SetDataRate()
652 actualDataRateHz = scbClockHz / (lowPhase + highPhase); in Cy_SCB_I2C_SetDataRate()
678 actualDataRateHz = scbClockHz / (lowPhase + highPhase); in Cy_SCB_I2C_SetDataRate()
723 uint32_t Cy_SCB_I2C_GetDataRate(CySCB_Type const *base, uint32_t scbClockHz) in Cy_SCB_I2C_GetDataRate() argument
725 CY_ASSERT_L2(scbClockHz > 0UL); in Cy_SCB_I2C_GetDataRate()
732 … if ((scbClockHz >= CY_SCB_I2C_SLAVE_FST_CLK_MIN) && (scbClockHz <= CY_SCB_I2C_SLAVE_FST_CLK_MAX)) in Cy_SCB_I2C_GetDataRate()
736 …else if ((scbClockHz >= CY_SCB_I2C_SLAVE_STD_CLK_MIN) && (scbClockHz <= CY_SCB_I2C_SLAVE_STD_CLK_M… in Cy_SCB_I2C_GetDataRate()
740 …else if ((scbClockHz >= CY_SCB_I2C_SLAVE_FSTP_CLK_MIN) && (scbClockHz <= CY_SCB_I2C_SLAVE_FSTP_CLK… in Cy_SCB_I2C_GetDataRate()
754 if (scbClockHz > 0U) in Cy_SCB_I2C_GetDataRate()
764 actualDataRate = (scbClockHz / dutyCycle); in Cy_SCB_I2C_GetDataRate()