TC1796
Peripheral Units (Vol. 2 of 2)
General Purpose Timer Array (GPTA)
User’s Manual 24-89 V2.0, 2007-07
GPTA, V2.0
LTC03 Configuration Setup
GPTA0_LTCXR03 0000 07CF
H
Load compare value = 7CF
H
= 1999
D
GPTA0_LTCCTR03 0000 7C21
H
MOD = 01
B
: Compare Mode with LTC00 selected
OSM = 0: LTC03 continuously enabled
SOH = 1, SOL = 0: compare enabled by high level
at SI
BYP = 0: bypass in LTC03 is disabled
EOA = 0: LTC03 enabled for local events
OCM = 111
B
: set LTC03OUT by a local event or
copy the previous cell action
OIA = 1: output action defined by OCM must be
performed immediately
LTC04 Configuration Setup
GPTA0_LTCXR04 0000 05DB
H
Load compare value = 5DB
H
= 1499
D
GPTA0_LTCCTR04 0000 3421
H
MOD = 01
B
: Compare Mode with LTC00 selected
OSM = 0: LTC04 continuously enabled
SOH = 1, SOL = 0: compare enabled by high level
at SI
BYP = 0: bypass in LTC04 is disabled
EOA = 0: LTC04 enabled for local events
OCM = 110
B
: reset LTC04OUT by a local event or
copy the previous cell action
OIA = 0: no immediate output action required
Table 24-7 Programming Values for PWM Signal Generation with 5 LTCs (cont’d)
Register Value Function