Home
last modified time | relevance | path

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

/hal_infineon-3.6.0/mtb-pdl-cat1/device-info/personalities/peripheral/
Di2c_solver-2.0.tcl99 set scbClockHz [lindex $::argv $::ARG_IDX_SCB_CLK_HZ]
100 if {![string is integer $dataRateHz] || ![string is integer $scbClockHz]} {
101 … error "Unable to parse argument values: either $dataRateHz or $scbClockHz is not an integer."
104 return [master_set_data_rate $dataRateHz $scbClockHz]
114 proc master_set_data_rate {dataRateHz scbClockHz} { argument
128 … if {$scbClockHz < $::I2C_MASTER_STD_CLK_MIN_HZ || $scbClockHz > $::I2C_MASTER_STD_CLK_MAX_HZ} {
135 … if {$scbClockHz < $::I2C_MASTER_FST_CLK_MIN_HZ || $scbClockHz > $::I2C_MASTER_FST_CLK_MAX_HZ} {
142 … if {$scbClockHz < $::I2C_MASTER_FSTP_CLK_MIN_HZ || $scbClockHz > $::I2C_MASTER_FSTP_CLK_MAX_HZ} {
157 set period [expr {1000000000 / $scbClockHz}]
183 set actualDataRateHz [expr {$scbClockHz / ($lowPhase + $highPhase)}]
[all …]
/hal_infineon-3.6.0/mtb-pdl-cat1/drivers/source/
Dcy_scb_i2c.c546 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
[all …]
/hal_infineon-3.6.0/mtb-pdl-cat1/drivers/include/
Dcy_scb_i2c.h658 uint32_t Cy_SCB_I2C_SetDataRate(CySCB_Type *base, uint32_t dataRateHz, uint32_t scbClockHz);
659 uint32_t Cy_SCB_I2C_GetDataRate(CySCB_Type const *base, uint32_t scbClockHz);