Delete superfluous image which seems to have been accidentally committed to the wrong...
[kugel-rb.git] / firmware / export / fmradio.h
blob1c364c23ea17f28c65e42ea5d8c27098b6e8e91e
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 * Driver to control the (Samsung) tuner via port-banging SPI
11 * Copyright (C) 2002 by Linus Nielsen Feltzing
13 * This program is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU General Public License
15 * as published by the Free Software Foundation; either version 2
16 * of the License, or (at your option) any later version.
18 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19 * KIND, either express or implied.
21 ****************************************************************************/
22 #ifndef FMRADIO_H
23 #define FMRADIO_H
25 /** declare some stuff here so powermgmt.c can properly tell if the radio is
26 actually playing and not just paused. This break in heirarchy is allowed
27 for audio_status(). **/
29 /* set when radio is playing or paused within fm radio screen */
30 #define FMRADIO_OFF 0x0
31 #define FMRADIO_PLAYING 0x1
32 #define FMRADIO_PAUSED 0x2
34 extern int get_radio_status(void);
36 extern int fmradio_read(int addr);
37 extern void fmradio_set(int addr, int data);
39 #endif