hw: implemented gpio