aboutsummaryrefslogtreecommitdiff
path: root/arduino/ace_old/physical.h
diff options
context:
space:
mode:
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 */