1 #ifndef GM_TIVA_PPS_SENSOR_HPP_
2 #define GM_TIVA_PPS_SENSOR_HPP_
4 #include "GmBufferedSensor.hpp"
5 #include <GmRingBuffer.hpp>
6 #include <GmManagedRingBuffer.hpp>
7 #include <GmChildRingBuffer.hpp>
9 #ifndef GMMFAMDATA_HPP_
10 #include <GmMfamData.hpp>
14 #define COUNT_PPS_BUFFERS 10
19 #define GM_PPS_FAILED_INIT 1
20 #define GM_PPS_FAILED 2
22 typedef double (*GM_PPS_CallbackFxn)(
unsigned int index);
42 int Initialize (
int iBoardPPSPinEnum, ti_sysbios_knl_Swi_Handle iPpsId);
43 void ReadDataInternal ();
44 void SetPpsCallback (GM_PPS_CallbackFxn callback);
47 static GM_PPS_CallbackFxn m_static_callBack;
54 static int sPPSPinEnum;
57 static void PpsCallbackInternal (
unsigned int index);
70 static ti_sysbios_knl_Swi_Handle m_iPpsId;
71 uint64_t m_uiLastCounter;
The class from which event sources and sensors that post events to the application's main event queue...
Definition: GmBufferedSensor.hpp:18
Definition: GmPpsEvent.hpp:38
virtual int WriteToStorage(UInt32 ui32Topic, char *pData, UInt32 iSize, GmStorage *psStorage, UInt32 ui32FormatId)
Definition: GmPpsEvent.cpp:210
static void InitializingPpsCallback(unsigned int index)
Definition: GmPpsEvent.cpp:132
Definition: GmStorage.hpp:81
GmApp/GmLoggingApp.hpp>
Definition: Analogs.hpp:47
Definition: GmPpsEvent.hpp:28