beautypg.com

Cirrus Logic EP93xx User Manual

Page 759

background image

DS785UM1

25-21

Copyright 2007 Cirrus Logic

Analog Touch Screen Interface

EP93xx User’s Guide

2

5

2

5

25

SCTL:

Analog switch control values for the touch controller touch
detect, discharge, sample X, and sample Y states and
direct analog switch control when the touch screen
controller is disabled. A “1” indicates that the switch is
made or closed. A “0” indicates that the switch is open.

Table 25-2

contains the values that must be loaded into the switch registers, depending on

the type of touch screen being used.

TSSWLock

Address:

0x8090_0020

Default:

0x0000_0000

Definition:

Software lock register.

Bit Descriptions:

RSVD:

Reserved. Unknown during read.

SWLCK: Software

lock

bits.

WRITE: The Unlock value for this feature is 0xAA. Writing
0xAA to this register will unlock all locked registers until
the next block access. The ARM lock instruction prefix
should be used for the two consecutive write cycles when
writing to locked chip registers.

READ: During a read operation SWLCK[0] has the
following meaning:
1 = Unlocked for current bus access.
0 = Locked

The Read feature of the SWLOCK register is used for
testing the locking function. Since the software lock only
remains unlocked for the next block cycle, this test must
be performed on two consecutive cycles using the ARM
lock instruction prefix. The contents of SWLCK[7:1] are
unknown during a read operation.

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

SWLCK