diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2008-10-26 13:28:52 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2008-10-26 13:28:52 +0000 |
commit | 95726a5c239d37a453efa7fe4e2f7cfdb96f536b (patch) | |
tree | 35f2a66a2ea58ddb1fff97a51018c26cbeefbb51 /firmware/target/arm/as3525/as3525-codec.h | |
parent | 92683778f615a5ff079fec12ea256643c669194a (diff) | |
download | rockbox-95726a5c239d37a453efa7fe4e2f7cfdb96f536b.tar.gz rockbox-95726a5c239d37a453efa7fe4e2f7cfdb96f536b.zip |
FS#9503 - Sansa v2 audio/PMU communication driver (for the AS3525 SoC)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18886 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525/as3525-codec.h')
-rw-r--r-- | firmware/target/arm/as3525/as3525-codec.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/as3525-codec.h b/firmware/target/arm/as3525/as3525-codec.h new file mode 100644 index 0000000000..9d694554c6 --- /dev/null +++ b/firmware/target/arm/as3525/as3525-codec.h | |||
@@ -0,0 +1,27 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id: $ | ||
9 | * | ||
10 | * Copyright (C) 2008 by Bertrik Sikken | ||
11 | * | ||
12 | * This program is free software; you can redistribute it and/or | ||
13 | * modify it under the terms of the GNU General Public License | ||
14 | * as published by the Free Software Foundation; either version 2 | ||
15 | * of the License, or (at your option) any later version. | ||
16 | * | ||
17 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
18 | * KIND, either express or implied. | ||
19 | * | ||
20 | ****************************************************************************/ | ||
21 | |||
22 | void as3525_codec_init(void); | ||
23 | |||
24 | int as3525_codec_write(int index, int value); | ||
25 | int as3525_codec_read(int index); | ||
26 | |||
27 | |||