Searched refs:counterMax (Results 1 – 1 of 1) sorted by relevance
249 uint32_t counterMax = TPM_MAX_COUNTER_VALUE(base); in TPM_CalculateCounterClkDiv() local251 …assert(((srcClock_Hz / 2U) > counterPeriod_Hz) && ((srcClock_Hz / 128U / counterMax) <= counterPer… in TPM_CalculateCounterClkDiv()255 if ((srcClock_Hz / (1UL << i) / counterMax) < counterPeriod_Hz) in TPM_CalculateCounterClkDiv()282 uint32_t counterMax = TPM_MAX_COUNTER_VALUE(base); in TPM_SetupSinglePwmChannel() local316 …if (((chnlParams.dutyCyclePercent == 100U) && (mod == counterMax)) || (chnlParams.dutyCyclePercent… in TPM_SetupSinglePwmChannel()486 uint32_t counterMax = TPM_MAX_COUNTER_VALUE(base); in TPM_SetupPwm() local508 if ((mod > counterMax) || (mod == 0U)) in TPM_SetupPwm()522 if ((mod > (counterMax >> 1U)) || (mod == 0U)) in TPM_SetupPwm()584 uint32_t counterMax = TPM_MAX_COUNTER_VALUE(base); in TPM_UpdatePwmDutycycle() local595 mod = base->MOD & counterMax; in TPM_UpdatePwmDutycycle()[all …]