diff options
Diffstat (limited to 'api/Afa_AF9007.c')
-rw-r--r-- | api/Afa_AF9007.c | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/api/Afa_AF9007.c b/api/Afa_AF9007.c new file mode 100644 index 0000000..140f4cb --- /dev/null +++ b/api/Afa_AF9007.c @@ -0,0 +1,69 @@ +/** + * @(#)Afa_AF9007.cpp + * + * ========================================================== + * Version: 2.0 + * Date: 2008.07.02 + * ========================================================== + * + * ========================================================== + * History: + * + * Date Author Description + * ---------------------------------------------------------- + * + * 2008.07.02 Tom Lin added tuner version + * ========================================================== + * + * Copyright 2005 Afatech, Inc. All rights reserved. + * + */ + + +//#include <stdio.h> // for Linux +#include "type.h" +#include "error.h" +#include "user.h" +#include "register.h" +#include "standard.h" +#include "Afa_AF9007_Script.h" + + +Dword AF9007_open ( + IN Demodulator* demodulator, + IN Byte chip +) { + return (Error_NO_ERROR); +} + + +Dword AF9007_close ( + IN Demodulator* demodulator, + IN Byte chip +) { + return (Error_NO_ERROR); +} + + +Dword AF9007_set ( + IN Demodulator* demodulator, + IN Byte chip, + IN Word bandwidth, + IN Dword frequency +) { + return (Error_NO_ERROR); +} + + +TunerDescription tuner_AF9007 = { + AF9007_open, + AF9007_close, + AF9007_set, + AF9007_scripts, + AF9007_scriptSets, + 0, /** tuner i2c address */ + 0, /** length of tuner register address */ + 36167000, /** tuner if */ + True, /** spectrum inverse */ + 0xFF, /** tuner id */ +}; |