summaryrefslogtreecommitdiff
path: root/src/cc1111/ao_arch.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-01-03 20:41:15 -0800
committerKeith Packard <keithp@keithp.com>2012-01-03 20:41:15 -0800
commit7a42f2e0f145d2d520aed8e241fa39f7cb62b19f (patch)
treef4935b5c16a58849d8fb70d3831278efc57fd382 /src/cc1111/ao_arch.h
parent085625ff3992454b59583d95a3c415597c51f754 (diff)
altos: Add support for UART0 in async mode
And copy bytes from it to stdout. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/cc1111/ao_arch.h')
-rw-r--r--src/cc1111/ao_arch.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cc1111/ao_arch.h b/src/cc1111/ao_arch.h
index e6c27a1e..360b35c8 100644
--- a/src/cc1111/ao_arch.h
+++ b/src/cc1111/ao_arch.h
@@ -251,4 +251,11 @@ _ao_xmemcmp(__xdata void *a, __xdata void *b, uint8_t count);
#define ao_xmemcmp(d,s,c) _ao_xmemcmp((d), (s), (c))
+struct ao_serial_speed {
+ uint8_t baud;
+ uint8_t gcr;
+};
+
+extern const __code struct ao_serial_speed ao_serial_speeds[];
+
#endif /* _AO_ARCH_H_ */