Home
last modified time | relevance | path

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

/hal_nxp-3.6.0/s32/drivers/s32k3/Pwm/src/
DEmios_Pwm_Ip.c272 Emios_Pwm_Ip_PeriodType ChPeriod = 0U; in Emios_Pwm_Ip_GetCounterBusPeriod() local
280 ChPeriod = Emios_Mcl_Ip_GetCounterBusPeriod(Instance, MasterBusCh); in Emios_Pwm_Ip_GetCounterBusPeriod()
282 return ChPeriod; in Emios_Pwm_Ip_GetCounterBusPeriod()
730 …Emios_Pwm_Ip_PeriodType ChPeriod = Emios_Pwm_Ip_GetCounterBusPeriod(Instance, Channel, Emios_Pwm_I… in Emios_Pwm_Ip_SetDutyCycleOpwmcb() local
733 if(NewDutyCycle > ((ChPeriod * 2U) - 2U)) in Emios_Pwm_Ip_SetDutyCycleOpwmcb()
743 Emios_Pwm_Ip_SetUCRegA(Base, Channel, ChPeriod + 1U); in Emios_Pwm_Ip_SetDutyCycleOpwmcb()
759 else if(NewDutyCycle == ((ChPeriod * 2U) - 2U)) in Emios_Pwm_Ip_SetDutyCycleOpwmcb()
770 … Emios_Pwm_Ip_SetUCRegA(Base, Channel, (Emios_Pwm_Ip_PeriodType)(ChPeriod - (NewDutyCycle >> 1U))); in Emios_Pwm_Ip_SetDutyCycleOpwmcb()
801 …Emios_Pwm_Ip_PeriodType ChPeriod = Emios_Pwm_Ip_GetCounterBusPeriod(Instance, Channel, Emios_Pwm_I… in Emios_Pwm_Ip_SetDutyCycleOpwmc() local
804 if(NewDutyCycle > ((ChPeriod * 2U) - 2U)) in Emios_Pwm_Ip_SetDutyCycleOpwmc()
[all …]