![](http://datasheet.mmic.net.cn/120000/MC68HC711G5CFN_datasheet_3559545/MC68HC711G5CFN_9.png)
vii
TABLE OF CONTENTS (Continued)
Paragraph
Page
Number
Title
Number
Section 11
Event Counter
11.1
Introduction ..................................................................................................
11-1
11.2
Mode 0: 8-bit PWM with Selectable Phase Shift ..........................................
11-3
11.2.1
Operation of PWM and PA Unit in Mode 0 .............................................
11-3
11.2.2
Register Functions in Mode 0 .................................................................
11-4
11.2.2.1
Counter 1 (EVCNT1) ........................................................................
11-4
11.2.2.2
Compare Register 1A (ECMP1A); (Y) ..............................................
11-4
11.2.2.3
Compare Register 1B (ECMP1B); (X’) .............................................
11-4
11.2.2.4
Counter 2 (EVCNT2) ........................................................................
11-5
11.2.2.5
Compare Register 2A (ECMP2A); (X) ..............................................
11-5
11.2.2.6
Compare Register 2B (ECMP2B) .....................................................
11-5
11.2.2.7
Input Unit 1 (EVI1) ............................................................................
11-5
11.2.2.8
Input Unit 2 (EVI2) ............................................................................
11-5
11.2.2.9
Output Unit (EVO) .............................................................................
11-5
11.3
Mode 1: 8-bit PWM and Pulse Accumulator ................................................
11-6
11.3.1
Operation of Pulse Width Modulation Unit in Mode 1 .............................
11-7
11.3.2
Operation of Pulse Accumulator Unit in Mode 1 ....................................
11-7
11.3.3
Register Functions in Mode 1 .................................................................
11-7
11.3.3.1
Counter 1 (EVCNT1) ........................................................................
11-7
11.3.3.2
Compare Register 1A (ECMP1A) .....................................................
11-8
11.3.3.3
Compare Register 1B (ECMP1B) .....................................................
11-8
11.3.3.4
Counter 2 (EVCNT2) ........................................................................
11-8
11.3.3.5
Compare Register 2A (ECMP2A) .....................................................
11-8
11.3.3.6
Compare Register 2B (ECMP2B) .....................................................
11-8
11.3.3.7
Input Unit 1 (EVI1) ............................................................................
11-8
11.3.3.8
Input Unit 2 (EVI2) ............................................................................
11-8
11.3.3.9
Output Unit (EVO) .............................................................................
11-9
11.4
Mode 2: 8-bit PWM with Period Counter ......................................................
11-9
11.4.1
Operation of Pulse Width Modulation Unit in Mode 2 .............................
11-10
11.4.2
Operation of Pulse Accumulator Unit in Mode 2 ....................................
11-10
11.4.3
Register Functions in Mode 2 .................................................................
11-10
11.4.3.1
Counter 1 (EVCNT1) ........................................................................
11-10
11.4.3.2
Compare Register 1A (ECMP1A) .....................................................
11-11
11.4.3.3
Compare Register 1B (ECMP1B) .....................................................
11-11
11.4.3.4
Counter 2 (EVCNT2) ........................................................................
11-11
11.4.3.5
Compare Register 2A (ECMP2A) .....................................................
11-11
11.4.3.6
Compare Register 2B (ECMP2B) .....................................................
11-11
11.4.3.7
Input Unit 1 (EVI1) ............................................................................
11-11
11.4.3.8
Input Unit 2 (EVI2) ............................................................................
11-11
11.4.3.9
Output Unit (EVO) .............................................................................
11-11
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
..
.