summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/imx/imx_cspi.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-04-26 16:06:29 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-04-26 16:06:29 +0000
commit6a7a05294f342e9bb647afe629ac0ede7d8ce4bd (patch)
tree6e89bb567dbb54ec8b0cf20d26b70a85cd2059c0 /nuttx/arch/arm/src/imx/imx_cspi.h
parent389e6fc77d7c306f280df1b03e74f86579d4b763 (diff)
downloadpx4-nuttx-6a7a05294f342e9bb647afe629ac0ede7d8ce4bd.tar.gz
px4-nuttx-6a7a05294f342e9bb647afe629ac0ede7d8ce4bd.tar.bz2
px4-nuttx-6a7a05294f342e9bb647afe629ac0ede7d8ce4bd.zip
Extend SPI interface for word sizes >8bits
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1740 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/imx/imx_cspi.h')
-rwxr-xr-xnuttx/arch/arm/src/imx/imx_cspi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/imx/imx_cspi.h b/nuttx/arch/arm/src/imx/imx_cspi.h
index a42ca296a..71f9ad7cc 100755
--- a/nuttx/arch/arm/src/imx/imx_cspi.h
+++ b/nuttx/arch/arm/src/imx/imx_cspi.h
@@ -131,6 +131,8 @@
#define CSPI_INTCS_ROEN (1 << 14) /* BIT 14: RXFIFO Overflow Interrupt Enable */
#define CSPI_INTCS_BOEN (1 << 15) /* Bit 15: Bit Count Overflow Interrupt Enable */
+#define CSPI_INTCS_ALLINTS 0x0000ff00
+
/* CSPI Sample Period Control Register */
#define CSPI_SPCR_WAIT_SHIFT 0