7 #ifndef INTERRUPTABLE_SENSORBASE_H_
8 #define INTERRUPTABLE_SENSORBASE_H_
10 #include "ChipObject.h"
11 #include "SensorBase.h"
26 tInterrupt *m_interrupt;
27 tInterruptManager *m_manager;
28 uint32_t m_interruptIndex;
29 void AllocateInterrupts(
bool watcher);
virtual void WaitForInterrupt(float timeout)
Synchronus version.
Definition: InterruptableSensorBase.cpp:51
virtual void CancelInterrupts()
Free up the underlying chipobject functions.
Definition: InterruptableSensorBase.cpp:37
virtual void DisableInterrupts()
Disable, but don't deallocate.
Definition: InterruptableSensorBase.cpp:77
Definition: SensorBase.h:20
virtual double ReadInterruptTimestamp()
Return the timestamp for the interrupt that occurred.
Definition: InterruptableSensorBase.cpp:91
Definition: InterruptableSensorBase.h:13
virtual void RequestInterrupts()=0
Synchronus Wait version.
virtual void EnableInterrupts()
Enable interrupts - after finishing setup.
Definition: InterruptableSensorBase.cpp:65