set gpio mode register