Home
last modified time | relevance | path

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

/hal_nxp-2.7.6/mcux/drivers/imx/
Dfsl_lpi2c.c523 uint8_t clkCycle; in LPI2C_MasterSetBaudRate() local
542clkCycle = (uint8_t)((10U * sourceClock_Hz / divider / baudRate_Hz + 5U) / 10U - (2U + filtScl) / … in LPI2C_MasterSetBaudRate()
553 if (clkCycle > (120U - (2U + filtScl) / divider)) in LPI2C_MasterSetBaudRate()
560 ((uint32_t)clkCycle + 2U + (2U + (uint32_t)filtScl) / (uint32_t)divider); in LPI2C_MasterSetBaudRate()
566 bestclkCycle = clkCycle; in LPI2C_MasterSetBaudRate()
Dfsl_enet.c1245 uint32_t clkCycle = 0; in ENET_SetSMI() local
1253clkCycle = (10U + ENET_NANOSECOND_ONE_SECOND / srcClock_Hz - 1U) / (ENET_NANOSECOND_ONE_SECOND / s… in ENET_SetSMI()
1256 …ENET_MSCR_MII_SPEED(speed) | ENET_MSCR_HOLDTIME(clkCycle) | (isPreambleDisabled ? ENET_MSCR_DIS_PR… in ENET_SetSMI()
/hal_nxp-2.7.6/mcux/drivers/kinetis/
Dfsl_enet.c1245 uint32_t clkCycle = 0; in ENET_SetSMI() local
1253clkCycle = (10U + ENET_NANOSECOND_ONE_SECOND / srcClock_Hz - 1U) / (ENET_NANOSECOND_ONE_SECOND / s… in ENET_SetSMI()
1256 …ENET_MSCR_MII_SPEED(speed) | ENET_MSCR_HOLDTIME(clkCycle) | (isPreambleDisabled ? ENET_MSCR_DIS_PR… in ENET_SetSMI()