You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

44 lines
692 B

#ifndef HARDWARE_CORE_H
#define HARDWARE_CORE_H
#include <QObject>
#include "model/hardware/core/IBoard.h"
#include "model/ultrasoundModule/UsData.h"
#include "model/hardware/core/TrxBoard.h"
class HardwareCore : public QObject
{
Q_OBJECT
private:
TrxBoard* _trxBoard;
bool selfTest();
bool functionalTest() {
return true;
}
void createTrxBoard();
void initTrxBoard();
bool hwProcFileExist();
void checkPcieLink();
void programFpga();
QString getApplicationHomePath();
public:
HardwareCore();
~HardwareCore();
void start();
void dataReady(const QByteArray& arr);
void startupRoutine();
signals:
void newData(const QByteArray& arr);
};
#endif //HARDWARE_CORE_H