Content originally posted in LPCWare by giamby3000 on Sat Nov 09 07:19:21 MST 2013
Hi.
I'm trying to drive R_ PIO1_1in my board as GPIO (output) but I can't: I tried many configuration but this pin remain pulluped to 3,3V .even if I disable internal pullup/down
Here is my code: what am I forgetting?
LPC_IOCON->R_PIO1_1 &= ~0x8F;
LPC_IOCON->R_PIO1_1 |= 0x01;
LPC_IOCON->R_PIO1_1 &= ~(0x10);
GpioSetDir(PORT1,1,1):
Thank you