Home
last modified time | relevance | path

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

/AliOS-Things-master/hardware/chip/haas1000/aos_driver/pwm/
A Dpwm.c46 uint32_t pulse_width_ns, csi_pwm_polarity_t polarity) in haas1000_pwm_out_config() argument
61 cfg.ratio = DIV_ROUND_CLOSEST(((uint64_t)pulse_width_ns) * 100, period_ns); in haas1000_pwm_out_config()
/AliOS-Things-master/hardware/chip/rtl872xd/aos_driver/pwm/
A Dpwm.c86 uint32_t pulse_width_ns, csi_pwm_polarity_t polarity) in rtl872xd_pwm_out_config() argument
137 ccrx = DIV_ROUND_CLOSEST(((uint64_t)(period_ns - pulse_width_ns) * 40), 1000); in rtl872xd_pwm_out_config()

Completed in 6 milliseconds