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

PIC18F25J10-I/SS 参数 Datasheet PDF下载

PIC18F25J10-I/SS图片预览
型号: PIC18F25J10-I/SS
PDF下载: 下载PDF文件 查看货源
内容描述: 28 /40/ 44引脚高性能, RISC微控制器 [28/40/44-Pin High-Performance, RISC Microcontrollers]
分类和应用: 微控制器和处理器外围集成电路光电二极管PC时钟
文件页数/大小: 368 页 / 5652 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC18F25J10-I/SS的Datasheet PDF文件第148页浏览型号PIC18F25J10-I/SS的Datasheet PDF文件第149页浏览型号PIC18F25J10-I/SS的Datasheet PDF文件第150页浏览型号PIC18F25J10-I/SS的Datasheet PDF文件第151页浏览型号PIC18F25J10-I/SS的Datasheet PDF文件第153页浏览型号PIC18F25J10-I/SS的Datasheet PDF文件第154页浏览型号PIC18F25J10-I/SS的Datasheet PDF文件第155页浏览型号PIC18F25J10-I/SS的Datasheet PDF文件第156页  
PIC18F45J10 FAMILY  
SSPxSR is the shift register used for shifting data in or  
out. SSPxBUF is the buffer register to which data  
bytes are written to or read from.  
16.3.1  
REGISTERS  
Each MSSP module has four registers for SPI mode  
operation. These are:  
In receive operations, SSPxSR and SSPxBUF  
together create a double-buffered receiver. When  
SSPxSR receives a complete byte, it is transferred to  
SSPxBUF and the SSPxIF interrupt is set.  
• MSSP Control Register 1 (SSPxCON1)  
• MSSP Status Register (SSPxSTAT)  
• Serial Receive/Transmit Buffer Register  
(SSPxBUF)  
During transmission, the SSPxBUF is not  
double-buffered. A write to SSPxBUF will write to both  
SSPxBUF and SSPxSR.  
• MSSP 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.  
REGISTER 16-1: SSPxSTAT: MSSPx STATUS REGISTER (SPI MODE)  
R/W-0  
SMP  
R/W-0  
CKE(1)  
R-0  
D/A  
R-0  
P
R-0  
S
R-0  
R-0  
UA  
R-0  
BF  
R/W  
bit 7  
bit 0  
Legend:  
R = Readable bit  
W = Writable bit  
‘1’ = Bit is set  
U = Unimplemented bit, read as ‘0’  
‘0’ = Bit is cleared x = Bit is unknown  
-n = Value at POR  
bit 7  
SMP: Sample bit  
SPI Master mode:  
1= Input data sampled at end of data output time  
0= Input data sampled at middle of data output time  
SPI Slave mode:  
SMP must be cleared when SPI is used in Slave mode.  
bit 6  
CKE: SPI Clock Select bit(1)  
1= Transmit occurs on transition from active to Idle clock state  
0= Transmit occurs on transition from Idle to active clock state  
bit 5  
bit 4  
bit 3  
bit 2  
bit 1  
bit 0  
D/A: Data/Address bit  
Used in I2C mode only.  
P: Stop bit  
Used in I2C mode only. This bit is cleared when the MSSPx module is disabled, SSPEN is cleared.  
S: Start bit  
Used in I2C mode only.  
R/W: Read/Write Information bit  
Used in I2C mode only.  
UA: Update Address bit  
Used in I2C mode only.  
BF: Buffer Full Status bit (Receive mode only)  
1= Receive complete, SSPxBUF is full  
0= Receive not complete, SSPxBUF is empty  
Note 1: Polarity of clock state is set by the CKP bit (SSPxCON1<4>).  
DS39682E-page 150  
© 2009 Microchip Technology Inc.