pinctrl: Add the ability to convert EnhancedPin to BasePin

Tento commit je obsažen v:
Megan Wachs
2017-10-06 13:43:23 -07:00
rodič e2695500cd
revize 94f8c1705d

Zobrazit soubor

@ -100,4 +100,11 @@ class EnhancedPin extends Pin() {
this.o.ds := ds
this.o.ie := ie
}
def toBasePin(): BasePin = {
val base_pin = Wire(new BasePin())
base_pin <> this
base_pin
}
}