
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
278 of 487
NXP Semiconductors
UM10800
Chapter 16: LPC82x SCTimer/PWM
To enable an event to toggle an output each time the event occurs, set the bits for that
event in both the OUTn_SET and OUTn_CLR registers and set the On_RES value to 0x3
in this register.
.
Table 235. 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 in the
OUTPUTDIRCTRL register).
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 in the
OUTPUTDIRCTRL register).
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 in the
OUTPUTDIRCTRL register).
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 in the
OUTPUTDIRCTRL register).
0x2
Clear output (or set based on the SETCLR3 field).
0x3
Toggle output.
9:8
O4RES
Effect of simultaneous set and clear on output 4.
0
0x0
No change.
0x1
Set output (or clear based on the SETCLR4 field in the
OUTPUTDIRCTRL register).
0x2
Clear output (or set based on the SETCLR4 field).
0x3
Toggle output.
11:10 O5RES
Effect of simultaneous set and clear on output 5.
0
0x0
No change.
0x1
Set output (or clear based on the SETCLR5 field in the
OUTPUTDIRCTRL register).
0x2
Clear output (or set based on the SETCLR5 field).
0x3
Toggle output.
31:12 -
-
Reserved
-