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

no-image

MC68HC711G5

Manufacturer Part Number
MC68HC711G5
Description
High-density Complementary Metal Oxide Semiconductor (HCMOS) Microcontroller
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
11.3.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 and resets output EVO to zero (when EVPOL = 0).
11.3.3.3
This compare register holds the duty value which determines when the output (EVO) is set to one
(when EVPOL = 0). The duty cycle can be expressed as a percentage of the period by the following
equation:
11.3.3.4
EVCNT2 counts the number of pulses coming from the INPUT2 selector. It is cleared by a successful
comparison between itself and ECMP2A.
11.3.3.5
This compare register holds the number of the pulses to be accumulated by EVCNT2 before
EVCNT2 is cleared to zero.
11.3.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.3.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.3.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.
MOTOROLA
11-8
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)
DUTY CYCLE = 100 x [1 - (ECMP1B)/(ECMP1A)] %
EVENT COUNTER
MC68HC11G5

Related parts for MC68HC711G5