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

MCP23018 Просмотр технического описания (PDF) - Microchip Technology

Номер в каталоге
Компоненты Описание
производитель
MCP23018
Microchip
Microchip Technology Microchip
MCP23018 Datasheet PDF : 56 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
MCP23018/MCP23S18
1.6 Configuration and Control
Registers
There are twenty two (22) registers associated with the
MCP23X18 as shown in Table 1-4 and Table 1-5. The
two tables show the register mapping with the two
BANK bit values. Ten (10) registers are associated
with Port A and ten (10) are associated with Port B.
One register (IOCON) is shared between the two ports.
The Port A registers are identical to the Port B regis-
ters, therefore, they will be referred to without differen-
tiating between the port designation (i.e., they will not
have the “A” or “B” designator assigned) in the register
tables.
TABLE 1-4: CONTROL REGISTER SUMMARY (IOCON.BANK = 1)
Register Address
Name
(hex)
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
IODIRA
IPOLA
GPINTENA
DEFVALA
INTCONA
IOCON
GPPUA
INTFA
INTCAPA
GPIOA
OLATA
IODIRB
IPOLB
GPINTENB
DEFVALB
INTCONB
IOCON
GPPUB
INTFB
INTCAPB
GPIOB
OLATB
00
IO7
IO6
IO5
IO4
IO3
IO2
01
IP7
IP6
IP5
IP4
IP3
IP2
02
GPINT7 GPINT6 GPINT5 GPINT4 GPINT3 GPINT2
03
DEF7 DEF6 DEF5 DEF4 DEF3 DEF2
04
IOC7
IOC6
IOC5
IOC4
IOC3
IOC2
05
BANK MIRROR SEQOP
ODR
06
PU7
PU6
PU5
PU4
PU3
PU2
07
INT7
INT6
INT5
INT4
INT3
INT2
08
ICP7
ICP6
ICP5
ICP4
ICP3
ICP2
09
GP7
GP6
GP5
GP4
GP3
GP2
0A
OL7
OL6
OL5
OL4
OL3
OL2
10
IO7
IO6
IO5
IO4
IO3
IO2
11
IP7
IP6
IP5
IP4
IP3
IP2
12
GPINT7 GPINT6 GPINT5 GPINT4 GPINT3 GPINT2
13
DEF7 DEF6 DEF5 DEF4 DEF3 DEF2
14
IOC7
IOC6
IOC5
IOC4
IOC3
IOC2
15
BANK MIRROR SEQOP
ODR
16
PU7
PU6
PU5
PU4
PU3
PU2
17
INT7
INT6
INT5
INT4
INT3
INT2
18
ICP7
ICP6
ICP5
ICP4
ICP3
ICP2
19
GP7
GP6
GP5
GP4
GP3
GP2
1A
OL7
OL6
OL5
OL4
OL3
OL2
bit 1
IO1
IP1
GPINT1
DEF1
IOC1
INTPOL
PU1
INT1
ICP1
GP1
OL1
IO1
IP1
GPINT1
DEF1
IOC1
INTPOL
PU1
INT1
ICP1
GP1
OL1
bit 0
POR/RST
value
IO0 1111 1111
IP0 0000 0000
GPINT0 0000 0000
DEF0 0000 0000
IOC0 0000 0000
INTCC 0000 0000
PU0 0000 0000
INTO 0000 0000
ICP0
GP0
OL0
0000 0000
0000 0000
0000 0000
IO0 1111 1111
IP0 0000 0000
GPINT0
DEF0
IOC0
0000 0000
0000 0000
0000 0000
INTCC 0000 0000
PU0 0000 0000
INTO 0000 0000
ICP0 0000 0000
GP0
OL0
0000 0000
0000 0000
DS22103A-page 16
© 2008 Microchip Technology Inc.

Share Link: 

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