Removed pin select address from gpio API. Code cleanup according to coding conventions. Added doxygen documentation.