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
42 of 105
NXP Semiconductors
LPC5411x
32-bit ARM Cortex-M4/M0+ microcontroller
•
PWM features:
–
Counters can be used in conjunction with match registers to toggle outputs and
create time-proportioned PWM signals.
–
Up to eight single-edge or four dual-edge PWM outputs with independent duty
cycle and common PWM cycle length.
•
Event creation features:
–
The following conditions define an event: a counter match condition, an input (or
output) condition such as an rising or falling edge or level, a combination of match
and/or input/output condition.
–
Selected events can limit, halt, start, or stop a counter or change its direction.
–
Events trigger state changes, output toggles, interrupts, and DMA transactions.
–
Match register 0 can be used as an automatic limit.
–
In bi-directional mode, events can be enabled based on the count direction.
–
Match events can be held until another qualifying event occurs.
•
State control features:
–
A state is defined by events that can happen in the state while the counter is
running.
–
A state changes into another state as a result of an event.
–
Each event can be assigned to one or more states.
–
State variable allows sequencing across multiple counter cycles.
7.20.3 Windowed WatchDog Timer (WWDT)
The purpose of the Watchdog Timer is to reset or interrupt the microcontroller within a
programmable time if it enters an erroneous state. When enabled, a watchdog reset is
generated if the user program fails to feed (reload) the Watchdog within a predetermined
amount of time.
7.20.3.1
Features
•
Internally resets chip if not reloaded during the programmable time-out period.
•
Optional windowed operation requires reload to occur between a minimum and
maximum time period, both programmable.
•
Optional warning interrupt can be generated at a programmable time prior to
watchdog time-out.
•
Programmable 24-bit timer with internal fixed pre-scaler.
•
Selectable time period from 1,024 watchdog clocks (T
WDCLK
× 256 × 4) to over 67
million watchdog clocks (T
WDCLK
× 2
24
× 4) in increments of four watchdog clocks.
•
“Safe” watchdog operation. Once enabled, requires a hardware reset or a Watchdog
reset to be disabled.
•
Incorrect feed sequence causes immediate watchdog event if enabled.
•
The watchdog reload value can optionally be protected such that it can only be
changed after the “warning interrupt” time is reached.
•
Flag to indicate Watchdog reset.