Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

PIC16F15213 Datasheet(PDF) 143 Page - Microchip Technology

Part # PIC16F15213
Description  PIC16F15213/14/23/24/43/44 Full-Featured 8/14/20-Pin Microcontrollers
PDF  420 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) 143 Page - Microchip Technology

Back Button PIC16F15213 Datasheet HTML 139Page - Microchip Technology PIC16F15213 Datasheet HTML 140Page - Microchip Technology PIC16F15213 Datasheet HTML 141Page - Microchip Technology PIC16F15213 Datasheet HTML 142Page - Microchip Technology PIC16F15213 Datasheet HTML 143Page - Microchip Technology PIC16F15213 Datasheet HTML 144Page - Microchip Technology PIC16F15213 Datasheet HTML 145Page - Microchip Technology PIC16F15213 Datasheet HTML 146Page - Microchip Technology PIC16F15213 Datasheet HTML 147Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 143 / 420 page
background image
17.
IOC - Interrupt-on-Change
17.1
Overview
The pins denoted in the table below can be configured to operate as Interrupt-on-Change (IOC) pins for this device.
An interrupt can be generated by detecting a signal that has either a rising edge or a falling edge. Any individual
PORT pin, or combination of PORT pins, can be configured to generate an interrupt.
Table 17-1. IOC Pin Availability per Device
Device
PORTA
PORTB
PORTC
PORTD
PORTE
PORTF
28-pin devices
●
●
●
●(1)
40/44-pin devices
●
●
●
●(1)
48-pin devices
●
●
●
●(1)
Note: 
1.
Pin RE3 only
Important:  If MCLRE = 1 or LVP = 1, the MCLR pin port functionality is disabled and IOC on that pin is
not available
The Interrupt-on-Change module has the following features:
• Interrupt-on-Change enable (Master Switch)
• Individual pin configuration
• Rising and falling edge detection
• Individual pin interrupt flags
The following figure is a block diagram of the IOC module.
Figure 17-1. Interrupt-on-Change Block Diagram (PORTA Example)
IOCANx
IOCAPx
IOCIE
IOC interrupt
to CPU core
From all other
IOCnFx flags
RAx
Positive
Edge
Detect
Negative
Edge
Detect
IOC
Flag
Set/Reset
Logic
Write to IOCAFx flag
17.2
Enabling the Module
In order for individual PORT pins to generate an interrupt, the IOC Interrupt Enable bit (IOCIE) of the Peripheral
Interrupt Enable register (PIEx) must be set. If the IOC Interrupt Enable bit is disabled, the edge detection on the pin
will still occur, but an interrupt will not be generated.
PIC16F15213/14/23/24/43/44
IOC - Interrupt-on-Change
© 2020 Microchip Technology Inc.
Preliminary Datasheet
DS40002195A-page 143



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