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

X  

PIC16F15213T-I/ST Datasheet(PDF) 141 Page - Microchip Technology

Part # PIC16F15213T-I/ST
Description  PIC16F15213/14/23/24/43/44 Low Pin Count Microcontrollers
PDF  439 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16F15213T-I/ST Datasheet(HTML) 141 Page - Microchip Technology

Back Button PIC16F15213T-I/ST Datasheet HTML 137Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 138Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 139Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 140Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 141Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 142Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 143Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 144Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 145Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 141 / 439 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
8-pin devices
●
14/16-pin devices
●
●
20-pin devices
●
●
●
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 (Host 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
For individual PORT pins to generate an interrupt, the IOC Interrupt Enable (IOCIE) bit of the Peripheral Interrupt
Enable (PIEx) register 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-2022 Microchip Technology Inc.
and its subsidiaries
Data Sheet
DS40002195E-page 141



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