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

22 lines
298 B
C
Raw Normal View History

2010-04-05 22:06:50 +03:00
#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