mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-30 16:24:09 +03:00
Initial Arduino IDE based on Processing.
This commit is contained in:
28
build/shared/lib/avrlib/conf/i2cconf.h
Executable file
28
build/shared/lib/avrlib/conf/i2cconf.h
Executable file
@ -0,0 +1,28 @@
|
||||
/*! \file i2cconf.h \brief I2C (TWI) interface configuration. */
|
||||
//*****************************************************************************
|
||||
//
|
||||
// File Name : 'i2cconf.h'
|
||||
// Title : I2C (TWI) interface configuration
|
||||
// Author : Pascal Stang - Copyright (C) 2002-2003
|
||||
// Created : 2002.06.25
|
||||
// Revised : 2003.03.02
|
||||
// Version : 0.7
|
||||
// Target MCU : Atmel AVR series
|
||||
// Editor Tabs : 4
|
||||
//
|
||||
// This code is distributed under the GNU Public License
|
||||
// which can be found at http://www.gnu.org/licenses/gpl.txt
|
||||
//
|
||||
//*****************************************************************************
|
||||
|
||||
#ifndef I2CCONF_H
|
||||
#define I2CCONF_H
|
||||
|
||||
// define I2C data buffer sizes
|
||||
// These buffers are used in interrupt-driven Master sending and receiving,
|
||||
// and in slave sending and receiving. They must be large enough to store
|
||||
// the largest I2C packet you expect to send and receive, respectively.
|
||||
#define I2C_SEND_DATA_BUFFER_SIZE 0x20
|
||||
#define I2C_RECEIVE_DATA_BUFFER_SIZE 0x20
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user