12 - 23
AS1116
Datasheet - Detailed Description
The Shutdown Register controls AS1116 shutdown mode.
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 16) 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 Register corresponds to its respective display digit (i.e., bit D0 corresponds to digit 0,
bit D1 corresponds to digit 1 and so on).
Table 10
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 10
lists
the code-B font;
Table 11
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 AS1116.
Table 12
shows the
1:1 pairing of each data bit to the appropriate segment line.
Table 8. Shutdown Register Format (Address (HEX) = 0x0C))
Mode
HEX
Code
Register Data
D5
D4
X
X
X
X
X
X
X
X
D7
0
1
0
1
D6
X
X
X
X
D3
X
X
X
X
D2
X
X
X
X
D1
X
X
X
X
D0
0
0
1
1
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
0x80
0x01
0x81
Table 9. Decode Enable Register Format Examples
Decode Mode
HEX
Code
0x00
0x01
0x07
0x3F
0x25
Register Data
D5
D4
0
0
0
0
0
0
1
1
1
0
D7
0
0
0
0
0
D6
0
0
0
0
0
D3
0
0
0
1
0
D2
0
0
1
1
1
D1
0
0
1
1
0
D0
0
1
1
1
1
No decode for digits 7:0
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
Table 10. Code-B Font
Char-
acter
Register Data
D3
Char-
acter
Register Data
D3
Char-
acter
Register Data
D3
D7
D6:D4
D2
D1
D0
D7
D6: D4
D2
D1
D0
D7
D6:D4
D2
D1
D0
X
0
0
0
0
X
0
1
1
0
X
1
1
0
0
X
0
0
0
1
X
0
1
1
1
X
1
1
0
1
X
0
0
1
0
X
1
0
0
0
X
1
1
1
0
X
0
0
1
1
X
1
0
0
1
X
1
1
1
1
X
0
1
0
0
X
1
0
1
0
1
*
X
X
X
X
X
X
0
1
0
1
X
1
0
1
1
*
The decimal point can be enabled with every character by setting bit D7 = 1.