Z-World Wildcat BL2000 User Manual page 52

C-programmable, with ethernet
Table of Contents

Advertisement

void anaOut(unsigned int channel, unsigned int
modecount);
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
:
Operation
Mode
0
1
2
3
RETURN VALUE
None
SEE ALSO
anaOutVolts, anaOutCalib, brdInit
48
Description
Normal Mode
Software Powerdown, 1 kΩ to GND
Software Powerdown, 100 kΩ to GND
Software Powerdown, three-state
modecount Value
0–4095
0x1000
0x2000
0x3000
Wildcat (BL2000)

Advertisement

Table of Contents
loading

Related Products for Z-World Wildcat BL2000

Table of Contents