#ifndef __AUTOGENERATED_RMTMETADATA_H__
#define __AUTOGENERATED_RMTMETADATA_H__

#include "SsaResults.h"

#define RMT_RESULT_METADATA_GUID \
{0x02CB1552,0xD659,0x4232,{0xB5,0x1F,0xCA,0xB1,0xE1,0x1F,0xCA,0x87} }

#pragma pack (push, 1)

enum SCRAMBLER_OVERRIDE_MODE{
  DisableScrambler = 0,
  EnableScrambler = 1,
  DontTouchScrambler = 2,
  SCRAMBLER_OVERRIDE_MODE_DELIM = INT32_MAX
};

typedef enum SCRAMBLER_OVERRIDE_MODE SCRAMBLER_OVERRIDE_MODE;

typedef struct RMT_RESULT_METADATA{
  BOOLEAN EnableCtlAllMargin;
  UINT16 SinglesBurstLength;
  UINT32 SinglesLoopCount;
  UINT16 TurnaroundsBurstLength;
  UINT32 TurnaroundsLoopCount;
  SCRAMBLER_OVERRIDE_MODE ScramblerOverrideMode;
  UINT8 PiStepUnit[2];
  UINT16 RxVrefStepUnit[2];
  UINT16 TxVrefStepUnit[2][2];
  UINT16 CmdVrefStepUnit[2][2];
  UINT8 MajorVer;
  UINT8 MinorVer;
  UINT8 RevVer;
  UINT32 BuildVer;
  UINT16 ResultEleCount;
}RMT_RESULT_METADATA;

#pragma pack (pop)

#endif
