參數(shù)資料
型號: M38B40MDH-XXXXFP
廠商: Mitsubishi Electric Corporation
英文描述: SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
中文描述: 單芯片8位CMOS微機
文件頁數(shù): 48/78頁
文件大?。?/td> 1214K
代理商: M38B40MDH-XXXXFP
48
38B4 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
Timing Setting
Each timing is set by the FLDC mode register, Tdisp time set regis-
ter, Toff1 time set register, and Toff2 time set register.
G
Tdisp time setting
Set the Tdisp time by the Tdisp counter count source selection bit of
the FLDC mode register and the Tdisp time set register.
Supposing that the value of the Tdisp time set register is n, the
Tdisp time is represented as Tdisp = (n+1)
t (t: count source
synchronization).
When the Tdisp counter count source selection bit of the FLDC mode
register is “0” and the value of the Tdisp time set register is 200
(C8
16
), the Tdisp time is: Tdisp = (200+1)
4 (at X
IN
= 4 MHz) = 804
μs. When reading the Tdisp time set register, the value in the
counter is read out.
G
Toff1 time setting
Set the Toff1 time by the Toff1 time set register.
Supposing that the value of the Toff1 time set register is n1, the
Toff1 time is represented as Toff1 = n1
t.
When the Tdisp counter count source selection bit of the FLDC mode
register is “0” and the value of the Toff1 time set register is 30
(1E
16
), Toff1 = 30
4 (at X
IN
= 4 MHz) = 120 μs.
Set a value of 03
16
or more to the Toff1 time set register (address
0EF6
16
).
G
Toff2 time setting
Set the Toff2 time by the Toff2 time set register.
Supposing that the value of the Toff2 time set register is n2, the
Toff2 time is represented as Toff2 = n2
t.
When the Tdisp counter count source selection bit of the FLDC mode
register is “0” and the value of the Toff2 time set register is 180
(B4
16
), Toff2 = 180
4 (at X
IN
= 4 MHz) = 720 μs.
This Toff2 time setting is valid only for FLD ports which are in the
gradation display mode and whose gradation display control RAM
value is “1”.
When setting “1” to bit 7 of the P8FLD output control register (ad-
dress 0EFC
16
), set a value of 03
16
or more to the Toff2 time set
register (address 0EF7
16
).
FLD Automatic Display Start
To perform FLD automatic display, set the following registers.
Port P0FLD/port switch register
Port P2FLD/port switch register
Port P8FLD/port switch register
FLDC mode register
Tdisp time set register
Toff1 time set register
Toff2 time set register
FLD data pointer
FLD automatic display mode is selected by writing “1” to the bit 0 of
the FLDC mode register (address 0EF4
16
), and the automatic dis-
play is started by writing “1” to bit 1. During FLD automatic display,
bit 1 of the FLDC mode register (address 0EF4
16
) always keeps “1”,
and FLD automatic display can be interrupted by writing “0” to bit 1.
Key-scan
When a key-scan is performed with the segment during key-scan
blanking period Tscan, take the following sequence:
1. Write “0” to bit 0 of the FLDC mode register (address 0EF4
16
).
2. Set the port corresponding to the segment for key-scan to the
output port.
3. Perform the key-scan.
4. After the key-scan is performed, write “1” to bit 0 of FLDC mode
register (address 0EF4
16
).
I
Note
When performing a key-scan according to the above step 1 to 4, take
the following points into consideration.
1. Do not set “0” in bit 1 of the FLDC mode register (address 0EF4
16
).
2. Do not set “1” in the ports corresponding to digits.
相關(guān)PDF資料
PDF描述
M38B48E2H-XXXXFP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B48E6H-XXXXFP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B48E9H-XXXXFP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B48EDH-XXXXFP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B48MBH-XXXXFP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M38B40MEH-XXXXFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B40MFH-XXXXFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B41E1H-XXXXFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B41E2H-XXXXFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B41E3H-XXXXFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER