summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2015-09-08 19:50:12 +0800
committerBernard Xiong <[email protected]>2015-09-08 19:50:12 +0800
commitf43a861e4c39aa4edad1df30fe9f5307dcd97372 (patch)
treef6d005a70809dc951b6ca793cdb78d998ae63f40 /components
parentcb51bdb245a4b8336533a01fdaaba017bf93b15a (diff)
parentf327e7c98f9befbac34ddccfe755c6c5d9d4cf00 (diff)
Merge pull request #547 from weety/tms320dm365
[BSP] Add tms320dm365
Diffstat (limited to 'components')
-rw-r--r--components/drivers/include/drivers/spi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/components/drivers/include/drivers/spi.h b/components/drivers/include/drivers/spi.h
index cfa4b73ca3..f76b329cab 100644
--- a/components/drivers/include/drivers/spi.h
+++ b/components/drivers/include/drivers/spi.h
@@ -59,6 +59,11 @@ extern "C"{
#define RT_SPI_MODE_MASK (RT_SPI_CPHA | RT_SPI_CPOL | RT_SPI_MSB)
+#define RT_SPI_CS_HIGH (1<<4) /* Chipselect active high */
+#define RT_SPI_NO_CS (1<<5) /* No chipselect */
+#define RT_SPI_3WIRE (1<<6) /* SI/SO pin shared */
+#define RT_SPI_READY (1<<7) /* Slave pulls low to pause */
+
/**
* SPI message structure
*/