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

PIC17C752T-25I/P 参数 Datasheet PDF下载

PIC17C752T-25I/P图片预览
型号: PIC17C752T-25I/P
PDF下载: 下载PDF文件 查看货源
内容描述: 高性能8位CMOS微控制器的EPROM [High-Performance 8-Bit CMOS EPROM Microcontrollers]
分类和应用: 微控制器可编程只读存储器电动程控只读存储器
文件页数/大小: 320 页 / 2172 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC17C752T-25I/P的Datasheet PDF文件第153页浏览型号PIC17C752T-25I/P的Datasheet PDF文件第154页浏览型号PIC17C752T-25I/P的Datasheet PDF文件第155页浏览型号PIC17C752T-25I/P的Datasheet PDF文件第156页浏览型号PIC17C752T-25I/P的Datasheet PDF文件第158页浏览型号PIC17C752T-25I/P的Datasheet PDF文件第159页浏览型号PIC17C752T-25I/P的Datasheet PDF文件第160页浏览型号PIC17C752T-25I/P的Datasheet PDF文件第161页  
PIC17C75X  
15.2.12 STOP CONDITION TIMING  
Whenever the CPU decides to take control of the bus,  
it will first determine if the bus is busy by checking the  
S and P bits in the SSPSTAT register. If the bus is  
busy, then the CPU can be interrupted (notified) when  
a Stop bit is detected (i.e. bus is free).  
A stop bit is asserted on the SDA pin at the end of a  
receive/transmit by setting the Stop Sequence Enable  
bit PEN (SSPCON2<2>). At the end of a receive/trans-  
mit the SCL line is held low after the falling edge of the  
ninth clock. When the PEN bit is set, the master will  
assert the SDA line low . When the SDA line is sam-  
pled low, the baud rate generator is reloaded and  
counts down to 0. When the baud rate generator  
times out, the SCL pin will be brought high, and one  
15.2.12.1 WCOL STATUS FLAG  
If the user writes the SSPBUF when a STOP  
sequence is in progress, then WCOL is set and the  
contents of the buffer are unchanged (the write doesn’t  
occur).  
T
(baud rate generator rollover count) later, the  
BRG  
SDA pin will be de-asserted. When the SDA pin is  
sampled high while SCL is high, the PEN bit will be  
automatically cleared, and the P bit (SSPSTAT<4>) is  
set which in turn will set the SSPIF flag. (Figure 15-34)  
FIGURE 15-34: STOP CONDITION RECEIVE OR TRANSMIT MODE  
Write to SSPCON2  
Set PEN  
SCL = 1 for TBRG, followed by SDA = 1 for TBRG  
after SDA sampled high, PEN bit (SSPCON2<2>) is  
automatically cleared. P bit (SSPSTAT<4>) is set  
Falling edge of  
9th clock  
TBRG  
SCL  
ACK  
SDA  
P
TBRG  
TBRG  
TBRG  
SCL brought high after TBRG  
SDA asserted low before rising edge of clock  
to setup stop condition.  
Note: TBRG = one baud rate generator period.  
1997 Microchip Technology Inc.  
Preliminary  
DS30264A-page 157  
 
 复制成功!