Développement CAN Watchdog
This commit is contained in:
@@ -6,6 +6,11 @@
|
||||
#include <QTimer>
|
||||
#include "CANMessage.h"
|
||||
|
||||
|
||||
//This class is not a watchdog per say. It manages the update of the CAN register that is sent to the
|
||||
//Parker controller. This controller uses this update as a watchdog signal, but the register contains
|
||||
//some useful data for the Parker controller as well.
|
||||
|
||||
class CCANWatchdog: public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -17,6 +22,7 @@ public:
|
||||
int StartWDT();
|
||||
int StopWDT();
|
||||
bool IsInitialized(){return mWDTInitialized;}
|
||||
quint64 GetCANDateTimeBuffer();
|
||||
|
||||
CPCANInterface *mCANDriverIF;
|
||||
unsigned int mWDTPeriod;
|
||||
|
||||
Reference in New Issue
Block a user