projects
/
pinmux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add master-only spi and quad-spi
[pinmux.git]
/
src
/
bsv
/
peripheral_gen
/
spi.py
diff --git
a/src/bsv/peripheral_gen/spi.py
b/src/bsv/peripheral_gen/spi.py
index 0b2ffb962fb057ed10437501506a0764259745ba..8b347ae28f72c7956cebfcffb5e2af342889ddaa 100644
(file)
--- a/
src/bsv/peripheral_gen/spi.py
+++ b/
src/bsv/peripheral_gen/spi.py
@@
-1,4
+1,10
@@
from bsv.peripheral_gen.nspi import nspi
+class mspi(nspi):
+ def __init__(self, name):
+ nspi.__init__(self, name, True)
+
class spi(nspi):
- pass
+ def __init__(self, name):
+ nspi.__init__(self, name, False)
+