aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/LPC214x/lpc214x.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-10-17 09:13:43 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-10-17 09:13:43 +0000
commita7af0ac06b5cafe7dfadf3e292e3107a8e45ff21 (patch)
treeff4a9c519ff1f219d0125222a79187be2303a091 /os/hal/platforms/LPC214x/lpc214x.h
parent3b5571076e95a4cab3f09f1c6ad0905e454c00e5 (diff)
downloadChibiOS-a7af0ac06b5cafe7dfadf3e292e3107a8e45ff21.tar.gz
ChibiOS-a7af0ac06b5cafe7dfadf3e292e3107a8e45ff21.tar.bz2
ChibiOS-a7af0ac06b5cafe7dfadf3e292e3107a8e45ff21.zip
New LPC214x SPI device driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2264 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/LPC214x/lpc214x.h')
-rw-r--r--os/hal/platforms/LPC214x/lpc214x.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/os/hal/platforms/LPC214x/lpc214x.h b/os/hal/platforms/LPC214x/lpc214x.h
index 66c288028..f2ddac376 100644
--- a/os/hal/platforms/LPC214x/lpc214x.h
+++ b/os/hal/platforms/LPC214x/lpc214x.h
@@ -390,6 +390,7 @@ typedef struct {
#define SSPMIS (SSPBase->SSP_MIS)
#define SSPICR (SSPBase->SSP_ICR)
+#define CR0_DSSMASK 0x0F
#define CR0_DSS4BIT 3
#define CR0_DSS5BIT 4
#define CR0_DSS6BIT 5