Home
last modified time | relevance | path

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

/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/tpm/
Dfsl_tpm.c487 uint32_t tpmClock = (srcClock_Hz / (1UL << (base->SC & TPM_SC_PS_MASK))); in TPM_SetupPwm() local
490 if ((0U == pwmFreq_Hz) || (0U == srcClock_Hz) || (0U == numOfChnls) || (tpmClock < pwmFreq_Hz)) in TPM_SetupPwm()
502 mod = (tpmClock / pwmFreq_Hz) - 1U; in TPM_SetupPwm()
517 mod = tpmClock / (pwmFreq_Hz * 2u); in TPM_SetupPwm()