
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
190 of 464
NXP Semiconductors
UM10850
Chapter 13: LPC5410x SCTimer/PWM (SCT0)
13.6.21 SCT capture registers 0 to 12 (REGMODEn bit = 1)
These registers allow software to record the counter values upon occurrence of the events
selected by the corresponding Capture Control registers occurred.
13.6.22 SCT match reload registers 0 to 12 (REGMODEn bit = 0)
A Match register (L, H, or unified 32-bit) is loaded from its corresponding Reload register
at the start of each new counter cycle, that is
•
when BIDIR = 0 and the counter is cleared to zero upon reaching it limit condition.
•
when BIDIR = 1 and the counter counts down to 0, unless the appropriate
NORELOAD bit is set in the CFG register.
13.6.23 SCT capture control registers 0 to 12 (REGMODEn bit = 1)
If UNIFY = 1 in the CONFIG register, only the _L bits are used.
Table 229. SCT match registers 0 to 12 (MATCH[0:12], address 0x5000 4100 (MATCH0) to
0x5000 4130 (MATCH12)) bit description (REGMODEn bit = 0)
Bit
Symbol
Description
Reset
value
15:0
MATCHn_L
When UNIFY = 0, read or write the 16-bit value to be compared to
the L counter. When UNIFY = 1, read or write the lower 16 bits of
the 32-bit value to be compared to the unified counter.
0
31:16
MATCHn_H
When UNIFY = 0, read or write the 16-bit value to be compared to
the H counter. When UNIFY = 1, read or write the upper 16 bits of
the 32-bit value to be compared to the unified counter.
0
Table 230. SCT capture registers 0 to 12 (CAP[0:12], address 0x5000 4100 (CAP0) to 0x5000 4130 (CAP12)) bit
description (REGMODEn bit = 1)
Bit
Symbol
Description
Reset value
15:0
CAPn_L
When UNIFY = 0, read the 16-bit counter value at which this register was last captured.
When UNIFY = 1, read the lower 16 bits of the 32-bit value at which this register was last
captured.
0
31:16
CAPn_H
When UNIFY = 0, read the 16-bit counter value at which this register was last captured.
When UNIFY = 1, read the upper 16 bits of the 32-bit value at which this register was last
captured.
0
Table 231. SCT match reload registers 0 to 12 (MATCHREL[0:12], address 0x5000 4200 (MATCHREL0) to 0x5000
4230 (MATCHREL12)) bit description (REGMODEn bit = 0)
Bit
Symbol
Description
Reset value
15:0
RELOADn_L
When UNIFY = 0, specifies the 16-bit value to be loaded into the MATCHn_L register.
When UNIFY = 1, specifies the lower 16 bits of the 32-bit value to be loaded into the
MATCHn register.
0
31:16
RELOADn_H
When UNIFY = 0, specifies the 16-bit to be loaded into the MATCHn_H register.
When UNIFY = 1, specifies the upper 16 bits of the 32-bit value to be loaded into the
MATCHn register.
0