Add a note about Rockbox not running on Sansas v2 (FS#8477 by Marc Guay).
[Rockbox.git] / firmware / export / sw_i2c.h
blobdd48a6206f458400da237c03c07f6eacfe6c4243
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2006 by Robert Kukla
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
20 #ifndef _SW_I2C_H
21 #define _SW_I2C_H
23 #define SW_I2C_WRITE 0
24 #define SW_I2C_READ 1
26 void sw_i2c_init(void);
27 int sw_i2c_write(unsigned char chip, unsigned char location, unsigned char* buf, int count);
28 int sw_i2c_read (unsigned char chip, unsigned char location, unsigned char* buf, int count);
30 #endif