aboutsummaryrefslogtreecommitdiff
path: root/arduino/ace_old/physical.h
diff options
context:
space:
mode:
authorJakob Odersky <jodersky@gmail.com>2013-02-25 19:39:53 +0100
committerJakob Odersky <jodersky@gmail.com>2013-02-25 19:39:53 +0100
commite15a7e1267a6f733d734c5d3b59f3acc28bb4b29 (patch)
tree9d9c513492939c4467c0932a25291a63d787a7ca /arduino/ace_old/physical.h
downloadace-e15a7e1267a6f733d734c5d3b59f3acc28bb4b29.tar.gz
ace-e15a7e1267a6f733d734c5d3b59f3acc28bb4b29.tar.bz2
ace-e15a7e1267a6f733d734c5d3b59f3acc28bb4b29.zip
initial commit
Diffstat (limited to 'arduino/ace_old/physical.h')
-rw-r--r--arduino/ace_old/physical.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/arduino/ace_old/physical.h b/arduino/ace_old/physical.h
new file mode 100644
index 0000000..74272ff
--- /dev/null
+++ b/arduino/ace_old/physical.h
@@ -0,0 +1,19 @@
+#ifndef PHYSICAL_H
+#define PHYSICAL_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include <inttypes.h>
+#define SERIAL_BUFFER_SIZE 64
+
+void init_physical_layer(uint32_t baud);
+void to_physical_layer(uint8_t s); //implemented in physical
+void from_physical_layer(uint8_t r); //should be implemented in link
+
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
+#endif /* PHYSICAL_H */