Searched refs:cnvFirstEdge (Results 1 – 2 of 2) sorted by relevance
347 uint32_t cnvFirstEdge; in TPM_SetupSinglePwmChannel() local351 cnvFirstEdge = mod + 1U; in TPM_SetupSinglePwmChannel()356 cnvFirstEdge = 0U; in TPM_SetupSinglePwmChannel()361 cnvFirstEdge = (mod * chnlParams.firstEdgeDelayPercent) / 100U; in TPM_SetupSinglePwmChannel()387 base->CONTROLS[chnlId].CnV = cnvFirstEdge; in TPM_SetupSinglePwmChannel()392 } while (cnvFirstEdge != base->CONTROLS[chnlId].CnV); in TPM_SetupSinglePwmChannel()417 base->CONTROLS[chnlId].CnV = cnvFirstEdge + cnv; in TPM_SetupSinglePwmChannel()422 } while ((cnvFirstEdge + cnv) != base->CONTROLS[chnlId].CnV); in TPM_SetupSinglePwmChannel()617 uint32_t cnvFirstEdge; in TPM_UpdatePwmDutycycle() local621 cnvFirstEdge = 0U; in TPM_UpdatePwmDutycycle()[all …]
434 uint32_t cnv, cnvFirstEdge; in FTM_SetupPwm() local519 cnvFirstEdge = 0; in FTM_SetupPwm()523 cnvFirstEdge = (mod > cnv) ? ((mod - cnv) / 2U) : 0U; in FTM_SetupPwm()533 cnvFirstEdge = (mod * chnlParams->firstEdgeDelayPercent) / 100U; in FTM_SetupPwm()561 base->CONTROLS[((uint32_t)chnlParams->chnlNumber) * 2U].CnV = cnvFirstEdge; in FTM_SetupPwm()562 base->CONTROLS[(((uint32_t)chnlParams->chnlNumber) * 2U) + 1U].CnV = cnvFirstEdge + cnv; in FTM_SetupPwm()599 uint32_t cnv, cnvFirstEdge = 0, mod; in FTM_UpdatePwmDutycycle() local638 cnvFirstEdge = (mod > cnv) ? ((mod - cnv) / 2U) : 0U; in FTM_UpdatePwmDutycycle()642 cnvFirstEdge = base->CONTROLS[((uint32_t)chnlNumber) * 2U].CnV; in FTM_UpdatePwmDutycycle()643 …if (((cnvFirstEdge != 0U) && (cnv == (mod + 1U))) || (((cnvFirstEdge + cnv) > mod) && (cnv < mod))) in FTM_UpdatePwmDutycycle()[all …]