Home
last modified time | relevance | path

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

/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/
Dbpwm.c38 uint32_t u32NearestUnitTimeNsec = 0U; in BPWM_ConfigCaptureChannel() local
58 u32NearestUnitTimeNsec = (1000000UL * u32Prescale) / u32PWMClockSrc; in BPWM_ConfigCaptureChannel()
59 if(u32NearestUnitTimeNsec < u32UnitTimeNsec) in BPWM_ConfigCaptureChannel()
66 if(!((1000000UL * (u32Prescale + 1UL) > (u32NearestUnitTimeNsec * u32PWMClockSrc)))) in BPWM_ConfigCaptureChannel()
91 return (u32NearestUnitTimeNsec); in BPWM_ConfigCaptureChannel()
Depwm.c38 uint32_t u32NearestUnitTimeNsec = 0; in EPWM_ConfigCaptureChannel() local
57 u32NearestUnitTimeNsec = (1000000UL * u32Prescale) / u32PWMClockSrc; in EPWM_ConfigCaptureChannel()
58 if(u32NearestUnitTimeNsec < u32UnitTimeNsec) in EPWM_ConfigCaptureChannel()
64 if(!((1000000UL * (u32Prescale + 1UL) > (u32NearestUnitTimeNsec * u32PWMClockSrc)))) in EPWM_ConfigCaptureChannel()
90 return (u32NearestUnitTimeNsec); in EPWM_ConfigCaptureChannel()
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/src/
Dbpwm.c38 uint32_t u32NearestUnitTimeNsec = 0U; in BPWM_ConfigCaptureChannel() local
57 u32NearestUnitTimeNsec = (1000000UL * u32Prescale) / u32PWMClockSrc; in BPWM_ConfigCaptureChannel()
58 if(u32NearestUnitTimeNsec < u32UnitTimeNsec) in BPWM_ConfigCaptureChannel()
65 if(!((1000000UL * (u32Prescale + 1UL) > (u32NearestUnitTimeNsec * u32PWMClockSrc)))) in BPWM_ConfigCaptureChannel()
90 return (u32NearestUnitTimeNsec); in BPWM_ConfigCaptureChannel()
Depwm.c38 uint32_t u32NearestUnitTimeNsec = 0U; in EPWM_ConfigCaptureChannel() local
56 u32NearestUnitTimeNsec = (1000000UL * u32Prescale) / u32PWMClockSrc; in EPWM_ConfigCaptureChannel()
57 if(u32NearestUnitTimeNsec < u32UnitTimeNsec) in EPWM_ConfigCaptureChannel()
63 if(!((1000000UL * (u32Prescale + 1UL) > (u32NearestUnitTimeNsec * u32PWMClockSrc)))) in EPWM_ConfigCaptureChannel()
89 return (u32NearestUnitTimeNsec); in EPWM_ConfigCaptureChannel()