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

MC68HC11P1CFN3 参数 Datasheet PDF下载

MC68HC11P1CFN3图片预览
型号: MC68HC11P1CFN3
PDF下载: 下载PDF文件 查看货源
内容描述: 微控制器 [Microcontrollers]
分类和应用: 微控制器
文件页数/大小: 268 页 / 2323 K
品牌: FREESCALE [ Freescale ]
 浏览型号MC68HC11P1CFN3的Datasheet PDF文件第97页浏览型号MC68HC11P1CFN3的Datasheet PDF文件第98页浏览型号MC68HC11P1CFN3的Datasheet PDF文件第99页浏览型号MC68HC11P1CFN3的Datasheet PDF文件第100页浏览型号MC68HC11P1CFN3的Datasheet PDF文件第102页浏览型号MC68HC11P1CFN3的Datasheet PDF文件第103页浏览型号MC68HC11P1CFN3的Datasheet PDF文件第104页浏览型号MC68HC11P1CFN3的Datasheet PDF文件第105页  
Freescale Semiconductor, Inc.  
Serial Communications Interface (SCI)  
Status flags and interrupts  
5.9 Status flags and interrupts  
The SCI transmitter has two status flags. These status flags can be read  
by software (polled) to tell when certain conditions exist. Alternatively, a  
local interrupt enable bit can be set to enable each of these status  
conditions to generate interrupt requests. Status flags are automatically  
set by hardware logic conditions, but must be cleared by software. This  
provides an interlock mechanism that enables logic to know when  
software has noticed the status indication. The software clearing  
sequence for these flags is automatic — functions that are normally  
performed in response to the status flags also satisfy the conditions of  
the clearing sequence.  
TDRE and TC flags are normally set when the transmitter is first enabled  
(TE set to one). The TDRE flag indicates there is room in the transmit  
queue to store another data character in the transmit data register. The  
TIE bit is the local interrupt mask for TDRE. When TIE is zero, TDRE  
must be polled. When TIE and TDRE are one, an interrupt is requested.  
The TC flag indicates the transmitter has completed the queue. The  
TCIE bit is the local interrupt mask for TC. When TCIE is zero, TC must  
be polled; when TCIE is one and TC is one, an interrupt is requested.  
Writing a zero to TE requests that the transmitter stop when it can. The  
transmitter completes any transmission in progress before shutting  
down. Only an MCU reset can cause the transmitter to stop and shut  
down immediately. If TE is cleared when the transmitter is already idle,  
the pin reverts to its general-purpose I/O function (synchronized to the  
bit-rate clock). If anything is being transmitted when TE is cleared, that  
character is completed before the pin reverts to general-purpose I/O, but  
any other characters waiting in the transmit queue are lost. The TC and  
TDRE flags are set at the completion of this last character, even though  
TE has been disabled.  
MC68HC11P2 — Rev 1.0  
Technical Data  
Serial Communications Interface (SCI)  
For More Information On This Product,  
Go to: www.freescale.com  
 复制成功!