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
117 of 313
NXP Semiconductors
UM10601
Chapter 10: LPC800 State Configurable Timer (SCT)
10.6.1 SCT configuration register
This register configures the overall operation of the SCT. Write to this register before any
other registers.
OUT1_CLR
R/W
0x50C
SCT output 1 clear register
0x0000 0000
OUT2_SET
R/W
0x510
SCT output 2 set register
0x0000 0000
OUT2_CLR
R/W
0x514
SCT output 2 clear register
0x0000 0000
OUT3_SET
R/W
0x518
SCT output 3 set register
0x0000 0000
OUT3_CLR
R/W
0x51C
SCT output 3 clear register
0x0000 0000
Table 107. Register overview: State Configurable Timer (base address 0x5000 4000)
…continued
Name
Access Address
offset
Description
Reset value
Reference
Table 108. SCT configuration register (CONFIG, address 0x5000 4000) bit description
Bit
Symbol
Value
Description
Reset
value
0
UNIFY
SCT operation
0
0
The SCT operates as two 16-bit counters named L and H.
1
The SCT operates as a unified 32-bit counter.
2:1
CLKMODE
SCT clock mode
0
0x0
The bus clock clocks the SCT and prescalers.
0x1
The SCT clock is the bus clock, but the prescalers are enabled to count only
when sampling of the input selected by the CKSEL field finds the selected
edge. The minimum pulse width on the clock input is 1 bus clock period. This
mode is the high-performance sampled-clock mode.
0x2
The input selected by CKSEL clocks the SCT and prescalers. The input is
synchronized to the bus clock and possibly inverted. The minimum pulse width
on the clock input is 1 bus clock period. This mode is the low-power
sampled-clock mode.
0x3
Reserved.
6:3
CKSEL
SCT clock select. All other values are reserved.
0
0x0
Rising edges on input 0.
0x1
Falling edges on input 0.
0x2
Rising edges on input 1.
0x3
Falling edges on input 1.
0x4
Rising edges on input 2.
0x5
Falling edges on input 2.
0x6
Rising edges on input 3.
0x7
Falling edges on input 3.
7
NORELAOD_L
-
A 1 in this bit prevents the lower match registers from being reloaded from their
respective reload registers. Software can write to set or clear this bit at any
time. This bit applies to both the higher and lower registers when the UNIFY bit
is set.
0
8
NORELOAD_H -
A 1 in this bit prevents the higher match registers from being reloaded from their
respective reload registers. Software can write to set or clear this bit at any
time. This bit is not used when the UNIFY bit is set.
0