Electronic Components Datasheet Search
  Indian  ▼
ALLDATASHEET.IN

X  

PIC16F15213 Datasheet(PDF) 85 Page - Microchip Technology

Part # PIC16F15213
Description  PIC16F15225/45 Full-Featured 14/20-Pin Microcontrollers
PDF  408 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16F15213 Datasheet(HTML) 85 Page - Microchip Technology

Back Button PIC16F15213 Datasheet HTML 81Page - Microchip Technology PIC16F15213 Datasheet HTML 82Page - Microchip Technology PIC16F15213 Datasheet HTML 83Page - Microchip Technology PIC16F15213 Datasheet HTML 84Page - Microchip Technology PIC16F15213 Datasheet HTML 85Page - Microchip Technology PIC16F15213 Datasheet HTML 86Page - Microchip Technology PIC16F15213 Datasheet HTML 87Page - Microchip Technology PIC16F15213 Datasheet HTML 88Page - Microchip Technology PIC16F15213 Datasheet HTML 89Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 85 / 408 page
background image
Figure 12-3. INT Pin Interrupt Timing
Q2
Q1
Q3 Q4
Q2
Q1
Q3 Q4
Q2
Q1
Q3 Q4
Q2
Q1
Q3 Q4
Q2
Q1
Q3 Q4
OSC1
INT pin
INTF
GIE
INSTRUCTION FLOW
PC
Instruction
Fetched
Instruction
Executed
Interrupt Latency
PC
PC + 1
PC + 1
0004h
0005h
Inst (0004h)
Inst (0005h)
For ced NOP
Inst (PC)
Inst (PC + 1)
Inst (PC – 1)
Inst (0004h)
For ced NOP
Inst (PC)
(1)
(2)
(4)
(5)
(1)
Rev. 30-000150A
6/27/2017
Notes: 
1.
INTF flag is sampled here (every Q1).
2.
Asynchronous interrupt latency = 3-5 TCY. Synchronous latency = 3-4 TCY, where TCY = instruction cycle time.
Latency is the same whether Inst (PC) is a single cycle or a 2-cycle instruction.
3.
For minimum width of INT pulse, refer to AC specifications in the “Electrical Specifications” chapter.
4.
INTF may be set any time during the Q4-Q1 cycles.
12.6
Interrupts During Sleep
Interrupts can be used to wake from Sleep. To wake from Sleep, the peripheral must be able to operate without the
system clock. The interrupt source must have the appropriate Interrupt Enable bit(s) set prior to entering Sleep.
On waking from Sleep, if the GIE bit is also set, the processor will branch to the interrupt vector. Otherwise, the
processor will continue executing instructions after the SLEEP instruction. The instruction directly after the SLEEP
instruction will always be executed before branching to the ISR.
12.7
INT Pin
The INT pin can be used to generate an asynchronous edge-triggered interrupt. This interrupt is enabled by setting
the External Interrupt Enable (INTE) bit. The External Interrupt Edge Select (INTEDG) bit determines on which edge
the interrupt will occur. When the INTEDG bit is set, the rising edge will cause the interrupt. When the INTEDG bit is
clear, the falling edge will cause the interrupt. The External Interrupt Flag (INTF) bit will be set when a valid edge
appears on the INT pin. If the GIE and INTE bits are also set, the processor will redirect program execution to the
interrupt vector.
12.8
Automatic Context Saving
Upon entering an interrupt, the return PC address is saved on the stack. Additionally, the following registers are
automatically saved in the shadow registers:
• WREG register
• STATUS register (except for TO and PD)
• BSR register
PIC16F15225/45
Interrupts
© 2020 Microchip Technology Inc.
Preliminary Datasheet
DS20006389B-page 85



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com