Searched refs:pwm_freq (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/drivers/pwm/ |
D | pwm_rv32m1_tpm.c | 74 uint32_t pwm_freq; in rv32m1_tpm_set_cycles() local 87 pwm_freq = (data->clock_freq >> config->prescale) / in rv32m1_tpm_set_cycles() 90 LOG_DBG("pwm_freq=%d, clock_freq=%d", pwm_freq, in rv32m1_tpm_set_cycles() 93 if (pwm_freq == 0U) { in rv32m1_tpm_set_cycles() 94 LOG_ERR("Could not set up pwm_freq=%d", pwm_freq); in rv32m1_tpm_set_cycles() 102 pwm_freq, data->clock_freq); in rv32m1_tpm_set_cycles()
|
D | pwm_mcux_tpm.c | 79 uint32_t pwm_freq; in mcux_tpm_set_cycles() local 92 pwm_freq = (data->clock_freq >> config->prescale) / in mcux_tpm_set_cycles() 95 LOG_DBG("pwm_freq=%d, clock_freq=%d", pwm_freq, in mcux_tpm_set_cycles() 98 if (pwm_freq == 0U) { in mcux_tpm_set_cycles() 99 LOG_ERR("Could not set up pwm_freq=%d", pwm_freq); in mcux_tpm_set_cycles() 107 pwm_freq, data->clock_freq); in mcux_tpm_set_cycles()
|
D | pwm_mcux_sctimer.c | 49 uint32_t pwm_freq; in mcux_sctimer_new_channel() local 58 pwm_freq = (clock_freq / config->prescale) / period_cycles; in mcux_sctimer_new_channel() 60 if (pwm_freq == 0) { in mcux_sctimer_new_channel() 61 LOG_ERR("Could not set up pwm_freq=%d", pwm_freq); in mcux_sctimer_new_channel() 70 kSCTIMER_EdgeAlignedPwm, pwm_freq, in mcux_sctimer_new_channel()
|