M38220E1-FP Datasheet

  • M38220E1-FP

  • SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER

  • 980.52KB

  • 78页

  • MITSUBISHI   MITSUBISHI

扫码查看芯片数据手册

上传产品规格书

PDF预览

MITSUBISHI MICROCOMPUTERS
3822 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
[Transmit Buffer/Receive Buffer Register
(TB/RB)] 0018
16
The transmit buffer register and the receive buffer register are lo-
cated at the same address. The transmit buffer register is
write-only and the receive buffer register is read-only. If a charac-
ter bit length is 7 bits, the MSB of data stored in the receive buffer
register is 鈥?鈥?
[Serial I/O Status Register (SIOSTS)] 0019
16
The read-only serial I/O status register consists of seven flags
(bits 0 to 6) which indicate the operating status of the serial I/O
function and various errors.
Three of the flags (bits 4 to 6) are valid only in UART mode.
The receive buffer full flag (bit 1) is cleared to 鈥?鈥?when the receive
buffer is read.
If there is an error, it is detected at the same time that data is
transferred from the receive shift register to the receive buffer reg-
ister, and the receive buffer full flag is set. A write to the serial I/O
status register clears all the error flags OE, PE, FE, and SE. Writ-
ing 鈥?鈥?to the serial I/O enable bit (SIOE) also clears all the status
flags, including the error flags.
All bits of the serial I/O status register are initialized to 鈥?鈥?at reset,
but if the transmit enable bit (bit 4) of the serial I/O control register
has been set to 鈥?鈥? the transmit shift register shift completion flag
(bit 2) and the transmit buffer empty flag (bit 0) become 鈥?鈥?
[Serial I/O Control Register (SIOCON)] 001A
16
The serial I/O control register contains eight control bits for the se-
rial I/O function.
[UART Control Register (UARTCON) ]001B
16
The UART control register consists of four control bits (bits 0 to 3)
which are valid when asynchronous serial I/O is selected and set
the data format of an data transfer. One bit in this register (bit 4) is
always valid and sets the output structure of the P4
5
/T
X
D pin.
[Baud Rate Generator (BRG)] 001C
16
The baud rate generator determines the baud rate for serial trans-
fer.
The baud rate generator divides the frequency of the count source
by 1/(n + 1), where n is the value written to the baud rate genera-
tor.
sNotes
on serial I/O
When setting the transmit enable bit to 鈥?鈥? the serial I/O transmit
interrupt request bit is automatically set to 鈥?鈥? When not requiring
the interrupt occurrence synchronized with the transmission
enalbed, take the following sequence.
鉃€Set
the serial I/O transmit interrupt enable bit to 鈥?鈥?(disabled).
鉃丼et
the transmit enable bit to 鈥?鈥?
鉃係et
the serial I/O transmit interrupt request bit to 鈥?鈥?after 1 or
more instructions have been executed.
鉃僑et
the serial I/O transmit interrupt enable bit to 鈥?鈥?(enabled).
31

M38220E1-FP相关型号PDF文件下载

您可能感兴趣的PDF文件资料

热门IC型号推荐

扫码下载APP,
一键连接广大的电子世界。

在线人工客服

买家服务:
卖家服务:

0571-85317607

客服在线时间周一至周五
9:00-17:30

关注官方微信号,
第一时间获取资讯。

建议反馈
返回顶部

建议反馈

联系人:

联系方式:

按住滑块,拖拽到最右边
>>
感谢您向阿库提出的宝贵意见,您的参与是维库提升服务的动力!意见一经采纳,将有感恩红包奉上哦!