TC1796
Peripheral Units (Vol. 2 of 2)
General Purpose Timer Array (GPTA)
User’s Manual
24-88
V2.0, 2007-07
GPTA, V2.0
Table 24-7
Programming Values for PWM Signal Generation with 5 LTCs
Register
Value
Function
LTC00 Configuration Setup
GPTA0_LTCXR00
0000 0000
H
LTC00 data register value = 0
GPTA0_LTCCTR00 0000 0413
H
MOD = 11
B
: Reset Timer Mode selected
OSM = 0: LTC00 continuously enabled
ILM = 0, RED = 1, FED = 0:
Input LTC00IN operates in Edge Sensitive Mode
with rising edge; one clock bus signal is selected
via the LTC input multiplexer
SLO = 0: state of select line output SO is 0
CEN = 0: enable LTC00 for local events
OCM = 000
B
: hold LTC00OUT state
LTC01 Configuration Setup
GPTA0_LTCXR01
0000 03E7
H
Load compare value = 3E7
H
= 999
D
GPTA0_LTCCTR01 0000 5C11
H
MOD = 01
B
: Compare Mode with LTC00 selected
OSM = 0: LTC01 continuously enabled
SOH = 0, SOL = 1: compare enabled by low level
at SI
BYP = 0: bypass in LTC02 is disabled
EOA = 0: LTC02 enabled for local events
OCM = 011
B
: set LTC01OUT by a local event only
OIA = 1: output action defined by OCM must be
performed immediately
LTC02 Configuration Setup
GPTA0_LTCXR02
0000 00C7
H
Load compare value = C7
H
= 199
D
GPTA0_LTCCTR02 0000 3411
H
MOD = 01
B
: Compare Mode with LTC00 selected
OSM = 0: LTC02 continuously enabled
SOH = 0, SOL = 1: compare enabled by low level
at SI
BYP = 0: bypass in LTC02 is disabled
EOA = 0: LTC02 enabled for local events
OCM = 110
B
: reset LTC02OUT by a local event or
copy the previous cell action
OIA = 0: no immediate output action required