trikRuntime
|
Real implementation of USB bus communicator. More...
#include <trikMspUsb.h>
Public Member Functions | |
TrikMspUsb ()=default | |
~TrikMspUsb () override | |
void | send (const QByteArray &data) override |
Send data to MSP. More... | |
int | read (const QByteArray &data) override |
Reads data by given MSP command number and returns the result. More... | |
bool | connect () override |
Establish connection with MSP over USB bus. More... | |
void | disconnect () override |
Disconnect from MSP. More... | |
Public Member Functions inherited from trikHal::MspUsbInterface | |
MspUsbInterface ()=default | |
virtual | ~MspUsbInterface ()=default |
Real implementation of USB bus communicator.
|
default |
|
override |
|
overridevirtual |
Establish connection with MSP over USB bus.
Implements trikHal::MspUsbInterface.
|
overridevirtual |
Disconnect from MSP.
Implements trikHal::MspUsbInterface.
|
overridevirtual |
Reads data by given MSP command number and returns the result.
Implements trikHal::MspUsbInterface.
|
overridevirtual |
Send data to MSP.
Implements trikHal::MspUsbInterface.