Added the function gpio_valid that test if a GPIO is valid or not
Added the function gpio_get_bit
Added missing semicolon
Added function for enabling internal pull-up