công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

MCP23017-E/ML bảng dữ liệu(PDF) 25 Page - Microchip Technology

tên linh kiện MCP23017-E/ML
Giải thích chi tiết về linh kiện  16-Bit I/O Expander with Serial Interface
PDF  42 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  MICROCHIP [Microchip Technology]
Trang chủ  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

MCP23017-E/ML bảng dữ liệu(HTML) 25 Page - Microchip Technology

Back Button MCP23017-E/ML Datasheet HTML 21Page - Microchip Technology MCP23017-E/ML Datasheet HTML 22Page - Microchip Technology MCP23017-E/ML Datasheet HTML 23Page - Microchip Technology MCP23017-E/ML Datasheet HTML 24Page - Microchip Technology MCP23017-E/ML Datasheet HTML 25Page - Microchip Technology MCP23017-E/ML Datasheet HTML 26Page - Microchip Technology MCP23017-E/ML Datasheet HTML 27Page - Microchip Technology MCP23017-E/ML Datasheet HTML 28Page - Microchip Technology MCP23017-E/ML Datasheet HTML 29Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 25 / 42 page
background image
 2005-2016 Microchip Technology Inc.
DS20001952C-page 25
MCP23017/MCP23S17
3.6.4
INTERRUPT OPERATION
The INTn interrupt output can be configured as
active-low, active-high or open-drain via the IOCON
register.
Only those pins that are configured as an input (IODIR
register) with Interrupt-On-Change (IOC) enabled
(IOINTEN register) can cause an interrupt. Pins
defined as an output have no effect on the interrupt
output pin.
Input change activity on a port input pin that is enabled
for IOC generates an internal device interrupt and the
device captures the value of the port and copies it into
INTCAP. The interrupt remains active until the INTCAP
or GPIO register is read. Writing to these registers does
not affect the interrupt. The interrupt condition is
cleared after the LSb of the data is clocked out during
a read command of GPIO or INTCAP.
The first interrupt event causes the port contents to be
copied into the INTCAP register. Subsequent interrupt
conditions on the port will not cause an interrupt to
occur as long as the interrupt is not cleared by a read
of INTCAP or GPIO.
3.6.5
INTERRUPT CONDITIONS
There are two possible configurations that cause
interrupts (configured via INTCON):
1.
Pins configured for interrupt-on-pin change
will cause an interrupt to occur if a pin changes
to the opposite state. The default state is reset
after an interrupt occurs and after clearing the
interrupt condition (i.e., after reading GPIO or
INTCAP). For example, an interrupt occurs by
an input changing from ‘1’ to ‘0’. The new initial
state for the pin is a logic ‘0’ after the interrupt is
cleared.
2.
Pins configured for interrupt-on-change from
register value will cause an interrupt to occur if
the corresponding input pin differs from the
register bit. The interrupt condition will remain as
long as the condition exists, regardless if the
INTCAP or GPIO is read.
See Figures 3-8 and 3-9 for more information on
interrupt operations.
FIGURE 3-8:
INTERRUPT-ON-PIN
CHANGE
FIGURE 3-9:
INTERRUPT-ON-CHANGE
FROM REGISTER
DEFAULT
Note:
The value in INTCAP can be lost if GPIO
is read before INTCAP while another IOC
is pending. After reading GPIO, the
interrupt will clear and then set due to the
pending
IOC,
causing
the
INTCAP
register to update.
GPx
INT
ACTIVE
ACTIVE
Port value
is captured
into INTCAP
Read GPIO
or INTCAP
Port value
is captured
into INTCAP
INT
Port value
is captured
into INTCAP
Read GPIO
or INTCAP
DEFVAL REGISTER
X
X
X
X
X
0
X
X
GP2
7
6
54
32
1
0
GPx<7:0>
ACTIVE
ACTIVE
(INT clears only if interrupt
condition does not exist.)
Pin
Pin



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


bảng dữ liệu tải về

Go To PDF Page


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


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