diff options
Diffstat (limited to 'firmware/export/i2c-pp5002.h')
-rw-r--r-- | firmware/export/i2c-pp5002.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/firmware/export/i2c-pp5002.h b/firmware/export/i2c-pp5002.h new file mode 100644 index 0000000000..11e84996d4 --- /dev/null +++ b/firmware/export/i2c-pp5002.h | |||
@@ -0,0 +1,34 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (C) 2002 by Linus Nielsen Feltzing | ||
11 | * | ||
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. | ||
14 | * | ||
15 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
16 | * KIND, either express or implied. | ||
17 | * | ||
18 | ****************************************************************************/ | ||
19 | |||
20 | /* | ||
21 | * PP5002 i2c driver | ||
22 | * | ||
23 | */ | ||
24 | |||
25 | #ifndef _I2C_PP5002_H | ||
26 | #define _I2C_PP5002_H | ||
27 | |||
28 | /* TODO: Fully implement i2c driver */ | ||
29 | |||
30 | void i2c_init(void); | ||
31 | int i2c_readbyte(unsigned int dev_addr, int addr); | ||
32 | int ipod_i2c_send(unsigned int addr, int data0, int data1); | ||
33 | |||
34 | #endif | ||