Event Detection Unit (EDU) Channels and Registers

4.9.2 Data Event Detection Channel (EDCD)

In order to set a watchpoint on a given data value, the user should:

Write the watched value into the EDCD_REF.

Enter a write mask into the EDCD_MASK.

Specify the type of access (read or write) in the EDCD_CTRL.

Specify the data type (byte/word/long) in the EDCD_CTRL.

Enable the event detection unit in EDCD_CTRL, as the last action. The following sections describe the functionality of these registers.

4.9.2.1 EDCD Control Register (EDCD_CTRL)

Figure 4-22 displays the configuration of EDCD_CTRL.

 

BIT 15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

BIT 0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

AWS

 

 

EDCDEN

 

CCS

 

ATS

TYPE

rw

rw

rw

rw

rw

rw

rw

rw

rw

rw

rw

rw

rw

rw

rw

rw

RESET

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

The shaded bits are reserved and should be initialized with zeros for future software compatibility.

Figure 4-22. EDCD Control Register (EDCD_CTRL)

Table 4-20 describes the EDCD_CTRL fields.

Table 4-20. EDCD_CTRL Description

Name

Description

Settings

RReserved

Bits 14-15

RReserved

Bits 13–10

4-58

SC140 DSP Core Reference Manual

Page 168
Image 168
Freescale Semiconductor SC140 Data Event Detection Channel Edcd, Edcd Control Register Edcdctrl, Edcdctrl Description