2007-09-22 23:17:52 +00:00
|
|
|
/***************************************************************************
|
|
|
|
* __________ __ ___.
|
|
|
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
* \/ \/ \/ \/ \/
|
2008-04-09 15:25:20 +00:00
|
|
|
* $Id$
|
2007-09-22 23:17:52 +00:00
|
|
|
*
|
2008-04-09 15:25:20 +00:00
|
|
|
* Copyright (C) 2008 by Maurus Cuelenaere
|
2007-09-22 23:17:52 +00:00
|
|
|
*
|
|
|
|
* All files in this archive are subject to the GNU General Public License.
|
|
|
|
* See the file COPYING in the source tree root for full license agreement.
|
|
|
|
*
|
|
|
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
* KIND, either express or implied.
|
|
|
|
*
|
|
|
|
****************************************************************************/
|
|
|
|
|
2007-09-30 16:29:21 +00:00
|
|
|
void i2c_init(void);
|
2008-04-09 15:25:20 +00:00
|
|
|
int i2c_write(unsigned short address, const unsigned char *data, int count);
|
|
|
|
int i2c_read(unsigned short address, unsigned char* buf, int count);
|