AnsweredAssumed Answered

How to talk to GPIO pins in binary form, LPC824?

Question asked by Joren Joly on Oct 1, 2019
Latest reply on Oct 3, 2019 by Sabina Bruce



I was wondering how to do the following: I'm using an LPC824 and I want to write to gpio_1 and to gpio_15 on the same time, what i can do is just use the Chip_GPIO_SetPinstate function and this works, but i would love to do this just binary.


So instead of:     Chip_GPIO_SetPinState(LPC_GPIO_PORT,0,15,true);



something like:   *LPC_GPIO_PORT->B[0] = 0b1000000000000010;

But this seems to fail, but i cant figure out why...


Thanks in advance!