Freescale Semiconductor SC140 Eselctrl fields are described in Table, Eselctrl Description

Models: SC140

1 760
Download 760 pages 48.94 Kb
Page 172
Image 172

Event Selector (ES) Registers

Figure 4-23 displays the bit configuration of ESEL_CTRL.

 

BIT 7

6

5

4

3

2

1

BIT 0

 

 

 

 

 

 

 

 

 

 

 

 

 

SELDTB

SELETB

 

SEDLDI

SELDM

TYPE

rw

rw

rw

rw

rw

rw

rw

rw

RESET

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-23. Event Selector Control Register (ESEL_CTRL)

The ESEL_CTRL fields are described in Table 4-21.

Table 4-21. ESEL_CTRL Description

Name

Description

Settings

 

 

 

 

 

 

 

 

R

Reserved

 

 

Bits 7–5

 

 

 

 

 

 

 

SELDTB

Selection Bit for Trace Disable

0

= Trace is disabled upon detection of the event by any one

Bit 4

Determines how the enabled sources

 

of the sources (ORed) selected on the ESEL_DTB

 

disable trace.

 

register.

 

 

1

= Trace is disabled upon detection of the event by all the

 

 

 

sources (ANDed) selected on the ESEL_DTB register.

 

 

 

 

SELETB

Selection Bit for Trace Enable

0

= Trace is enabled upon detection of the event by any one

Bit 3

Determines how the enabled sources

 

of the sources (ORed) selected on the ESEL_ETB

 

enable trace.

 

register.

 

 

1

= Trace is enabled upon detection of the event by all the

 

 

 

sources (ANDed) selected on the ESEL_ETB register.

 

 

 

 

R

Reserved

 

 

Bit 2

 

 

 

 

 

 

 

SELDI

Selection Bit for Debug Exception

0

= A debug exception is reached upon detection of the

Bit 1

Determines how the enabled sources

 

event by any one of the sources (ORed) selected on the

 

cause a debug exception.

 

ESEL_DI register.

 

 

1

= A debug exception is reached upon detection of the

 

 

 

event by all the sources (ANDed) selected on the

 

 

 

ESEL_DI register.

 

 

 

 

SELDM

Selection Bit for Debug state

0

= Core enters debug state upon detection of the event by

Bit 0

Determines how the enabled sources

 

any one of the sources (ORed) selected on the

 

cause the core to enter into debug state.

 

ESEL_DM register.

 

 

1

= Core enters debug state upon detection of the event by

 

 

 

all the sources (ANDed) selected on the ESEL_DM

 

 

 

register.

 

 

 

 

Each of the following event selector registers can enable the system to configure what debug events (EDCA event, EE event etc.) will cause the outcome controlled by that register (entry into debug state, debug exception etc.).

4-62

SC140 DSP Core Reference Manual

Page 172
Image 172
Freescale Semiconductor SC140 specifications Eselctrl fields are described in Table, Eselctrl Description