1
0
mirror of git://projects.qi-hardware.com/nn-usb-fpga.git synced 2025-01-10 19:50:14 +02:00
nn-usb-fpga/Examples/ADC/QT_src/ADCw.h
2010-04-05 14:06:50 -05:00

22 lines
298 B
C++

#ifndef ADCW_H
#define ADCW_H
#include "jz_adc_peripheral.h"
#include <stdio.h>
#include <unistd.h>
class ADCw
{
public:
ADCw();
~ADCw(){};
void testADC();
void powerDownADC();
JZ_REG * takeSamplesADC(int LENB, uchar CLKDIV, int CHANNEL);
private:
JZ_REG * ADCBuffer;
};
#endif // ADCW_H