The unified diff between revisions [cc8258a6..] and [68c54ace..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'event.h'

#
# old_revision [cc8258a6c3643514892e84cf24fed008bc6f9660]
# new_revision [68c54ace6787b0823a233e780455f7371665a228]
#
# add_file "event.h"
#  content [b92070564927535f836fe3cfc7b9460703f7afa0]
#
============================================================
--- /dev/null	
+++ event.h	b92070564927535f836fe3cfc7b9460703f7afa0
@@ -0,0 +1,19 @@
+#ifndef __EVENT_H
+#define __EVENT_H
+
+#include "types.h"
+
+#define EVENT_TIMER		0
+#define EVENT_I2C_COMPLETE	1
+
+#define EVENT_MAX		1
+
+typedef void event_handler(void);
+
+void event_set(unsigned int event);
+bool event_get(unsigned int *event);
+void event_clear(unsigned int event);
+void event_dispatch(void);
+void event_register(unsigned int event, event_handler *handler);
+
+#endif /* __EVENT_H */