![](http://datasheet.mmic.net.cn/30000/M30218MC-AXXXFP_datasheet_2358657/M30218MC-AXXXFP_317.png)
302
FLD controller
Mitsubishi microcomputers
M30218 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
2.7.3 FLD operation (FLD automatic display and key-scan using digits)
The FLD controller can choose functions from those listed in Table 2.7.2. The circled items are described
in detail below. Figure 2.7.11 shows the operation timing, and Figures 2.7.12 and 2.7.13 show the set-up
procedures.
Table 2.7.2. Selectable functions
Note 1: When selecting the FLD blanking interrupt, any one of 1 ! Tdisp, 2 ! Tdisp, or 3 ! Tdisp can be selected as
Tscan time.
Note 2: When selecting the gradation display mode, make sure to use 16-timing as the timing number.
Operation (1) The FLD starts an automatic display when both the automatic display control bit and the
display start bit are set to “1”.
(2) The display data, the contents from the first address through the last address, in the FLD
automatic display RAM for each port is output to each port. The last address is the result of
decreasing the number indicated in the FLD data pointer from the first address. The grada-
tion display control data is arranged at an address which is calculated by subtracting “7016”
from the stored address in the FLD automatic display RAM of the corresponding timing and
pin. Bright display is performed by setting “0”, and dark display is performed by setting “1”.
However, the contents of the FLD automatic display RAM for ports P50, P51, and P60 to P67
are disabled by selection of the digit pulse output function, and the digit pulses are automati-
cally output.
(3) The FLD data pointer counts down during Tdisp time. When the count reaches “FF16”, the
pointer is reloaded and starts counting over again.
(4) The FLD interrupt request bit is set to “1” simultaneously with the end of Toff1 time (at the
rising edge of a digit) for each timing. Key scanning, which makes use of FLD digits, can be
applied by using each FLD digit interrupt.
(5) During FLD automatic display, the FLD automatic display can be interrupted by writing “0” to
the display start bit.
Item
Set-upSet-up
O
Item
Tscan control
(Note 1)
FLD digit interrupt
FLD blanking interrupt
High-breakdown
voltage port drivability
Strong
Weak
O
Timing number16-timing
32-timing
O
P97 dimmer outputNormal port
Dimmer output
O
Tdisp counter
count source
f(XIN)/32
f(XIN)/128
O
High-breakdown-
voltage ports:
Section of Toff gene-
rate/not generate
Section of Toff does NOT
generate
Section of Toff generates
O
Gradation display
mode (Note 2)
Not selecting
Selecting
O
Toff2
SET/RESET
Reset at Toff2
Set at Toff2
O