參數(shù)資料
型號: MCP23S08
廠商: Microchip Technology Inc.
英文描述: 8-Bit I/O Expander with Serial Interface
中文描述: 8位的I / O串行接口擴(kuò)展
文件頁數(shù): 19/40頁
文件大小: 498K
代理商: MCP23S08
2005 Microchip Technology Inc.
DS21919B-page 19
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
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.
INTERRUPT CONDITIONS
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
(INT clears only if interrupt
condition does not exist.)
DEFVAL
X
X
X
X
X
0
X
X
GP2
7
6
5
4
3
2
1
0
GP:
ACTIVE
ACTIVE
相關(guān)PDF資料
PDF描述
MCP2551 High-Speed CAN Transceiver
MCP3001 2.7V 10 BIT A/D CONVERTER WITH SPI SERIAL INTERFACE
MCP3002 MCP300X 10-Bit Analog-to-Digital Converters
MCP3004 MCP300X 10-Bit Analog-to-Digital Converters
MCP3008 MCP300X 10-Bit Analog-to-Digital Converters
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MCP23S08-E/ML 功能描述:接口-I/O擴(kuò)展器 8bit Input/Output Exp SPI interface RoHS:否 制造商:NXP Semiconductors 邏輯系列: 輸入/輸出端數(shù)量: 最大工作頻率:100 kHz 工作電源電壓:1.65 V to 5.5 V 工作溫度范圍:- 40 C to + 85 C 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:HVQFN-16 封裝:Reel
MCP23S08-E/P 功能描述:接口-I/O擴(kuò)展器 In/Out SPI int RoHS:否 制造商:NXP Semiconductors 邏輯系列: 輸入/輸出端數(shù)量: 最大工作頻率:100 kHz 工作電源電壓:1.65 V to 5.5 V 工作溫度范圍:- 40 C to + 85 C 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:HVQFN-16 封裝:Reel
MCP23S08-E/P 制造商:Microchip Technology Inc 功能描述:I/O Expander IC
MCP23S08-E/SO 功能描述:接口-I/O擴(kuò)展器 In/Out I2C int RoHS:否 制造商:NXP Semiconductors 邏輯系列: 輸入/輸出端數(shù)量: 最大工作頻率:100 kHz 工作電源電壓:1.65 V to 5.5 V 工作溫度范圍:- 40 C to + 85 C 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:HVQFN-16 封裝:Reel
MCP23S08-E/SO 制造商:Microchip Technology Inc 功能描述:I/O Expander IC