On a previous question I was told to add gioSetDirection(gioPORTA,0xFE); on my code to set GIOA[0] as an input and it worked perfectly.
But how do I configure more than one pin to be inputs?
Lets say I want to read GIOA[2] and GIOA[3] as well (commented on code ahead).
gioSetDirection(gioPORTA,0xFE);
gioSetBit(gioPORTA,1U,1);
A=gioGetBit(gioPORTA,0U);
//B=gioGetBit(gioPORTA,2U);
//C=gioGetBit(gioPORTA,3U);

