forked from petermilne/ACQ420FMC
-
Notifications
You must be signed in to change notification settings - Fork 3
/
ad9854.h
38 lines (34 loc) · 1.82 KB
/
ad9854.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
/* ------------------------------------------------------------------------- */
/* ad9854.h D-TACQ ACQ400 FMC DRIVER
* Project: ACQ420_FMC
* Created: 15 Aug 2016 / User: pgm
* ------------------------------------------------------------------------- *
* Copyright (C) 2016 Peter Milne, D-TACQ Solutions Ltd *
* <peter dot milne at D hyphen TACQ dot com> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of Version 2 of the GNU General Public License *
* as published by the Free Software Foundation; *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the Free Software *
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
*
* TODO
* TODO
* ------------------------------------------------------------------------- */
#ifndef AD9854_H_
#define AD9854_H_
struct AD9854_ChipData;
struct AD9854_PlatformData {
void (*strobe)(void* dev_private, int cs, int strobe_mode);
void* dev_private;
int strobe_mode; /* 0: OFF, 1:SELF 2:SHARED */
struct AD9854_ChipData* chip_private;
};
#endif /* AD9854_H_ */