Home
last modified time | relevance | path

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

/hal_openisa-latest/vega_sdk_riscv/devices/RV32M1/drivers/
Dfsl_lpi2c.c445 uint32_t bestPre = 0; in LPI2C_MasterSetBaudRate() local
478 bestPre = prescale; in LPI2C_MasterSetBaudRate()
507 if (bestPre == (1U << i)) in LPI2C_MasterSetBaudRate()
509 bestPre = i; in LPI2C_MasterSetBaudRate()
513 base->MCFGR1 = (base->MCFGR1 & ~LPI2C_MCFGR1_PRESCALE_MASK) | LPI2C_MCFGR1_PRESCALE(bestPre); in LPI2C_MasterSetBaudRate()