summaryrefslogtreecommitdiff
path: root/firmware/export/stfm1000.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/stfm1000.h')
-rw-r--r--firmware/export/stfm1000.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/firmware/export/stfm1000.h b/firmware/export/stfm1000.h
new file mode 100644
index 0000000000..2143a81ad4
--- /dev/null
+++ b/firmware/export/stfm1000.h
@@ -0,0 +1,42 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 *
9 * $Id$
10 *
11 * Tuner header for the STFM1000
12 *
13 * Copyright (C) 2012 Amaury Pouly
14 *
15 * This program is free software; you can redistribute it and/or
16 * modify it under the terms of the GNU General Public License
17 * as published by the Free Software Foundation; either version 2
18 * of the License, or (at your option) any later version.
19 *
20 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
21 * KIND, either express or implied.
22 *
23 ****************************************************************************/
24
25#ifndef __STFM1000__
26#define __STFM1000__
27#include <stdint.h>
28
29#define HAVE_RADIO_REGION
30#define HAVE_RADIO_RSSI
31
32bool stfm1000_detect(void);
33void stfm1000_init(void);
34int stfm1000_set(int setting, int value);
35int stfm1000_get(int setting);
36
37#ifndef CONFIG_TUNER_MULTI
38#define tuner_set stfm1000_set
39#define tuner_get stfm1000_get
40#endif
41
42#endif /* __STFM1000__ */