summaryrefslogtreecommitdiff
path: root/digital/beacon/src/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'digital/beacon/src/debug.h')
-rw-r--r--digital/beacon/src/debug.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/digital/beacon/src/debug.h b/digital/beacon/src/debug.h
index 3e79501d..6ad1e074 100644
--- a/digital/beacon/src/debug.h
+++ b/digital/beacon/src/debug.h
@@ -79,9 +79,23 @@
#define DEBUG_TRUST(f,s...) ((void)0)
#endif
+typedef enum
+{
+ FREE,
+ BUSY
+} TUSART_bus_state;
+
+typedef enum
+{
+ EMPTY,
+ FILLED
+} TUSART_buffer_level;
/* This function initializes the USART interface for debugging on avr */
void initSerialInterface(void);
+/* TX USART Callback */
+void usartTXCallback(void);
+
/* RX USART Callback */
void usartRXCallback(uint16_t bytesToRead);