MCP23S08/S Microchip Technology, MCP23S08/S Datasheet - Page 9

no-image

MCP23S08/S

Manufacturer Part Number
MCP23S08/S
Description
8-bit Input/Output Expander, SPI interface, 0C to +70C, Die-Waffle, WPAC
Manufacturer
Microchip Technology
Datasheet
1.5
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.
TABLE 1-3:
© 2007 Microchip Technology Inc.
IODIR
IPOL
GPINTEN
DEFVAL
INTCON
IOCON
GPPU
INTF
INTCAP
GPIO
OLAT
* Not used on the MCP23008.
Register
Name
GPIO Port
Address
(hex)
0A
00
01
02
03
04
05
06
07
08
09
CONFIGURATION AND CONTROL REGISTERS
GPINT7
DEF7
IOC7
INT7
ICP7
bit 7
GP7
PU7
OL7
IO7
IP7
GPINT6
DEF6
IOC6
ICP6
bit 6
INT6
PU6
GP6
OL6
IO6
IP6
GPINT5
SREAD
DEF5
IOC5
INT5
ICP5
bit 5
PU5
GP5
OL5
IO5
IP5
DISSLW
GPINT4
DEF4
IOC4
INT4
ICP4
bit 4
GP4
PU4
OL4
IO4
IP4
MCP23008/MCP23S08
1.6
The Configuration and Control blocks contain the
registers as shown in Table 1-3.
GPINT3
HAEN*
DEF3
IOC3
INT3
ICP3
bit 3
GP3
PU3
OL3
IO3
IP3
Configuration and Control
Registers
GPINT2
DEF2
IOC2
ODR
INT2
ICP2
bit 2
PU2
GP2
OL2
IO2
IP2
GPINT1
INTPOL
DEF1
IOC1
ICP1
INT1
bit 1
PU1
GP1
OL1
IO1
IP1
GPINT0
DEF0
IOC0
INTO
ICP0
bit 0
PU0
GP0
OL0
IO0
IP0
DS21919E-page 9
1111 1111
0000 0000
0000 0000
0000 0000
0000 0000
--00 000-
0000 0000
0000 0000
0000 0000
0000 0000
0000 0000
POR/RST
value

Related parts for MCP23S08/S