|
trikRuntime
|
Communicates with MSP processor over USB bus. More...
#include <mspUsbInterface.h>

Public Member Functions | |
| MspUsbInterface ()=default | |
| virtual | ~MspUsbInterface ()=default |
| virtual void | send (const QByteArray &data)=0 |
| Send data to MSP. More... | |
| virtual int | read (const QByteArray &data)=0 |
| Reads data by given MSP command number and returns the result. More... | |
| virtual bool | connect ()=0 |
| Establish connection with MSP over USB bus. More... | |
| virtual void | disconnect ()=0 |
| Disconnect from MSP. More... | |
Communicates with MSP processor over USB bus.
|
default |
|
virtualdefault |
|
pure virtual |
Establish connection with MSP over USB bus.
Implemented in trikHal::trik::TrikMspUsb, and trikHal::stub::StubMspUsb.
|
pure virtual |
Disconnect from MSP.
Implemented in trikHal::trik::TrikMspUsb, and trikHal::stub::StubMspUsb.
|
pure virtual |
Reads data by given MSP command number and returns the result.
Implemented in trikHal::trik::TrikMspUsb, and trikHal::stub::StubMspUsb.
|
pure virtual |
Send data to MSP.
Implemented in trikHal::trik::TrikMspUsb, and trikHal::stub::StubMspUsb.