Diamond Systems RUBY-MM-1612 사용자 설명서
Copyright 2001 Diamond Systems Corp. Ruby-MM-1612 User Manual V1.1 P. 9
6. I/O MAP
Ruby-MM-1612 occupies 8 consecutive 8-bit locations in I/O space. For example, the default base
address is 300 Hex (768 Decimal); in this case the board occupies addresses 300 - 307 (768 - 775).
The first 2 locations are used individually for each analog output channel. Since analog output data is 12
bits wide, it is broken into two bytes. The first byte contains the 8 least significant bits (called the LSB) of
the D/A data, and the 4 lowest bits of the second byte contain the 4 most significant bits (called the MSB)
of the D/A data. The 4 highest bits of the second byte are not used.
The DACs are updated all at once when Base or Base+1 is read. The value read from these locations is
not predictable and not meaningful. Only the act of reading from the board is required to perform the
update.
Ruby-MM-1612 I/O Map
Base + Write Function Read Function
0 DAC LSB (all DACs) Update all DACs simultaneously
1 DAC MSB (all DACs) Update all DACs simultaneously
2 DAC channel register NA
3 External trigger enable NA
4 Digital I/O port A data Digital I/O port A data
5 Digital I/O port B data Digital I/O port B data
6 Digital I/O port C data Digital I/O port C data
7 Digital I/O control register Digital I/O control register
0 DAC LSB (all DACs) Update all DACs simultaneously
1 DAC MSB (all DACs) Update all DACs simultaneously
2 DAC channel register NA
3 External trigger enable NA
4 Digital I/O port A data Digital I/O port A data
5 Digital I/O port B data Digital I/O port B data
6 Digital I/O port C data Digital I/O port C data
7 Digital I/O control register Digital I/O control register
Reset information:
A system hardware reset will also reset the board.
During a reset, the following occurs:
•
All analog outputs are set to mid-scale (0V for bipolar ranges and 1/2 full-scale for unipolar
ranges).
•
The external trigger register is set to 0, disabling external trigger.
•
All digital I/O lines are set to input mode.
The next chapter describes all registers on the board. You should familiarize yourself with these registers
in order to get a complete understanding of the board’s operation.