Table 5. debounce register format (0x02) – Rainbow Electronics MAX7359 User Manual

Page 10

Advertising
background image

MAX7359

2-Wire Interfaced Low-EMI
Key Switch Controller/GPO

10

______________________________________________________________________________________

Debounce Register (0x02)

The debounce register sets the time for each debounce
cycle, as well as setting whether the GPO ports are
enabled or disabled. Bits D0 through D4 set the
debounce time in increments of 1ms starting at 9ms

and ending at 40ms (Table 5). Bits D5 through D7 set
which of the GPO ports is enabled. Note the GPO ports
can be enabled only in the combinations shown in
Table 5, from all disabled to all enabled.

REGISTER DATA

D7

D6

D5

D4

D3

D2

D1

D0

REGISTER DESCRIPTION

PORTS ENABLE

DEBOUNCE TIME

Debounce time is 9ms

X

X

X

0

0

0

0

0

Debounce time is 10ms

X

X

X

0

0

0

0

1

Debounce time is 11ms

X

X

X

0

0

0

1

0

Debounce time is 12ms

X

X

X

0

0

0

1

1

.
.
.

Debounce time is 37ms

X

X

X

1

1

1

0

0

Debounce time is 38ms

X

X

X

1

1

1

0

1

Debounce time is 39ms

X

X

X

1

1

1

1

0

Debounce time is 40ms

X

X

X

1

1

1

1

1

GPO ports disabled (full key-scan functionality)

0

0

0

X

X

X

X

X

GPO port 7 enabled

0

0

1

X

X

X

X

X

GPO ports 7 and 6 enabled

0

1

0

X

X

X

X

X

GPO ports 7, 6, and 5 enabled

0

1

1

X

X

X

X

X

GPO ports 7, 6, 5, and 4 enabled

1

0

0

X

X

X

X

X

GPO ports 7, 6, 5, 4, and 3 enabled

1

0

1

X

X

X

X

X

GPO ports 7, 6, 5, 4, 3, and 2 enabled

1

1

X

X

X

X

X

X

Power-up default setting

1

1

1

1

1

1

1

1

Table 5. Debounce Register Format (0x02)

Advertising