summaryrefslogtreecommitdiff
path: root/firmware/export/wmcodec.h
diff options
context:
space:
mode:
authorMarcoen Hirschberg <marcoen@gmail.com>2006-10-20 17:12:42 +0000
committerMarcoen Hirschberg <marcoen@gmail.com>2006-10-20 17:12:42 +0000
commit1d7ebdfe268b7c1ff7aeb187491dee5ae1940208 (patch)
tree4caca06ae35448cd1a10b0d55bde5c1a2f626da1 /firmware/export/wmcodec.h
parent167a9364a085794764836bd3017ae4e88ddb3500 (diff)
downloadrockbox-1d7ebdfe268b7c1ff7aeb187491dee5ae1940208.zip
rockbox-1d7ebdfe268b7c1ff7aeb187491dee5ae1940208.tar.gz
rockbox-1d7ebdfe268b7c1ff7aeb187491dee5ae1940208.tar.bz2
rockbox-1d7ebdfe268b7c1ff7aeb187491dee5ae1940208.tar.xz
generalise the wolfson codec code a bit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11277 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/wmcodec.h')
-rw-r--r--firmware/export/wmcodec.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/firmware/export/wmcodec.h b/firmware/export/wmcodec.h
new file mode 100644
index 0000000..f1c5e20
--- /dev/null
+++ b/firmware/export/wmcodec.h
@@ -0,0 +1,23 @@
+/***************************************************************************
+ * __________ __ ___.
+ * Open \______ \ ____ ____ | | _\_ |__ _______ ___
+ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+ * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+ * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+ * \/ \/ \/ \/ \/
+ * $Id$
+ *
+ * Copyright (C) 2006 by Marcoen Hirschberg
+ *
+ * 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.
+ *
+ ****************************************************************************/
+
+void i2s_reset(void);
+int wmcodec_init(void);
+void wmcodec_write(int reg, int data);
+