Searched refs:u32PWMClockSrc (Results 1 – 4 of 4) sorted by relevance
37 uint32_t u32PWMClockSrc; in BPWM_ConfigCaptureChannel() local48 u32PWMClockSrc = CLK_GetPCLK0Freq(); in BPWM_ConfigCaptureChannel()52 u32PWMClockSrc = CLK_GetPCLK1Freq(); in BPWM_ConfigCaptureChannel()55 u32PWMClockSrc /= 1000UL; in BPWM_ConfigCaptureChannel()58 u32NearestUnitTimeNsec = (1000000UL * u32Prescale) / u32PWMClockSrc; in BPWM_ConfigCaptureChannel()66 if(!((1000000UL * (u32Prescale + 1UL) > (u32NearestUnitTimeNsec * u32PWMClockSrc)))) in BPWM_ConfigCaptureChannel()110 uint32_t u32PWMClockSrc; in BPWM_ConfigOutputChannel() local117 u32PWMClockSrc = CLK_GetPCLK0Freq(); in BPWM_ConfigOutputChannel()121 u32PWMClockSrc = CLK_GetPCLK1Freq(); in BPWM_ConfigOutputChannel()126 i = (u32PWMClockSrc / u32Frequency) / u32Prescale; in BPWM_ConfigOutputChannel()[all …]
37 uint32_t u32PWMClockSrc; in EPWM_ConfigCaptureChannel() local47 u32PWMClockSrc = CLK_GetPCLK0Freq(); in EPWM_ConfigCaptureChannel()51 u32PWMClockSrc = CLK_GetPCLK1Freq(); in EPWM_ConfigCaptureChannel()54 u32PWMClockSrc /= 1000UL; in EPWM_ConfigCaptureChannel()57 u32NearestUnitTimeNsec = (1000000UL * u32Prescale) / u32PWMClockSrc; in EPWM_ConfigCaptureChannel()64 if(!((1000000UL * (u32Prescale + 1UL) > (u32NearestUnitTimeNsec * u32PWMClockSrc)))) in EPWM_ConfigCaptureChannel()109 uint32_t u32PWMClockSrc; in EPWM_ConfigOutputChannel() local116 u32PWMClockSrc = CLK_GetPCLK0Freq(); in EPWM_ConfigOutputChannel()120 u32PWMClockSrc = CLK_GetPCLK1Freq(); in EPWM_ConfigOutputChannel()125 i = (u32PWMClockSrc / u32Frequency) / u32Prescale; in EPWM_ConfigOutputChannel()[all …]
37 uint32_t u32PWMClockSrc; in BPWM_ConfigCaptureChannel() local47 u32PWMClockSrc = CLK_GetPCLK0Freq(); in BPWM_ConfigCaptureChannel()51 u32PWMClockSrc = CLK_GetPCLK1Freq(); in BPWM_ConfigCaptureChannel()54 u32PWMClockSrc /= 1000UL; in BPWM_ConfigCaptureChannel()57 u32NearestUnitTimeNsec = (1000000UL * u32Prescale) / u32PWMClockSrc; in BPWM_ConfigCaptureChannel()65 if(!((1000000UL * (u32Prescale + 1UL) > (u32NearestUnitTimeNsec * u32PWMClockSrc)))) in BPWM_ConfigCaptureChannel()109 uint32_t u32PWMClockSrc; in BPWM_ConfigOutputChannel() local116 u32PWMClockSrc = CLK_GetPCLK0Freq(); in BPWM_ConfigOutputChannel()120 u32PWMClockSrc = CLK_GetPCLK1Freq(); in BPWM_ConfigOutputChannel()125 i = (u32PWMClockSrc / u32Frequency) / u32Prescale; in BPWM_ConfigOutputChannel()[all …]
37 uint32_t u32PWMClockSrc; in EPWM_ConfigCaptureChannel() local46 u32PWMClockSrc = CLK_GetPCLK0Freq(); in EPWM_ConfigCaptureChannel()50 u32PWMClockSrc = CLK_GetPCLK1Freq(); in EPWM_ConfigCaptureChannel()53 u32PWMClockSrc /= 1000UL; in EPWM_ConfigCaptureChannel()56 u32NearestUnitTimeNsec = (1000000UL * u32Prescale) / u32PWMClockSrc; in EPWM_ConfigCaptureChannel()63 if(!((1000000UL * (u32Prescale + 1UL) > (u32NearestUnitTimeNsec * u32PWMClockSrc)))) in EPWM_ConfigCaptureChannel()108 uint32_t u32PWMClockSrc; in EPWM_ConfigOutputChannel() local115 u32PWMClockSrc = CLK_GetPCLK0Freq(); in EPWM_ConfigOutputChannel()119 u32PWMClockSrc = CLK_GetPCLK1Freq(); in EPWM_ConfigOutputChannel()124 i = (u32PWMClockSrc / u32Frequency) / u32Prescale; in EPWM_ConfigOutputChannel()[all …]