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_least16_t remaining_count
 
typedef timestamp_type timeout_type
 
typedef uint64_t timestamp_type
 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

◆ remaining_count

typedef int_least16_t remaining_count

Definition at line 16 of file mip_types.h.

◆ timeout_type

Definition at line 35 of file mip_types.h.

◆ timestamp_type

typedef uint64_t timestamp_type

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 Wed Mar 22 2023 02:35:07