SN_PWM_EN_MASK
pwm_en_inv = FIELD_PREP(SN_PWM_EN_MASK, state->enabled) |
state->enabled = FIELD_GET(SN_PWM_EN_MASK, pwm_en_inv);