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

MC9S12P64CFT 参数 Datasheet PDF下载

MC9S12P64CFT图片预览
型号: MC9S12P64CFT
PDF下载: 下载PDF文件 查看货源
内容描述: 微控制器 [Microcontrollers]
分类和应用: 微控制器外围集成电路时钟
文件页数/大小: 566 页 / 7414 K
品牌: FREESCALE [ Freescale ]
 浏览型号MC9S12P64CFT的Datasheet PDF文件第393页浏览型号MC9S12P64CFT的Datasheet PDF文件第394页浏览型号MC9S12P64CFT的Datasheet PDF文件第395页浏览型号MC9S12P64CFT的Datasheet PDF文件第396页浏览型号MC9S12P64CFT的Datasheet PDF文件第398页浏览型号MC9S12P64CFT的Datasheet PDF文件第399页浏览型号MC9S12P64CFT的Datasheet PDF文件第400页浏览型号MC9S12P64CFT的Datasheet PDF文件第401页  
Serial Communication Interface (S12SCIV5)  
new byte can be written to the SCIDRH/L for transmission.Clear TDRE by reading SCI status register 1  
with TDRE set and then writing to SCI data register low (SCIDRL).  
11.5.3.1.2  
TC Description  
The TC interrupt is set by the SCI when a transmission has been completed. Transmission is completed  
when all bits including the stop bit (if transmitted) have been shifted out and no data is queued to be  
transmitted. No stop bit is transmitted when sending a break character and the TC flag is set (providing  
there is no more data queued for transmission) when the break character has been shifted out. A TC  
interrupt indicates that there is no transmission in progress. TC is set high when the TDRE flag is set and  
no data, preamble, or break character is being transmitted. When TC is set, the TXD pin becomes idle  
(logic 1). Clear TC by reading SCI status register 1 (SCISR1) with TC set and then writing to SCI data  
register low (SCIDRL).TC is cleared automatically when data, preamble, or break is queued and ready to  
be sent.  
11.5.3.1.3  
RDRF Description  
The RDRF interrupt is set when the data in the receive shift register transfers to the SCI data register. A  
RDRF interrupt indicates that the received data has been transferred to the SCI data register and that the  
byte can now be read by the MCU. The RDRF interrupt is cleared by reading the SCI status register one  
(SCISR1) and then reading SCI data register low (SCIDRL).  
11.5.3.1.4  
OR Description  
The OR interrupt is set when software fails to read the SCI data register before the receive shift register  
receives the next frame. The newly acquired data in the shift register will be lost in this case, but the data  
already in the SCI data registers is not affected. The OR interrupt is cleared by reading the SCI status  
register one (SCISR1) and then reading SCI data register low (SCIDRL).  
11.5.3.1.5  
IDLE Description  
The IDLE interrupt is set when 10 consecutive logic 1s (if M = 0) or 11 consecutive logic 1s (if M = 1)  
appear on the receiver input. Once the IDLE is cleared, a valid frame must again set the RDRF flag before  
an idle condition can set the IDLE flag. Clear IDLE by reading SCI status register 1 (SCISR1) with IDLE  
set and then reading SCI data register low (SCIDRL).  
11.5.3.1.6  
RXEDGIF Description  
The RXEDGIF interrupt is set when an active edge (falling if RXPOL = 0, rising if RXPOL = 1) on the  
RXD pin is detected. Clear RXEDGIF by writing a “1” to the SCIASR1 SCI alternative status register 1.  
11.5.3.1.7  
BERRIF Description  
The BERRIF interrupt is set when a mismatch between the transmitted and the received data in a single  
wire application like LIN was detected. Clear BERRIF by writing a “1” to the SCIASR1 SCI alternative  
status register 1. This flag is also cleared if the bit error detect feature is disabled.  
S12P-Family Reference Manual, Rev. 1.13  
Freescale Semiconductor  
397  
 复制成功!