PCA9698BS,118

PCA9698

All information provided in this document is subject to legal disclaimers.

© NXP B.V. 2010. All rights reserved.

Product data sheet

Rev. 3 — 3 August 2010 

14 of 48

NXP Semiconductors

PCA9698

40-bit Fm+ I

2

C-bus advanced I/O port with RESET, OE and INT

7.4.7 ALLBNK - All Bank control register

 

This register allows all the I/Os configured as outputs to be programmed with the same 
logic value. This programming is applied to all the banks or a selection of banks.

When this register is programmed, values in the Output Port registers are not changed 
and do not reflect the states of I/Os configured as outputs anymore.

B0 to B4 controls the logic level to be applied to Bank 0 to Bank 4, respectively.

– Bx = 0: All the I/Os configured as outputs in the corresponding Bank x are 

programmed with 0s.

– Bx = 1: All the I/Os configured as outputs in the corresponding Bank x are 

programmed with 1s.

Bit 5 and bit 6 are not used and can be programmed to either ‘1’ or ‘0’.

BSEL is a filter bit that allows programming of some banks only, and not the others.

– BSEL = 0:

When Bx = 0, all the I/Os configured as output in the corresponding Bank x are 
programmed with 0s.

When Bx = 1, all the I/Os configured as output in the corresponding Bank x are 
programmed with their actual value from the corresponding output register.

– BSEL = 1:

When Bx = 0, all the I/Os configured as output in the corresponding Bank x are 
programmed with their actual value from the corresponding output register.

When Bx = 1, all the I/Os configured as output in the corresponding Bank x are 
programmed with 1s.

7.4.7.1

Examples

If ALLBNK = 0XX0 0000:

All I/Os configured as outputs in Bank 0 to Bank 4 will be programmed with 0s, 
overwriting values programmed in the five Output Port registers.

If ALLBNK = 1XX1 1111:

All I/Os configured as outputs in Bank 0 to Bank 4 will be programmed with 1s, 
overwriting values programmed in the five Output Port registers.

If ALLBNK = 0XX0 0110:

All I/Os configured as outputs in Banks 0, 3, and 4 only will be programmed with 0s, 
overwriting values programmed in the Output Port registers 0, 3, and 4, while I/Os 
configured as outputs in Bank 1 and Bank 2 are programmed with values in Output 
Port registers 1 and 2.

Table 10.

ALLBNK - All Bank control register (address 29h) description

Bit

7

6

5

4

3

2

1

0

Symbol

BSEL

X

X

B4

B3

B2

B1

B0

Default

1

0

0

0

0

0

0

0

PCA9698BS,118 Information:
Part No.
PCA9698BS,118

RFQ

Description
IC I/O EXPANDER I2C 40B 56HVQFN
File Size
370946 bytes
Page Size
595.22 x 842 pts (A4)
All Pages
48
Manufacturer
NXP Semiconductors
Homepage
http://www.nxp.com/
Logo
PCA9698BS,118 Datasheet Related Products: