Home
last modified time | relevance | path

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

/hal_infineon-3.7.0/mtb-pdl-cat1/device-info/personalities/peripheral/
Di2c_solver-2.0.tcl107 proc output_results {lowPhase highPhase enableMedian} {
110 puts $::channelName "param:$::HIGH_OVERSAMPLE=$highPhase"
120 set highPhase 0
129 output_results $lowPhase $highPhase $enableMedian
136 output_results $lowPhase $highPhase $enableMedian
143 output_results $lowPhase $highPhase $enableMedian
150 output_results $lowPhase $highPhase $enableMedian
173 set highPhase [expr {$sclHigh / $period}]
175 if {($period * $highPhase) < $sclHigh} {
176 incr highPhase
[all …]
/hal_infineon-3.7.0/mtb-pdl-cat1/drivers/source/
Dcy_scb_i2c.c568 uint32_t highPhase = 8U; in Cy_SCB_I2C_SetDataRate() local
639 highPhase = sclHigh / period; in Cy_SCB_I2C_SetDataRate()
641 if ((period * highPhase) < sclHigh) in Cy_SCB_I2C_SetDataRate()
643 ++highPhase; in Cy_SCB_I2C_SetDataRate()
646 if (highPhase > CY_SCB_I2C_HIGH_PHASE_MAX) in Cy_SCB_I2C_SetDataRate()
648 highPhase = CY_SCB_I2C_HIGH_PHASE_MAX; in Cy_SCB_I2C_SetDataRate()
652 actualDataRateHz = scbClockHz / (lowPhase + highPhase); in Cy_SCB_I2C_SetDataRate()
655 … while ((actualDataRateHz > dataRateHz) && ((lowPhase + highPhase) < CY_SCB_I2C_DUTY_CYCLE_MAX)) in Cy_SCB_I2C_SetDataRate()
669 if (highPhase < CY_SCB_I2C_HIGH_PHASE_MAX) in Cy_SCB_I2C_SetDataRate()
672 highPhase++; in Cy_SCB_I2C_SetDataRate()
[all …]