summaryrefslogtreecommitdiff
path: root/src/stm/stm32l.h
diff options
context:
space:
mode:
authorBdale Garbee <bdale@gag.com>2016-07-04 23:48:32 +0200
committerBdale Garbee <bdale@gag.com>2016-07-04 23:48:32 +0200
commit06c3d5420080bc1c6fdfb213a9d616b75611c159 (patch)
treee882a83c3a76c82e3a8e832eb3805c0c5c010d0d /src/stm/stm32l.h
parenteb5bd00b1c5045e64753ba9d066ef5cfce9d5a1e (diff)
parentea1ff225f1f450ee3fc377807d1bb7b982bf792d (diff)
Merge branch 'branch-1.6' into debian
Diffstat (limited to 'src/stm/stm32l.h')
-rw-r--r--src/stm/stm32l.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stm/stm32l.h b/src/stm/stm32l.h
index 0b6b2798..352214ff 100644
--- 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