Seperated gpio functions into gpio.s