參數(shù)資料
型號: M38000S6-XXXHP
廠商: Mitsubishi Electric Corporation
英文描述: 16 Characters x 2 Lines, 5x7 Dot Matrix Character and Cursor
中文描述: 8位單片機(jī)
文件頁數(shù): 123/173頁
文件大?。?/td> 4203K
代理商: M38000S6-XXXHP
3800 GROUP USER’S MANUAL
3-21
APPENDIX
3.3 Notes on use
3.3.5 Notes on memory expansion mode and microprocessor mode
(1) Writing data to the port latch of port P3
In the memory expansion or the microprocessor mode, ports P3
0
and P3
1
can be used as the output port. Use the
LDM
or
STA
instruction for writing data to the port latch (address 0006
16
) of port P3.
When using a read-modify-write instruction (the
SEB
or the
CLB
instruction), allocate the read and the write
enabled memory at address 0006
16
.
Reason
In the memory expansion or microprocessor mode, address 0006
16
is allocated in the external area.
Accordingly,
Data is read from the external memory.
Data is written to both the port latch of the port P3 and the external memory.
Accordingly, when executing a read-modify-write instruction for address 0006
16
, external memory data is read and
modified, and the result is written in both the port latch of the port P3 and the external memory. If the read enabled
memory is not allocated at address 0006
16
, the read data is undefined. The undefined data is modified and written
to the port latch of the port P3. The port latch data of port P3 becomes “undefined.”
(2) Overlap of an internal memory and an external memory
When the internal and the external memory are overlapped in the memory expansion mode, the internal memory
is valid in this overlapped area. When the CPU writes or reads to this area, the following is performed :
When reading data
Only the data in the internal memory is read into the CPU and the data in the external memory is not read into
the CPU. However, as the read signal and address are still valid, the external memory data of the
corresponding address is output to the external data bus.
When writing data
Data is written in both the internal and the external memory.
相關(guān)PDF資料
PDF描述
M38000S6-XXXSP 16 Characters x 2 Lines, 5x7 Dot Matrix Character and Cursor
M38000S6-XXXSS 16 Characters x 2 Lines, 5x7 Dot Matrix Character and Cursor
M38000S7-XXXFP 16 Characters x 2 Lines, 5x7 Dot Matrix Character and Cursor
M38000S7-XXXFS 16 Characters x 2 Lines, 5x7 Dot Matrix Character and Cursor
M38000S7-XXXHP 16 Characters x 2 Lines, 5x7 Dot Matrix Character and Cursor
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M38000S6-XXXSP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER
M38000S6-XXXSS 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER
M38000S7-DXXXSP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER 740 FAMILY / 38000 SERIES
M38000S7-XXXFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER
M38000S7-XXXFS 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER