UM11029
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2017. All rights reserved.
User manual
Rev. 1.0 — 16 June 2017
390 of 515
NXP Semiconductors
UM11029
Chapter 21: LPC84x SCTimer/PWM
This register specifies which events stop the counter. Each bit of the register is associated
with a different event (bit 0 with event 0, etc.). Setting a bit will cause its associated event
to serve as a STOP event. To define the actual event that causes the counter to stop (a
match, an I/O pin toggle, etc.), see the EVn_CTRL register.
Remark:
Software can stop and restart the counter by writing to the CTRL register.
If UNIFY = 1 in the CONFIG register, only the _L bits are used.
If UNIFY = 0 in the CONFIG register, this register can be written to as two registers
STOPT_L and STOP_H. Both the L and H registers can be read or written individually or
in a single 32-bit read or write operation.
21.6.7 SCTimer/PWM start event select register
The stopped counter can be re-started by an event. When any of the events selected in
this register occur, counting is restarted from the current counter value.
Each bit of the register is associated with a different event (bit 0 with event 0, etc.). Setting
a bit will cause its associated event to serve as a START event. When any START event
occurs, hardware will clear the STOP bit in the Control Register CTRL. Note that a START
event has no effect on the HALT bit. Only software can remove a HALT condition. To
define the actual event that starts the counter (an I/O pin toggle or an event generated by
the other running counter in dual-counter mode), see the EVn_CTRL register.
If UNIFY = 1 in the CONFIG register, only the _L bits are used.
If UNIFY = 0 in the CONFIG register, this register can be written to as two registers
START_L and START_H. Both the L and H registers can be read or written individually or
in a single 32-bit read or write operation.
Table 390. SCTimer/PWM stop event select register (STOP, offset 0x010) bit description
Bit
Symbol
Description
Reset
value
7:0
STOPMSK_L
If bit n is one, event n sets the STOP_L bit in the CTRL register
(event 0 = bit 0, event 1 = bit 1, event 7 = bit 7).
0
15:8
-
Reserved.
-
23:16 STOPMSK_H
If bit n is one, event n sets the STOP_H bit in the CTRL register
(event 0 = bit 16, event 1 = bit 17, event 7= bit 23).
0
31:24 -
Reserved.
-
Table 391. SCTimer/PWM start event select register (START, offset 0x014) bit description
Bit
Symbol
Description
Reset
value
7:0
STARTMSK_L
If bit n is one, event n clears the STOP_L bit in the CTRL
register (event 0 = bit 0, event 1 = bit 1, event 7 = bit 7).
0
15:8
-
Reserved.
-
23:16 STARTMSK_H
If bit n is one, event n clears the STOP_H bit in the CTRL
register (event 0 = bit 16, event 1 = bit 17, event 7 = bit 23).
0
31:24 -
Reserved.
-