国产精品成人VA在线观看-国产乱妇乱子视频在播放-国产日韩精品一区二区三区在线-国模精品一区二区三区

參數資料
型號: W79E225A
廠商: WINBOND ELECTRONICS CORP
元件分類: 8位微控制器
英文描述: 8-BIT MICROCONTROLLER
中文描述: 8位微控制器
文件頁數: 141/200頁
文件大小: 3644K
代理商: W79E225A
第1頁第2頁第3頁第4頁第5頁第6頁第7頁第8頁第9頁第10頁第11頁第12頁第13頁第14頁第15頁第16頁第17頁第18頁第19頁第20頁第21頁第22頁第23頁第24頁第25頁第26頁第27頁第28頁第29頁第30頁第31頁第32頁第33頁第34頁第35頁第36頁第37頁第38頁第39頁第40頁第41頁第42頁第43頁第44頁第45頁第46頁第47頁第48頁第49頁第50頁第51頁第52頁第53頁第54頁第55頁第56頁第57頁第58頁第59頁第60頁第61頁第62頁第63頁第64頁第65頁第66頁第67頁第68頁第69頁第70頁第71頁第72頁第73頁第74頁第75頁第76頁第77頁第78頁第79頁第80頁第81頁第82頁第83頁第84頁第85頁第86頁第87頁第88頁第89頁第90頁第91頁第92頁第93頁第94頁第95頁第96頁第97頁第98頁第99頁第100頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁當前第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁第154頁第155頁第156頁第157頁第158頁第159頁第160頁第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁第181頁第182頁第183頁第184頁第185頁第186頁第187頁第188頁第189頁第190頁第191頁第192頁第193頁第194頁第195頁第196頁第197頁第198頁第199頁第200頁
Preliminary W79E225A/227A Data Sheet
Publication Release Date: December 14, 2007
- 141 -
Revision A2.0
16. SERIAL PORT
The W79E225/227 has two enhanced serial ports that are functionally similar to the serial port of the
original 8052 family. Both the serial ports are full-duplex ports, and the W79E225/227 provides
additional features, such as Frame Error Detection and Automatic Address Recognition. The serial
ports are capable of synchronous and asynchronous communication. In synchronous mode, the
W79E225/227 generates the clock and operates in half-duplex mode. In asynchronous mode, the
serial ports can simultaneously transmit and receive data. The transmit registers and the receive
buffers are both addressed as SBUF (SBUF1 for the second serial port), but any write to
SBUF/SBUF1 writes to the transmit register while any read from SBUF/SBUF1 reads from the receive
buffer. Both serial ports can operate in four modes, as described below. The descriptions are for serial
port 0, however, it also apply to the second serial port.
16.1 Mode 0
This mode provides half-duplex, synchronous communication with external devices. In this mode,
serial data is transmitted and received on the RXD line, and the W79E225/227 provides the shift clock
on TxD, whether the device is transmitting or receiving. Eight bits are transmitted or received per
frame, LSB first. The baud rate is 1/12 or 1/4 of the oscillator frequency, as determined by the SM2 bit
(SCON.5; 0 = 1/12; 1 = 1/4). This programmable baud rate is the only difference between the standard
8051/52 and the W79E225/227 in mode 0.
Any write to SBUF starts transmission. The shift clock is activated, and data is shifted out on RxD until
all eight bits are transmitted. If SM2 is 1, the data appears on RxD one clock period before the falling
edge of the shift clock on TxD. Then, the clock remains low for two clock periods before going high
again. If SM2 is 0, the data appears on RxD three clock periods before the falling edge of the shift
clock on TxD, and the clock on TxD remains low for six clock periods before going high again. This
ensures that, at the receiving end, the data on the RxD line can be clocked on the rising edge of the
shift clock or latched when the clock is low. The TI flag is set high in C1 following the end of
transmission. The functional block diagram is shown below.
1/12
Fosc
0
TX CLOCK
RX CLOCK
TI
RI
TX SHIFT
TX START
RX SHIFT
LOAD SBUF
SHIFT CLOCK
RI
REN
SM2
CLOCK
SIN
PAROUT
SBUF
Read SBUF
Internal
Data Bus
Serial Controllor
CLOCK
LOAD
PARIN
TX START
Internal
Data Bus
Write to
SBUF
SOUT
Transmit Shift Register
Serial Interrupt
RXD
P3.0 Alternate
Output Function
TXD
P3.1 Alternate
Output Function
RXD
P3.0 Alternate
Input Function
1/4
1
Receive Shift Register
Figure 16-1 Serial Port Mode 0
相關PDF資料
PDF描述
W79E225AFG 8-BIT MICROCONTROLLER
W79E225APG 8-BIT MICROCONTROLLER
W79E227A 8-BIT MICROCONTROLLER
W79E227AFG 8-BIT MICROCONTROLLER
W79E227APG 8-BIT MICROCONTROLLER
相關代理商/技術參數
參數描述
W79E225A_08 制造商:WINBOND 制造商全稱:Winbond 功能描述:8-bit Microcontroller
W79E225A_226A_227A 制造商:WINBOND 制造商全稱:Winbond 功能描述:W79E225A_226A_227A_A7_SC5(中文)
W79E225AFG 制造商:WINBOND 制造商全稱:Winbond 功能描述:8-bit Microcontroller
W79E225ALG 制造商:Nuvoton Technology Corp 功能描述:IC MCU 16K EPROM FLASH 48LQFP
W79E225APG 制造商:Nuvoton Technology Corp 功能描述:IC MCU 16K EPROM FLASH 44PLCC