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

MC68HC908AP64CFB 参数 Datasheet PDF下载

MC68HC908AP64CFB图片预览
型号: MC68HC908AP64CFB
PDF下载: 下载PDF文件 查看货源
内容描述: [MC68HC908AP64CFB]
分类和应用: 外围集成电路时钟
文件页数/大小: 325 页 / 1651 K
品牌: FREESCALE [ Freescale ]
 浏览型号MC68HC908AP64CFB的Datasheet PDF文件第185页浏览型号MC68HC908AP64CFB的Datasheet PDF文件第186页浏览型号MC68HC908AP64CFB的Datasheet PDF文件第187页浏览型号MC68HC908AP64CFB的Datasheet PDF文件第188页浏览型号MC68HC908AP64CFB的Datasheet PDF文件第190页浏览型号MC68HC908AP64CFB的Datasheet PDF文件第191页浏览型号MC68HC908AP64CFB的Datasheet PDF文件第192页浏览型号MC68HC908AP64CFB的Datasheet PDF文件第193页  
Infrared Serial Communications Interface Module (IRSCI)  
The SCI transmitter empty bit, SCTE, in IRSCS1 becomes set when the IRSCDR transfers a byte to the  
transmit shift register. The SCTE bit indicates that the IRSCDR can accept new data from the internal  
data bus. If the SCI transmit interrupt enable bit, SCTIE, in IRSCC2 is also set, the SCTE bit generates  
a transmitter interrupt request.  
When the transmit shift register is not transmitting a character, the TxD pin goes to the idle condition, logic  
1. If at any time software clears the ENSCI bit in IRSCI control register 1 (IRSCC1), the transmitter and  
receiver relinquish control of the port pins.  
12.5.2.3 Break Characters  
Writing a logic 1 to the send break bit, SBK, in IRSCC2 loads the transmit shift register with a break  
character. A break character contains all logic 0s and has no start, stop, or parity bit. Break character  
length depends on the M bit in IRSCC1. As long as SBK is at logic 1, transmitter logic continuously loads  
break characters into the transmit shift register. After software clears the SBK bit, the shift register finishes  
transmitting the last break character and then transmits at least one logic 1. The automatic logic 1 at the  
end of a break character guarantees the recognition of the start bit of the next character.  
The SCI recognizes a break character when a start bit is followed by eight or nine logic 0 data bits and a  
logic 0 where the stop bit should be.  
Receiving a break character has the following effects on SCI registers:  
Sets the framing error bit (FE) in IRSCS1  
Sets the SCI receiver full bit (SCRF) in IRSCS1  
Clears the SCI data register (IRSCDR)  
Clears the R8 bit in IRSCC3  
Sets the break flag bit (BKF) in IRSCS2  
May set the overrun (OR), noise flag (NF), parity error (PE), or reception in progress flag (RPF) bits  
12.5.2.4 Idle Characters  
An idle character contains all logic 1s and has no start, stop, or parity bit. Idle character length depends  
on the M bit in IRSCC1. The preamble is a synchronizing idle character that begins every transmission.  
If the TE bit is cleared during a transmission, the TxD pin becomes idle after completion of the  
transmission in progress. Clearing and then setting the TE bit during a transmission queues an idle  
character to be sent after the character currently being transmitted.  
NOTE  
When queueing an idle character, return the TE bit to logic 1 before the stop  
bit of the current character shifts out to the TxD pin. Setting TE after the  
stop bit appears on TxD causes data previously written to the IRSCDR to  
be lost.  
Toggle the TE bit for a queued idle character when the SCTE bit becomes  
set and just before writing the next byte to the IRSCDR.  
12.5.2.5 Transmitter Interrupts  
The following conditions can generate CPU interrupt requests from the SCI transmitter:  
MC68HC908AP Family Data Sheet, Rev. 4  
188  
Freescale Semiconductor  
 复制成功!