HLD2 HLD1 HLD0 FUNCTION
0 0 0 If a button is held, wait 100µs before beginning next debounce scan
0 0 1 If a button is held, wait 1 debounce time before beginning the next debounce scan
0 1 0 If a button is held, wait 2 debounce times before beginning the next debounce scan
0 1 1 If a button is held, wait 3 debounce times before beginning the next debounce scan
1 0 0 If a button is held, wait 4 debounce times before beginning the next debounce scan
1 0 1 If a button is held, wait 5 debounce times before beginning the next debounce scan
1 1 0 If a button is held, wait 6 debounce times before beginning the next debounce scan
1 1 1 If a button is held, wait 7 debounce times before beginning the next debounce scan
Table 21. Keypad Hold Time Control
MAX1233/MAX1234
±15kV ESD-Protected Touch-Screen
Controllers Include DAC and Keypad Controller
______________________________________________________________________________________ 25
allowing certain keys to be masked from detection.
Tables 18–21 show the programmable bits of the keypad
control register. Tables 23, 24, and 25 show the program-
mable bits of the keypad mask registers. The
Keypad
Controller and GPIO
section provides more details.
GPIO Control Register
The GPIO control register and the GPIO pullup register
allow the keypad controller’s row and column inputs to be
configured as up to eight parallel I/O pins. Tables 26 and
27 show the GPIO control register layout and control reg-
ister descriptions. Tables 28 and 29 show the GPIO pullup
disable register and associated descriptions. For more
information, see the
Applications Information
section.
BIT15 BIT14 BIT13 BIT12 BIT11 BIT10 BIT9 BIT8 BIT7 BIT6 BIT5 BIT4 BIT3 BIT2 BIT1 BIT0
KM15 KM14 KM13 KM12 KM11 KM10 KM9 KM8 KM7 KM6 KM5 KM4 KM3 KM2 KM1 KM0
Table 22. Keypad Key Mask Register Bit Descriptions (Write 0x0050/Read 0x8050)
BIT15 BIT14 BIT13 BIT12 BIT11 BIT10 BIT9 BIT8 BIT7 BIT6 BIT5 BIT4 BIT3 BIT2 BIT1 BIT0
CM4CM3CM2CM1000000000000
Table 24. Keypad Column Mask Register (Write 0x0051/Read 0x8051)
BIT NAME DESCRIPTION
15 KM15 Mask status register data update on individual key for row 4, column 4
14 KM14 Mask status register data update on individual key for row 3, column 4
13 KM13 Mask status register data update on individual key for row 2, column 4
12 KM12 Mask status register data update on individual key for row 1, column 4
11 KM11 Mask status register data update on individual key for row 4, column 3
10 KM10 Mask status register data update on individual key for row 3, column 3
9 KM9 Mask status register data update on individual key for row 2, column 3
8 KM8 Mask status register data update on individual key for row 1, column 3
7 KM7 Mask status register data update on individual key for row 4, column 2
6 KM6 Mask status register data update on individual key for row 3, column 2
5 KM5 Mask status register data update on individual key for row 2, column 2
4 KM4 Mask status register data update on individual key for row 1, column 2
3 KM3 Mask status register data update on individual key for row 4, column 1
2 KM2 Mask status register data update on individual key for row 3, column 1
1 KM1 Mask status register data update on individual key for row 2, column 1
0 KM0 Mask status register data update on individual key for row 1, column 1
Table 23. Keypad Key Mask Register Bit Descriptions (Write 0x0050/Read 0x8050)
MAX1233/MAX1234
±15kV ESD-Protected Touch-Screen
Controllers Include DAC and Keypad Controller
26 ______________________________________________________________________________________
Data Registers
The data results from conversions or keypad scans are
held in the data registers of the MAX1233/MAX1234.
During power-up, all of these data registers with the
exception of the DAC data register default to 0000
H
.
The DAC register defaults to 1000
H
.
Analog Input Data Registers
Table 30 shows the format of the X, Y, Z
1
, Z
2
, BAT1,
BAT2, AUX1, AUX2, TEMP1, and TEMP2 data registers.
The data format for these registers is right justified
beginning with bit 11. Data written through the serial
interface to these registers is not stored.
Keypad Data Registers
Table 31 shows the formatting of the keypad data regis-
ters, while Tables 32, 33, and 34 provide individual reg-
ister bit descriptions. These registers have the same
format as the keypad mask register. Each bit repre-
sents one key on the keypad. Table 35 shows a map of
a 16-key keypad. Data written through the serial inter-
face to these registers is not stored.
BIT15 BIT14 BIT13 BIT12 BIT11 BIT10 BIT9 BIT8 BIT7 BIT6 BIT5 BIT4 BIT3 BIT2 BIT1 BIT0
GP7 GP6 GP5 GP4 GP3 GP2 GP1 GP0 OE7 OE6 OE5 OE4 OE3 OE2 OE1 OE0
Table 26. GPIO Control Register (Write 0x004F/Read 0x804F)
DESCRIPTION
BIT NAME
10
15 GP7 C4 pin becomes GPIO pin 7 C4 pin remains keypad column 4
14 GP6 C3 pin becomes GPIO pin 6 C3 pin remains keypad column 3
13 GP5 C2 pin becomes GPIO pin 5 C2 pin remains keypad column 2
12 GP4 C1 pin becomes GPIO pin 4 C1 pin remains keypad column 1
11 GP3 R4 pin becomes GPIO pin 3 R4 pin remains keypad row 4
10 GP2 R3 pin becomes GPIO pin 2 R3 pin remains keypad row 3
9 GP1 R2 pin becomes GPIO pin 1 R2 pin remains keypad row 2
8 GP0 R1 pin becomes GPIO pin 0 R1 pin remains keypad row 1
[7:0] [OE7:OE0] GPIO pin configured as an output GPIO pin configured as an input
Table 27. GPIO Control Register Bit Descriptions (Write 0x004F/Read 0x804F)
BIT15 BIT14 BIT13 BIT12 BIT11 BIT10 BIT9 BIT8 BIT7 BIT6 BIT5 BIT4 BIT3 BIT2 BIT1 BIT0
PU7PU6PU5PU4PU3PU2PU1PU000000000
Table 28.GPIO Pullup Disable Register (Write 0x004E/Read 0x804E)
BIT NAME DESCRIPTION
[15:8] [PU7:PU0]
1: P ul l up d i sab l ed . Op en col l ector outp ut.
0: Pullup enabled.
[7:0] 0 Reserved: always write as zero.
Table 29. GPIO Pullup Disable Register
Descriptions
BIT NAME DESCRIPTION
15 CM4 Mask interrupt, status register, and pending register data update on all keys in column 4
14 CM3 Mask interrupt, status register, and pending register data update on all keys in column 3
13 CM2 Mask interrupt, status register, and pending register data update on all keys in column 2
12 CM1 Mask interrupt, status register, and pending register data update on all keys in column 1
[11:0] 0 Reserved
Table 25. Keypad Column Mask Register Bit Descriptions (Write 0x0051/Read 0x8051)
MAX1233/MAX1234
±15kV ESD-Protected Touch-Screen
Controllers Include DAC and Keypad Controller
______________________________________________________________________________________ 27
READ
COMMAND
REGISTER
NAME
BIT15 BIT14 BIT13 BIT12 BIT11 BIT10 BIT9 BIT8 BIT7 BIT6 BIT5 BIT4 BIT3 BIT2 BIT1 BIT0
0x8000 X 0000X11X10X9X8X7X6X5X4X3X2X1X0
0x8001 Y 0000Y11Y10Y9Y8Y7Y6Y5Y4Y3Y2Y1Y0
0x8002 Z1 0000Z1_11Z1_10Z1_9Z1_8Z1_7Z1_6Z1_5Z1_4Z1_3Z1_2Z1_1Z 1_0
0x8003 Z1 0000Z2_11Z2_10Z2_9Z2_8Z2_7Z2_6Z2_5Z2_4Z2_3Z2_2Z2_1Z 2_0
0x8005 BATT1 0000B1_11B1_10B1_9B1_8B1_7B1_6B1_5B1_4B1_3B1_2B1_1B1_0
0x8006 BATT2 0000B2_11B2_10B2_9B2_8B2_7B2_6B2_5B2_4B2_3B2_2B2_1B2_0
0x8007 AUX1 0000A1_11A1_10A1_9A1_8A1_7A1_6A1_5A1_4A1_3A1_2A1_1A1_0
0x8008 AUX2 0000A2_11A2_10A2_9A2_8A2_7A2_6A2_5A2_4A2_3A2_2A2_1A2_0
0x8009 TEMP1 0000T1_11T1_10T1_9T1_8T1_7T1_6T1_5T1_4T1_3T1_2T1_1T1_0
0x800A TEMP2 0000T2_11T2_10T2_9T2_8T2_7T2_6T2_5T2_4T2_3T2_2T2_1T2_0
Table 30. Analog Inputs Data Register Format
READ
COMMAND
REGISTER
NAME
BIT15 BIT14 BIT13 BIT12 BIT11 BIT10 BIT9 BIT8 BIT7 BIT6 BIT5 BIT4 BIT3 BIT2 BIT1 BIT0
0x8004 KPD K15 K14 K13 K12 K11 K10 K9 K8 K7 K6 K5 K4 K3 K2 K1 K0
0x8010
KPData1
(column
m askabl e)
K1_15 K1_14 K1_13 K1_12 K1_11 K1_10 K1_9 K1_8 K1_7 K1_6 K1_5 K1_4 K1_3 K1_2 K1_1 K1_0
0x8011
KPData2
(key
m askabl e)
K2_15 K2_14 K2_13 K2_12 K2_11 K2_10 K2_9 K2_8 K2_7 K2_6 K2_5 K2_4 K2_3 K2_2 K2_1 K2_0
Table 31. Keypad Data Registers
BIT NAME DESCRIPTION
15 K15 Keypad scan result for row 4, column 4. Can only be masked by column mask.
14 K14 Keypad scan result for row 3, column 4. Can only be masked by column mask.
13 K13 Keypad scan result for row 2, column 4. Can only be masked by column mask.
12 K12 Keypad scan result for row 1, column 4. Can only be masked by column mask.
11 K11 Keypad scan result for row 4, column 3. Can only be masked by column mask.
10 K10 Keypad scan result for row 3, column 3. Can only be masked by column mask.
9 K9 Keypad scan result for row 2, column 3. Can only be masked by column mask.
8 K8 Keypad scan result for row 1, column 3. Can only be masked by column mask.
7 K7 Keypad scan result for row 4, column 2. Can only be masked by column mask.
6 K6 Keypad scan result for row 3, column 2. Can only be masked by column mask.
5 K5 Keypad scan result for row 2, column 2. Can only be masked by column mask.
4 K4 Keypad scan result for row 1, column 2. Can only be masked by column mask.
3 K3 Keypad scan result for row 4, column 1. Can only be masked by column mask.
2 K2 Keypad scan result for row 3, column 1. Can only be masked by column mask.
1 K1 Keypad scan result for row 2, column 1. Can only be masked by column mask.
0 K0 Keypad scan result for row 1, column 1. Can only be masked by column mask.
Table 32. Keypad Data Register Descriptions

MAX1233ETI+T

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
Touch Screen Controllers 4Ch uWire QSPI/SPI Touch Interface
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union