Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/pwm/
Dpwm_mcux_qtmr.c41 uint32_t periodCount, highCount, lowCount; in mcux_qtmr_pwm_set_cycles() local
51 highCount = pulse_cycles; in mcux_qtmr_pwm_set_cycles()
54 if (highCount > 0U) { in mcux_qtmr_pwm_set_cycles()
55 highCount -= 1U; in mcux_qtmr_pwm_set_cycles()
61 if ((highCount > 0xFFFFU) || (lowCount > 0xFFFFU)) { in mcux_qtmr_pwm_set_cycles()
77 config->base->CHANNEL[channel].COMP2 = (uint16_t)highCount; in mcux_qtmr_pwm_set_cycles()
81 config->base->CHANNEL[channel].CMPLD2 = (uint16_t)highCount; in mcux_qtmr_pwm_set_cycles()
93 if (highCount == periodCount) { in mcux_qtmr_pwm_set_cycles()