Hi
I'm trying to use P1.16 to P1.23 with ULINK conected and am not able to turn leds on/off.
FIO1MASK = 0x00ff0000 FIO1DIR = 0x00ff0000
FIO1CLR = 0x00ff0000 => This should turn leds off FIO1SET = 0x00ff0000 => This should turn led on
What could be wrong.
Sorry
I use FIO1MASK = 0x00000000 !
Many or all of the LPC micros support GPIO0 and GPIO1 to work as legacy IO and fast IO . To turn on FAST IO on this we need to turn on the GPIOM bit in the SCS register .
The names of the register are relevant tp LPC23xx but I think they should be same for your micro also.
Suvidh
Thank you for your reply. I'will check that information in LPC2148's manual