Line No. | Rev | Author | Line |
---|---|---|---|
1 | 6 | kaklik | /*! \file i2c.h \brief I2C (TWI) interface configuration. */ |
2 | //***************************************************************************** |
||
3 | // |
||
4 | // File Name : 'i2cconf.h' |
||
5 | // Title : I2C (TWI) interface configuration |
||
6 | // Author : Pascal Stang - Copyright (C) 2002-2003 |
||
7 | // Created : 2002.06.25 |
||
8 | // Revised : 2003.03.02 |
||
9 | // Version : 0.7 |
||
10 | // Target MCU : Atmel AVR series |
||
11 | // Editor Tabs : 4 |
||
12 | // |
||
13 | // This code is distributed under the GNU Public License |
||
14 | // which can be found at http://www.gnu.org/licenses/gpl.txt |
||
15 | // |
||
16 | //***************************************************************************** |
||
17 | |||
18 | #ifndef I2CCONF_H |
||
19 | #define I2CCONF_H |
||
20 | |||
21 | // define I2C data buffer sizes |
||
22 | // These buffers are used in interrupt-driven Master sending and receiving, |
||
23 | // and in slave sending and receiving. They must be large enough to store |
||
24 | // the largest I2C packet you expect to send and receive, respectively. |
||
25 | #define I2C_SEND_DATA_BUFFER_SIZE 0x20 |
||
26 | #define I2C_RECEIVE_DATA_BUFFER_SIZE 0x20 |
||
27 | |||
28 | #endif |
Powered by WebSVN v2.8.3