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

PIC12F675-I/SNG 参数 Datasheet PDF下载

PIC12F675-I/SNG图片预览
型号: PIC12F675-I/SNG
PDF下载: 下载PDF文件 查看货源
内容描述: [暂无描述]
分类和应用: 闪存微控制器
文件页数/大小: 136 页 / 1422 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC12F675-I/SNG的Datasheet PDF文件第19页浏览型号PIC12F675-I/SNG的Datasheet PDF文件第20页浏览型号PIC12F675-I/SNG的Datasheet PDF文件第21页浏览型号PIC12F675-I/SNG的Datasheet PDF文件第22页浏览型号PIC12F675-I/SNG的Datasheet PDF文件第24页浏览型号PIC12F675-I/SNG的Datasheet PDF文件第25页浏览型号PIC12F675-I/SNG的Datasheet PDF文件第26页浏览型号PIC12F675-I/SNG的Datasheet PDF文件第27页  
PIC12F629/675  
This interrupt can wake the device from Sleep. The  
user, in the Interrupt Service Routine, can clear the  
interrupt in the following manner:  
3.2.2  
INTERRUPT-ON-CHANGE  
Each of the GPIO pins is individually configurable as an  
interrupt-on-change pin. Control bits IOC enable or  
disable the interrupt function for each pin. Refer to  
Register 3-4. The interrupt-on-change is disabled on a  
Power-on Reset.  
a) Any read or write of GPIO. This will end the  
mismatch condition.  
b) Clear the flag bit GPIF.  
A mismatch condition will continue to set flag bit GPIF.  
Reading GPIO will end the mismatch condition and  
allow flag bit GPIF to be cleared.  
For enabled interrupt-on-change pins, the values are  
compared with the old value latched on the last read of  
GPIO. The ‘mismatch’ outputs of the last read are OR’d  
together to set, the GP Port Change Interrupt flag bit  
(GPIF) in the INTCON register.  
Note: If a change on the I/O pin should occur  
when the read operation is being executed  
(start of the Q2 cycle), then the GPIF inter-  
rupt flag may not get set.  
REGISTER 3-4:  
IOC: INTERRUPT-ON-CHANGE GPIO REGISTER (ADDRESS: 96h)  
U-0  
U-0  
R/W-0  
IOC5  
R/W-0  
IOC4  
R/W-0  
IOC3  
R/W-0  
IOC2  
R/W-0  
IOC1  
R/W-0  
IOC0  
bit 7  
bit 0  
Legend:  
R = Readable bit  
-n = Value at POR  
W = Writable bit  
‘1’ = Bit is set  
U = Unimplemented bit, read as ‘0’  
‘0’ = Bit is cleared x = Bit is unknown  
bit 7-6  
bit 5-0  
Unimplemented: Read as ‘0’  
IOC<5:0>: Interrupt-on-Change GPIO Control bits  
1= Interrupt-on-change enabled  
0= Interrupt-on-change disabled  
Note 1: Global Interrupt Enable (GIE) must be enabled for individual interrupts to be recognized.  
2010 Microchip Technology Inc.  
DS41190G-page 23