Hello,
I m trying to use gpio in function parameter. For example;
void gpioset (x,y) { x=1; y=0; }
X is GpioDataRegs.GPADAT.bit.GPIO0, Y is GpioDataRegs.GPADAT.bit.GPIO1.
I've tried all kinds of ways, but couldn't do it. (struct, pointer etc.)
I have to create this function,I'm waiting for suggestions.Thanks!