Zakładka z wyszukiwarką danych komponentów
  Polish  ▼
ALLDATASHEET.PL

X  

MCP23008-E/SS Arkusz danych(PDF) 21 Page - Microchip Technology

Numer części MCP23008-E/SS
Szczegółowy opis  8-Bit I/O Expander with Serial Interface
PDF  44 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Producent  MICROCHIP [Microchip Technology]
Strona internetowa  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

MCP23008-E/SS Arkusz danych(HTML) 21 Page - Microchip Technology

Back Button MCP23008-E/SS Datasheet HTML 17Page - Microchip Technology MCP23008-E/SS Datasheet HTML 18Page - Microchip Technology MCP23008-E/SS Datasheet HTML 19Page - Microchip Technology MCP23008-E/SS Datasheet HTML 20Page - Microchip Technology MCP23008-E/SS Datasheet HTML 21Page - Microchip Technology MCP23008-E/SS Datasheet HTML 22Page - Microchip Technology MCP23008-E/SS Datasheet HTML 23Page - Microchip Technology MCP23008-E/SS Datasheet HTML 24Page - Microchip Technology MCP23008-E/SS Datasheet HTML 25Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 21 / 44 page
background image
© 2007 Microchip Technology Inc.
DS21919D-page 21
MCP23008/MCP23S08
1.7
Interrupt Logic
The interrupt output pin will activate if an internal
interrupt occurs. The interrupt block is configured by
the following registers:
• GPINTEN – enables the individual inputs
• DEFVAL – holds the values that are compared
against the associated input port values
• INTCON – controls if the input values are
compared against DEFVAL or the previous values
on the port
• IOCON (ODR and INPOL) – configures the INT
pin as push-pull, open-drain and active-level
Only pins configured as inputs can cause interrupts.
Pins configured as outputs have no affect on INT.
Interrupt activity on the port will cause the port value to
be captured and copied into INTCAP. The interrupt will
remain active until the INTCAP or GPIO register is
read. Writing to these registers will not affect the
interrupt.
The first interrupt event will cause 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.
1.7.1
INTERRUPT CONDITIONS
There are two possible configurations to 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. For example, an
interrupt occurs by an input changing from 1 to
0. The new initial state for the pin is a logic 0.
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
INTAP or GPIO is read.
See Figure 1-6 and Figure 1-7 for more information on
interrupt operations.
FIGURE 1-6:
INTERRUPT-ON-PIN-
CHANGE
FIGURE 1-7:
INTERRUPT-ON-CHANGE
FROM REGISTER
DEFAULT
GPx
INT
ACTIVE
ACTIVE
Port value
is captured
into INTCAP
Read GPIU
or INTCAP
Port value
is captured
into INTCAP
INT
Port value
is captured
into INTCAP
Read GPIU
or INTCAP
DEFVAL
X
X
X
X
X
0
X
X
GP2
7
6
5
4
3
210
GP:
ACTIVE
ACTIVE
(INT clears only if interrupt
condition does not exist.)



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


Arkusz danych Pobierz

Go To PDF Page


Link URL



Czy Alldatasheet okazała się pomocna?  [ DONATE ] 

O Alldatasheet   |   Reklama   |   Kontakt   |   Polityka prywatności   |   Link do karty katalogowej    |   Linki   |   Lista producentów
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