added a few comments to the gpio.ir code