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

Z8F022APH020SC 参数 Datasheet PDF下载

Z8F022APH020SC图片预览
型号: Z8F022APH020SC
PDF下载: 下载PDF文件 查看货源
内容描述: Z8喝采! XP -R 4K系列高性能8位微控制器 [Z8 Encore! XP-R 4K Series High-Performance 8-Bit Microcontrollers]
分类和应用: 微控制器外围集成电路光电二极管时钟
文件页数/大小: 276 页 / 3422 K
品牌: ZILOG [ ZILOG, INC. ]
 浏览型号Z8F022APH020SC的Datasheet PDF文件第107页浏览型号Z8F022APH020SC的Datasheet PDF文件第108页浏览型号Z8F022APH020SC的Datasheet PDF文件第109页浏览型号Z8F022APH020SC的Datasheet PDF文件第110页浏览型号Z8F022APH020SC的Datasheet PDF文件第112页浏览型号Z8F022APH020SC的Datasheet PDF文件第113页浏览型号Z8F022APH020SC的Datasheet PDF文件第114页浏览型号Z8F022APH020SC的Datasheet PDF文件第115页  
Z8 Encore! XP
®
4K Series
Product Specification
92
6. Check the
TDRE
bit in the UART Status 0 register to determine if the Transmit Data
register is empty (indicated by a 1). If empty, continue to Step 6. If the Transmit Data
register is full (indicated by a 0), continue to monitor the TDRE bit until the Transmit
Data register becomes available to receive new data.
7. Write the UART Control 1 register to select the outgoing address bit.
8. Set the Multiprocessor Bit Transmitter (MPBT) if sending an address byte, clear it if
sending a data byte.
9. Write the data byte to the UART Transmit Data register. The transmitter automatically
transfers the data to the Transmit Shift register and transmits the data.
10. Make any changes to the Multiprocessor Bit Transmitter (
MPBT
) value, if appropriate
and MULTIPROCESSOR mode is enabled,.
11. To transmit additional bytes, return to Step 5.
Transmitting Data using the Interrupt-Driven Method
The UART Transmitter interrupt indicates the availability of the Transmit Data register to
accept new data for transmission. Follow these steps to configure the UART for interrupt-
driven data transmission:
1. Write to the UART Baud Rate High and Low Byte registers to set the appropriate baud
rate.
2. Enable the UART pin functions by configuring the associated GPIO Port pins for
alternate function operation.
3. Execute a DI instruction to disable interrupts.
4. Write to the Interrupt control registers to enable the UART Transmitter interrupt and
set the acceptable priority.
5. Write to the UART Control 1 register to enable MULTIPROCESSOR (9-bit) mode
functions, if MULTIPROCESSOR mode is appropriate.
6. Set the MULTIPROCESSOR Mode Select (MPEN) to Enable MULTIPROCESSOR
mode.
7. Write to the UART Control 0 register to:
Set the transmit enable bit (TEN) to enable the UART for data transmission
Enable parity, if appropriate and if MULTIPROCESSOR mode is not enabled, and
select either even or odd parity.
Set or clear
CTSE
to enable or disable control from the remote receiver using the
CTS pin.
8. Execute an EI instruction to enable interrupts.
PS022815-0206
UART