MAX7359 Maxim, MAX7359 Datasheet - Page 11

no-image

MAX7359

Manufacturer Part Number
MAX7359
Description
The MAX7359 I²C interfaced peripheral provides microprocessors with management of up to 64 key switches
Manufacturer
Maxim
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MAX7359BEN QFN24
Manufacturer:
MAXIM
Quantity:
764
Part Number:
MAX7359BETG+T
Manufacturer:
MAXIM
Quantity:
3 602
Part Number:
MAX7359ETG+
Manufacturer:
MAXIM
Quantity:
5 000
Part Number:
MAX7359ETG+T
Manufacturer:
MAXIM
Quantity:
22 055
Part Number:
MAX7359ETG+TGA8
Manufacturer:
MAXIM
Quantity:
1 163
The interrupt register contains information related to the
settings of the interrupt request function, as well as the
status of the INT output, which can also be configured as
a GPO. If bits D0 through D7 are set to 0x00, the INT out-
put is configured as a GPO that is controlled by bit D1 in
the port register. There are two types of interrupts, the
FIFO based-interrupt and time-based interrupt. The time-
based interrupt can be configured to assert INT after a
number of debounce cycles. By setting bits D0 through
The ports register sets the values of ports 2 through 7 and
the INT port when configured as open-drain GPOs. The
settings in this register are ignored for ports not config-
ured as GPOs, and a read from this register returns the
values stored in the register (Table 7).
The MAX7359 autorepeat feature notifies the host that at
least one key has been pressed for a continuous period
of time. The autorepeat register enables or disables this
feature, sets the time delay after the last key event before
the key repeat code (0x7E) is entered into the FIFO, and
Table 6. Interrupt Register Format (0x03)
INT used as GPO
FIFO based INT disabled
INT asserts every debounce cycles
INT asserts every 2 debounce cycles
INT asserts every 29 debounce
INT asserts every 30 debounce
INT asserts every 31 debounce
Time based INT disabled
INT asserts when FIFO has 2 key events
INT asserts when FIFO has 4 key events
INT asserts when FIFO has 6 key events
INT asserts when FIFO has 16 key events
Both time base and FIFO based interrupts active
Power-up default setting
REGISTER DESCRIPTION
______________________________________________________________________________________
Autorepeat Register (0x05)
Interrupt Register (0x03)
Ports Register (0x04)
Key Switch Controller/GPO
2-Wire Interfaced Low-EMI
D7
0
0
0
0
0
0
0
0
0
0
0
1
FIFO-BASED INT
.
.
.
.
.
.
Not all zero
Not all zero
D4 to an appropriate value, the interrupt can be asserted
at the end of the selected number of debounce cycles
following a key event (Table 6). This number ranges from
1 to 31 debounce cycles. The FIFO based interrupt can
be configured to assert INT when there are between 4
through 16 key events stored in the FIFO. Bits D7 through
D5 set the FIFO based interrupt. Both interrupts can be
configured simultaneously and INT asserts depending on
which condition is met first. INT deasserts depending on
the status of bit D5 in the configuration register.
sets the frequency at which the key repeat code is
entered into the FIFO thereafter. Bit D7 specifies whether
the autorepeat function is enabled with 0 denoting
autorepeat disabled and 1 denoting autorepeat enabled.
Bits D0 through D3 specify the autorepeat delay in terms
of debounce cycles ranging from eight debounce cycles
to 128 debounce cycles (Table 8). Bits D4 through D6
specify the autorepeat rate or frequency ranging from 4
to 32 debounce cycles.
When autorepeat is enabled, holding the key pressed
results in a key repeat event that is denoted by 0x7E. The
key being pressed does not show up again in the FIFO.
D6
0
0
0
0
0
0
0
0
0
1
1
1
D5
0
0
0
0
0
0
0
0
1
0
1
1
REGISTER DATA
D4
0
0
0
1
1
1
0
0
0
0
0
0
D3
0
0
0
1
1
1
0
0
0
0
0
0
TIME-BASED INT
Not all zero
Not all zero
D2
0
0
0
1
1
1
0
0
0
0
0
0
D1
0
0
1
0
1
1
0
0
0
0
0
0
D0
0
0
1
0
1
0
1
0
0
0
0
0
11

Related parts for MAX7359