欢迎访问ic37.com |
会员登录 免费注册
发布采购

EZ80L92AZ020SC00TR 参数 Datasheet PDF下载

EZ80L92AZ020SC00TR图片预览
型号: EZ80L92AZ020SC00TR
PDF下载: 下载PDF文件 查看货源
内容描述: [IC MCU 8BIT ROMLESS 100LQFP]
分类和应用:
文件页数/大小: 238 页 / 1067 K
品牌: ZILOG [ ZILOG, INC. ]
 浏览型号EZ80L92AZ020SC00TR的Datasheet PDF文件第117页浏览型号EZ80L92AZ020SC00TR的Datasheet PDF文件第118页浏览型号EZ80L92AZ020SC00TR的Datasheet PDF文件第119页浏览型号EZ80L92AZ020SC00TR的Datasheet PDF文件第120页浏览型号EZ80L92AZ020SC00TR的Datasheet PDF文件第122页浏览型号EZ80L92AZ020SC00TR的Datasheet PDF文件第123页浏览型号EZ80L92AZ020SC00TR的Datasheet PDF文件第124页浏览型号EZ80L92AZ020SC00TR的Datasheet PDF文件第125页  
eZ80L92 MCU  
Product Specification  
108  
rupts are enabled (except for the transmit interrupt) and the application is ready to use the  
module for transmission/reception.  
Data Transfers—Transmit. To transmit data, the application enables the transmit inter-  
rupt. An interrupt is immediately expected in response. The application reads the  
UARTx_IIR register and determines that the interrupt occurs due to an empty  
UARTx_THR register. When the application determines this occurrence, the application  
writes the transmit data bytes to the UARTx_THR register. The number of bytes that the  
application writes depends on whether or not the FIFO is enabled. If the FIFO is enabled,  
the application can write 16 bytes at a time. If not, the application can write one byte at a  
time. As a result of the first Write, the interrupt is deactivated. The processor then waits  
for the next interrupt. When the interrupt is raised by the UART module, the processor  
repeats the same process until it exhausts all of the data for transmission.  
To control and check the modem status, the application sets up the modem by writing to  
the UARTx_MCTL register and reading the UARTx_MCTL register before starting the  
process mentioned above.  
Data Transfers—Receive. The receiver is always enabled, and it continually checks for  
the start bit on the RxD input signal. When an interrupt is raised by the UART module, the  
application reads the UARTx_IIR register and determines the cause for the interrupt. If the  
cause is a line status interrupt, the application reads the UARTx_LSR register, reads the  
data byte and then can discard the byte or take other appropriate action. If the interrupt is  
caused by a receive-data-ready condition, the application alternately reads the  
UARTx_LSR and UARTx_RBR registers and removes all of the received data bytes. It  
reads the UARTx_LSR register before reading the UARTx_RBR register to determine that  
there is no error in the received data.  
To control and check modem status, the application sets up the modem by writing to the  
UARTx_MCTL register and reading the UARTx_MSR register before starting the process  
mentioned above.  
Poll Mode Transfers. When interrupts are disabled, all data transfers are referred to as  
poll mode transfers. In poll mode transfers, the application must continually poll the  
UARTx_LSR register to transmit or receive data without enabling the interrupts. The  
same holds true for the UARTx_MSR register. If the interrupts are not enabled, the data in  
the UARTx_IIR register cannot be used to determine the cause of interrupt.  
Baud Rate Generator  
The Baud Rate Generator consists of a 16-bit downcounter, two registers, and associated  
decoding logic. The initial value of the Baud Rate Generator is defined by the two BRG  
Divisor Latch registers, {UARTx_BRG_H, UARTx_BRG_L}. At the rising edge of each  
system clock, the BRG decrements until it reaches the value 0001h. On the next system  
clock rising edge, the BRG reloads the initial value from {UARTx_BRG_H,  
PS013015-0316  
Universal Asynchronous Receiver/Transmitter  
 复制成功!