![Atmel XMEGA B Скачать руководство пользователя страница 318](http://html1.mh-extra.com/html/atmel/xmega-b/xmega-b_user-manual_3003285318.webp)
318
XMEGA B [DATASHEET]
8291B–AVR–01/2013
Table 25-11. Type of digits.
Note:
1.
Refer to specific device datasheet for “Type of Digit” availability.
Bits 5:0 – STSEG[5:0]: Start Segment
STSEG bit-field defines the first segment terminal used to write the decoded display. This bit-field is automatically
incremented or decremented (according to the DEC value of CTRLH register) by the number of segment terminals used
in the digit.
Figure 25-11.Segment and Common Terminal Connections for Digit
25.5.10 CTRLH – Control register H
Bit 7 – DEC: Decrement of Start Segment
Writing this bit to one automatically decrements the STSEG bit-field of CTRLG register by the number of segment
terminals used by the digit. If this bit is written to zero, the STSEG bit-field is incremented by the number of segment
terminals used by the digit. This action takes place once the digit decoding is finished and prepares the next call to the
Digit Decoder.
Bits 6:0 – DCODE[6:0]: Display Code
DCODE bit-field will be computed by the Digit Decoder, and converted to display codes, and then automatically written
into the Display Memory according to the STSEG value. This Digit Decoder can be used when the LCD panel is defined
with one or more of the configurations above in
.
TDG[1:0]
Digit Type
00
7-segment with 3 common terminals, COM[2:0]
01
7-segment with 4 common terminals, COM[3:0]
10
14-segment with 4 common terminals, COM[3:0]
11
16-segment with 3 common terminals, COM[2:0]
a
e
f
d
g
b
c
SEGn : a, b, c
SEGn+1 : d, e, f, g
COM0 : a, f
COM1 : b, g
COM2 : c, e
COM3 : d
7-segment with 4 COM
a
e
f
d
g
b
c
SEGn : b, c
SEGn+1 : a, d, g
SEGn+2 : e, f
COM0 : a, b, f
COM1 : c, e, g
COM2 : d
7-segment with 3 COM
SEGn : h, i, k, n
SEGn+1 : d, e, f
SEGn+2 : a, b, c
SEGn+3 : g, j, l, m
COM0 : a, g, h
COM1 : b, i, j, f
COM2 : c, e, k, l
COM3 : d, m, n
14-segment with 4 COM
a
e
f
d
j
b
c
k
g
i
m
l
n
h
SEGn : h, g, n
SEGn+1 : a, i, l
SEGn+2 : b, k, m
SEGn+3 : c, d, e
SEGn+4 : j, o, p
SEGn+5 : f
COM0 : h, a, b, c, j
COM1 : g, i, k, d, o
COM2 : n, l, m, p, e, f
16-segment with 3 COM
f
e
a
b
g
h
l
c
d
m
i
k
o
n
p
j
Bit
7
6
5
4
3
2
1
0
+0x09
DEC
DCODE[6:0]
Read/Write
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0
Содержание XMEGA B
Страница 320: ...320 XMEGA B DATASHEET 8291B AVR 01 2013 Table 25 12 7 segments Character Table...
Страница 321: ...321 XMEGA B DATASHEET 8291B AVR 01 2013 Table 25 13 14 segments Character Table...
Страница 322: ...322 XMEGA B DATASHEET 8291B AVR 01 2013 Table 25 14 16 segments Character Table...
Страница 412: ...412 XMEGA B DATASHEET 8291B AVR 01 2013...
Страница 413: ...413 XMEGA B DATASHEET 8291B AVR 01 2013...
Страница 414: ...414 XMEGA B DATASHEET 8291B AVR 01 2013...