package legacy;

struct microstrain_t
{
    int64_t utime;

    int64_t bitmask;

    microstrain_types_t inst;
    microstrain_types_t stab;

    double Temperature;  // [C]
    int16_t TimerTicks; // seconds

    const int16_t 
        INST_MAGFIELD=1,
        INST_ACCEL=2,
        INST_ANGRATE=4,
        INST_EULER=8,
        INST_M=16,
        INST_Q=32,
        STAB_MAGFIELD=64,
        STAB_ACCEL=128,
        STAB_ANGRATE=256,
        STAB_EULER=512,
        STAB_M=1024,
        STAB_Q=2048,
        TEMPERATURE=4096;
}
