Go to the source code of this file.
Macros | |
| #define | NT_APPL_SUCCESS 0 |
| #define | NT_APPL_ERROR_NTAPI 1 |
| #define | NT_APPL_ERROR_OS 2 |
Functions | |
| static void | StopApplication (int sig) |
| static const char * | NT_TranslateSensorType (NtSensorType_t Type) |
| static float | NT_GetSensorMultiplier (NtSensorType_t Type) |
| static const char * | NT_GetSensorUnit (NtSensorType_t Type) |
| static char * | NT_TranslateSensorValue (char *Str, size_t Size, int Value, NtSensorType_t Type, const char *FmtStr, char *Prefix) |
| static const char * | NT_TranslatePortEvent (enum NtEventPort_e Event) |
| static int | GetSensorData (const struct NtEventSensor_s *pSensor, NtInfo_t *pInfo) |
| static NtError_t | DumpSensor (const struct NtEventSensor_s *pSensorEvent) |
| static void | DumpConfigChangeEvents (const struct NtConfig_s *pConfigEvent) |
| static const char * | ref2text (enum NtTimeSyncReference_e ref) |
| static const char * | ptp2text (enum NtPTPPortState_e state) |
| static NtError_t | DumpEvent (const NtEvent_t *pEventInfo) |
| int | main (void) |
Variables | |
| static atomic_int | appRunning = 1 |
Macro Definition Documentation
| #define NT_APPL_SUCCESS 0 |
- Examples:
- eventMonitor_example.c.
Definition at line 119 of file eventMonitor_example.c.
Referenced by main().
| #define NT_APPL_ERROR_NTAPI 1 |
- Examples:
- eventMonitor_example.c.
Definition at line 120 of file eventMonitor_example.c.
Referenced by main().
| #define NT_APPL_ERROR_OS 2 |
- Examples:
- eventMonitor_example.c.
Definition at line 121 of file eventMonitor_example.c.
Referenced by main().
Function Documentation
|
static |
- Examples:
- eventMonitor_example.c.
Definition at line 132 of file eventMonitor_example.c.
Referenced by main().
|
static |
- Examples:
- eventMonitor_example.c.
Definition at line 140 of file eventMonitor_example.c.
Referenced by DumpSensor().
|
static |
< Unit: 0.1 degree Celsius
< Unit: 1 mV
< Unit: 1 uA
< Unit: 0.1 uW
< Unit: 1 RPM (Revolutions Per Minute)
< Unit: 1 mW
- Examples:
- eventMonitor_example.c.
Definition at line 158 of file eventMonitor_example.c.
Referenced by NT_TranslateSensorValue().
|
static |
- Examples:
- eventMonitor_example.c.
Definition at line 175 of file eventMonitor_example.c.
Referenced by NT_TranslateSensorValue().
|
static |
- Examples:
- eventMonitor_example.c.
Definition at line 216 of file eventMonitor_example.c.
Referenced by DumpSensor().
|
static |
- Examples:
- eventMonitor_example.c.
Definition at line 271 of file eventMonitor_example.c.
Referenced by DumpEvent().
|
static |
- Examples:
- eventMonitor_example.c.
Definition at line 288 of file eventMonitor_example.c.
Referenced by DumpSensor().
|
static |
- Examples:
- eventMonitor_example.c.
Definition at line 332 of file eventMonitor_example.c.
Referenced by DumpEvent().
|
static |
- Examples:
- eventMonitor_example.c.
Definition at line 437 of file eventMonitor_example.c.
Referenced by DumpEvent().
|
static |
- Examples:
- eventMonitor_example.c.
Definition at line 495 of file eventMonitor_example.c.
Referenced by DumpEvent().
|
static |
- Examples:
- eventMonitor_example.c.
Definition at line 523 of file eventMonitor_example.c.
Referenced by DumpEvent().
|
static |
- Examples:
- eventMonitor_example.c.
Definition at line 562 of file eventMonitor_example.c.
Referenced by main().
| int main | ( | void | ) |
- Examples:
- eventMonitor_example.c.
Definition at line 667 of file eventMonitor_example.c.
Variable Documentation
|
static |
- Examples:
- eventMonitor_example.c.
Definition at line 115 of file eventMonitor_example.c.
Referenced by main(), and StopApplication().