Intel 8XC196MC User Manual page 207

Table of Contents

Advertisement

8XC196MC, MD, MH USER'S MANUAL
Table 9-3. Operation in Center-aligned and Edge-aligned Modes
Step
Center-aligned Modes
1
Load WG_COUNTER with WG_RELOAD.
Leave outputs deasserted.
2
When counter is enabled, begin counting down.
When WG_COUNTER reaches 1, wait 1 state,
then begin counting up. Assert outputs when up
count begins.
3
When WG_COUNTER reaches the
WG_COMP x value during the up count, deassert
the corresponding phase's outputs and continue
counting up.
4
When WG_COUNTER reaches the
WG_RELOAD value, begin counting down.
5
When WG_COUNTER reaches the
WG_COMP x value during the down count,
assert the corresponding phase's outputs and
continue counting down.
6
When WG_COUNTER reaches 1, deassert
outputs, update WG_RELOAD, and go to step 1.
The main differences between the center-aligned modes and among the edge-aligned modes are
the events that control register updates. Table 9-4 lists the events that can cause register updates
and the registers that are updated in each mode.
Event
WG_RELOAD
WG_COUNTER
WG_COUNTER
= WG_RELOAD
WG_COMP x
WG_OUTPUT
WG_COUNTER = 1
WG_OUTPUT
EPA event
The WG_OUTPUT register is updated under these conditions if its synchronization bit is set;
otherwise, changes take effect immediately.
9-8
Table 9-4. Register Updates
Center-aligned Modes
Mode 0
Mode 1
Registers Updated
WG_RELOAD
WG_COUNTER
WG_COMP x
WG_OUTPUT
WG_COMP x
WG_OUTPUT
Get other manuals https://www.bkmanuals.com
Edge-aligned Modes
Load WG_COUNTER with 0001H.
Leave outputs deasserted.
When counter is enabled, begin counting up.
Assert outputs when up count begins.
When WG_COUNTER reaches the
WG_COMP x value, deassert the corresponding
phase's outputs and continue counting up.
When WG_COUNTER reaches the
WG_RELOAD value, update WG_RELOAD and
go to step 1.
Edge-aligned Modes
Mode 2
Registers Updated
WG_RELOAD
WG_RELOAD
WG_COUNTER
WG_COUNTER
WG_COMP x
WG_COMP x
WG_OUTPUT
WG_OUTPUT
WG_OUTPUT
WG_RELOAD
WG_COUNTER
WG_COMP x
WG_OUTPUT
Mode 4
Mode 3
(MH Only)
WG_RELOAD
WG_COUNTER
WG_COMP x
WG_OUTPUT
WG_OUTPUT

Advertisement

Table of Contents
loading

This manual is also suitable for:

8xc196md8xc196mh

Table of Contents