Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/lpi2c/
Dfsl_lpi2c.c626 uint8_t clkCycle; in LPI2C_MasterSetBaudRate() local
645clkCycle = (uint8_t)((10U * sourceClock_Hz / divider / baudRate_Hz + 5U) / 10U - (2U + filtScl) / … in LPI2C_MasterSetBaudRate()
656 if (clkCycle > (120U - (2U + filtScl) / divider)) in LPI2C_MasterSetBaudRate()
663 ((uint32_t)clkCycle + 2U + (2U + (uint32_t)filtScl) / (uint32_t)divider); in LPI2C_MasterSetBaudRate()
669 bestclkCycle = clkCycle; in LPI2C_MasterSetBaudRate()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/enet/
Dfsl_enet.c1177 uint32_t clkCycle = 0; in ENET_SetSMI() local
1185clkCycle = (10U + ENET_NANOSECOND_ONE_SECOND / srcClock_Hz - 1U) / (ENET_NANOSECOND_ONE_SECOND / s… in ENET_SetSMI()
1188 …ENET_MSCR_MII_SPEED(speed) | ENET_MSCR_HOLDTIME(clkCycle) | (isPreambleDisabled ? ENET_MSCR_DIS_PR… in ENET_SetSMI()