From 21a29c7452398e0cca0fb90f99fa42a2a0684668 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 28 Jun 2016 17:15:27 -0700 Subject: [PATCH] altos/stm: Add more SPI status register bits These weren't the original version of the docs that we had. Signed-off-by: Keith Packard --- src/stm/stm32l.h | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.30.2