M38197 Mitsubishi, M38197 Datasheet - Page 34
![no-image](/images/manufacturer_photos/0/4/451/mitsubishi_sml.jpg)
M38197
Manufacturer Part Number
M38197
Description
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
Manufacturer
Mitsubishi
Datasheet
1.M38197.pdf
(60 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
M38197EAFP
Manufacturer:
QFP
Quantity:
20 000
Company:
Part Number:
M38197MA-160FP
Manufacturer:
RENESAS
Quantity:
4
Company:
Part Number:
M38197MAA-608FP
Manufacturer:
MIT
Quantity:
136
Part Number:
M38197MAA-608FP
Manufacturer:
MIT
Quantity:
20 000
Company:
Part Number:
M38197MAA-625FP
Manufacturer:
SEMTECH
Quantity:
300
Company:
Part Number:
M38197MAA-639FP
Manufacturer:
RENESAS
Quantity:
756
Fig. KA-4 Segment/digit setting example
34
Table L-1. Pins in FLD automatic display mode
Note : Be sure to set digits in sequence.
PA
P8
P9
P3
P0
P1
P1
P2
Pins for FLD Automatic Display
Ports P0, P1, P2
FLD automatic display function by setting the automatic display
control bit of the FLDC mode register 2 (address 0037
“1”.
Port Name
Number of segments
Number of digits
(has the segment/port
switch register)
(has the segment/port
switch register)
(segment only)
0
0
0
0
0
0
2
0
–PA
–P8
–P9
–P3
–P0
, P1
–P1
–P2
Port P9
7
7
7
7
7
1
7
3
Port PA
Port P8
Automatic Display Pins
0
–P2
SEG
SEG
SEG
SEG
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
DIG
DIG
SEG
DIG
3
24
PA
PA
PA
PA
PA
PA
PA
PA
P8
P8
P8
P8
P8
P8
P8
P8
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
PA
P8
P2
, P3, P8, P9, and PA is selected for the
8
16
24
32
10
16
0
1
2
3
4
5
6
7
8
0
1
2
3
4
5
6
7
0
0
0
0
0
or
–SEG
or
or
or
–SEG
–PA
–P8
–SEG
–SEG
–SEG
–DIG
–DIG
–DIG
–P2
16
17
18
19
20
21
22
23
7
7
3
9
15
19
15
7
23
31
41
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
30
10
PA
PA
PA
PA
PA
PA
PA
PA
P8
P8
P8
P8
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
0
1
2
3
0
1
2
3
4
5
6
7
12
13
14
15
16
17
18
19
20
21
22
23
The individual bits of the segment/port switch register (address 0035
to either segment (“1”) or general-purpose I/O port (“0”).
The individual bits of the segment/port switch register (address 0034
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 0032
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 0033
pin to digit (“1”) or general-purpose output port (“0”). (Note)
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
36
16
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
16
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
) to
Number of segments
Number of digits
(segment only)
(has the segment/digit
switch register)
(has the segment/digit
switch register)
(has the digit/port
switch register)
Port P3
When using the FLD automatic display mode, set the number
of segments and digits for each port.
Port P0
Port P1
Port P2
Setting Method
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
1
1
1
1
1
1
1
1
0
0
0
0
0
0
MITSUBISHI MICROCOMPUTERS
24
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
DIG
DIG
DIG
DIG
DIG
DIG
DIG
DIG
P2
P2
P2
P2
8
0
1
2
3
8
9
10
11
12
13
14
15
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
G
G
G
G
G
G
G
G
8
7
6
5
4
3
2
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
16
30
10
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
DIG
DIG
DIG
DIG
DIG
DIG
DIG
DIG
DIG
DIG
) can be used to set each
10
11
12
13
14
15
16
17
18
19
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
3819 Group
16
16
16
) can be set each pin
G
G
G
G
G
G
G
G
G
G
) can be used to set
) and the bit 6, 7 of
10
9
8
7
6
5
4
3
2
1
1
1
1
1
0
0
0
0
0
0
1
1
1
1
36
16
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
SEG
DIG
DIG
DIG
DIG
DIG
DIG
DIG
DIG
DIG
DIG
DIG
DIG
DIG
DIG
DIG
DIG
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
24
25
26
27
28
29
30
31
32
33
34
35
G
G
G
G
G
G
G
G
G
G
G
G
G
G
G
G
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1