Lines Matching full:period
50 * All pwm signals generated from the same ctimer must have same period. To avoid this, we check
51 * if the new parameters will NOT change the period for a ctimer with active pulse channels
57 /* if we aren't changing the period, we're ok */ in mcux_ctimer_pwm_is_period_valid()
75 * there is exactly one pulse channel that depends on existing period and its not the in mcux_ctimer_pwm_is_period_valid()
86 * Each ctimer channel can either be used as a pulse or period channel. Each channel has a counter.
87 * The duty cycle is counted by the pulse channel. When the period channel counts down, it resets
89 * specify a period channel (only pulse channel). So we need to figure out an acceptable period
100 LOG_ERR("Cannot set channel %u to %u as period channel", in mcux_ctimer_pwm_select_period_channel()
107 /* the existing period channel will not conflict with new pulse_channel */ in mcux_ctimer_pwm_select_period_channel()
117 LOG_ERR("no available channel for period counter"); in mcux_ctimer_pwm_select_period_channel()
167 LOG_ERR("could not select valid period channel. ret=%d", ret); in mcux_ctimer_pwm_set_cycles()
173 /* make pulse cycles greater than period so event never occurs */ in mcux_ctimer_pwm_set_cycles()
183 LOG_ERR("failed setup pwm period. status=%d", status); in mcux_ctimer_pwm_set_cycles()