Menu

PeakDriverLinuxTrait.h File Reference

#include "debug.h"
#include "devices/nic/can/peak/PeakDriverBase.h"
#include "util/CommandLineParameterGenerator.h"

Go to the source code of this file.

Data Structures

class  device::nic::CAN::PeakDriverLinuxTrait
 PeakDriverLinuxTrait abstacts from the low-level Peak Linux driver API to a generic API, that is used from device::nic::can::PeakDriver. More...

Namespaces

namespace  device
namespace  device::nic
namespace  device::nic::CAN

Typedefs

typedef PeakDriverLinuxTrait device::nic::CAN::PeakDriverTrait

Functions

 device::nic::CAN::CLP2 (PEAKOptions,"Peak CAN Driver","pcan,p","The device that is used and the baudrate in the form of device:baudrate""Values:\n"" Device: \tdevice that has to be used\n"" Baudrate: \tlegal values are\n"" 0 = 1 MBit/s\n"" 1 = 500 kBit/s\n"" 2 = 250 kBit/s\n"" 3 = 125 kBit/s\n"" 4 = 100 kBit/s\n"" 5 = 50 kBit/s\n"" 6 = 20 kBit/s\n"" 7 = 10 kBit/s\n"" 8 = 5 kBit/s\n""(e.g. /dev/pcan32:2 (default))", std::string, device,"/dev/pcan32", int, baudrate, 2)