DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

MCP23008 查看數據表(PDF) - Unspecified

零件编号
产品描述 (功能)
生产厂家
MCP23008 Datasheet PDF : 40 Pages
1 2 3 4 5 6 7 8 9 10 Next Last
MCP23008/MCP23S08
1.5 GPIO Port
The GPIO module contains the data port (GPIO),
internal pull up resistors and the Output Latches
(OLAT).
Reading the GPIO register reads the value on the port.
Reading the OLAT register only reads the OLAT, not
the actual value on the port.
Writing to the GPIO register actually causes a write to
the OLAT. Writing to the OLAT register forces the
associated output drivers to drive to the level in OLAT.
Pins configured as inputs turn off the associated output
driver and put it in high-impedance.
1.6 Configuration and Control
Registers
The Configuration and Control blocks contain the
registers as shown in Table 1-3.
TABLE 1-3: CONFIGURATION AND CONTROL REGISTERS
Register Address
Name
(hex)
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
IODIR
00
IO7
IPOL
01
IP7
GPINTEN
02
GPINT7
DEFVAL
03
DEF7
INTCON
04
IOC7
IOCON
05
GPPU
06
PU7
INTF
07
INT7
INTCAP
08
ICP7
GPIO
09
GP7
OLAT
0A
OL7
* Not used on the MCP23008.
IO6
IP6
GPINT6
DEF6
IOC6
PU6
INT6
ICP6
GP6
OL6
IO5
IP5
GPINT5
DEF5
IOC5
SREAD
PU5
INT5
ICP5
GP5
OL5
IO4
IP4
GPINT4
DEF4
IOC4
DISSLW
PU4
INT4
ICP4
GP4
OL4
IO3
IP3
GPINT3
DEF3
IOC3
HAEN *
PU3
INT3
ICP3
GP3
OL3
IO2
IP2
GPINT2
DEF2
IOC2
ODR
PU2
INT2
ICP2
GP2
OL2
bit 1
IO1
IP1
GPINT1
DEF1
IOC1
INTPOL
PU1
INT1
ICP1
GP1
OL1
bit 0
POR/RST
value
IO0
IP0
GPINT0
DEF0
IOC0
PU0
INTO
ICP0
GP0
OL0
1111 1111
0000 0000
0000 0000
0000 0000
0000 0000
--00 000-
0000 0000
0000 0000
0000 0000
0000 0000
0000 0000
© 2005 Microchip Technology Inc.
DS21919B-page 7

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]