Diamond-MM-48-AT User Manual V1.01
Page 16
Base + 8
Write
Command Register
Bit
No.
7 6 5 4 3 2 1 0
Name
DAPRE
DAPRLD
RESET
FIFORST ADSTART
Writing a 1 to any bit in this register causes a command or operation to be executed. Only
one bit may be activated (set to 1) at a time. When a 1 is written to any bit, no other bit or
related operation is affected.
DAPRE
All 8 D/A channels are set to the value in the D/A preset register. This value is
user-definable and can be used for any purpose. A typical purpose is to generate
a D/A reset to 0V by loading a preset value that corresponds to 0V for the
selected D/A mode. For example, for D/A in unipolar mode, the preset value
would be 0, and for D/A in bipolar mode, the preset value would be 2048.
DAPRLD The D/A preset register is loaded with the value contained in registers 0-1. After
the preset value is loaded into the D/A, a DAPRE command will update all 8 D/A
channels with this value.
RESET
Reset the board to a known condition: All registers are cleared to 0, all DIO lines
are set to input mode, interrupts are disabled, and the FIFO is reset. D/A
channels are not reset or changed in any way.
FIFORST Reset FIFO. Writing a 1 to this bit causes the on-board FIFO to be reset to empty
in preparation for an interrupt-based A/D operation. After FIFORST, EF = 1 and
OVF, FF, and HF = 0.
ADSTART Start an A/D conversion.