Implemented GPIO configuration