English
Language : 

3819_03 Datasheet, PDF (134/218 Pages) Renesas Technology Corp – 8-BIT SINGLE-CHIP MICROCOMPUTER
2. APPLICATION
Control procedure :
Figure 2.5.17 shows a control procedure.
MITSUBISHI MICROCOMPUTER
3819 Group
2.5 FLD controller
RESET
Initialization
FLDM1 (Address:3616)
FLDM2 (Address:3716)
FLDDP (Address:3816)
P0SDR (Address:3216)
P2DPR (Address:3316)
P8SPR (Address:3416)
PASPR (Address:3516)
P2D (Address:0516)
100000112
000000012
000010012
000000112
000000002
000000002
000000002
000000002
q Set related functions for using the FLD automatic
display.
q Set segment/digit /port.
q Set the bits 7 to 4 of the Port P2 direction register
used for the Key-scan to input mode.
FLD automatic
display RAM
(Address:0FB016 to 0FC916)
a data to be
displayed
IREQ2 (Address:3D 16), bit6 0
q To turn on the display of the corresponding segment : set to “1”
q To turn off the display of the corresponding segment : set to “0”
( Note)
q Set the FLD blanking interrupt request bit to “0”.
Wait for 1 or more cycles
q Wait until completing to write data to the FLD
blanking interrupt request bit.
ICON2 (Address:3F 16) , bit6 1
FLDM2 (Address:37 16), bit1 1
q FLD blanking interrupt : Enabled
q Start the FLD automatic display.
Main processing
Note : The display data is re-written at any time.
Fig. 2.5.17 Control procedure [FLD automatic display and Key-scan using segment pin]
120
3819 Group USER’S MANUAL