| Electronic Components Datasheet Search |
|
PIC16F15213 Datasheet(PDF) 143 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16F15213 Datasheet(HTML) 143 Page - Microchip Technology |
|
143 / 420 page ![]() 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 |
|
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 |
| 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 |