User Manual

UM10360 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2010. All rights reserved.
User manual Rev. 2 — 19 August 2010 819 of 840
continued >>
NXP Semiconductors
UM10360
Chapter 35: Supplementary information
6.5.14 Interrupt Priority Register 3 (IPR3 - 0xE000
E40C) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
6.5.15 Interrupt Priority Register 4 (IPR4 - 0xE000
E410) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
6.5.16 Interrupt Priority Register 5 (IPR5 - 0xE000
E414) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
6.5.17 Interrupt Priority Register 6 (IPR6 - 0xE000
E418) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
6.5.18 Interrupt Priority Register 7 (IPR7 - 0xE000
E41C). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
6.5.19 Interrupt Priority Register 8 (IPR8 - 0xE000
E420) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
6.5.20 Software Trigger Interrupt Register (STIR -
0xE000 EF00) . . . . . . . . . . . . . . . . . . . . . . . . 90
Chapter 7: LPC17xx Pin configuration
7.1 LPC17xx pin configuration . . . . . . . . . . . . . . . 91 7.1.1 LPC17xx pin description . . . . . . . . . . . . . . . . 94
Chapter 8: LPC17xx Pin connect block
8.1 How to read this chapter. . . . . . . . . . . . . . . . 104
8.2 Description. . . . . . . . . . . . . . . . . . . . . . . . . . . 104
8.3 Pin function select register values. . . . . . . . 104
Multiple connections. . . . . . . . . . . . . . . . . . . .105
8.4 Pin mode select register values . . . . . . . . . . 105
Function of PINMODE in open drain mode . .106
8.5 Register description . . . . . . . . . . . . . . . . . . . 107
Pin control module register reset values. . . . .107
8.5.1 Pin Function Select register 0 (PINSEL0 -
0x4002 C000) . . . . . . . . . . . . . . . . . . . . . . . . 108
8.5.2 Pin Function Select Register 1 (PINSEL1 -
0x4002 C004) . . . . . . . . . . . . . . . . . . . . . . . . 108
8.5.3 Pin Function Select register 2 (PINSEL2 -
0x4002 C008) . . . . . . . . . . . . . . . . . . . . . . . . 109
8.5.4 Pin Function Select Register 3 (PINSEL3 -
0x4002 C00C) . . . . . . . . . . . . . . . . . . . . . . . 109
8.5.5 Pin Function Select Register 4 (PINSEL4 -
0x4002 C010) . . . . . . . . . . . . . . . . . . . . . . . . 110
8.5.6 Pin Function Select Register 7 (PINSEL7 -
0x4002 C01C) . . . . . . . . . . . . . . . . . . . . . . . 111
8.5.7 Pin Function Select Register 9 (PINSEL9 -
0x4002 C024) . . . . . . . . . . . . . . . . . . . . . . . . 111
8.5.8 Pin Function Select Register 10 (PINSEL10 -
0x4002 C028) . . . . . . . . . . . . . . . . . . . . . . . . 111
8.5.9 Pin Mode select register 0 (PINMODE0 -
0x4002 C040) . . . . . . . . . . . . . . . . . . . . . . . . 112
8.5.10 Pin Mode select register 1 (PINMODE1 -
0x4002 C044) . . . . . . . . . . . . . . . . . . . . . . . . 112
8.5.11 Pin Mode select register 2 (PINMODE2 -
0x4002 C048) . . . . . . . . . . . . . . . . . . . . . . . . 113
8.5.12 Pin Mode select register 3 (PINMODE3 -
0x4002 C04C) . . . . . . . . . . . . . . . . . . . . . . . . 113
8.5.13 Pin Mode select register 4 (PINMODE4 -
0x4002 C050) . . . . . . . . . . . . . . . . . . . . . . . . 114
8.5.14 Pin Mode select register 7 (PINMODE7 -
0x4002 C05C) . . . . . . . . . . . . . . . . . . . . . . . . 115
8.5.15 Pin Mode select register 9 (PINMODE9 -
0x4002 C064) . . . . . . . . . . . . . . . . . . . . . . . . 115
8.5.16 Open Drain Pin Mode select register 0
(PINMODE_OD0 - 0x4002 C068) . . . . . . . . . 115
8.5.17 Open Drain Pin Mode select register 1
(PINMODE_OD1 - 0x4002 C06C) . . . . . . . . . 116
8.5.18 Open Drain Pin Mode select register 2
(PINMODE_OD2 - 0x4002 C070) . . . . . . . . . 117
8.5.19 Open Drain Pin Mode select register 3
(PINMODE_OD3 - 0x4002 C074) . . . . . . . . . 118
8.5.20 Open Drain Pin Mode select register 4
(PINMODE_OD4 - 0x4002 C078) . . . . . . . . . 118
8.5.21 I
2
C Pin Configuration register (I2CPADCFG -
0x4002 C07C) . . . . . . . . . . . . . . . . . . . . . . . . 119
Chapter 9: LPC17xx General Purpose Input/Output (GPIO)
9.1 Basic configuration . . . . . . . . . . . . . . . . . . . . 120
9.2 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
9.2.1 Digital I/O ports. . . . . . . . . . . . . . . . . . . . . . . 120
9.2.2 Interrupt generating digital ports. . . . . . . . . . 120
9.3 Applications . . . . . . . . . . . . . . . . . . . . . . . . . . 121
9.4 Pin description. . . . . . . . . . . . . . . . . . . . . . . . 121
9.5 Register description . . . . . . . . . . . . . . . . . . . 122
9.5.1 GPIO port Direction register FIOxDIR (FIO0DIR to
FIO4DIR- 0x2009 C000 to 0x2009 C080) . . 123
9.5.2 GPIO port output Set register FIOxSET (FIO0SET
to FIO4SET - 0x2009 C018 to 0x2009 C098) 124
9.5.3 GPIO port output Clear register FIOxCLR
(FIO0CLR to FIO4CLR- 0x2009 C01C to 0x2009
C09C). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126