UM10850
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2016. All rights reserved.
User manual
Rev. 2.4 — 13 September 2016
187 of 464
NXP Semiconductors
UM10850
Chapter 13: LPC5410x SCTimer/PWM (SCT0)
13.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.
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.
.
13.6.15 SCT DMA request 0 and 1 registers
The SCT includes two DMA request outputs. These registers enable the DMA requests to
be triggered when a particular event occurs or when counter Match registers are loaded
from its Reload registers. The DMA request registers are word-write only. Attempting to
write a half-word value to these registers result in a bus error.
Table 222. 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.
31:10
O…RES
Resolution controls for the remainder of outputs on this SCT.
0