AGHAF  4.5.4
Annecy electronique Generic Hardware Access Framework
AGHAF_EventInfo Struct Reference

generic stucture to read an event in a callback More...

#include <aghaf_global.h>

Public Attributes

AGHAF_BOOL absolute
 Define if the timestamp are absolute or relative.
 
uint32_t event
 
uint64_t timestamp
 Timestamp at which the event happened.
 
uint32_t timestampPrecision
 Precision of timestamp.
 
AGHAF_TypeEvent type
 

Detailed Description

generic stucture to read an event in a callback

Examples
Can_FD/main.cpp, Can_LS/main.cpp, DeviceManagement/main.cpp, and DoCan_FD/main.cpp.

Member Data Documentation

◆ event

uint32_t AGHAF_EventInfo::event

Event information. Provide information about event type ( event tx, event rx, device connected...).

Examples
DeviceManagement/main.cpp.

◆ type

AGHAF_TypeEvent AGHAF_EventInfo::type

Type information. Provide information about origin (device, can, ethernet...).

Examples
Can_FD/main.cpp, Can_LS/main.cpp, DeviceManagement/main.cpp, and DoCan_FD/main.cpp.