Made trig_cfg into a proper register.