Rainbow Electronics MAX7360 User Manual

Page 20

Advertising
background image

I

2

C-Interfaced Key-Switch Controller and LED

Driver/GPIOs with Integrated ESD Protection

MAX7360

20 _____________________________________________________________________________________

Table 8. Configuration Register Format (0x01)

Table 9. Debounce Register Format (0x02)

REGISTER

BIT

DESCRIPTION

VALUE

FUNCTION

DEFAULT

VALUE

D7

Sleep

X

(when 0x40

D4 = 1)

Key-switch operating mode. Key switches always remain active
when constant-current PWM is enabled (bit 4 of register 0x40 is
high) regardless of autosleep, autowakeup, or an I

2

C write to this bit.

0

0

(when 0x40

D4 = 0)

Key-switch sleep
mode. The entire
chip is shut down.

When constant-current PWM is disabled
(bit 4 of register 0x40 is low), I

2

C write,

autosleep, and autowakeup all can change
this bit. This bit can be read back by I

2

C

any time for current status.

1

(when 0x40

D4 = 0)

Key-switch operating
mode

D6

Reserved

0

0

D5

Interrupt

0

INTK cleared when FIFO is empty

0

1

INTK cleared after host read. In this mode, I

2

C should read the

FIFO until interrupt condition is removed or further INT may be lost.

D4

Reserved

0

0

D3

Key-release

enable

0

Disable key releases

1

1

Enable key releases

D2

Reserved

0

0

D1

Autowakeup

enable

0

Disable keypress wakeup

1

1

Enable keypress wakeup

D0

Timeout

disable

0

I

2

C timeout enabled

0

1

I

2

C timeout disabled

REGISTER DESCRIPTION

REGISTER DATA

D7

D6

D5

D4

D3

D2

D1

D0

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

Advertising