欢迎访问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文件第25页浏览型号PIC17C752T-25I/P的Datasheet PDF文件第26页浏览型号PIC17C752T-25I/P的Datasheet PDF文件第27页浏览型号PIC17C752T-25I/P的Datasheet PDF文件第28页浏览型号PIC17C752T-25I/P的Datasheet PDF文件第30页浏览型号PIC17C752T-25I/P的Datasheet PDF文件第31页浏览型号PIC17C752T-25I/P的Datasheet PDF文件第32页浏览型号PIC17C752T-25I/P的Datasheet PDF文件第33页  
PIC17C75X  
When an interrupt is responded to, the GLINTD bit is  
automatically set to disable any further interrupts, the  
return address is pushed onto the stack and the PC is  
loaded with the interrupt vector address.There are four  
interrupt vectors. Each vector address is for a specific  
interrupt source (except the peripheral interrupts which  
all vector to the same address). These sources are:  
6.0  
INTERRUPTS  
The PIC17C75X devices have 18 sources of interrupt:  
• External interrupt from the RA0/INT pin  
• Change on RB7:RB0 pins  
• TMR0 Overflow  
• TMR1 Overflow  
• TMR2 Overflow  
• TMR3 Overflow  
• External interrupt from the RA0/INT pin  
• TMR0 Overflow  
• T0CKI edge occurred  
• USART1 Transmit buffer empty  
• USART1 Receive buffer full  
• USART2 Transmit buffer empty  
• USART2 Receive buffer full  
• SSP Interrupt  
• Any peripheral interrupt  
When program execution vectors to one of these inter-  
rupt vector addresses (except for the peripheral inter-  
rupts), the interrupt flag bit is automatically cleared.  
Vectoring to the peripheral interrupt vector address  
does not automatically clear the source of the interrupt.  
In the peripheral interrupt service routine, the source(s)  
of the interrupt can be determined by testing the inter-  
rupt flag bits.The interrupt flag bit(s) must be cleared in  
software before re-enabling interrupts to avoid infinite  
interrupt requests.  
2
• SSP I C bus collision interrupt  
• A/D conversion complete  
• Capture1  
• Capture2  
• Capture3  
• Capture4  
• T0CKI edge occurred  
There are six registers used in the control and status of  
interrupts. These are:  
When an interrupt condition is met, that individual inter-  
rupt flag bit will be set regardless of the status of its cor-  
responding mask bit or the GLINTD bit.  
• CPUSTA  
• INTSTA  
• PIE1  
• PIR1  
• PIE2  
For external interrupt events, there will be an interrupt  
latency. For two cycle instructions, the latency could be  
one instruction cycle longer.  
• PIR2  
The “return from interrupt” instruction, RETFIE, can be  
used to mark the end of the interrupt service routine.  
When this instruction is executed, the stack is  
“POPed”, and the GLINTD bit is cleared (to re-enable  
interrupts).  
The CPUSTA register contains the GLINTD bit. This is  
the Global Interrupt Disable bit. When this bit is set, all  
interrupts are disabled. This bit is part of the controller  
core functionality and is described in the Memory Orga-  
nization section.  
FIGURE 6-1: INTERRUPT LOGIC  
RBIF  
RBIE  
TMR3IF  
TMR3IE  
TMR2IF  
TMR2IE  
TMR1IF  
TMR1IE  
INTSTA  
Wake-up (If in SLEEP mode)  
or terminate long write  
CA2IF  
CA2IE  
T0IF  
T0IE  
CA1IF  
CA1IE  
TX1IF  
TX1IE  
INTF  
INTE  
Interrupt to CPU  
T0CKIF  
RC1IF  
RC1IE  
T0CKIE  
PEIF  
SSPIF  
SSPIE  
PEIE  
BCLIF  
BCLIE  
GLINTD (CPUSTA<4>)  
ADIF  
ADIE  
CA4IF  
CA4IE  
CA3IF  
CA3IE  
TX2IF  
TX2IE  
RC2IF  
RC2IE  
1997 Microchip Technology Inc.  
Preliminary  
DS30264A-page 29  
 复制成功!