From 6263ed441f45d636d9a66f94e0bc30eaca13459f Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Thu, 6 Mar 2008 23:32:31 +0100 Subject: * digital/avr/modules/twi: - avrconfig cleanup. --- digital/avr/modules/twi/avrconfig.h | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'digital/avr/modules/twi/avrconfig.h') diff --git a/digital/avr/modules/twi/avrconfig.h b/digital/avr/modules/twi/avrconfig.h index 139aa55e..5f94ecd1 100644 --- a/digital/avr/modules/twi/avrconfig.h +++ b/digital/avr/modules/twi/avrconfig.h @@ -1,6 +1,6 @@ #ifndef avrconfig_h #define avrconfig_h -/* avrconfig.h */ +/* avrconfig.h - TWI module configuration template. */ /* avr.twi - TWI AVR module. {{{ * * Copyright (C) 2005 Demonchy Clément @@ -25,7 +25,14 @@ * * }}} */ -#define TWI_SL_RCPT_SIZE 16 -#define TWI_SL_SEND_SIZE 16 +/* twi - TWI module. */ +/** Activate master part. */ +#define AC_TWI_MASTER_ENABLE 0 +/** Activate slave part. */ +#define AC_TWI_SLAVE_ENABLE 0 +/** Slave recv buffer size. */ +#define AC_TWI_SL_RECV_BUFFER_SIZE 16 +/** Slave send buffer size. */ +#define AC_TWI_SL_SEND_BUFFER_SIZE 16 #endif /* avrconfig_h */ -- cgit v1.2.3