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
196 of 464
NXP Semiconductors
UM10850
Chapter 13: LPC5410x SCTimer/PWM (SCT0)
13.7.4 Output generation
shows one output slice of the SCT.
13.7.5 State logic
The SCT can be configured as a timer/counter with multiple programmable states. The
states are user-defined through the events that can be captured in each particular state. In
a multi-state SCT. the SCT can change from one state to another state when a
user-defined event triggers a state change. The state change is triggered through each
event’s EV_CTRL register in one of the following ways:
•
The event can increment the current state number by a new value.
•
The event can write a new state value.
If an event increments the state number beyond the number of available states, the SCT
enters a locked state in which all further events are ignored while the counter is still
running. Software must interfere to change out of this state.
Fig 25. Event selection
VHOHFW
HYHQW³L´
VHOHFW
0$7&+6(/L
LQSXWV
,26(/L
VHOHFW
67$7(0$6.L
&20%02'(L
,2&21'L
RXWSXWV
2876(/L
+(9(17L
+67$7(
/67$7(
+PDWFKHV
/PDWFKHV
Fig 26. Output slice i
6HW
UHJLVWHU ³L´
&OHDU
UHJLVWHU ³L´
287
UHJ
6HOHFW
(YHQWV
2XWSXW ³L´
1R&KDQJH&RQIOLFW³L´
2L5(6
6(7&/5L
6&7FORFN