1. GPIO can be both output and input at the same time. Yep you may want to read back the value of an output.
Indeed this is an absolute requirement for a GPIO used as an I2C SCL line.
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds