What's the best way to detect a change in value on a GPIO configured as OUT? It may sound really weird why one may need that. I have a custom cape and cannot make changes to its hardware, but I need to improve certain functionality. poll(2) on /sys/class/gpio/gpioXY/value exits with timeout.
To avoid any XY-problem I'll explain the actual situation: The BBB's native RS-485 mode works fine with omap_serial driver, however, I cannot use actual hardware pins for RTS (RE/DE) because the above mentioned cape consumes all possibilities. So, I assigned an unconnected GPIO to be the RTS and want to detect its state changes in a timing-critical application (tcdrain() takes too long). Thanks for advises! Sergey -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/452306f8-ca2a-413f-92f6-a7babc2979b4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
