PIC17C42 Microchip Technology, PIC17C42 Datasheet - Page 26

no-image

PIC17C42

Manufacturer Part Number
PIC17C42
Description
High-Performance 8-Bit CMOS EPROM/ROM Microcontroller
Manufacturer
Microchip Technology
Datasheets

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC17C42-16/JW
Manufacturer:
AD
Quantity:
12
Part Number:
PIC17C42A-16/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16/PQ
Manufacturer:
MICROCH
Quantity:
20 000
Part Number:
PIC17C42A-16/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16E/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16E/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-25/P
Manufacturer:
MICROCLOCK
Quantity:
20 000
PIC17C4X
5.5
The external interrupt on the RA0/INT pin is edge trig-
gered. Either the rising edge, if INTEDG bit
(T0STA<7>) is set, or the falling edge, if INTEDG bit is
clear. When a valid edge appears on the RA0/INT pin,
the INTF bit (INTSTA<4>) is set. This interrupt can be
disabled by clearing the INTE control bit (INTSTA<0>).
The INT interrupt can wake the processor from SLEEP.
See Section 14.4 for details on SLEEP operation.
5.6
An overflow (FFFFh
T0IF (INTSTA<5>) bit. The interrupt can be enabled/
disabled by setting/clearing the T0IE control bit
(INTSTA<1>). For operation of the Timer0 module, see
Section 11.0.
FIGURE 5-5:
DS30412C-page 26
RA1/T0CKI
System Bus
RA0/INT or
Instruction
executed
Instruction
GLINTD
Fetched
T0CKIF
INTF or
OSC1
OSC2
PC
RA0/INT Interrupt
TMR0 Interrupt
Q1
Q2
PC
PC
INT PIN / T0CKI PIN INTERRUPT TIMING
Q3 Q4
Inst (PC)
0000h) in TMR0 will set the
Q1
Inst (PC)
Q2
Addr
Q3 Q4
PC + 1
Inst (PC+1)
Q1
Dummy
Addr
Q2
Q3 Q4
Inst (PC+1)
Q1
Addr (Vector)
Dummy
Addr
Q2
5.7
The external interrupt on the RA1/T0CKI pin is edge
triggered. Either the rising edge, if the T0SE bit
(T0STA<6>) is set, or the falling edge, if the T0SE bit is
clear. When a valid edge appears on the RA1/T0CKI
pin, the T0CKIF bit (INTSTA<6>) is set. This interrupt
can be disabled by clearing the T0CKIE control bit
(INTSTA<2>). The T0CKI interrupt can wake up the
processor from SLEEP. See Section 14.4 for details on
SLEEP operation.
5.8
The peripheral interrupt flag indicates that at least one
of the peripheral interrupts occurred (PEIF is set). The
PEIF bit is a read only bit, and is a bit wise OR of all the
flag bits in the PIR register AND’ed with the corre-
sponding enable bits in the PIE register. Some of the
peripheral interrupts can wake the processor from
SLEEP. See Section 14.4 for details on SLEEP opera-
tion.
Inst (Vector)
Q3 Q4
Q1
T0CKI Interrupt
Peripheral Interrupt
Addr
Q2
YY
Q3 Q4
RETFIE
Q1
Addr
1996 Microchip Technology Inc.
RETFIE
Q2
YY + 1
Inst (YY + 1)
Q3 Q4
Q1
Q2
Dummy
PC + 1
Q3 Q4

Related parts for PIC17C42