Change peripheral io GPIO API