PWM_ACTIVE_LOW
if (conf->polarity == PWM_ACTIVE_LOW)
(conf->polarity == PWM_ACTIVE_LOW) ? "LOW" : "HIGH",
const u_int polarity = (pwm[3] == 0) ? PWM_ACTIVE_HIGH : PWM_ACTIVE_LOW;
conf->polarity = polarity ? PWM_ACTIVE_HIGH : PWM_ACTIVE_LOW;
if (conf->polarity == PWM_ACTIVE_LOW)
sc->sc_conf.period = polarity ? PWM_ACTIVE_LOW : PWM_ACTIVE_HIGH;
sc->sc_conf.polarity = polarity ? PWM_ACTIVE_LOW : PWM_ACTIVE_HIGH;
conf->polarity = (ctrl & CTRL_DUTY_POL) ? PWM_ACTIVE_HIGH : PWM_ACTIVE_LOW;
conf->polarity = (tcon & TCON_OUTINV(timer->timer_index)) ? PWM_ACTIVE_HIGH : PWM_ACTIVE_LOW;
conf.polarity = polarity ? PWM_ACTIVE_LOW : PWM_ACTIVE_HIGH;
conf->polarity = (ctrl & PWM_CH0_ACT_STA) ? PWM_ACTIVE_HIGH : PWM_ACTIVE_LOW;
sc->sc_conf.polarity = polarity ? PWM_ACTIVE_LOW : PWM_ACTIVE_HIGH;