added EN_SILENT_MODE into QCanBusDevice::UserKey
This commit is contained in:
@@ -7,6 +7,21 @@
|
||||
#include <QCanBusDevice>
|
||||
#include <QTimer>
|
||||
|
||||
/*
|
||||
QCanBusDevice::UserKey
|
||||
0x00000001 - enable silent mode
|
||||
0x00000002 - enable loopback mode
|
||||
0x00000004 - disable auto retransmissions
|
||||
0x00000008 - enable terminator
|
||||
0x00000010 - enable automatic bus off recovery
|
||||
*/
|
||||
|
||||
#define EN_SILENT_MODE 0x00000001
|
||||
#define EN_LOOPBACK_MODE 0x00000002
|
||||
#define DIS_AUTO_RETRANSMISSIONS 0x00000004
|
||||
#define EN_TERMINATOR 0x00000008
|
||||
#define EN_AUTOMATIC_BUSOFF_RECOVERY 0x00000010
|
||||
|
||||
class SerialBusConnection : public CANConnection
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
Reference in New Issue
Block a user