AN1043
INTERNAL ADDRESS POINTER
CONTROL
Some slave serial devices automatically increment
their internal address pointer after each byte is clocked
by the master. This allows the master to sequentially
access multiple registers without re-sending the write
or read command.
Other slave devices do not automatically increment
their internal address pointer.
The MCP23X08/17 family of devices have the ability to
do either by configuring a control bit (IOCON.SEQOP).
This allows maximum flexibility when accessing the
registers.
For example, when configuring the device, it may be
desirable to allow the address pointer to automatically
increment so the device does not have to be re-
addressed after every byte.
Likewise, when performing a continuous operation on
a register (e.g., changing the outputs on a regular basis
by writing to GPIO or OLAT), it may be beneficial to
disable the address incrementing feature so that the
register is always accessed without re-addressing the
register.
FIGURE 5:
8-BIT MODE: ADDRESS POINTER DISABLED (MCP23008 EXAMPLE)
When the address pointer is DISABLED and the device is in
8-bit mode, the address pointer will not increment the
address pointer.
S 0 1 0 0 a a a 0 A 0 0 0 0 1 0 1 0 A 1 0 1 0 1 0 1 0 A 0 1 0 1 0 1 0 1 A 1 0 1 0 1 0 1 0 P
MCP23X08
Opcode
Register
Addr = 09h
Data @
09h
Data @
09h
Data @
09h
GPIOA
OLATA
IODIRB
IPOLB
GPINTENB
DEFVALB
INTCONB
IOCON
GPPUB
INTFB
09
0A
10
11
12
13
14
15
16
17
INTCAPB
GPIOB
OLATB
18
19
1A
See Figure 5 and Figure 6 for address pointer examples for the
MCP23X08 8-bit devices and Figure 7 and Figure 8 for the
MCP23X17 examples.
? 2006 Microchip Technology Inc.
DS01043A-page 5
相关PDF资料
MCP23X17EV BOARD EVAL FOR MCP23X17
MCP2515DM-PTPLS BOARD DAUGHTER PICTAIL MCP2515
MCP3905EV BOARD DEMO FOR MCP3905
MCP402XEV BOARD EVAL FOR MCP402X
MCP42XXEV BOARD EVALUATION MCP42XX
MCP43XXEV BOARD EVALUATION MCP43XX
MCP46XXDM-PTPLS BOARD PICTAIL DIGI POT MCP4XXX
MCP46XXEV EVAL BOARD FOR MCP46XX
相关代理商/技术参数
MCP23X17EV 功能描述:其他开发工具 MCP23X17 EVAL BRD RoHS:否 制造商:Parallax 产品:ELEV-8 Hex Upgrade Kits 类型:Robotics 工具用于评估:ELEV-8 Quadcopter 工作电源电压:
MCP-24 制造商:Taiyo Electric Ind. 功能描述:
MCP-240-00002-00 制造商:SUPER MICRO COMPUTER, INC. 功能描述:SPARE PARTS - Trays
MCP-240-00031-00 制造商:SUPER MICRO COMPUTER, INC. 功能描述:2U, REAR WINDOW ACCESSORY KITS, SC825'S (RISER CARD SOLUTION - Bulk
MCP-240-00032-00 制造商:SUPER MICRO COMPUTER, INC. 功能描述:2U, REAR WINDOW ACCESSORY KITS, SC825'S (RISER CARD SOLUTION - Bulk
MCP-240-00063-0N 制造商:Supermicro Computer Inc 功能描述:REAR WINDOW ACCESSORY KIT FOR 2U 825 制造商:SUPER MICRO COMPUTER, INC. 功能描述:3XFH ADD ON CARD REAR I/O PANEL FOR SC825 CHASSIS. - Bulk
MCP-240-00064-0N 制造商:SUPER MICRO COMPUTER, INC. 功能描述:BACK PANEL FOR THE CSE-825TQ-R700LPB - Bulk
MCP-240-00098-0N 制造商:SUPER MICRO COMPUTER, INC. 功能描述:WIO REAR WINDOW FOR SC113, SC815 REDUNDANT PWS - Bulk