// $Header: https://oberon.oapd.inaf.it/shins/trunk/shins/src/tiptilt_ctrl/bcu/Interface/Sharknir/Bcu/SharknirBcuDiagnosticRecordHeader.h 1145 2019-01-22 17:42:46Z depa $
#pragma once

#include <boost/cstdint.hpp>
#include <boost/static_assert.hpp>


namespace Sharknir { namespace Bcu {

struct ParamSelector
{
    static const uint32_t BLOCK_SELECTION;
    static const uint32_t ENABLE_ALTERNATE_RTR_MODE;
    static const uint32_t ENABLE_DSP_SDRAM;
    static const uint32_t ENABLE_FAST_LINK;
    static const uint32_t ENABLE_MCF;
    static const uint32_t ENABLE_ACC;
    static const uint32_t ENABLE_WFS_DISTURBANCE;
    static const uint32_t ENABLE_OVS_DISTURBANCE;
    // static const uint32_t ENABLE_HVC;
    static const uint32_t ENABLE_BCU_SDRAM;
};


struct DiagnosticRecordHeader
{
    uint32_t dsc_FramesCounter;
    uint32_t dsc_ParamSelector;
    uint32_t unused[2];
};
typedef DiagnosticRecordHeader DiagnosticRecordFooter;

BOOST_STATIC_ASSERT(16 == sizeof(DiagnosticRecordHeader));

}
}
