AnsweredAssumed Answered

Reading GPIO output state

Question asked by Dan Quist on Jun 15, 2012
Latest reply on Jun 18, 2012 by Kevin Flynn

Hi,

 

Does MQX support reading the the state of an ouput GPIO pin? Of course I can keep track manually which pins are set or not, but I find it surprising that there's not a method to do this through the GPIO driver.

 

Maybe I'm missing something? I tried GPIO_IOCTL_READ, but that command is only valid for input pins.

Outcomes