summaryrefslogtreecommitdiff
path: root/code/fe310/eos/spi_def.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2018-07-29 10:03:46 +0200
committerUros Majstorovic <majstor@majstor.org>2018-07-29 10:03:46 +0200
commita67f35abdb7ef55c062c26251b7354d9968d385b (patch)
tree35e82eeef30de66c2a87be6a138a19ec43c31e1a /code/fe310/eos/spi_def.h
parent031e99994f495d584e3579cb3920dcc821d28ef1 (diff)
pin numbers fixed
Diffstat (limited to 'code/fe310/eos/spi_def.h')
-rw-r--r--code/fe310/eos/spi_def.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/code/fe310/eos/spi_def.h b/code/fe310/eos/spi_def.h
index 69ca168..1f63d38 100644
--- a/code/fe310/eos/spi_def.h
+++ b/code/fe310/eos/spi_def.h
@@ -12,6 +12,7 @@
#define SPI_PIN_RTS 0 // pin 8
#define SPI_PIN_CTS 23 // pin 7
+#define SPI_PIN_CS IOF_SPI1_SS0 // pin 10
#define SPI_FLAG_RDY 0x01
#define SPI_FLAG_RST 0x02