Intel 8XC196MC Benutzerhandbuch

Seite von 579
9-11
WAVEFORM GENERATOR
Figure 9-6.  Edge-aligned Modes — Counter Operation 
Figure 9-7.  Edge-aligned Modes — Output Operation 
8XC196MH only: The 8XC196MH device has an additional edge-aligned mode, mode 4. This
mode prevents the output “jitter” that can occur in mode 3 when an EPA event reloads
WG_COUNTER, which also causes a change in the duty cycle. In mode 4, an EPA event reloads
WG_OUTPUT, but WG_COMPx and WG_COUNTER are reloaded only when the counter
reaches the reload value. 
A2639-01
WG_COUNTER
Value
WG_RELOAD
Value
WG_RELOAD
Updated
Carrier
Period
Reset
Write to WG_RELOAD
1
0
Counter
Enabled
EPA Event
(Mode 3 Only)
WG_COUNTER
1
A2653-01
WG_COMP
x
WG_COUNTER
=WG_COMP
WG Interrupt
P6.0 / WG1#
P6.1 / WG1
Note:
Carrier period and duty cycle both
change since WG_COMP
x
 is not changed.
Mode 3,  OP0 = OP1 = 1, PH1.0 = PH1.1 = PH1.2 = 1
Carrier
Period
EPA Event