summaryrefslogtreecommitdiff
path: root/nuttx/arch/hc/src/m9s12/m9s12_sci.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-02-20 17:49:58 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-02-20 17:49:58 +0000
commit78538c8d3257913599ea721b55b6ce56fd8988f3 (patch)
tree747947ae3887b9276e715d1cd7dded7236d7f331 /nuttx/arch/hc/src/m9s12/m9s12_sci.h
parent2d795267b97ca49c544ca4a38dbf3771d3cd4697 (diff)
downloadpx4-nuttx-78538c8d3257913599ea721b55b6ce56fd8988f3.tar.gz
px4-nuttx-78538c8d3257913599ea721b55b6ce56fd8988f3.tar.bz2
px4-nuttx-78538c8d3257913599ea721b55b6ce56fd8988f3.zip
Flesh out m8s12 serial driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3306 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/hc/src/m9s12/m9s12_sci.h')
-rwxr-xr-xnuttx/arch/hc/src/m9s12/m9s12_sci.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/nuttx/arch/hc/src/m9s12/m9s12_sci.h b/nuttx/arch/hc/src/m9s12/m9s12_sci.h
index 9f798aae4..c80c1fcfa 100755
--- a/nuttx/arch/hc/src/m9s12/m9s12_sci.h
+++ b/nuttx/arch/hc/src/m9s12/m9s12_sci.h
@@ -113,8 +113,9 @@
#define SCI_CR2_TE (1 << 3) /* Bit 3: Transmitter Enable */
#define SCI_CR2_ILIE (1 << 4) /* Bit 4: Idle Line Interrupt Enable */
#define SCI_CR2_RIE (1 << 5) /* Bit 5: Receiver Full Interrupt Enable Bit */
-#define SCI_CR2_TCIE (1 << 6) /* Bit 6: Transmission Complete Interrupt En */
-#define SCI_CR2_TIE (1 << 7) /* Bit 7: Transmitter Interrupt Ena */
+#define SCI_CR2_TCIE (1 << 6) /* Bit 6: Transmission Complete Interrupt Enable */
+#define SCI_CR2_TIE (1 << 7) /* Bit 7: Transmitter Interrupt Enable */
+#define SCI_CR2_ALLINTS 0xf0
/* SCI Status Register 1 Bit-Field Definitions */