Datasheet

PCAL6408A All information provided in this document is subject to legal disclaimers. © NXP B.V. 2013. All rights reserved.
Product data sheet Rev. 3 — 18 September 2013 11 of 49
NXP Semiconductors
PCAL6408A
Low-voltage translating, 8-bit I
2
C-bus/SMBus I/O expander
7.4.7 Pull-up/pull-down enable register (43h)
This register allows the user to enable or disable pull-up/pull-down resistors on the I/O
pins. Setting the bit to logic 1 enables the selection of pull-up/pull-down resistors. Setting
the bit to logic 0 disconnects the pull-up/pull-down resistors from the I/O pins. Also, the
resistors are disconnected when the outputs are configured as open-drain outputs (see
Section 7.4.11
). Use the pull-up/pull-down selection registers to select either a pull-up or
pull-down resistor.
7.4.8 Pull-up/pull-down selection register (44h)
The I/O port can be configured to have pull-up or pull-down resistor by programming the
pull-up/pull-down selection register. Setting a bit to logic 1 selects a 100 k pull-up
resistor for that I/O pin. Setting a bit to logic 0 selects a 100 k pull-down resistor for that
I/O pin. If the pull-up/down feature is disconnected, writing to this register has no effect on
I/O pin. Typical value is 100 k with minimum of 50 k and maximum of 150 k.
7.4.9 Interrupt mask register (45h)
Interrupt mask register is set to logic 1 upon power-on, disabling interrupts during system
start-up. Interrupts may be enabled by setting corresponding mask bits to logic 0. If an
input changes state and the corresponding bit in the Interrupt mask register is set to 1, the
interrupt is masked and the interrupt pin (INT
) is not asserted. If the corresponding bit in
the Interrupt mask register is set to 0, the interrupt pin is asserted.
When an input changes state and the resulting interrupt is masked (interrupt mask bit
is 1), setting the input mask register bit to 0 causes the interrupt pin to be asserted. If the
interrupt mask bit of an input that is currently the source of an interrupt is set to 1, the
interrupt pin is de-asserted.
Table 13. Input latch register (address 42h)
Bit 7 6 5 4 3 2 1 0
Symbol L7 L6 L5 L4 L3 L2 L1 L0
Default 00000000
Table 14. Pull-up/pull-down enable register (address 43h)
Bit 7 6 5 4 3 2 1 0
Symbol PE7 PE6 PE5 PE4 PE3 PE2 PE1 PE0
Default 00000000
Table 15. Pull-up/pull-down selection register (address 44h)
Bit 7 6 5 4 3 2 1 0
Symbol PUD7 PUD6 PUD5 PUD4 PUD3 PUD2 PUD1 PUD0
Default 11111111
Table 16. Interrupt mask register (address 45h)
Bit 7 6 5 4 3 2 1 0
Symbol M7 M6 M5 M4 M3 M2 M1 M0
Default 11111111