PWM_ACTIVE_HIGH
conf->polarity = PWM_ACTIVE_HIGH;
const u_int polarity = (pwm[3] == 0) ? PWM_ACTIVE_HIGH : PWM_ACTIVE_LOW;
conf->polarity = polarity ? PWM_ACTIVE_HIGH : PWM_ACTIVE_LOW;
.polarity = PWM_ACTIVE_HIGH,
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;
if (conf->polarity == PWM_ACTIVE_HIGH)
conf->polarity = (tcon & TCON_OUTINV(timer->timer_index)) ? PWM_ACTIVE_HIGH : PWM_ACTIVE_LOW;
if (conf->polarity == PWM_ACTIVE_HIGH)
conf.polarity = polarity ? PWM_ACTIVE_LOW : PWM_ACTIVE_HIGH;
conf->polarity = (ctrl & PWM_CH0_ACT_STA) ? PWM_ACTIVE_HIGH : PWM_ACTIVE_LOW;
if (conf->polarity == PWM_ACTIVE_HIGH)
sc->sc_conf.polarity = polarity ? PWM_ACTIVE_LOW : PWM_ACTIVE_HIGH;
chan->ch_conf.polarity = PWM_ACTIVE_HIGH;
if (conf->polarity != PWM_ACTIVE_HIGH) {