Datasheet
LPC3220_30_40_50 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2014. All rights reserved.
Product data sheet Rev. 2.1 — 24 June 2014 43 of 80
NXP Semiconductors
LPC3220/30/40/50
16/32-bit ARM microcontrollers
– set LOW on match
– set HIGH on match
– toggle on match
– do nothing on match
7.9.6 High-speed timer
The high-speed timer block is clocked by the main peripheral clock. The clock is first
divided down in a 16-bit programmable pre-scale counter which clocks a 32-bit
timer/counter.
The high-speed timer includes three match registers that are compared to the
timer/counter value. A match can generate an interrupt and cause the timer/counter to
either continue to run, stop, or be reset. The high-speed timer also includes two capture
registers that can take a snapshot of the timer/counter value when an input signal
transitions. A capture event may also generate an interrupt.
7.9.6.1 Features
• 32-bit timer/counter with programmable 16-bit pre-scaler.
• Counter or timer operation.
• Two 32-bit capture registers.
• Three 32-bit match registers that allow:
– Continuous operation with optional interrupt generation on match.
– Stop timer on match with optional interrupt generation.
– Reset timer on match with optional interrupt generation.
• Pause control to stop counting when core is in debug state.
7.9.7 Pulse Width Modulators (PWMs)
The LPC3220/30/40/50 provides two simple PWMs. They are clocked separately by either
the main peripheral clock or the 32 kHz RTC clock. Both PWMs have a duty cycle
programmable in 255 steps.
7.9.7.1 Features
• Clocked by the main peripheral clock or the 32 kHz RTC clock.
• Programmable 4-bit pre-scaler.
• Duty cycle programmable in 255 steps.
• Output frequency up to 50 kHz when using a 13 MHz peripheral clock.
7.9.8 Motor control pulse width modulator
The Motor Control PWM (MCPWM) provides a set of features for three-phase AC and DC
motor control applications in a single peripheral. The MCPWM can also be configured for
use in other generalized timing, counting, capture, and compare applications.
7.9.8.1 Features
• 32-bit timer
• 32-bit period register
