DRAFT
DRAFT DRAFT DR
DRAFT DRAFT DRAFT
D
RAF
DRAFT DRAFT DRA
FT D
AFT D
DRA
FT DRAFT DRAFT
RAFT
DRA
UM10601
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Preliminary user manual
Rev. 1.0 — 7 November 2012
308 of 313
NXP Semiconductors
UM10601
Chapter 27: Supplementary information
Pin interrupt rising edge register. . . . . . . . . . . 89
Pin interrupt falling edge register . . . . . . . . . . 90
Pin interrupt status register. . . . . . . . . . . . . . . 90
Interrupt Control Register . . . . 90
Pattern Match Interrupt Bit-Slice Source register.
91
Functional description . . . . . . . . . . . . . . . . . . 98
Pin interrupts . . . . . . . . . . . . . . . . . . . . . . . . . 98
Pattern Match engine example . . . . . . . . . . . 99
Chapter 9: LPC800 Switch matrix
How to read this chapter . . . . . . . . . . . . . . . . 100
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
Basic configuration . . . . . . . . . . . . . . . . . . . . 100
Connect an internal signal to a package pin. 101
Enable an analog input or other special function .
101
General description . . . . . . . . . . . . . . . . . . . . 102
Movable functions. . . . . . . . . . . . . . . . . . . . . 102
Switch matrix register interface. . . . . . . . . . . 103
Register description . . . . . . . . . . . . . . . . . . . 104
Pin assign register 0 . . . . . . . . . . . . . . . . . . 105
Pin assign register 1 . . . . . . . . . . . . . . . . . . 105
Pin assign register 2 . . . . . . . . . . . . . . . . . . 106
Pin assign register 3 . . . . . . . . . . . . . . . . . . 106
Pin assign register 4 . . . . . . . . . . . . . . . . . . 106
Pin assign register 5 . . . . . . . . . . . . . . . . . . 107
Pin assign register 6 . . . . . . . . . . . . . . . . . . 107
Pin assign register 7 . . . . . . . . . . . . . . . . . . 108
Pin assign register 8 . . . . . . . . . . . . . . . . . . 108
Pin enable register 0 . . . . . . . . . . . . . . . . . . 108
Chapter 10: LPC800 State Configurable Timer (SCT)
How to read this chapter . . . . . . . . . . . . . . . . 111
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Basic configuration . . . . . . . . . . . . . . . . . . . . 111
Use the SCT as a simple timer . . . . . . . . . . . 111
Pin description . . . . . . . . . . . . . . . . . . . . . . . . 112
General description . . . . . . . . . . . . . . . . . . . . 112
Register description . . . . . . . . . . . . . . . . . . . 114
SCT configuration register . . . . . . . . . . . . . . 117
SCT control register . . . . . . . . . . . . . . . . . . . 118
SCT limit register . . . . . . . . . . . . . . . . . . . . . 119
SCT halt condition register . . . . . . . . . . . . . . 120
SCT stop condition register . . . . . . . . . . . . . 120
SCT start condition register . . . . . . . . . . . . . 121
SCT counter register . . . . . . . . . . . . . . . . . . 121
SCT state register. . . . . . . . . . . . . . . . . . . . . 122
SCT input register. . . . . . . . . . . . . . . . . . . . . 123
10.6.10 SCT match/capture registers mode register . 123
10.6.11
SCT output register . . . . . . . . . . . . . . . . . . . 124
10.6.12 SCT bidirectional output control register. . . . 124
10.6.13 SCT conflict resolution register. . . . . . . . . . . 125
10.6.14 SCT flag enable register. . . . . . . . . . . . . . . . 126
10.6.15 SCT event flag register. . . . . . . . . . . . . . . . . 126
10.6.16 SCT conflict enable register . . . . . . . . . . . . . 126
10.6.17 SCT conflict flag register . . . . . . . . . . . . . . . 126
10.6.18 SCT match registers 0 to 4 (REGMODEn bit = 0)
10.6.19 SCT capture registers 0 to 4 (REGMODEn bit = 1)
10.6.20 SCT match reload registers 0 to 4 (REGMODEn
bit = 0) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
10.6.22 SCT event state mask registers 0 to 5. . . . . 129
10.6.23 SCT event control registers 0 to 5 . . . . . . . . 129
10.6.24 SCT output set registers 0 to 3 . . . . . . . . . . 131
10.6.25 SCT output clear registers 0 to 3 . . . . . . . . . 131
Functional description . . . . . . . . . . . . . . . . . 132
Match logic. . . . . . . . . . . . . . . . . . . . . . . . . . 132
Capture logic . . . . . . . . . . . . . . . . . . . . . . . . 132
Event selection. . . . . . . . . . . . . . . . . . . . . . . 132
Output generation . . . . . . . . . . . . . . . . . . . . 133
Interrupt generation . . . . . . . . . . . . . . . . . . . 133
Clearing the prescaler . . . . . . . . . . . . . . . . . 134
Match vs. I/O events . . . . . . . . . . . . . . . . . . 134
SCT operation . . . . . . . . . . . . . . . . . . . . . . . 135
Configure the SCT . . . . . . . . . . . . . . . . . . . 135
10.7.9.1 Configure the counter . . . . . . . . . . . . . . . . . 135
10.7.9.2 Configure the match and capture registers . 135
10.7.9.3 Configure events and event responses . . . . 136
10.7.9.4 Configure
states . . . . . . . . . . . . . . . 137
10.7.9.5 Miscellaneous options . . . . . . . . . . . . . . . . . 137
10.7.10 Run the SCT . . . . . . . . . . . . . . . . . . . . . . . . 137
10.7.11
Configure the SCT without using states. . . . 138
Chapter 11: LPC800 Multi-Rate Timer (MRT)
How to read this chapter . . . . . . . . . . . . . . . . 139
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
Basic configuration . . . . . . . . . . . . . . . . . . . . 139
Pin description . . . . . . . . . . . . . . . . . . . . . . . 139
General description . . . . . . . . . . . . . . . . . . . 139