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
389 of 515
NXP Semiconductors
UM11029
Chapter 21: LPC84x SCTimer/PWM
21.6.5 SCTimer/PWM halt event select register
The running counter can be disabled (halted) by an event. When any of the events
selected in this register occur, the counter stops running and all further events are
disabled.
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 HALT event. To define the actual events
that cause the counter to halt (a match, an I/O pin toggle, etc.), see the EVn_CTRL
registers.
Remark:
A HALT condition can only be removed when software clears the HALT bit in 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
HALT_L and HALT_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.6 SCTimer/PWM stop event select register
The running counter can be stopped by an event. When any of the events selected in this
register occur, counting is suspended, that is the counter stops running and remains at its
current value. Event generation remains enabled, and any event selected in the START
register such as an I/O event or an event generated by the other counter can restart the
counter.
Table 388. SCTimer/PWM limit event select register (LIMIT, offset 0x008) bit description
Bit
Symbol
Description
Reset
value
7:0
LIMMSK_L
If bit n is one, event n is used as a counter limit for the L or
unified counter (event 0 = bit 0, event 1 = bit 1, event 7 = bit
7).
0
15:8
-
Reserved.
-
23:16
LIMMSK_H
If bit n is one, event n is used as a counter limit for the H
counter (event 0 = bit 16, event 1 = bit 17, event 7 = bit 23).
0
31:24
-
Reserved.
-
Table 389. SCTimer/PWM halt event select register (HALT, offset 0x00C) bit description
Bit
Symbol
Description
Reset
value
7:0
HALTMSK_L
If bit n is one, event n sets the HALT_L bit in the CTRL register
(event 0 = bit 0, event 1 = bit 1, event 7 = bit 7).
0
15:8
-
Reserved.
-
23:16 HALTMSK_H
If bit n is one, event n sets the HALT_H bit in the CTRL register
(event 0 = bit 16, event 1 = bit 17, event 7 = bit 23).
0
31:24 -
Reserved.
-