Event Encoder
6-8
Figure 6–5. Event Clear Register (ECR)
31
16
Reserved
R, +0
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
EC15
EC14
EC13
EC12
EC11
EC10
EC9
EC8
EC7
EC6
EC5
EC4
EC3
EC2
EC1
EC0
RW,+0
RW,+0
RW,+0
RW,+0
RW,+0
RW,+0
RW,+0
RW,+0
RW,+0
RW,+0
RW,+0
RW,+0
RW,+0
RW,+0
RW,+0
RW,+0
Figure 6–6. Event Set Register (ESR)
31
16
Reserved
R, +0
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
ES15
ES14
ES13
ES12
ES11
ES10
ES9
ES8
ES7
ES6
ES5
ES4
ES3
ES2
ES1
ES0
RW,+0
RW,+0
RW,+0
RW,+0
RW,+0
RW,+0
RW,+0
RW,+0
RW,+0
RW,+0
RW,+0
RW,+0
RW,+0
RW,+0
RW,+0
RW,+0
6.4
Event Encoder
Up to 16 events can be captured by the EDMA controller’s event register. Hence,
it is quite possible that events occur simultaneously on the EDMA event inputs.
For such cases, the order of processing is resolved by the event encoder. This
mechanism only sorts simultaneous events and has nothing to do with the actual
priority of the event. The actual priority of the event is determined by its EDMA
parameters stored in the parameter RAM of the EDMA controller. Parameter
RAM is discussed in the next section.
Event Processing and EDMA Control Register / Event Encoder