Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/lpi2c/
Dfsl_lpi2c.c716 …uint8_t filtSda = (uint8_t)((base->MCFGR2 & LPI2C_MCFGR2_FILTSDA_MASK) >> LPI2C_MCFGR2_FILTSDA_SHI… in LPI2C_MasterSetBaudRate() local
717 if (filtSda < (sourceClock_Hz / baudRate_Hz / 20U - bestDivider - 2U)) in LPI2C_MasterSetBaudRate()
719 filtSda = (uint8_t)(sourceClock_Hz / baudRate_Hz / 20U) - bestDivider - 2U; in LPI2C_MasterSetBaudRate()
721 base->MCFGR2 = (base->MCFGR2 & ~LPI2C_MCFGR2_FILTSDA_MASK) | LPI2C_MCFGR2_FILTSDA(filtSda); in LPI2C_MasterSetBaudRate()