mirror of
git://projects.qi-hardware.com/nn-usb-fpga.git
synced 2025-01-10 10:30:16 +02:00
22 lines
298 B
C++
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
|