def pinname_outen(self, pname):
return "func.gpio_out_en[{0}]".format(pname[1:])
- def mk_pincon(self, name, count):
+ def _mk_pincon(self, name, count, typ):
#ret = [PBase.mk_pincon(self, name, count)]
# special-case for gpio in, store in a temporary vector
+ assert typ == 'slow'
ret = []
plen = len(self.peripheral.pinspecs)
template = "mkConnection({0}.{1},\n\t\t\t{2}_{1});"
- ps = "pinmux.peripheral_side.%s" % name
+ ps = "!!!pinmux.peripheral_side.%s" % name
n = "{0}.func.gpio".format(name)
for ptype in ['out', 'out_en', 'in']:
ret.append(template.format(ps, ptype, n))