aboutsummaryrefslogtreecommitdiff
path: root/twi.h
diff options
context:
space:
mode:
Diffstat (limited to 'twi.h')
-rw-r--r--twi.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/twi.h b/twi.h
deleted file mode 100644
index 514b17a..0000000
--- a/twi.h
+++ /dev/null
@@ -1,25 +0,0 @@
-#include <avr/io.h>
-#include <avr/interrupt.h>
-#include <stdint.h>
-
-#include "mcu/mcu_def.h"
-#include "buffers.h"
-
-#ifndef _IOE_TWI_H_
-#define _IOE_TWI_H_
-
-#ifndef MCUSUPPORT_TWI
-#error "No TWI interface is known on your mcu."
-#endif
-
-enum twiMode {
- TWI_MODE_MASTER,
- TWI_MODE_SLAVE
-};
-
-void twi_init(enum twiMode);
-int8_t twi_busy(void);
-void twi_join(void);
-void twi_send(uint8_t data);
-
-#endif /* _IOE_TWI_H_ */