DRAFT
DRAFT DRAFT DR
DRAFT DRAFT DRAFT
D
RAF
DRAFT DRAFT DRA
FT D
RAFT DR
AFT D
DRA
FT DRAFT DRAFT
D
RAFT
DRAFT
D
RAFT
DRA
UM10601
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Preliminary user manual
Rev. 1.0 — 7 November 2012
125 of 313
NXP Semiconductors
UM10601
Chapter 10: LPC800 State Configurable Timer (SCT)
10.6.13 SCT conflict resolution register
The registers OUTn_SETn (
both setting and clearing to be indicated for an output in the same clock cycle, even for the
same event. This SCT conflict resolution register resolves this conflict.
To enable an event to toggle an output, set the OnRES value to 0x3 in this register, and
set the event bits in both the Set and Clear registers.
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 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 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:8 -
Reserved
-
Table 119. SCT bidirectional output control register (OUTPUTDIRCTRL, address 0x5000 4054) bit description
Bit
Symbol
Value
Description
Reset
value
Table 120. SCT conflict resolution register (RES, address 0x5000 4058) bit description
Bit
Symbol
Value
Description
Reset
value
1:0
O0RES
Effect of simultaneous set and clear on output 0.
0
0x0
No change.
0x1
Set output (or clear based on the SETCLR0 field).
0x2
Clear output (or set based on the SETCLR0 field).
0x3
Toggle output.
3:2
O1RES
Effect of simultaneous set and clear on output 1.
0
0x0
No change.
0x1
Set output (or clear based on the SETCLR1 field).
0x2
Clear output (or set based on the SETCLR1 field).
0x3
Toggle output.
5:4
O2RES
Effect of simultaneous set and clear on output 2.
0
0x0
No change.
0x1
Set output (or clear based on the SETCLR2 field).
0x2
Clear output n (or set based on the SETCLR2 field).
0x3
Toggle output.
7:6
O3RES
Effect of simultaneous set and clear on output 3.
0
0x0
No change.
0x1
Set output (or clear based on the SETCLR3 field).
0x2
Clear output (or set based on the SETCLR3 field).
0x3
Toggle output.
31:8
-
-
Reserved
-