Intel 8XC196MC User Manual page 217

Table of Contents

Advertisement

8XC196MC, MD, MH USER'S MANUAL
WG_CONTROL
The waveform generator control (WG_CONTROL) register controls the operating mode, dead time,
and count direction, and enables and disables the counter.
15
M2
7
DT7
DT6
Bit
Bit
Number
Mnemonic
15
14:12
M2:0
11
CS
10
EC
9:0
DT9:0
Figure 9-12. Waveform Generator Control (WG_CONTROL) Register
9-18
M1
M0
DT5
DT4
Reserved; for compatibility with future devices, write zero to this bit.
Operating Mode
This field controls the waveform generator's operating mode.
M2
M1
M0
Mode
0
0
0
0 center-aligned; update registers once
0
0
1
1 center-aligned; update registers twice
0
1
0
2 edge-aligned; update registers once
0
1
1
3 edge-aligned; update registers twice
1
1
1
4 (8XC196MH only) edge-aligned; update
Counter Status
This read-only bit indicates whether the counter is counting up or
counting down.
0 = down counting
1 = up counting
Enable Counter
This bit starts and stops the counter.
0 = disable (stop) counter
1 = enable (start) counter
Dead-time
This field specifies the dead-time for all three phases. Use the following
formula to calculate the appropriate DT_VALUE.
×
T
DEAD
------------------------------------------
DT_VALUE
=
2
where:
T
= dead-time, in µs
DEAD
F
= input frequency on XTAL1 pin, in MHz
XTAL1
Get other manuals https://www.bkmanuals.com
Reset State (MC, MD):
Reset State (MH):
CS
EC
DT3
DT2
Function
WG_COMP x and WG_COUNTER only when
WG_COUNTER = WG_RELOAD
F
XT AL1
Address:
1FCCH
00C0H
8000H
8
DT9
DT8
0
DT1
DT0

Advertisement

Table of Contents
loading

This manual is also suitable for:

8xc196md8xc196mh

Table of Contents