projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
785d269
)
altos/stm: Add more SPI status register bits
author
Keith Packard
<keithp@keithp.com>
Wed, 29 Jun 2016 00:15:27 +0000
(17:15 -0700)
committer
Keith Packard
<keithp@keithp.com>
Thu, 30 Jun 2016 02:17:45 +0000
(19:17 -0700)
These weren't the original version of the docs that we had.
Signed-off-by: Keith Packard <keithp@keithp.com>
src/stm/stm32l.h
patch
|
blob
|
history
diff --git
a/src/stm/stm32l.h
b/src/stm/stm32l.h
index 0b6b27983d6a3633d891be36bfdd0f0ecb3063fe..352214ffdbc055c50c8fb44a3cde16dee23ea8d8 100644
(file)
--- a/
src/stm/stm32l.h
+++ b/
src/stm/stm32l.h
@@
-1359,10
+1359,13
@@
extern struct stm_spi stm_spi1, stm_spi2, stm_spi3;
#define STM_SPI_CR2_TXDMAEN 1
#define STM_SPI_CR2_RXDMAEN 0
+#define STM_SPI_SR_FRE 8
#define STM_SPI_SR_BSY 7
#define STM_SPI_SR_OVR 6
#define STM_SPI_SR_MODF 5
#define STM_SPI_SR_CRCERR 4
+#define STM_SPI_SR_UDR 3
+#define STM_SPI_SR_CHSIDE 2
#define STM_SPI_SR_TXE 1
#define STM_SPI_SR_RXNE 0