Implemented analogWriteResolution()

Added doxygen comments for surrounding functions