![NXP Semiconductors LPC43Sxx Скачать руководство пользователя страница 1001](http://html1.mh-extra.com/html/nxp-semiconductors/lpc43sxx/lpc43sxx_user-manual_17218271001.webp)
UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2015. All rights reserved.
User manual
Rev. 2.1 — 10 December 2015
1001 of 1441
NXP Semiconductors
UM10503
Chapter 31: LPC43xx/LPC43Sxx State Configurable Timer (SCT) with
31.3.14 SCT conflict resolution register
The registers OUTPUTSETn (
) and OUTPUTCLn (
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.
25:
24
SETCLR12
Set/clear operation on output 12. Value 0x3 is reserved. Do not program this value.
0
0x0
Independent. Set and clear do not depend on any counter.
0x1
L counter. Set and clear are reversed when counter L or the unified counter is counting
down.
0x2
H counter. Set and clear are reversed when counter H is counting down. Do not use if
UNIFY = 1.
27:
26
SETCLR13
Set/clear operation on output 13. Value 0x3 is reserved. Do not program this value.
0
0x0
Independent. Set and clear do not depend on any counter.
0x1
L counter. Set and clear are reversed when counter L or the unified counter is counting
down.
0x2
H counter. Set and clear are reversed when counter H is counting down. Do not use if
UNIFY = 1.
29:
28
SETCLR14
Set/clear operation on output 14. Value 0x3 is reserved. Do not program this value.
0
0x0
Independent. Set and clear do not depend on any counter.
0x1
L counter. Set and clear are reversed when counter L or the unified counter is counting
down.
0x2
H counter. Set and clear are reversed when counter H is counting down. Do not use if
UNIFY = 1.
31:
30
SETCLR15
Set/clear operation on output 15. Value 0x3 is reserved. Do not program this value.
0
0x0
Independent. Set and clear do not depend on any counter.
0x1
L counter. Set and clear are reversed when counter L or the unified counter is counting
down.
0x2
H counter. Set and clear are reversed when counter H is counting down. Do not use if
UNIFY = 1.
Table 759. SCT bidirectional output control register (OUTPUTDIRCTRL, address 0x4000 0054) bit description
Bit
Symbol
Value Description
Reset
value
Table 760. SCT conflict resolution register (RES, address 0x4000 0058) 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.