TC1784
Direct Memory Access Controller (DMA)
User´s Manual
11-41
V1.1, 2011-05
DMA, V3.03
11.2.13.2 Pattern Detection for 8-bit Data Width
When 8-bit channel data width is selected (CHCRmn.CHDW = 00
B
), the pattern
detection logic is configured as shown in
. Three compare match
configurations are possible.
When 8-bit channel data width is selected, the pattern detection logic allows the byte of
one read move to be compared with two different patterns. Further, after each read move
the pattern match result “RD00 with PAT01, masked by PAT03” is stored in bit
CHCRmn.LXO. This operating mode allows, for example, two-byte sequences to be
detected in an 8-bit data stream coming from a serial peripheral unit with 8-bit data width
(e.g.: recognition of carriage-return, line-feed characters). A mask operation of each
compared bit is possible.
Figure 11-23 Pattern Detection for 8-bit Data Width (CHCR
mn
.CHDW = 00
B
)
(m = 0-
Table 11-4
Pattern Detection for 8-bit Data Width
CHCR
mn
.
PATSEL
Pattern Detection Operating Modes
00
B
Pattern detection disabled
01
B
Pattern compare of RD00 to PAT00, masked by PAT02
10
B
Pattern compare of RD00 to PAT01, masked by PAT03
11
B
Pattern compare of RD00 to PAT00, masked by PAT02 of the actual
read move
and
Pattern compare of RD00 to PAT01, masked by PAT03 of the previous
read move of DMA channel mn
MCA06171
RD03
RD02
RD01
RD00
COMP
10
2
&
PATSEL
CHCRmn
Pattern
Detected
11
LXO
CHSRmn
ME0R
ME0PR
1)
1) Compare result is clocked into LXO after each read move
Mask
Mask
PAT03
PAT02
PAT00
PAT01
COMP
01
00
0
31
7
0
8
0
31
15
16
7
8
23
24
Содержание TC1784
Страница 1: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Страница 3: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Страница 950: ...TC1784 Direct Memory Access Controller DMA User s Manual 11 132 V1 1 2011 05 DMA V3 03 ...
Страница 1949: ...TC1784 General Purpose Timer Array GPTA v5 User s Manual 21 297 V1 1 2011 05 GPTA v5 V1 14 ...
Страница 2350: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG Doc_Number ...