Specifications
Compare Units
6-37
Event Manager (EV)
6.4 Compare Units
There are three (full) compare units (compare units 1, 2, and 3) in the EVA
module and three (full) compare units (compare units 4, 5, and 6) in the EVB
module. Each compare unit has two associated PWM outputs. The time base
for the compare units is provided by GP timer 1 (for EVA) and by GP timer 2
(for EVB).
The compare units in each EV module include:
- Three 16-bit compare registers (CMPR1, CMPR2, and CMPR3 for EVA;
and CMPR4, CMPR5, and CMPR6 for EVB), all with an associated shad-
ow register, (RW)
- One 16-bit compare control register (COMCONA for EVA, and COM-
CONB for EVB), (RW)
- One 16-bit action control register (ACTRA for EVA, and ACTRB for EVB),
with associated shadow register, (RW)
- Six PWM (3-state) output (compare output) pins (PWMy, y = 1, 2, 3, 4,
5, 6 for EVA and PWMz, z = 7, 8, 9, 10, 11, 12 for EVB)
- Control and interrupt logic
The functional block diagram of a compare unit is shown in Figure 6–12.
Figure 6–12. Compare Unit Block Diagram
(For EVA: x = 1, 2, 3; y = 1, 3, 5; z = 1.
For EVB: x = 4, 5, 6; y = 7, 9, 11; z = 2)
ACTR
full compare
action control register
(shadowed)
TzCNT
GPTz
counter
Compare
logic
CMPRx
full compare
register
(shadowed)
PWM
circuits
Output
logic
PWMy,y+1










