Driver code to Analog Devices AD5420 (AD5410) current-loop DAC