PIC16C745/P Microchip Technology, PIC16C745/P Datasheet - Page 104

no-image

PIC16C745/P

Manufacturer Part Number
PIC16C745/P
Description
8-Bit CMOS Microcontrollers with USB
Manufacturer
Microchip Technology
Datasheet
PIC16C745/765
FIGURE 13-5: WAKE-UP FROM SLEEP THROUGH INTERRUPT
FIGURE 13-6: INTERRUPT LOGIC
DS41124A-page 104
Note 1:
GIE bit
(INTCON<7>)
The following table shows the interrupts for each device.
INTF flag
(INTCON<1>)
INSTRUCTION FLOW
PIC16C745
PIC16C765
Instruction
fetched
Instruction
executed
PSPIF
PSPIE
CCP2IF
CCP2IE
CLKOUT
Note 1:
Device
INT pin
2:
3:
4:
OSC1
(1)
(1)
PC
HS oscillator mode assumed.
T
GIE = ’1’ assumed. After wake- up, the processor jumps to the interrupt routine. If GIE = ’0’, execution will continue in-line.
CLKOUT is not available in these osc modes, but shown here for timing reference.
(4)
ADIF
ADIE
OST
TMR1IF
TMR1IE
PIC16C765 only.
= 1024T
Yes
Yes
T0IF
RCIF
RCIE
TMR2IF
TMR2IE
OSC
Yes
Yes
INTF
(drawing not to scale). This delay is not present in EC osc mode.
USBIF
USBIE
CCP1IF
CCP1IE
TXIF
TXIE
Yes
Yes
RBIF
Yes
PSPIF
Processor in
Advanced Information
SLEEP
Yes
Yes
ADIF
PC+2
Tost
Yes
Yes
RCIF
(2)
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
Yes
Yes
TXIF
T0IF
T0IE
INTF
INTE
RBIF
RBIE
PEIE
GIE
Inst(PC + 2)
Inst(PC + 1)
PC+2
Yes
Yes
USBIF
Interrupt Latency
Dummy cycle
Yes
Yes
CCP1IF
PC + 2
(2)
Yes
Yes
TMR2IF
1999 Microchip Technology Inc.
Inst(0004h)
Dummy cycle
0004h
Wake-up (If in SLEEP mode)
Yes
Yes
TMR1IF
Interrupt to CPU
Inst(0005h)
Inst(0004h)
0005h
Yes
Yes
CCP2IF

Related parts for PIC16C745/P