From e15a7e1267a6f733d734c5d3b59f3acc28bb4b29 Mon Sep 17 00:00:00 2001 From: Jakob Odersky Date: Mon, 25 Feb 2013 19:39:53 +0100 Subject: initial commit --- arduino/ace_old/physical.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 arduino/ace_old/physical.h (limited to 'arduino/ace_old/physical.h') 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 +#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 */ -- cgit v1.2.3