trikRuntime
trikControl::MspBusAutoDetector Class Reference

Service to automatically select USB or I2C MSP communicator. It tries to use USB when possible. More...

#include <mspBusAutoDetector.h>

Static Public Member Functions

static MspCommunicatorInterfacecreateCommunicator (const trikKernel::Configurer &configurer, trikHal::HardwareAbstractionInterface &hardwareAbstraction)
 Factory method that tries to determine which interface is to be used for MSP communication and creates corresponding communicator instance. More...
 

Detailed Description

Service to automatically select USB or I2C MSP communicator. It tries to use USB when possible.

Member Function Documentation

MspCommunicatorInterface * MspBusAutoDetector::createCommunicator ( const trikKernel::Configurer configurer,
trikHal::HardwareAbstractionInterface hardwareAbstraction 
)
static

Factory method that tries to determine which interface is to be used for MSP communication and creates corresponding communicator instance.

Transfers ownership to a caller.

Parameters
configurer- contains preparsed XML configuration.

The documentation for this class was generated from the following files: