EasyManuals Logo

NXP Semiconductors LPC11U3x User Manual

NXP Semiconductors LPC11U3x
523 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #166 background imageLoading...
Page #166 background image
UM10462 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
User manual Rev. 5.5 — 21 December 2016 166 of 523
NXP Semiconductors
UM10462
Chapter 9: LPC11U3x/2x/1x GPIO
9.5.3.7 GPIO port set registers
Output bits can be set by writing ones to these registers, regardless of MASK registers.
Reading from these register returns the port’s output bits, regardless of pin directions.
9.5.3.8 GPIO port clear registers
Output bits can be cleared by writing ones to these write-only registers, regardless of
MASK registers.
9.5.3.9 GPIO port toggle registers
Output bits can be toggled/inverted/complemented by writing ones to these write-only
registers, regardless of MASK registers.
Table 167. GPIO masked port 1 pin register (MPIN1, address 0x5000 2184) bit description
Bit Symbol Description Reset
value
Access
31:0 MPORTP1 Masked port register (bit 0 = P1_0, bit 1 = P1_1, ..., bit 31
= P1_31).
0 = Read: pin is LOW and/or the corresponding bit in the
MASK register is 1; write: clear output bit if the
corresponding bit in the MASK register is 0.
1 = Read: pin is HIGH and the corresponding bit in the
MASK register is 0; write: set output bit if the
corresponding bit in the MASK register is 0.
ext R/W
Table 168. GPIO set port 0 register (SET0, address 0x5000 2200) bit description
Bit Symbol Description Reset
value
Access
31:0 SETP0 Read or set output bits.
0 = Read: output bit: write: no operation.
1 = Read: output bit; write: set output bit.
0R/W
Table 169. GPIO set port 1 register (SET1, address 0x5000 2204) bit description
Bit Symbol Description Reset
value
Access
31:0 SETP1 Read or set output bits.
0 = Read: output bit: write: no operation.
1 = Read: output bit; write: set output bit.
0R/W
Table 170. GPIO clear port 0 register (CLR0, address 0x5000 2280) bit description
Bit Symbol Description Reset
value
Access
31:0 CLRP0 Clear output bits:
0 = No operation.
1 = Clear output bit.
NA WO
Table 171. GPIO clear port 1 register (CLR1, address 0x5000 2284) bit description
Bit Symbol Description Reset
value
Access
31:0 CLRP1 Clear output bits:
0 = No operation.
1 = Clear output bit.
NA WO

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the NXP Semiconductors LPC11U3x and is the answer not in the manual?

NXP Semiconductors LPC11U3x Specifications

General IconGeneral
BrandNXP Semiconductors
ModelLPC11U3x
CategoryMicrocontrollers
LanguageEnglish

Related product manuals