38B7 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
PRELIMINARY
Notice: This is not a final specification.
change.
Some parametric limits are subject to
49
Fig. 49 Segment/Digit setting example
FLD Automatic Display Pins
P0 to P6 are the pins capable of automatic display output for the
FLD. The FLD starts operating by setting the automatic display
control bit (bit 0 at address 0EF4
16
) to
“
1
”
. There is the FLD output
function that outputs the RAM contents from the port every timing
or the digit output function that drives the port high with a digit tim-
Setting method
The individual bits of the digit output set switch registers (addresses 0EF2
16
, 0EF3
16
) can
set each pin to either an FLD port (
“
0
”
) or a digit port (
“
1
”
).
When the pins are set for the digit port, the digit pulse output function is enabled, so that the
digit pulses can always be output regardless the value of FLD automatic display RAM.
Setting the automatic display control bit (bit 0 of address 0EF4
16
) to
“
1
”
can set these ports
to the FLD exclusive use port.
The individual bits of the FLD/Port switch register (addresses 0EF9
16
to 0EFB
16
) can set
each pin to either an FLD port (
“
1
”
) or a general-purpose port (
“
0
”
).
The individual bits of the port P6 FLD/Port switch register (address 0EFB
16
) can set each
pin to either FLD port (
“
1
”
) or general-purpose port (
“
0
”
). A variety of output pulses can be
available by setting of the FLD output control register (address 0EFC
16
). The port output
structure is the CMOS output. When using the port as a display pin, a driver IC must be in-
stalled externally.
ing. The FLD can be displayed using the FLD output for the seg-
ments and the digit or FLD output for the digits. When using the
FLD output for the digits, be sure to write digit display patterns to
the RAM in advance. The remaining segment and digit lines can
be used as general-purpose ports. Settings of each port are
shown below.
Table 10 Pins in FLD automatic display mode
Port
P0, P2
FLD
0
to FLD
15
Automatic display pin
P1, P3
FLD
16
to FLD
31
P4, P5,
P6
0
to P6
3
P6
4
to P6
7
FLD
32
to FLD
51
FLD
52
to FLD
55
P
o
r
t
P
0
P
o
r
t
P
1
N
N
u
u
m
m
b
b
e
e
r
r
o
o
f
f
s
d
e
i
g
g
i
m
t
s
e
n
t
s
P
o
r
t
P
2
3
1
6
6
P
o
r
t
P
3
S
T
I
n
d
e
h
i
s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