diff options
author | Daniel Campora <daniel@wipy.io> | 2015-09-13 21:44:09 +0200 |
---|---|---|
committer | Daniel Campora <daniel@wipy.io> | 2015-09-16 10:10:33 +0200 |
commit | aba75e12330d8e80b2d909ace0a419de85774317 (patch) | |
tree | 45fcba206cac1fb522700eb916912bee316b9e72 /tests/wipy/spi.py.exp | |
parent | 624cdeacc4c2678273ae535f3ede84846afe3ef5 (diff) | |
download | micropython-aba75e12330d8e80b2d909ace0a419de85774317.tar.gz micropython-aba75e12330d8e80b2d909ace0a419de85774317.zip |
cc3200: New SPI API.
Diffstat (limited to 'tests/wipy/spi.py.exp')
-rw-r--r-- | tests/wipy/spi.py.exp | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/wipy/spi.py.exp b/tests/wipy/spi.py.exp new file mode 100644 index 0000000000..cc4ff40228 --- /dev/null +++ b/tests/wipy/spi.py.exp @@ -0,0 +1,35 @@ +SPI(0, SPI.MASTER, baudrate=2000000, bits=8, polarity=0, phase=0, firstbit=SPI.MSB) +SPI(0, SPI.MASTER, baudrate=5000000, bits=8, polarity=0, phase=0, firstbit=SPI.MSB) +SPI(0, SPI.MASTER, baudrate=200000, bits=16, polarity=0, phase=0, firstbit=SPI.MSB) +SPI(0, SPI.MASTER, baudrate=10000000, bits=8, polarity=0, phase=1, firstbit=SPI.MSB) +SPI(0, SPI.MASTER, baudrate=5000000, bits=32, polarity=1, phase=0, firstbit=SPI.MSB) +SPI(0, SPI.MASTER, baudrate=10000000, bits=8, polarity=1, phase=1, firstbit=SPI.MSB) +SPI(0, SPI.MASTER, baudrate=20000000, bits=8, polarity=0, phase=0, firstbit=SPI.MSB) +SPI(0, SPI.MASTER, baudrate=1000000, bits=8, polarity=0, phase=0, firstbit=SPI.MSB) +True +True +True +True +True +True +True +True +True +True +True +True +True +True +SPI(0) +Exception +Exception +Exception +Exception +Exception +Exception +Exception +Exception +Exception +Exception +Exception +SPI(0, SPI.MASTER, baudrate=500000, bits=8, polarity=0, phase=0, firstbit=SPI.MSB) |