
UM10800
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2016. All rights reserved.
User manual
Rev. 1.2 — 5 October 2016
277 of 487
NXP Semiconductors
UM10800
Chapter 16: LPC82x SCTimer/PWM
16.6.13 SCT bi-directional output control register
For bi-directional mode, this register specifies (for each output) the impact of the counting
direction on the meaning of set and clear operations on the output (see
and
). The purpose of this register is to facilitate the creation of
center-aligned output waveforms without the need to define additional events.
16.6.14 SCT conflict resolution register
The output conflict resolution register specifies what action should be taken if multiple
events (or even the same event) dictate that a given output should be both set and
cleared at the same time.
Table 234. SCT bidirectional output control register (OUTPUTDIRCTRL, address 0x5000 4054) bit description
Bit
Symbol
Value
Description
Reset
value
1:0
SETCLR0
Set/clear operation on output 0. Value 0x3 is reserved. Do not program this value.
0
0x0
Set and clear do not depend on the direction of any counter.
0x1
Set and clear are reversed when counter L or the unified counter is counting down.
0x2
Set and clear are reversed when counter H is counting down. Do not use if UNIFY =
1.
3:2
SETCLR1
Set/clear operation on output 1. Value 0x3 is reserved. Do not program this value.
0
0x0
Set and clear do not depend on the direction of any counter.
0x1
Set and clear are reversed when counter L or the unified counter is counting down.
0x2
Set and clear are reversed when counter H is counting down. Do not use if UNIFY =
1.
5:4
SETCLR2
Set/clear operation on output 2. Value 0x3 is reserved. Do not program this value.
0
0x0
Set and clear do not depend on the direction of any counter.
0x1
Set and clear are reversed when counter L or the unified counter is counting down.
0x2
Set and clear are reversed when counter H is counting down. Do not use if UNIFY =
1.
7:6
SETCLR3
Set/clear operation on output 3. Value 0x3 is reserved. Do not program this value.
0
0x0
Set and clear do not depend on the direction of any counter.
0x1
Set and clear are reversed when counter L or the unified counter is counting down.
0x2
Set and clear are reversed when counter H is counting down. Do not use if UNIFY =
1.
9:8
SETCLR4
Set/clear operation on output 4. Value 0x3 is reserved. Do not program this value.
0
0x0
Set and clear do not depend on the direction of any counter.
0x1
Set and clear are reversed when counter L or the unified counter is counting down.
0x2
Set and clear are reversed when counter H is counting down. Do not use if UNIFY =
1.
11:10
SETCLR5
Set/clear operation on output 5. Value 0x3 is reserved. Do not program this value.
0
0x0
Set and clear do not depend on the direction of any counter.
0x1
Set and clear are reversed when counter L or the unified counter is counting down.
0x2
Set and clear are reversed when counter H is counting down. Do not use if UNIFY =
1.
31:12
-
Reserved
-