
UM10800
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2016. All rights reserved.
User manual
Rev. 1.2 — 5 October 2016
482 of 487
NXP Semiconductors
UM10800
Chapter 35: Supplementary information
SCT conflict resolution register. . . . . . . . . . . 277
SCT DMA request 0 and 1 registers. . . . . . . 279
SCT event interrupt enable register . . . . . . . 279
SCT event flag register . . . . . . . . . . . . . . . . . 280
SCT conflict interrupt enable register . . . . . . 280
SCT conflict flag register . . . . . . . . . . . . . . . 280
SCT match registers 0 to 7
(REGMODEn bit = 0) . . . . . . . . . . . . . . . . . . 281
SCT capture registers 0 to 7
(REGMODEn bit = 1) . . . . . . . . . . . . . . . . . . 281
SCT event enable registers 0 to 7 . . . . . . . . 282
SCT event control registers 0 to 7 . . . . . . . . 283
SCT output set registers 0 to 5 . . . . . . . . . . . 284
SCT output clear registers 0 to 5 . . . . . . . . . 285
Functional description . . . . . . . . . . . . . . . . . 286
Match logic. . . . . . . . . . . . . . . . . . . . . . . . . . 286
Capture logic . . . . . . . . . . . . . . . . . . . . . . . . 286
Event selection. . . . . . . . . . . . . . . . . . . . . . . 286
Output generation . . . . . . . . . . . . . . . . . . . . 287
State logic . . . . . . . . . . . . . . . . . . . . . . . . . . 287
Interrupt generation . . . . . . . . . . . . . . . . . . . 288
Clearing the prescaler . . . . . . . . . . . . . . . . . 288
Match vs. I/O events . . . . . . . . . . . . . . . . . . 288
SCT operation . . . . . . . . . . . . . . . . . . . . . . . 290
Configure the SCT . . . . . . . . . . . . . . . . . . . 290
16.7.10.1 Configure the counter . . . . . . . . . . . . . . . . . 290
16.7.10.2 Configure the match and capture registers . 290
16.7.10.3 Configure events and event responses . . . . 291
16.7.10.4 Configure multiple states . . . . . . . . . . . . . . . 292
16.7.10.5 Miscellaneous options . . . . . . . . . . . . . . . . . 292
16.7.11
Run the SCT . . . . . . . . . . . . . . . . . . . . . . . . 292
Configure the SCT without using states. . . . 293
SCT PWM Example . . . . . . . . . . . . . . . . . . . 293
Chapter 17: LPC82x Windowed Watchdog Timer (WWDT)
How to read this chapter . . . . . . . . . . . . . . . . 296
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
Basic configuration . . . . . . . . . . . . . . . . . . . . 296
Pin description . . . . . . . . . . . . . . . . . . . . . . . . 297
General description . . . . . . . . . . . . . . . . . . . . 297
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . 298
Clocking and power control . . . . . . . . . . . . . 298
Using the WWDT lock features. . . . . . . . . . . 300
17.5.3.1 Disabling the WWDT clock source . . . . . . . . 300
17.5.3.2 Changing the WWDT reload value . . . . . . . 300
Register description . . . . . . . . . . . . . . . . . . . 301
Watchdog mode register . . . . . . . . . . . . . . . 301
Watchdog Timer Constant register. . . . . . . . 303
Watchdog Feed register. . . . . . . . . . . . . . . . 303
Watchdog Timer Value register . . . . . . . . . . 304
Watchdog Timer Warning Interrupt register . 304
Watchdog Timer Window register . . . . . . . . 304
Functional description . . . . . . . . . . . . . . . . . 305
Chapter 18: LPC82x Self-wake-up timer (WKT)
How to read this chapter . . . . . . . . . . . . . . . . 306
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306
Basic configuration . . . . . . . . . . . . . . . . . . . . 306
Pin description . . . . . . . . . . . . . . . . . . . . . . . . 307
description . . . . . . . . . . . . . . . . . . . 307
WKT clock sources . . . . . . . . . . . . . . . . . . . 307
Register description . . . . . . . . . . . . . . . . . . . 308
Control register . . . . . . . . . . . . . . . . . . . . . . 308
Count register . . . . . . . . . . . . . . . . . . . . . . . 309
Chapter 19: LPC82x Multi-Rate Timer (MRT)
How to read this chapter . . . . . . . . . . . . . . . . 310
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310
Basic configuration . . . . . . . . . . . . . . . . . . . . 310
Pin description . . . . . . . . . . . . . . . . . . . . . . . . 310
General description . . . . . . . . . . . . . . . . . . . . 310
Repeat interrupt mode . . . . . . . . . . . . . . . . . 311
One-shot interrupt mode. . . . . . . . . . . . . . . . 312
One-shot bus stall mode. . . . . . . . . . . . . . . . 312
Register description . . . . . . . . . . . . . . . . . . . 312
Time interval register . . . . . . . . . . . . . . . . . . 313
Timer register . . . . . . . . . . . . . . . . . . . . . . . . 314
Control register . . . . . . . . . . . . . . . . . . . . . . 314
Status register . . . . . . . . . . . . . . . . . . . . . . . 315
Idle channel register. . . . . . . . . . . . . . . . . . . 315
interrupt flag register. . . . . . . . . . . . . 316
Chapter 20: LPC82x System tick timer (SysTick)
How to read this chapter . . . . . . . . . . . . . . . . 317
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317
Basic configuration . . . . . . . . . . . . . . . . . . . . 317
Pin description . . . . . . . . . . . . . . . . . . . . . . . . 317
description . . . . . . . . . . . . . . . . . . . 317
Register description . . . . . . . . . . . . . . . . . . . 318