Enhanced Mode Operations
VCM-DAS-3 Reference Manual
36
S
ETTING A
C
HANNEL TO
S
LEEP
M
ODE
To set a DAC to sleep mode, perform a Sleep DAC operation by writing Bh to the CTRL field of
the ENCTRL register at I/O port 0x30A, combined with the channel number in the SEL field of
the same register. The channel remains in sleep mode until a voltage output code is written to it.
R
EADING THE
S
LEEP
S
TATUS OF A
C
HANNEL
To read the sleep status of a channel:
1.
Perform a Read Span operation by writing 9h to the CTRL field of the ENCTRL register
at I/O port 0x30A, combined with the channel number in the SEL field of the same
register.
2.
Read the SLEEPSTAT bit (bit 4) of the ENDATLO register at I/O port 0x308, as shown
below. A value of 0 = awake. A value of 1 = sleep mode.
ENDATLO LSB (Read) 0308h
7
6
5
4
3
2
1
0
–
–
–
SLEEPSTAT
–
–
–
–