-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMaxlinear_MXL5007.h
60 lines (47 loc) · 1.02 KB
/
Maxlinear_MXL5007.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/**
* Maxlinear_MXL5007.h
*
* Interface btw Afa9035 and Mxl5007T
*/
#ifndef __Maxlinear_MXL5007_H__
#define __Maxlinear_MXL5007_H__
#include "type.h"
#include "error.h"
#include "user.h"
#include "register.h"
#include "standard.h"
#include "mxl5007t.h"
#include "Common.h" //for Tuner_struct
typedef unsigned int UINT32;
typedef unsigned char UINT8;
extern TunerDescription tuner_MXL5007;
/**
*
*/
UINT32 MxL_I2C_Write(UINT8 DeviceAddr, void* pArray, UINT32 ByteCount, struct mxl5007t_config* myTuner);
UINT32 MxL_I2C_Read(UINT8 DeviceAddr, UINT8 Addr, UINT8* mData, struct mxl5007t_config* myTuner);
void MxL_Delay(UINT32 mSec);
/**
*
*/
Dword MXL5007_open (
IN Demodulator* demodulator,
IN Byte chip
);
/**
*
*/
Dword MXL5007_close (
IN Demodulator* demodulator,
IN Byte chip
);
/**
*
*/
Dword MXL5007_set (
IN Demodulator* demodulator,
IN Byte chip,
IN Word bandwidth,
IN Dword frequency
);
#endif //__Maxlinear_MXL5007_H__