Home
last modified time | relevance | path

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

/hal_nxp-latest/mcux/mcux-sdk/drivers/lpflexcomm/lpi2c/
Dfsl_lpi2c.c647 …uint8_t filtSda = (uint8_t)((base->MCFGR2 & LPI2C_MCFGR2_FILTSDA_MASK) >> LPI2C_MCFGR2_FILTSDA_SHI… in LPI2C_MasterSetBaudRate() local
648 if (filtSda < (sourceClock_Hz / baudRate_Hz / 20U - bestDivider - 2U)) in LPI2C_MasterSetBaudRate()
650 filtSda = (uint8_t)(sourceClock_Hz / baudRate_Hz / 20U) - bestDivider - 2U; in LPI2C_MasterSetBaudRate()
652 base->MCFGR2 = (base->MCFGR2 & ~LPI2C_MCFGR2_FILTSDA_MASK) | LPI2C_MCFGR2_FILTSDA(filtSda); in LPI2C_MasterSetBaudRate()
/hal_nxp-latest/mcux/mcux-sdk/drivers/lpi2c/
Dfsl_lpi2c.c736 …uint8_t filtSda = (uint8_t)((base->MCFGR2 & LPI2C_MCFGR2_FILTSDA_MASK) >> LPI2C_MCFGR2_FILTSDA_SHI… in LPI2C_MasterSetBaudRate() local
737 if (filtSda < (sourceClock_Hz / baudRate_Hz / 20U - bestDivider - 2U)) in LPI2C_MasterSetBaudRate()
739 filtSda = (uint8_t)(sourceClock_Hz / baudRate_Hz / 20U) - bestDivider - 2U; in LPI2C_MasterSetBaudRate()
741 base->MCFGR2 = (base->MCFGR2 & ~LPI2C_MCFGR2_FILTSDA_MASK) | LPI2C_MCFGR2_FILTSDA(filtSda); in LPI2C_MasterSetBaudRate()