
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
171 of 464
NXP Semiconductors
UM10850
Chapter 13: LPC5410x SCTimer/PWM (SCT0)
Remark:
In this chapter, the term bus error indicates an SCT response that makes the
processor take an exception.
13.6 Register description
The register addresses of the State Configurable Timer are shown in
of the SCT registers, the register function depends on the setting of certain other register
bits:
1. The UNIFY bit in the CONFIG register determines whether the SCT is used as one
32-bit register (for operation as one 32-bit counter/timer) or as two 16-bit
counter/timers named L and H. The setting of the UNIFY bit is reflected in the register
map:
–
UNIFY = 1: Only one register is used (for operation as one 32-bit counter/timer).
–
UNIFY = 0: Access the L and H registers by a 32-bit read or write operation or can
be read or written to individually (for operation as two 16-bit counter/timers).
Typically, the UNIFY bit is configured by writing to the CONFIG register before any
other registers are accessed.
2. The REGMODEn bits in the REGMODE register determine whether each set of
Match/Capture registers uses the match or capture functionality:
–
REGMODEn = 0: Registers operate as match and reload registers.
–
REGMODEn = 1: Registers operate as capture and capture control registers.
Fig 21. SCTimer/PWM counter and select logic
6&7FORFN
V\VWHPFORFN
8QLILHG
FRXQWHU
/FRXQWHU
+FRXQWHU
LQSXWV
FORFNORJLF
LQSXWHGJHV
&/.02'( &.6(/
,16<1&
SUH&ORFN
HYHQWV
/,0,7B+
/,0,7B/
6723B+67$57B++$/7B+
6723B/67$57B/+$/7B/
&75/B+
&75/B/
PX[
PX[
PX[
VHOHFW
VHOHFW
SUHVFDOHU
+
SUHVFDOHU
/
FRXQWHU
+
FRXQWHU
/