This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Masked GPIO Access on LPC1343

This is probably a really dumb question, but you have to start somewhere.
I want to use the masked access feature on the LPC1343.

Right now I am using this code to write to all of the bits.

LPC_GPIO1->DATA = 0x00000FFF; // Turn on all leds
which the address of the register is 0x5001 3FFC

If I only wanted to mask some of the bits how do you point to a different address such
as 0x5001 3FF0 which would mask off PIO1_0 and PIO1_1?

0