LPC5411x
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2018. All rights reserved.
Product data sheet
Rev. 2.1 — 9 May 2018
41 of 105
NXP Semiconductors
LPC5411x
32-bit ARM Cortex-M4/M0+ microcontroller
Every action that the SCTimer/PWM block can perform occurs in direct response to one of
these user-defined events without any software overhead. Any event can be enabled to:
•
Start, stop, or halt the counter.
•
Limit the counter which means to clear the counter in unidirectional mode or change
its direction in bi-directional mode.
•
Set, clear, or toggle any SCTimer/PWM output.
•
Force a capture of the count value into any capture registers.
•
Generate an interrupt of DMA request.
7.20.2.1
Features
•
The SCTimer/PWM Supports:
–
Eight inputs.
–
Eight outputs.
–
Ten match/capture registers.
–
Ten events.
–
Ten states.
•
Counter/timer features:
–
Each SCTimer/PWM is configurable as two 16-bit counters or one 32-bit counter.
–
Counters clocked by system clock or selected input.
–
Configurable number of match and capture registers. Up to five match and capture
registers total.
–
Ten events.
–
Ten states.
–
Upon match and/or an input or output transition create the following events:
interrupt; stop, limit, halt the timer or change counting direction; toggle outputs;
change the state.
–
Counter value can be loaded into capture register triggered by a match or
input/output toggle.