English
Language : 

MC68HC11G5 Datasheet, PDF (146/195 Pages) Motorola, Inc – High-density Complementary Metal Oxide Semiconductor (HCMOS) Microcontroller
Freescale Semiconductor, Inc.
EVCKC
0
0
0
0
1
1
1
1
EVCKB
0
0
1
1
0
0
1
1
EVCKA
0
1
0
1
0
1
0
1
Prescaled Clock
E
E/2
E/4
E/8
E/16
E/32
E/64
E/128
11.6.2 Counter Control Register (EVCTL)
7
6
5
4
3
2
1
0
$1071 EVOEN EVPOL EVI2C EVI2B EVI2A EVI1C EVI1B EVI1A
RESET:
0
0
0
0
0
0
0
0
EVCTL
READ: Any time.
WRITE: Any time.
RESET: $00.
EVOEN — Event Output Enable (Port H, bit 6)
1 – PH6 is used as Event output.
0 – PH6 is used as a general purpose I/O.
EVPOL — Event Output Polarity
1 – Event Output (EVO) will be set (to one) when ECMP1A matches, and cleared (to
zero) when ECMP1B matches.
0 – Event Output (EVO) will be set (to one) when ECMP1B matches, and cleared (to
zero) when ECMP1A matches.
EVI2C, EVI2B, EVI2A — Event Input Select 2 (EVI2)
These three bits determine the function of event Input unit 2 as shown in the following
tables.
The following table applies to modes 1 and 3 only:
EVI2C EVI2B EVI2A
PH4
Clock Source
Count Mode
0
0
0
I/O
Count stop
0
0
1
I/O
Scaled E
Count always
0
1
0
EVI2
Scaled E
Inhibit counting on EVI2 = 0
0
1
1
EVI2
Scaled E
Inhibit counting on EVI2 = 1
1
0
0
EVI2
External
Count on falling edge of EVI2
1
0
1
EVI2
External
Count on rising edge of EVI2
1
1
0
EVI2
E-Clock
Inhibit counting on EVI2 = 0
1
1
1
EVI2
E-Clock
Inhibit counting on EVI2 = 1
11-16
EVENT COUNTER
For More Information On This Product,
Go to: www.freescale.com