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

MC9S12P64CFT 参数 Datasheet PDF下载

MC9S12P64CFT图片预览
型号: MC9S12P64CFT
PDF下载: 下载PDF文件 查看货源
内容描述: 微控制器 [Microcontrollers]
分类和应用: 微控制器外围集成电路时钟
文件页数/大小: 566 页 / 7414 K
品牌: FREESCALE [ Freescale ]
 浏览型号MC9S12P64CFT的Datasheet PDF文件第401页浏览型号MC9S12P64CFT的Datasheet PDF文件第402页浏览型号MC9S12P64CFT的Datasheet PDF文件第403页浏览型号MC9S12P64CFT的Datasheet PDF文件第404页浏览型号MC9S12P64CFT的Datasheet PDF文件第406页浏览型号MC9S12P64CFT的Datasheet PDF文件第407页浏览型号MC9S12P64CFT的Datasheet PDF文件第408页浏览型号MC9S12P64CFT的Datasheet PDF文件第409页  
Serial Peripheral Interface (S12SPIV5)  
Table 12-4. SPICR2 Field Descriptions  
Description  
Field  
6
Transfer Width — This bit is used for selecting the data transfer width. If 8-bit transfer width is selected, SPIDRL  
becomes the dedicated data register and SPIDRH is unused. If 16-bit transfer width is selected, SPIDRH and  
SPIDRL form a 16-bit data register. Please refer to Section 12.3.2.4, “SPI Status Register (SPISR) for  
information about transmit/receive data handling and the interrupt flag clearing mechanism. In master mode, a  
change of this bit will abort a transmission in progress and force the SPI system into idle state.  
0 8-bit Transfer Width (n = 8)(1)  
XFRW  
1 16-bit Transfer Width (n = 16)1  
4
Mode Fault Enable Bit — This bit allows the MODF failure to be detected. If the SPI is in master mode and  
MODFEN MODFEN is cleared, then the SS port pin is not used by the SPI. In slave mode, the SS is available only as an  
input regardless of the value of MODFEN. For an overview on the impact of the MODFEN bit on the SS port pin  
configuration, refer to Table 12-3. In master mode, a change of this bit will abort a transmission in progress and  
force the SPI system into idle state.  
0 SS port pin is not used by the SPI.  
1 SS port pin with MODF feature.  
3
Output Enable in the Bidirectional Mode of Operation — This bit controls the MOSI and MISO output buffer  
of the SPI, when in bidirectional mode of operation (SPC0 is set). In master mode, this bit controls the output  
buffer of the MOSI port, in slave mode it controls the output buffer of the MISO port. In master mode, with SPC0  
set, a change of this bit will abort a transmission in progress and force the SPI into idle state.  
0 Output buffer disabled.  
BIDIROE  
1 Output buffer enabled.  
1
SPI Stop in Wait Mode Bit — This bit is used for power conservation while in wait mode.  
0 SPI clock operates normally in wait mode.  
SPISWAI  
1 Stop SPI clock generation when in wait mode.  
0
Serial Pin Control Bit 0 — This bit enables bidirectional pin configurations as shown in Table 12-5. In master  
SPC0  
mode, a change of this bit will abort a transmission in progress and force the SPI system into idle state.  
1. n is used later in this document as a placeholder for the selected transfer width.  
Table 12-5. Bidirectional Pin Configurations  
Pin Mode  
SPC0  
BIDIROE  
MISO  
MOSI  
Master Mode of Operation  
Normal  
0
1
X
0
1
Master In  
Master Out  
Master In  
Bidirectional  
MISO not used by SPI  
Master I/O  
Slave Mode of Operation  
Normal  
0
1
X
0
1
Slave Out  
Slave In  
Slave In  
Bidirectional  
MOSI not used by SPI  
Slave I/O  
S12P-Family Reference Manual, Rev. 1.13  
Freescale Semiconductor  
405  
 复制成功!