
DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10360_0
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 00.06 — 5 June 2009
802 of 808
continued >>
NXP Semiconductors
UM10360
Chapter 35: LPC17xx Supplementary information
System Timer Calibration value register
(STCALIB - 0xE000 E01C) . . . . . . . . . . . . . 479
Chapter 24: LPC17xx Pulse Width Modulator (PWM)
Basic configuration . . . . . . . . . . . . . . . . . . . . 481
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 481
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . 482
Rules for Single Edge Controlled PWM Outputs .
485
Rules for Double Edge Controlled PWM Outputs.
485
Pin description . . . . . . . . . . . . . . . . . . . . . . . . 485
PWM base addresses . . . . . . . . . . . . . . . . . . 486
Register description . . . . . . . . . . . . . . . . . . . 486
PWM Interrupt Register (PWM1IR - 0x4001 8000)
487
PWM Timer Control Register (PWM1TCR
0x4001 8004) . . . . . . . . . . . . . . . . . . . . . . . . 488
PWM Control Register (PWM1PCR -
0x4001 804C) . . . . . . . . . . . . . . . . . . . . . . . 492
Chapter 25: LPC17xx Motor Control PWM
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . 494
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . 494
Pin description . . . . . . . . . . . . . . . . . . . . . . . . 494
Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . 495
Configuring other modules for MCPWM use 496
General Operation . . . . . . . . . . . . . . . . . . . . . 496
Register description . . . . . . . . . . . . . . . . . . . 497
MCPWM Control register . . . . . . . . . . . . . . . 498
MCPWM Control read address (MCCON -
0x400B 8000) . . . . . . . . . . . . . . . . . . . . . . . . 498
MCPWM Capture Control register . . . . . . . . 500
MCPWM Capture Control read address
(MCCAPCON - 0x400B 800C) . . . . . . . . . . . 500
MCPWM Capture Control set address
(MCCAPCON_SET - 0x400B 8010) . . . . . . . 501
MCPWM Capture control clear address
(MCCAPCON_CLR - 0x400B 8014). . . . . . . 501
MCPWM Interrupt registers . . . . . . . . . . . . . 502
MCPWM Interrupt Enable read address
(MCINTEN - 0x400B 8050) . . . . . . . . . . . . . 502
MCPWM Interrupt Enable set address
(MCINTEN_SET - 0x400B 8054) . . . . . . . . . 502
MCPWM Interrupt Enable clear address
(MCINTEN_CLR - 0x400B 8058) . . . . . . . . 502
MCPWM Interrupt Flags set address
(MCINTF_SET - 0x400B 806C) . . . . . . . . . 503
MCPWM Interrupt Flags clear address
(MCINTF_CLR - 0x400B 8070) . . . . . . . . . 503
MCPWM Count Control register . . . . . . . . . 504
MCPWM Count Control read address
(MCCNTCON - 0x400B 805C). . . . . . . . . . . 504
MCPWM Count Control set address
(MCCNTCON_SET - 0x400B 8060) . . . . . . 505
MCPWM Count Control clear address
(MCCNTCON_CLR - 0x400B 8064) . . . . . . 505
MCPWM Timer/Counter 0-2 registers (MCTC0-2 -
0x400B 8018, 0x400B 801C, 0x400B 8020) 506
MCPWM Limit 0-2 registers (MCLIM0-2 -
0x400B 8024, 0x400B 8028, 0x400B 802C) 506
MCPWM Match 0-2 registers (MCMAT0-2 -
0x400B 8030, 0x400B 8034, 0x400B 8038) 507
Match register in Edge-Aligned mode . . . . . 507
Match register in Center-Aligned mode . . . . 507
0 and 100% duty cycle. . . . . . . . . . . . . . . . . 508
MCPWM Dead-time register (MCDT -
0x400B 803C) . . . . . . . . . . . . . . . . . . . . . . . 508