ahbuartpywrapper.h
25 lines
| 759 B
| text/x-c
|
CLexer
/ ahbuartplugin / ahbuartpywrapper.h
r0 | #ifndef AHBUARTPYWRAPPER_H | |||
#define AHBUARTPYWRAPPER_H | ||||
r34 | #include <socexplorerplugin.h> | |||
r0 | #include <genericPySysdriver.h> | |||
#include <QString> | ||||
r34 | #include <qobject.h> | |||
r0 | ||||
class ahbuartPywrapper : public genericPySysdriver | ||||
{ | ||||
Q_OBJECT | ||||
public: | ||||
explicit ahbuartPywrapper(socexplorerplugin *parent = 0); | ||||
signals: | ||||
bool open(QString PortName,int baudrate); | ||||
void close(); | ||||
QVariantList ReadBytes(unsigned int address,unsigned int count); | ||||
void WriteBytes(unsigned int address,QList<QVariant> dataList); | ||||
public slots: | ||||
// bool dumpMemory(unsigned int address,unsigned int count,QString file); | ||||
// bool memSet(unsigned int address,int value, unsigned int count); | ||||
// bool loadbin(unsigned int address,QString file); | ||||
}; | ||||
#endif // AHBUARTPYWRAPPER_H | ||||