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

PIC16LF1947-E/MR 参数 Datasheet PDF下载

PIC16LF1947-E/MR图片预览
型号: PIC16LF1947-E/MR
PDF下载: 下载PDF文件 查看货源
内容描述: [64-Pin Flash-Based, 8-Bit CMOS Microcontrollers with LCD Driver and nanoWatt XLP Technology]
分类和应用: 微控制器
文件页数/大小: 440 页 / 4740 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC16LF1947-E/MR的Datasheet PDF文件第237页浏览型号PIC16LF1947-E/MR的Datasheet PDF文件第238页浏览型号PIC16LF1947-E/MR的Datasheet PDF文件第239页浏览型号PIC16LF1947-E/MR的Datasheet PDF文件第240页浏览型号PIC16LF1947-E/MR的Datasheet PDF文件第242页浏览型号PIC16LF1947-E/MR的Datasheet PDF文件第243页浏览型号PIC16LF1947-E/MR的Datasheet PDF文件第244页浏览型号PIC16LF1947-E/MR的Datasheet PDF文件第245页  
PIC16F/LF1946/47  
FIGURE 23-4:  
SPI MASTER AND MULTIPLE SLAVE CONNECTION  
SCKx  
SDOx  
SCKx  
SDIx  
SDOx  
SSx  
SPI Master  
SPI Slave  
#1  
SDIx  
General I/O  
General I/O  
General I/O  
SCKx  
SDIx  
SDOx  
SSx  
SPI Slave  
#2  
SCKx  
SDIx  
SDOx  
SSx  
SPI Slave  
#3  
23.2.1 SPI MODE REGISTERS  
The MSSPx module has five registers for SPI mode  
operation. These are:  
• MSSPx STATUS register (SSPxSTAT)  
• MSSPx Control Register 1 (SSPxCON1)  
• MSSPx Control Register 3 (SSPxCON3)  
• MSSPx Data Buffer register (SSPxBUF)  
• MSSPx Address register (SSPxADD)  
• MSSPx Shift register (SSPxSR)  
(Not directly accessible)  
SSPxCON1 and SSPxSTAT are the control and  
STATUS registers in SPI mode operation. The  
SSPxCON1 register is readable and writable. The  
lower 6 bits of the SSPxSTAT are read-only. The upper  
two bits of the SSPxSTAT are read/write.  
In one SPI master mode, SSPxADD can be loaded  
with a value used in the Baud Rate Generator. More  
information on the Baud Rate Generator is available in  
Section 23.7 “Baud Rate Generator”.  
SSPxSR is the shift register used for shifting data in  
and out. SSPxBUF provides indirect access to the  
SSPxSR register. SSPxBUF is the buffer register to  
which data bytes are written, and from which data  
bytes are read.  
In receive operations, SSPxSR and SSPxBUF  
together create a buffered receiver. When SSPxSR  
receives a complete byte, it is transferred to SSPxBUF  
and the SSPxIF interrupt is set.  
During transmission, the SSPxBUF is not buffered. A  
write to SSPxBUF will write to both SSPxBUF and  
SSPxSR.  
2010 Microchip Technology Inc.  
Preliminary  
DS41414A-page 239  
 复制成功!