| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
PIC16F15213T-I/ST bảng dữ liệu(PDF) 141 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16F15213T-I/ST bảng dữ liệu(HTML) 141 Page - Microchip Technology |
|
141 / 439 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 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 |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |