User`s manual
User’s Manual 51
Sets the voltage of a D/A converter output channel by serially clocking in 16 bits to a D/A converter 
using the following format:
D15–D14
Doesn’t matter.
D13–D12
Mode of operation
00—Normal Operation
01—Software Powerdown, 1 kΩ to GND
10—Software Powerdown, 100 kΩ to GND
11—Software Powerdown, three-state
D11–D0
Data bits, MSB–LSB (0–4095)
PARAMETERS
channel is the D/A converter output channel to write (0 or 1). 
modecount is a value corresponding to the voltage on the D/A converter output and/or setting the 
mode of operation
:
RETURN VALUE
None
SEE ALSO
anaOutVolts, anaOutCalib, brdInit
void anaOut(unsigned int channel, unsigned int 
modecount);
Operation 
Mode
Description modecount Value
0 Normal Mode  0–4095
1 Software Powerdown, 1 kΩ to GND 0x1000
2 Software Powerdown, 100 kΩ to GND 0x2000
3 Software Powerdown, three-state 0x3000










