AnsweredAssumed Answered

Problem to use valor = GPIO1_GetFieldValue(TECLADO,0) on MK10DN32 microcontroller

Question asked by Alexandre Voigt da Poian on Jul 18, 2014
Latest reply on Nov 11, 2014 by Alisson Porto

I have 6 ports that i am using like buttons and i have an interrupt by falling edge. I have to use low level but don´t work because all the six pins (PTC1 to PTC6 tha i am using) stay in 0V. I have pull-up in all. On falling edge this problem don´t appear. I am trying to use the function GetFieldValue but doesn´t work correctly. How can i read the pin PTC1 or PTC2 or PTC3 for example. I need to read one pin but the function doesn´t work correctly. Anybody can help me?

Outcomes