From 95726a5c239d37a453efa7fe4e2f7cfdb96f536b Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Sun, 26 Oct 2008 13:28:52 +0000 Subject: 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 --- firmware/target/arm/as3525/as3525-codec.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 firmware/target/arm/as3525/as3525-codec.h (limited to 'firmware/target/arm/as3525/as3525-codec.h') 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 @@ +/*************************************************************************** + * __________ __ ___. + * Open \______ \ ____ ____ | | _\_ |__ _______ ___ + * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / + * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < + * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ + * \/ \/ \/ \/ \/ + * $Id: $ + * + * Copyright (C) 2008 by Bertrik Sikken + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + ****************************************************************************/ + +void as3525_codec_init(void); + +int as3525_codec_write(int index, int value); +int as3525_codec_read(int index); + + -- cgit v1.2.3