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

MC9S12P64CFT 参数 Datasheet PDF下载

MC9S12P64CFT图片预览
型号: MC9S12P64CFT
PDF下载: 下载PDF文件 查看货源
内容描述: 微控制器 [Microcontrollers]
分类和应用: 微控制器外围集成电路时钟
文件页数/大小: 566 页 / 7414 K
品牌: FREESCALE [ Freescale ]
 浏览型号MC9S12P64CFT的Datasheet PDF文件第369页浏览型号MC9S12P64CFT的Datasheet PDF文件第370页浏览型号MC9S12P64CFT的Datasheet PDF文件第371页浏览型号MC9S12P64CFT的Datasheet PDF文件第372页浏览型号MC9S12P64CFT的Datasheet PDF文件第374页浏览型号MC9S12P64CFT的Datasheet PDF文件第375页浏览型号MC9S12P64CFT的Datasheet PDF文件第376页浏览型号MC9S12P64CFT的Datasheet PDF文件第377页  
Serial Communication Interface (S12SCIV5)  
11.3.2.7 SCI Status Register 1 (SCISR1)  
The SCISR1 and SCISR2 registers provides inputs to the MCU for generation of SCI interrupts. Also,  
these registers can be polled by the MCU to check the status of these bits. The flag-clearing procedures  
require that the status register be read followed by a read or write to the SCI data register.It is permissible  
to execute other instructions between the two steps as long as it does not compromise the handling of I/O,  
but the order of operations is important for flag clearing.  
Module Base + 0x0004  
7
6
5
4
3
2
1
0
R
W
TDRE  
TC  
RDRF  
IDLE  
OR  
NF  
FE  
PF  
Reset  
1
1
0
0
0
0
0
0
= Unimplemented or Reserved  
Figure 11-10. SCI Status Register 1 (SCISR1)  
Read: Anytime  
Write: Has no meaning or effect  
Table 11-11. SCISR1 Field Descriptions  
Description  
Field  
7
Transmit Data Register Empty Flag — TDRE is set when the transmit shift register receives a byte from the  
SCI data register. When TDRE is 1, the transmit data register (SCIDRH/L) is empty and can receive a new value  
to transmit.Clear TDRE by reading SCI status register 1 (SCISR1), with TDRE set and then writing to SCI data  
register low (SCIDRL).  
TDRE  
0 No byte transferred to transmit shift register  
1 Byte transferred to transmit shift register; transmit data register empty  
6
TC  
Transmit Complete Flag — TC is set low when there is a transmission in progress or when a preamble or break  
character is loaded. 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. TC is cleared in the event of a simultaneous set and clear of  
the TC flag (transmission not complete).  
0 Transmission in progress  
1 No transmission in progress  
5
Receive Data Register Full Flag — RDRF is set when the data in the receive shift register transfers to the SCI  
data register. Clear RDRF by reading SCI status register 1 (SCISR1) with RDRF set and then reading SCI data  
register low (SCIDRL).  
RDRF  
0 Data not available in SCI data register  
1 Received data available in SCI data register  
4
IDLE  
Idle Line Flag — IDLE 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 flag 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).  
0 Receiver input is either active now or has never become active since the IDLE flag was last cleared  
1 Receiver input has become idle  
Note: When the receiver wakeup bit (RWU) is set, an idle line condition does not set the IDLE flag.  
S12P-Family Reference Manual, Rev. 1.13  
Freescale Semiconductor  
373  
 复制成功!