Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

PIC16F15213 Datasheet(PDF) 83 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) 83 Page - Microchip Technology

Back Button PIC16F15213 Datasheet HTML 79Page - Microchip Technology PIC16F15213 Datasheet HTML 80Page - Microchip Technology 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 83 / 408 page
background image
12.
Interrupts
The interrupt feature allows certain events to preempt normal program flow. Firmware is used to determine the
source of the interrupt and act accordingly. Some interrupts can be configured to wake the MCU from Sleep mode.
Many peripherals can produce interrupts. Refer to the corresponding chapters for details.
A block diagram of the interrupt logic is shown in Figure 12-1.
Figure 12-1. Interrupt Logic
Filename:
Interrupt Logic.vsdx
Title:
Last Edit:
1/2/2020
First Used:
Notes:
Rev. Int errupt
1/2/2020
TMR0IF
TMR0IE
INTF
INTE
IOCIF
IOCIE
Interrupt
to CPU
Wake-up
(If in Sleep mode)
GIE
PIR0
PIRn
PEIE
PIE0
Peripheral Interrupts
PIEn
12.1
INTCON Register
The Interrupt Control (INTCON) register is readable and writable, and contains the Global Interrupt Enable (GIE),
Peripheral Interrupt Enable (PEIE), and External Interrupt Edge Select (INTEDG) bits.
12.2
PIE Registers
The Peripheral Interrupt Enable (PIE) registers contain the individual enable bits for the peripheral interrupts. Due to
the number of peripheral interrupt sources, there are three PIE registers in the PIC16F152 family.
12.3
PIR Registers
The Peripheral Interrupt Request (PIR) registers contain the individual flag bits for the peripheral interrupts. Due to
the number of peripheral interrupt sources, there are three PIR registers.
12.4
Operation
Interrupts are disabled upon any device Reset. They are enabled by setting the following bits:
• GIE bit
• PEIE bit (if the Interrupt Enable bit of the interrupt event is contained in the PIE registers)
• Interrupt Enable bit(s) for the specific interrupt event(s)
The PIR registers record individual interrupts via interrupt flag bits. Interrupt flag bits will be set, regardless of the
status of the GIE, PEIE and individual interrupt enable bits.
PIC16F15225/45
Interrupts
© 2020 Microchip Technology Inc.
Preliminary Datasheet
DS20006389B-page 83



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