Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

# i2cconf.h

Go to the documentation of this file.

    00001 /*! \file i2cconf.h \brief I2C (TWI) interface configuration. */
    00002 //*****************************************************************************
    00003 //
    00004 // File Name    : 'i2cconf.h'
    00005 // Title        : I2C (TWI) interface configuration
    00006 // Author       : Pascal Stang - Copyright (C) 2002-2003
    00007 // Created      : 2002.06.25
    00008 // Revised      : 2003.03.02
    00009 // Version      : 0.7
    00010 // Target MCU   : Atmel AVR series
    00011 // Editor Tabs  : 4
    00012 //
    00013 // This code is distributed under the GNU Public License
    00014 //      which can be found at http://www.gnu.org/licenses/gpl.txt
    00015 //
    00016 //*****************************************************************************
    00017
    00018 #ifndef I2CCONF_H
    00019 #define I2CCONF_H
    00020
    00021 // define I2C data buffer sizes
    00022 // These buffers are used in interrupt-driven Master sending and receiving,
    00023 // and in slave sending and receiving.  They must be large enough to store
    00024 // the largest I2C packet you expect to send and receive, respectively.
    00025 #define I2C_SEND_DATA_BUFFER_SIZE       0x20
    00026 #define I2C_RECEIVE_DATA_BUFFER_SIZE    0x20
    00027
    00028 #endif