gpio: create types for the pin factory methods
gpio: create types for the pin factory methods

gavincabbage/embd,gale320/embd,dboyliao/embd,ryancox/embd,dboyliao/embd,gavincabbage/embd,ryancox/embd,pctj101/embd,gale320/embd,kidoman/embd,pctj101/embd,kidoman/embd