
#ifndef __TLC_REGISTERS__
#define	__TLC_REGISTERS__

#define TLCREG_COMM_TIMEOUT             0x0000  // RW   Int32   Communication timeout (in ms)
                                                // Default : 5000
#define TLCREG_HEARTBEAT_MNGMT          0x0004  // RW   Int32   Heartbeat management
                                                //  0 : Disabled : The heartbeat timeout must be handled by the application in this mode
                                                //  1 : Enabled (Default) : The TLC ensures the heartbeat management
                                                // -1 : Not available : because heartbeat is handled by another TLC

// Grabber status
#define TLCREG_GRABBER_STATUS           0x0104  // RO   Int32   IsAcquiring = true if the TLC is currently acquiring
#define TLCREG_DRIVER_TYPE              0x0108  // RO   Int32   Driver type in use
                                                // 0 : None
                                                // 1 : Filter driver
                                                // 2 : Inter high performance driver
//                                      0x0110  // RO   Int32   MTU for port #0, in bytes (0 means no port)
//                                      0x0114  // RO   Int32   MTU for port #1, in bytes
//                                      0x0118  // RO   Int32   MTU for port #2, in bytes
//                                      0x011C  // RO   Int32   MTU for port #3, in bytes

// General purpose statistics
#define TLCREG_RESET_STATS              0x0400  // WO   Int32   Reset Stats = Resets statistics loggers. The start acquisition also do the same.
#define TLCREG_CAPTURED_FRAMES          0x0408  // RO   Int32   Accumulated TotalFrames = total number of frame captured since the last reset
#define TLCREG_ELAPSED_SESSION_TIME     0x0410  // RO   Float32 ElapsedTime = the time that has elapsed since the start of the current session (in second)
#define TLCREG_ACC_CORRUPT_PACKETS   // 0x0418  // RO   Int32   Accumulated corrupt packets
#define TLCREG_SENT_RETRANSMIT          0x0420  // RO   Int32   Retransmit packets sent
#define TLCREG_RETRANSMIT_RECEIVED      0x0428  // RO   Int32   Retransmit packets received
#define TLCREG_CURRENT_CORRUPT_PACKETS  0x0430  // RO   Int32   Accumulated corrupt packets
#define TLCREG_FRAME_TIME_KERNEL        0x0438  // RO   Int32   Frame time kernel in usec
#define TLCREG_FRAME_TIME_USER          0x0440  // RO   Int32   Frame time user in usec

#endif __TLC_REGISTERS__
