2308-900-01 Rev. A / July 2008
Return to
Section Topics
7-5
Model 2308 Portable Device Battery/Charger Simulator User’s Manual
Section 7: Status Structure
Table 7-2
16-bit status register
A) Bits 0 through 7
B) Bits 8 through 15
Reading registers
Any register in the status structure can be read by using the appropriate query (?) command. The
specific query commands are covered later in this section (refer to
Table 7-3
through
Table 7-6
).
The response message to the query command is a decimal value. To determine which bits in the
register are set, convert that decimal value to its binary equivalent. For example, the binary
equivalent of decimal 41 is 101001. This binary value indicates that bits B5, B3 and B0 are set.
Status byte and service request (SRQ)
Service request is controlled by two 8-bit registers; the status byte register and the service request
enable register.
Figure 7-2
shows the structure of these registers.
Bit Position
B7
B6
B5
B4
B3
B2
B1
B0
Binary Value
0/1
0/1
0/1
0/1
0/1
0/1
0/1
0/1
Decimal
Weights
128
(2
7
)
64
(2
6
)
32
(2
5
)
16
(2
4
)
8
(2
3
)
4
(2
2
)
2
(2
1
)
1
(2
0
)
Bit Position
B15
B14
B13
B12
B11
B10
B9
B8
Binary Value
0/1
0/1
0/1
0/1
0/1
0/1
0/1
0/1
Decimal
Weights
32768
(2
15
)
16384
(2
14
)
8192
(2
13
)
4096
(2
12
)
2048
(2
11
)
1024
(2
10
)
512
(2
9
)
256
(2
8
)
Summary of Contents for 2308
Page 2: ......
Page 12: ...This page left blank intentionally...
Page 32: ...This page left blank intentionally...
Page 106: ...This page left blank intentionally...
Page 140: ...This page left blank intentionally...
Page 208: ...This page left blank intentionally...
Page 220: ...This page left blank intentionally...