summaryrefslogtreecommitdiff
path: root/src/cc1111.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-05-06 20:33:58 -0700
committerKeith Packard <keithp@keithp.com>2011-05-06 20:35:03 -0700
commit19bfa3882a2d95fcade256c2d63ad24f794281e5 (patch)
tree0bd2916b878c9be08056033950e8944ff88950fb /src/cc1111.h
parentd9cc27641fe1778c098b065bf110be7823e6c9f4 (diff)
altos: Use USART configuration 1 with flow control for TBT
It's just wired that way. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/cc1111.h')
-rw-r--r--src/cc1111.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cc1111.h b/src/cc1111.h
index a07490e5..5b018cb5 100644
--- a/src/cc1111.h
+++ b/src/cc1111.h
@@ -589,6 +589,12 @@ sfr at 0xFD P0DIR;
sfr at 0xFE P1DIR;
sfr at 0xFF P2DIR;
+#define P2DIR_PRIP0_USART0_USART1 (0 << 6)
+#define P2DIR_PRIP0_USART1_USART0 (1 << 6)
+#define P2DIR_PRIP0_TIMER1_01_USART1 (2 << 6)
+#define P2DIR_PRIP0_TIMER1_2_USART0 (3 << 6)
+#define P2DIR_PRIP0_MASK (3 << 6)
+
sfr at 0x8F P0INP;
/* Select between tri-state and pull up/down