MAXREFDES71# Code Documentation  V01.00
MAXREFDES71# 2-Channel Analog Input/Analog Output
 All Data Structures Files Functions Variables Macros Pages
maximDeviceSpecificUtilities.h
Go to the documentation of this file.
1 
31 /*
32  * Copyright (C) 2012 Maxim Integrated Products, Inc., All Rights Reserved.
33  *
34  * Permission is hereby granted, free of charge, to any person obtaining a
35  * copy of this software and associated documentation files (the "Software"),
36  * to deal in the Software without restriction, including without limitation
37  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
38  * and/or sell copies of the Software, and to permit persons to whom the
39  * Software is furnished to do so, subject to the following conditions:
40  *
41  * The above copyright notice and this permission notice shall be included
42  * in all copies or substantial portions of the Software.
43  *
44  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
45  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
46  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
47  * IN NO EVENT SHALL MAXIM INTEGRATED PRODUCTS BE LIABLE FOR ANY CLAIM, DAMAGES
48  * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
49  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
50  * OTHER DEALINGS IN THE SOFTWARE.
51  *
52  * Except as contained in this notice, the name of Maxim Integrated Products
53  * shall not be used except as stated in the Maxim Integrated Products
54  * Branding Policy.
55  *
56  * The mere transfer of this software does not imply any licenses
57  * of trade secrets, proprietary technology, copyrights, patents,
58  * trademarks, maskwork rights, or any other form of intellectual
59  * property whatsoever. Maxim Integrated Products retains all ownership rights.
60  *
61  ***************************************************************************/
62 
63 #include "xscugic.h"
64 
65 #ifndef MAXIMDEVICESPECIFICUTILITIES_H_
66 #define MAXIMDEVICESPECIFICUTILITIES_H_
67 
68 u32 start_sampling(u32 unSampleSize, int nSampleRate, u16 *auSamplesCh1, u16 *auSamplesCh2);
69 void continuous_sampling(int nChannel);
70 void signal_replication(int nRepRate);
71 int SetupInterruptSystem(XScuGic *IntcInstancePtr);
72 void ReadADCHandler(void *CallBackRef);
73 
74 #endif /* MAXIMDEVICESPECIFICUTILITIES_H_ */