MC68HC711G5 MOTOROLA [Motorola, Inc], MC68HC711G5 Datasheet - Page 145

no-image

MC68HC711G5

Manufacturer Part Number
MC68HC711G5
Description
High-density Complementary Metal Oxide Semiconductor (HCMOS) Microcontroller
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
MC68HC11G5
11.5.3.8
This input unit selects the clock source for EVCNT2. If the input signal EVI2 (PH4) is used as a clock
source, this unit will select the rising edge or falling edge of the input signal. If the time base counter
is used as a clock source, this unit will select the active gate input level which inhibits counting while
this input signal is at the active level. Even if the time base counter has selected one of the eight clock
rates (E, E/2, E/4, E/8, E/16, E/32, E/64, or E/128), this input selector can select the E-clock
independently as its clock source.
11.5.3.9
This unit controls the output signal from the PWM unit. If the EVOEN bit in the EVCTL register is set
to one, the EVO unit is enabled. The state of the EVPOL bit in the EVCTL register then determines
the polarity of the event output. If EVO is not required for PWM, the EVOEN bit should be reset to
zero to disable the EVO unit and to allow pin PH6 to be used for general purpose I/O.
11.6.1 Counter Clock Register (EVCLK)
READ:
WRITE:
RESET:
EVMDB, EVMDA — Event Counter Mode bits
EVCKC, EVCKB, EVCKA — Event Counter Prescaler bits
11.6
EVENT COUNTER REGISTERS
EVMDB
RESET:
Any time.
Any time.
$00.
These two bits determine which event counter mode will be used.
These three bits control the time-base counter. They select the prescaler value used to
scale the E-clock before driving the event counters.
$1070
0
0
1
1
Input Unit 2 (EVI2)
Output Unit (EVO)
7
0
EVMDA
0
1
0
1
6
0
EVMDB EVMDA
MODE
5
0
0
1
2
3
EVENT COUNTER
4
0
(8-bit PWM with selectable phase shift)
(8-bit PWM and 8-bit pulse accumulator)
(8-bit PWM with period counter)
(8-bit PWM with 256 clock prescaler)
3
0
EVCKC EVCKB EVCKA
2
0
1
0
0
0
EVCLK
MOTOROLA
11-15

Related parts for MC68HC711G5