Default writes clear vref, pd and gain