Agilent Technologies E1564A Stereo Receiver User Manual


 
122 Register-Based Programming Appendix B
The Base Address When reading or writing to a switch register, a hexadecimal or decimal
register address is specified. This address consists of a base address plus
a register offset. The base address used in register-based programming
depends on whether the A16 address space is outside or inside the E1406
Command Module.
Figure B-1 shows the register address location within A16 as it might be
mapped by an embedded controller. Figure B-2 shows the location of A16
address space in the E1406 Command Module.
A16 Address Space
Outside the Command
Module
When the E1406 Command Module is not part of your VXIbus system (see
Figure B-1), the digitizer’s base address is computed as:
C000
16
+ (LADDR * 64)
16
or 49,152 + (LADDR * 64)
where C000
16
(49,152) is the starting location of the register addresses,
LADDR is the digitizer’s logical address, and 64 is the number of address
bytes per VXI device. For example, the digitizer’s factory-set logical address
is 40 (28
16
). If this address is not changed, the digitizer will have a base
address of:
C000
16
+ (40 * 64)
16
= C000
16
+ A00
16
= CA00
16
or (decimal)
49,152 + (40 * 64) = 49,152 + 2560 = 51,712
A16 Address Space
Inside the Command
Module or Mainframe
When the A16 address space is inside the E1406 Command Module
(see Figure B-2), the digitizer’s base address is computed as:
1FC000
16
+ (LADDR * 64)
16
or 2,080,768 + (LADDR * 64)
where 1FC000
16
(2,080,768) is the starting location of the VXI A16
addresses, LADDR is the digitizer’s logical address, and 64 is the number
of address bytes per register-based device. Again, the digitizer’s factory-set
logical address is 40. If this address is not changed, the digitizer will have a
base address of:
1FC000
16
+ (40 * 64)
16
= 1FC000
16
+ A00
16
= 1FCA00
16
or (decimal)
2,080,768 + (40 * 64) = 2,080,768 + 2560 = 2,083,328