English
Language : 

M38197MA Datasheet, PDF (34/60 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
3819 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
q Pins for FLD Automatic Display
Ports P0, P1, P20–P23, P3, P8, P9, and PA is selected for the
FLD automatic display function by setting the automatic display
control bit of the FLDC mode register 2 (address 003716) to
“1”.
When using the FLD automatic display mode, set the number
of segments and digits for each port.
Table L-1. Pins in FLD automatic display mode
Port Name Automatic Display Pins
PA0–PA7
SEG0–SEG7
or
PA0–PA7
SEG8–SEG15
P80–P87
or
P80–P87
P90–P97
P30–P37
SEG16–SEG23
SEG24–SEG31
P00–P07
P10, P11
P12–P17
SEG32–SEG41
or
DIG0–DIG9
DIG10–DIG15
P20–P23
DIG16–DIG19
or
P20–P23
Note : Be sure to set digits in sequence.
Setting Method
The individual bits of the segment/port switch register (address 003516) can be set each pin
to either segment (“1”) or general-purpose I/O port (“0”).
The individual bits of the segment/port switch register (address 003416) can be used to set
each pin to either segment (“1”) or general-purpose I/O port (“0”).
None (segment only)
None (segment only)
The individual bits of the segment/digit switch register (address 003216) and the bit 6, 7 of
the FLDC mode register 2 can be used to set each pin to segment (“1”) or digit (“0”). (Note)
None (digit only)
The individual bits of the digit/port switch register (address 003316) can be used to set each
pin to digit (“1”) or general-purpose output port (“0”). (Note)
Number of segments
Number of digits
24
8
Port PA
(has the segment/port
switch register)
0
0
PA0
PA1
0 PA2
0 PA3
0 PA4
0 PA5
0 PA6
0 PA7
Port P8
(has the segment/port
switch register)
0
0
P80
P81
0 P82
0 P83
0 P84
0 P85
0 P86
0 P87
Port P9
(segment only)
SEG16
SEG17
SEG18
SEG19
SEG20
SEG21
SEG22
SEG23
30
10
0 PA0
0 PA1
0 PA2
0 PA3
0 PA4
0 PA5
0 PA6
0 PA7
0 P80
0 P81
0 P82
0 P83
1 SEG12
1 SEG13
1 SEG14
1 SEG15
SEG16
SEG17
SEG18
SEG19
SEG20
SEG21
SEG22
SEG23
36
16
1 SEG0
1 SEG1
1 SEG2
1 SEG3
1 SEG4
1 SEG5
1 SEG6
1 SEG7
1 SEG8
1 SEG9
1 SEG10
1 SEG11
1 SEG12
1 SEG13
1 SEG14
1 SEG15
SEG16
SEG17
SEG18
SEG19
SEG20
SEG21
SEG22
SEG23
Fig. KA-4 Segment/digit setting example
Number of segments
Number of digits
Port P3
(segment only)
24
8
SEG24
SEG25
SEG26
SEG27
SEG28
SEG29
SEG30
SEG31
30
10
SEG24
SEG25
SEG26
SEG27
SEG28
SEG29
SEG30
SEG31
36
16
SEG24
SEG25
SEG26
SEG27
SEG28
SEG29
SEG30
SEG31
Port P0
(has the segment/digit
switch register)
1 SEG32
1 SEG33
1 SEG34
1 SEG35
1 SEG36
1 SEG37
1 SEG38
1 SEG39
1 SEG32
1 SEG33
1 SEG34
1 SEG35
1 SEG36
1 SEG37
1 SEG38
1 SEG39
1 SEG32
1 SEG33
1 SEG34
1 SEG35
0 DIG4 G16
0 DIG5 G15
0 DIG6 G14
0 DIG7 G13
Port P1
(has the segment/digit
switch register)
0 DIG8
0 DIG9
G8
G7
DIG10 G6
DIG11 G5
DIG12 G4
DIG13 G3
DIG14 G2
DIG15 G1
Port P2
(has the digit/port
switch register)
0 P20
0 P21
0 P22
0 P23
1 SEG40
1 SEG41
DIG10 G10
DIG11 G9
DIG12 G8
DIG13 G7
DIG14 G6
DIG15 G5
0 DIG8 G12
0 DIG9 G11
DIG10 G10
DIG11 G9
DIG12 G8
DIG13 G7
DIG14 G6
DIG15 G5
1 DIG16 G4
1 DIG17 G3
1 DIG18 G2
1 DIG19 G1
1 DIG16 G4
1 DIG17 G3
1 DIG18 G2
1 DIG19 G1
34