add plugins categories file to tarball. Should fix FS#7567.
[Rockbox.git] / firmware / export / tea5767.h
blobdfa6149f2008e6d743639b99ec20181b3868d082
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 * Tuner header for the Philips TEA5767
11 * Copyright (C) 2007 Michael Sevakis
13 * All files in this archive are subject to the GNU General Public License.
14 * See the file COPYING in the source tree root for full license agreement.
16 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
17 * KIND, either express or implied.
19 ****************************************************************************/
21 #ifndef _TEA5767_H_
22 #define _TEA5767_H_
24 #define HAVE_RADIO_REGION
25 #define HAVE_RADIO_MUTE_TIMEOUT
27 struct tea5767_region_data
29 unsigned char deemphasis; /* 0: 50us, 1: 75us */
30 unsigned char band; /* 0: europe, 1: japan (BL in TEA spec)*/
31 } __attribute__((packed));
33 const struct tea5767_region_data tea5767_region_data[TUNER_NUM_REGIONS];
35 struct tea5767_dbg_info
37 unsigned char read_regs[5];
38 unsigned char write_regs[5];
41 int tea5767_set(int setting, int value);
42 int tea5767_get(int setting);
43 void tea5767_dbg_info(struct tea5767_dbg_info *info);
45 #ifndef CONFIG_TUNER_MULTI
46 #define tuner_set tea5767_set
47 #define tuner_get tea5767_get
48 #endif
50 #endif /* _TEA5767_H_ */