![Freescale Semiconductor SC140 DSP Core Reference Manual Download Page 171](http://html1.mh-extra.com/html/freescale-semiconductor/sc140-dsp-core/sc140-dsp-core_reference-manual_2330564171.webp)
Event Selector (ES) Registers
SC140 DSP Core Reference Manual
4-61
4.9.2.2 EDCD Reference Value Register (EDCD_REF)
EDCD_REF is a 32-bit register used to hold a reference value to be compared by the EDCD comparator.
EDCD_REF is used by the EDCD comparator. If a byte (8 bits) or a word (16 bits) is to be written into the
EDCD_REF, it should be LSB-aligned.
4.9.2.3 EDCD Mask Register (EDCD_MASK)
EDCD_MASK is a 32-bit register that allows the masking of any of the bits in the data bus value that is
compared. If bit
i
in the EDCD_MASK is zero, then it does not participates in the comparison. The data on
the bus is ANDed with the EDCD_MASK value, and is then compared with the EDCD_REF register
according to the access width. Hence the masked bits must also be zero in the EDCD_REF.
In case that the reference value is 16 or 8 bits long, the mask value must be duplicated 2 or 4 times
(respectively) to fill the mask register.
Since data buses are 64 bits, the 32-bit EDCD_MASK register is masked on both 32 LSB and 32 MSB bits
of the sampled bus value.
EDCD_MASK is initialized to all ones at reset.
4.10 Event Selector (ES) Registers
ES selects the source for various operations used by the EOnCE. It contains the following registers:
•
Event selector control register (ESEL_CTRL)
•
Event selector mask debug state register (ESEL_DM)
•
Event selector mask debug exception register (ESEL_DI)
•
Event selector mask enable trace register (ESEL_ETB)
•
Event selector mask disable trace register (ESEL_DTB)
The following sections describe these registers.
4.10.1 Event Selector Control Register (ESEL_CTRL)
The 8-bit control register ESEL_CTRL controls the operation of the ES, which is programmed in the
following order:
1.
Reset the event selector mask registers.
2.
Program the ESEL_CTRL register.
3.
Program the appropriate event selector mask registers.
Summary of Contents for SC140 DSP Core
Page 12: ...xii SC140 DSP Core Reference Manual ...
Page 18: ...xviii SC140 DSP Core Reference Manual ...
Page 32: ...1 6 SC140 DSP Core Reference Manual Core Architecture Features ...
Page 180: ...4 70 SC140 DSP Core Reference Manual Trace Unit Registers ...
Page 250: ...6 70 SC140 DSP Core Reference Manual Programming Rules ...
Page 314: ...7 64 SC140 DSP Core Reference Manual NOP Definition ...
Page 463: ...DI SC140 DSP Core Reference Manual A 149 15 8 7 0 DI 1 1 4 1 0 0 1 1 1 1 1 0 1 1 1 1 1 0 1 ...
Page 478: ...A 164 SC140 DSP Core Reference Manual EI ...
Page 618: ...A 304 SC140 DSP Core Reference Manual MOVES 4F s15 sssssssssssssss Signed 15 bit offset ...
Page 638: ...A 324 SC140 DSP Core Reference Manual MPYR ...
Page 746: ...A 432 SC140 DSP Core Reference Manual ZXTA x ...
Page 758: ...I 10 Index ...
Page 759: ...SC140 DSP Core Reference Manual i ...
Page 760: ......