Hi Soledad,
I have seen this user manual. I am using MDK5. Initially, the pin is configured as gpio input.
GPIO_SetDir(4,11,GPIO_DIR_INPUT); // GPIO direction
SCU_PinConfigure(4,11, SCU_PIN_CFG_INPUT_BUFFER_EN ); //Input buffer enable
if(!(GPIO_PinRead(4,11)))
{
// do neccessary
}
but it is always reading the status as 0 even the corresponding pin is in high state.