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

no-image

MC68HC711G5

Manufacturer Part Number
MC68HC711G5
Description
High-density Complementary Metal Oxide Semiconductor (HCMOS) Microcontroller
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
MC68HC11G5
11.4.3.2
This compare register holds the value of the PWM period which determines when interrupt 1
(EVENT1) occurs. On a successful comparison with EVCNT1, it generates EVENT1, clears
EVCNT1, resets output EVO to zero (when EVPOL = 0) and clocks EVCNT2 in the PA unit.
11.4.3.3
This compare register holds the PWM duty value which determines when the output (EVO) is set
to one (when EVPOL = 0).
11.4.3.4
EVCNT2 counts the number of pulses coming from the PWM unit. It is cleared when a successful
comparison occurs between itself and ECMP2A.
11.4.3.5
This compare register holds the number of the pulses to be accumulated by EVCNT2 before
EVCNT2 is cleared to zero.
11.4.3.6
This compare register holds the number of the pulses to be accumulated by EVCNT2 before an
interrupt signal EVENT2 is generated. If enabled, EVENT2 will interrupt the CPU.
11.4.3.7
This input unit selects the clock source for EVCNT1. If the input signal EVI1 (PH5) is used as a clock
source, this unit will select the rising edge, falling edge or both edges of the input signal. If the time
base counter is used as a clock source, this unit will select the active gated input level which inhibits
counting while this input signal is at the active level.
11.4.3.8
This unit is not used and the EVI2 pin (PH4) can be used as a general purpose I/O pin.
11.4.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.
Compare Register 1A (ECMP1A)
Compare Register 1B (ECMP1B)
Counter 2 (EVCNT2)
Compare Register 2A (ECMP2A)
Compare Register 2B (ECMP2B)
Input Unit 1 (EVI1)
Input Unit 2 (EVI2)
Output Unit (EVO)
DUTY CYCLE = 100 x [1 - (ECMP1B)/(ECMP1A)] %
EVENT COUNTER
MOTOROLA
11-11

Related parts for MC68HC711G5