參數(shù)資料
型號: M38000S8-XXXHP
廠商: Mitsubishi Electric Corporation
英文描述: 16 Characters x 2 Lines, 5x7 Dot Matrix Character and Cursor
中文描述: 8位單片機
文件頁數(shù): 86/173頁
文件大?。?/td> 4203K
代理商: M38000S8-XXXHP
2-38
3800 GROUP USER’S MANUAL
APPLICATION
2.3 Serial I/O
Control procedure :
When the registers are set as shown in Figure 2.3.21, the Serial I/O can transmit
1-byte data simply by writing data to the Transmit buffer register.
Thus, after setting the CS signal to “L,” write the transmission data to the
Receive buffer register on a 1-byte base, and return the CS signal to “H” when
the desired number of bytes have been transmitted.
Figure 2.3.23 shows a control procedure of serial I/O.
Fig. 2.3.23 Control procedure of serial I/O [Output of serial data]
Set the Serial I/O.
Set the CS signal output level to “L.”
Set the Serial I/O transmit interrupt
request bit to “0.”
Write a transmission data.
(start to transmit 1-byte data)
Check the completion of transmitting 1-
byte data.
Use any of RAM area as a counter for
counting the number of transmitted bytes.
Check that transmission of the target
number of bytes has been completed.
Return the CS signal output level to “H”
when transmission of the target number of
bytes is completed.
RESET
P5 (Address : 0A
16
), bit3 0
0
N
Y
1
IREQ1 (Address : 3C
16
), bit3
Complete to transmit data
Initialization
.
SIOCON
UARTCON
BRG
ICON1
P5
P5D
.
(Address : 1A
16
)
(Address : 1B
16
), bit4
(Address : 1C
16
)
(Address : 3E
16
), bit3
(Address : 0A
16
), bit3
(Address : 0B
16
)
P5 (Address : 0A
16
), bit3 1
G
G
G
G
G
G
G
G
G
X
: This bit is not used in this application.
Set it to “0” or “1.” It’s value can be disregarded.
G
Serial I/O transmit interrupt : Disabled
Set the CS signal output port.
(“H” level output)
IREQ1 (Address : 3C
16
), bit3 0
TB/RB (Address : 18
16
) a transmission
data
G
11011000
2
0
8–1
0
1
XXXX
1
XXX
2
相關(guān)PDF資料
PDF描述
M38000S8-XXXSP 16 Characters x 2 Lines, 5x7 Dot Matrix Character and Cursor
M38000S8-XXXSS 16 Characters x 2 Lines, 5x7 Dot Matrix Character and Cursor
M38001E7-XXXHP 1 watt dc-dc converters
M38001E7-XXXSP 1 watt dc-dc converters
M38001E7-XXXSS 1 watt dc-dc converters
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M38000S8-XXXSP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER
M38000S8-XXXSS 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER
M38000T2-CPE 功能描述:EMULATOR BASE UNIT 740 RoHS:否 類別:編程器,開發(fā)系統(tǒng) >> 內(nèi)電路編程器、仿真器以及調(diào)試器 系列:- 產(chǎn)品變化通告:Development Systems Discontinuation 19/Jul/2010 標(biāo)準(zhǔn)包裝:1 系列:* 類型:* 適用于相關(guān)產(chǎn)品:* 所含物品:*
M38001E1-DXXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER 740 FAMILY / 38000 SERIES
M38001E1-DXXXSP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER 740 FAMILY / 38000 SERIES