Macros | Typedefs
mip_types.h File Reference
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
Include dependency graph for mip_types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MIP_DIAG_INC(counter, amount)   (void)amount
 
#define MIP_DIAG_ZERO(counter)   (void)0
 

Typedefs

typedef int mip_remaining_count
 
typedef mip_timestamp mip_timeout
 
typedef uint64_t mip_timestamp
 Type used for packet timestamps and timeouts. More...
 

Macro Definition Documentation

◆ MIP_DIAG_INC

#define MIP_DIAG_INC (   counter,
  amount 
)    (void)amount

Definition at line 48 of file mip_types.h.

◆ MIP_DIAG_ZERO

#define MIP_DIAG_ZERO (   counter)    (void)0

Definition at line 50 of file mip_types.h.

Typedef Documentation

◆ mip_remaining_count

typedef int mip_remaining_count

Definition at line 16 of file mip_types.h.

◆ mip_timeout

Definition at line 35 of file mip_types.h.

◆ mip_timestamp

typedef uint64_t mip_timestamp

Type used for packet timestamps and timeouts.

Timestamps must be monotonic except for overflow at the maximum value back to 0. The units can be anything, but typically are milliseconds. Choose a long enough unit so that consecutive calls to the parser will not exceed half of the maximum value for this type. For milliseconds, the time to overflow is approximately 50 days, so the parser should be invoked at least every 25 days. Failure to observe this requirement may result in false timeouts or delays in getting parsed packets.

Definition at line 32 of file mip_types.h.



microstrain_inertial_driver
Author(s): Brian Bingham, Parker Hannifin Corp
autogenerated on Mon Jun 24 2024 02:51:40