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

AN1043 Ver la hoja de datos (PDF) - Microchip Technology

Número de pieza
componentes Descripción
Fabricante
AN1043 Datasheet PDF : 10 Pages
1 2 3 4 5 6 7 8 9 10
AN1043
FIGURE 6:
8-BIT MODE: ADDRESS POINTER ENABLED (MCP23008 EXAMPLE)
When the address pointer is ENABLED and the device is in
8-bit mode, the address pointer will increment after every
byte is clocked. The address pointer will roll over to 00h
after exceeding 1Ah (which is the last location of Port B).
S 0100aaa0A 00001010A 10101010A 01010101A 10101010P
MCP23X08
Opcode
Register
Addr = 09h
Data @
09h
Data @
0Ah
Data @
10h
GPIOA
09
OLATA
0A
IODIRB
10
IPOLB
11
GPINTENB 12
DEFVALB 13
INTCONB
14
IOCON
15
GPPUB
16
INTFB
17
INTCAPB
18
GPIOB
19
OLATB
1A
Note: The address pointer jumps
from 0Ah to 10h when transitioning
from Port A to Port B
FIGURE 7:
16-BIT MODE: ADDRESS POINTER DISABLED (MCP23017 EXAMPLE)
When the address pointer is DISABLED and the device is in
16-bit mode, the address pointer will alternate between the
register pair. Also, the initial address can be either register
address (e.g., 14h or 15h) and the pointer will still alternate
between the registers.
S 0100aaa0A 00010010A 10101010A 01010101A 10101010P
MCP23X17
Opcode
Register
Addr = 12h
Data @
12h
Data @
13h
Data @
12h
INTCONB
09
IOCON
0A
IOCON
0B
GPPUA
0C
GPPUB
0D
INTFA
0E
INTFB
0F
INTCAPA
10
INTCAPB
11
GPIOA
12
GPIOB
13
OLATA
14
OLATB
15
DS01043A-page 6
© 2006 Microchip Technology Inc.

Share Link: 

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