Cirrus Logic EP93xx User Manual

Page 760

Advertising
background image

25-22

DS785UM1

Copyright 2007 Cirrus Logic

Analog Touch Screen Interface
EP93xx User’s Guide

2

5

2

5

25

TSSetup2

Address:

0x8090_0024

Default:

0x0000_0000

Definition:

Touch screen Setup Register #2.

Bit Descriptions:

RSVD:

Reserved. Unknown during read.

RINTEN:

Synchronous Data Ready Interrupt Enable. Setting this bit
results in an interrupt whenever the Synchronous Data
Ready (SDR) bit in the TSXYResult register is set. The
SDR bit will never be set unless the EN bit of the TSSetup
register is clear.

S28EN:

Switch 28 Enable. The touch detect NAND gate can be
triggered separately by bit 28 of the switch registers or in
conjunction with bit 22 which also controls the X+ pullup.
0 = NAND gate controlled by bit 22.
1 = NAND gate controlled by bit 28.

NSIGND:

Unsigned ADC output type. The touch input information
can be processed as signed or unsigned integers. The
default bit value is “0” for signed.

DISDEV:

Disable Deviation check for both X and Y ADC sampling.
Setting this bit high causes the deviation test to always
pass and forces a sample set.

DTMEN:

Deviation Timer Enable. Setting this bit high enables the
timeout for the deviation check. If the deviation check fails
255 times for either the X or Y axis the algorithm will skip
this check and force a sample set anyway.

DINTEN:

Deviation Error Interrupt Enable. Setting this bit high
causes an interrupt when the sample deviation check fails
255 times for either the X or Y axis. The DTMEN bit must
be high for this bit to be effective.

31

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

RSVD

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

RSVD

RINTEN

S28EN

NSIGND

DISDEV

DTMEN

DINTEN

DEVINT

PINTEN

PENSTS

PINT

NICOR

TINT

Advertising