summaryrefslogtreecommitdiffstats
path: root/firmware/export
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2003-05-03 02:40:09 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2003-05-03 02:40:09 +0000
commit331c7d9255e7873d3583aceea6bd00c7360f2366 (patch)
treed0dfb9e1eb62e8e96ef14e01b013179118c6c6f1 /firmware/export
parent86704740792ae81add713f4f4b619c57fee79e47 (diff)
downloadrockbox-331c7d9255e7873d3583aceea6bd00c7360f2366.tar.gz
rockbox-331c7d9255e7873d3583aceea6bd00c7360f2366.zip
Finally, FM radio support on the FM Recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3640 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/config-fmrecorder.h4
-rw-r--r--firmware/export/fmradio.h25
2 files changed, 29 insertions, 0 deletions
diff --git a/firmware/export/config-fmrecorder.h b/firmware/export/config-fmrecorder.h
index 36b304c46d..63a6ece95b 100644
--- a/firmware/export/config-fmrecorder.h
+++ b/firmware/export/config-fmrecorder.h
@@ -39,3 +39,7 @@
/* FM recorders can wake up from RTC alarm */
#define HAVE_ALARM_MOD 1
+
+/* Define this if you have an FM Radio */
+#define HAVE_FMRADIO 1
+
diff --git a/firmware/export/fmradio.h b/firmware/export/fmradio.h
new file mode 100644
index 0000000000..2877501361
--- /dev/null
+++ b/firmware/export/fmradio.h
@@ -0,0 +1,25 @@
+/***************************************************************************
+ * __________ __ ___.
+ * Open \______ \ ____ ____ | | _\_ |__ _______ ___
+ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+ * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+ * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+ * \/ \/ \/ \/ \/
+ * $Id$
+ *
+ * Copyright (C) 2002 by Linus Nielsen Feltzing
+ *
+ * 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.
+ *
+ ****************************************************************************/
+#ifndef FMRADIO_H
+#define FMRADIO_H
+
+extern int fmradio_read(int addr);
+extern void fmradio_set(int addr, int data);
+
+#endif