13 - 24
AS1115
Datasheet - Detailed Description
The Shutdown Register controls AS1115 shutdown mode.
Table 7. Shutdown Register Format (Address (HEX) = 0x0C))
Decode Enable Register (0x09)
The Decode Enable Register sets the decode mode. BCD/HEX decoding (either BCD code – characters 0:9, E, H, L,
P, and -, or HEX code – characters 0:9 and A:F) is selected by bit D2 (page 18) of the Feature Register. The Decode
Enable Register is used to select the decode mode or no-decode for each digit. Each bit in the Decode Enable Regis-
ter corresponds to its respective display digit (i.e., bit D0 corresponds to digit 0, bit D1 corresponds to digit 1 and so
on).
Table 9
lists some examples of the possible settings for the Decode Enable Register bits.
Note:
A logic high enables decoding and a logic low bypasses the decoder altogether.
When decode mode is used, the decoder looks only at the lower-nibble (bits D3:D0) of the data in the Digit-Registers,
disregarding bits D6:D4. Bit D7 sets the decimal point (SEG DP) independent of the decoder and is positive logic (bit
D7 = 1 turns the decimal point on).
Table 9
lists the code-B font;
Table 10
lists the HEX font.
When no-decode mode is selected, data bits D7:D0 of the Digit-Registers correspond to the segment lines of the
AS1115.
Table 11
shows the 1:1 pairing of each data bit to the appropriate segment line.
K
Diagnostic Digit 0
Diagnostic Digit 1
Diagnostic Digit 2
Diagnostic Digit 3
Diagnostic Digit 4
Diagnostic Digit 5
Diagnostic Digit 6
Diagnostic Digit 7
KEYA
KEYB
000
000
000
000
000
000
000
000
000
000
1
1
1
1
1
1
1
1
1
1
0
0
0
0
1
1
1
1
1
1
1
1
1
1
0
0
0
0
1
1
0
0
1
1
0
0
1
1
0
0
0
1
0
1
0
1
0
1
0
1
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
Mode
HEX Code
Register Data
D4
D7
D6
D5
D3
D2
D1
D0
Shutdown Mode,
Reset Feature Register to Default Settings
Shutdown Mode, Feature Register Unchanged
Normal Operation,
Reset Feature Register to Default Settings
Normal Operation, Feature Register Unchanged
0x00
0
X
X
X
X
X
X
0
0x80
1
X
X
X
X
X
X
0
0x01
0
X
X
X
X
X
X
1
0x81
1
X
X
X
X
X
X
1
Table 8. Decode Enable Register Format Examples
Decode Mode
HEX Code
Register Data
D5
D4
0
0
0
0
0
0
1
1
D7
0
0
0
0
D6
0
0
0
0
D3
0
0
0
1
D2
0
0
1
1
D1
0
0
1
1
D0
0
1
1
1
No decode for digits 7:0
0x00
0x01
0x07
0x3F
Code-B/HEX decode for digit 0. No decode for digits 7:1
Code-B/HEX decode for digit 0:2. No decode for digits 7:3
Code-B/HEX
decode for digits 0:5. No decode for digits 7:6
Code-B/HEX
decode for digits 0,2,5.
No decode for digits 1, 3, 4, 6, 7
0x25
0
0
1
0
0
1
0
1
Table 6. Register Address Map
T
Register
Address
D9
Page
D15:D13
D12
D11
D10
D8
D7:D0