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

MC68HC908AP64CFB 参数 Datasheet PDF下载

MC68HC908AP64CFB图片预览
型号: MC68HC908AP64CFB
PDF下载: 下载PDF文件 查看货源
内容描述: [MC68HC908AP64CFB]
分类和应用: 外围集成电路时钟
文件页数/大小: 325 页 / 1651 K
品牌: FREESCALE [ Freescale ]
 浏览型号MC68HC908AP64CFB的Datasheet PDF文件第157页浏览型号MC68HC908AP64CFB的Datasheet PDF文件第158页浏览型号MC68HC908AP64CFB的Datasheet PDF文件第159页浏览型号MC68HC908AP64CFB的Datasheet PDF文件第160页浏览型号MC68HC908AP64CFB的Datasheet PDF文件第162页浏览型号MC68HC908AP64CFB的Datasheet PDF文件第163页浏览型号MC68HC908AP64CFB的Datasheet PDF文件第164页浏览型号MC68HC908AP64CFB的Datasheet PDF文件第165页  
Serial Communications Interface Module (SCI)  
11.4.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 SCC1. 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 SCDR 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 SCDR.  
11.4.2.5 Inversion of Transmitted Output  
The transmit inversion bit (TXINV) in SCI control register 1 (SCC1) reverses the polarity of transmitted  
data. All transmitted values, including idle, break, start, and stop bits, are inverted when TXINV is at  
logic 1. (See 11.8.1 SCI Control Register 1.)  
11.4.2.6 Transmitter Interrupts  
These conditions can generate CPU interrupt requests from the SCI transmitter:  
SCI transmitter empty (SCTE) — The SCTE bit in SCS1 indicates that the SCDR has transferred  
a character to the transmit shift register. SCTE can generate a transmitter CPU interrupt request.  
Setting the SCI transmit interrupt enable bit, SCTIE, in SCC2 enables the SCTE bit to generate  
transmitter CPU interrupt requests.  
Transmission complete (TC) — The TC bit in SCS1 indicates that the transmit shift register and  
the SCDR are empty and that no break or idle character has been generated. The transmission  
complete interrupt enable bit, TCIE, in SCC2 enables the TC bit to generate transmitter CPU  
interrupt requests.  
11.4.3 Receiver  
Figure 11-5 shows the structure of the SCI receiver.  
11.4.3.1 Character Length  
The receiver can accommodate either 8-bit or 9-bit data. The state of the M bit in SCI control register 1  
(SCC1) determines character length. When receiving 9-bit data, bit R8 in SCI control register 2 (SCC2)  
is the ninth bit (bit 8). When receiving 8-bit data, bit R8 is a copy of the eighth bit (bit 7).  
11.4.3.2 Character Reception  
During an SCI reception, the receive shift register shifts characters in from the RxD pin. The SCI data  
register (SCDR) is the read-only buffer between the internal data bus and the receive shift register.  
After a complete character shifts into the receive shift register, the data portion of the character transfers  
to the SCDR. The SCI receiver full bit, SCRF, in SCI status register 1 (SCS1) becomes set, indicating that  
MC68HC908AP Family Data Sheet, Rev. 4  
160  
Freescale Semiconductor  
 复制成功!