11556Srgrimes/* 21556Srgrimes * Copyright (c) 2004-2007 Marcus Overhagen <marcus@overhagen.de> 31556Srgrimes * 41556Srgrimes * Permission is hereby granted, free of charge, to any person 51556Srgrimes * obtaining a copy of this software and associated documentation 61556Srgrimes * files (the "Software"), to deal in the Software without restriction, 71556Srgrimes * including without limitation the rights to use, copy, modify, 81556Srgrimes * merge, publish, distribute, sublicense, and/or sell copies of 91556Srgrimes * the Software, and to permit persons to whom the Software is 101556Srgrimes * furnished to do so, subject to the following conditions: 111556Srgrimes * 121556Srgrimes * The above copyright notice and this permission notice shall be 131556Srgrimes * included in all copies or substantial portions of the Software. 141556Srgrimes * 151556Srgrimes * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 161556Srgrimes * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 171556Srgrimes * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 181556Srgrimes * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 191556Srgrimes * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 201556Srgrimes * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 211556Srgrimes * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 221556Srgrimes * OTHER DEALINGS IN THE SOFTWARE. 231556Srgrimes */ 241556Srgrimes 251556Srgrimes#ifndef __DTT7592_H 261556Srgrimes#define __DTT7592_H 271556Srgrimes 281556Srgrimes#include "i2c_core.h" 291556Srgrimes#include "dvb.h" 301556Srgrimes 311556Srgrimesstatus_t dtt7592_write(i2c_bus *bus, const uint8 data[4]); 321556Srgrimesstatus_t dtt7592_read(i2c_bus *bus, uint8 *data); 331556Srgrimes 341556Srgrimesstatus_t dtt7592_set_frequency(i2c_bus *bus, uint32 frequency, dvb_bandwidth_t bandwidth); 351556Srgrimes 363044Sdgvoid dtt7582_test(i2c_bus *bus); 3726363Scharnier 381556Srgrimes#endif 391556Srgrimes