getPinMode: include options provided by pin structure