|
@ -22,6 +22,7 @@ |
|
|
#define FRAME_TYPE_PRP_MASK 0x0F000000 |
|
|
#define FRAME_TYPE_PRP_MASK 0x0F000000 |
|
|
#define IQ_DATA_CROSS_EN_PRP_MASK 0x10000000 |
|
|
#define IQ_DATA_CROSS_EN_PRP_MASK 0x10000000 |
|
|
#define LOG_EN_PRP_MASK 0x20000000 |
|
|
#define LOG_EN_PRP_MASK 0x20000000 |
|
|
|
|
|
#define DTGC_EN_PRP_MASK 0x40000000 |
|
|
|
|
|
|
|
|
#define BAR 0U |
|
|
#define BAR 0U |
|
|
#define OFFSET 0X80000 |
|
|
#define OFFSET 0X80000 |
|
@ -45,6 +46,7 @@ struct ReceiverConfiguration |
|
|
QList<quint32> frameType; |
|
|
QList<quint32> frameType; |
|
|
QList<quint32> iqDataCrossEn; |
|
|
QList<quint32> iqDataCrossEn; |
|
|
QList<quint32> logEn; |
|
|
QList<quint32> logEn; |
|
|
|
|
|
QList<quint32> dTgcEn; |
|
|
void clear() |
|
|
void clear() |
|
|
{ |
|
|
{ |
|
|
mla.clear(); |
|
|
mla.clear(); |
|
@ -63,6 +65,7 @@ struct ReceiverConfiguration |
|
|
frameType.clear(); |
|
|
frameType.clear(); |
|
|
iqDataCrossEn.clear(); |
|
|
iqDataCrossEn.clear(); |
|
|
logEn.clear(); |
|
|
logEn.clear(); |
|
|
|
|
|
dTgcEn.clear(); |
|
|
} |
|
|
} |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
@ -114,6 +117,9 @@ private: |
|
|
|
|
|
|
|
|
//value = _configLut->logEn.at(static_cast<qint32>(index)) ? 1 : 0;
|
|
|
//value = _configLut->logEn.at(static_cast<qint32>(index)) ? 1 : 0;
|
|
|
logEnPrp->setValue(_configLut->logEn.at(static_cast<qint32>(index))); |
|
|
logEnPrp->setValue(_configLut->logEn.at(static_cast<qint32>(index))); |
|
|
|
|
|
|
|
|
|
|
|
//value = _configLut->dTgcEnPrp.at(static_cast<qint32>(index)) ? 1 : 0;
|
|
|
|
|
|
dTgcEnPrp->setValue(_configLut->dTgcEn.at(static_cast<qint32>(index))); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public: |
|
|
public: |
|
@ -133,6 +139,7 @@ public: |
|
|
Field* frameTypePrp; |
|
|
Field* frameTypePrp; |
|
|
Field* iqDataCrossEncPrp; |
|
|
Field* iqDataCrossEncPrp; |
|
|
Field* logEnPrp; |
|
|
Field* logEnPrp; |
|
|
|
|
|
Field* dTgcEnPrp; |
|
|
|
|
|
|
|
|
void setReceiverConfigurationLut (ReceiverConfiguration* configLut) |
|
|
void setReceiverConfigurationLut (ReceiverConfiguration* configLut) |
|
|
{ |
|
|
{ |
|
@ -157,6 +164,7 @@ public: |
|
|
ADD_UNSIGNED_FIELD(frameTypePrp, FRAME_TYPE_PRP_MASK); |
|
|
ADD_UNSIGNED_FIELD(frameTypePrp, FRAME_TYPE_PRP_MASK); |
|
|
ADD_UNSIGNED_FIELD(iqDataCrossEncPrp, IQ_DATA_CROSS_EN_PRP_MASK); |
|
|
ADD_UNSIGNED_FIELD(iqDataCrossEncPrp, IQ_DATA_CROSS_EN_PRP_MASK); |
|
|
ADD_UNSIGNED_FIELD(logEnPrp, LOG_EN_PRP_MASK); |
|
|
ADD_UNSIGNED_FIELD(logEnPrp, LOG_EN_PRP_MASK); |
|
|
|
|
|
ADD_UNSIGNED_FIELD(dTgcEnPrp, DTGC_EN_PRP_MASK); |
|
|
} |
|
|
} |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
@ -176,6 +184,7 @@ public: |
|
|
#undef FRAME_TYPE_PRP_MASK |
|
|
#undef FRAME_TYPE_PRP_MASK |
|
|
#undef IQ_DATA_CROSS_EN_PRP_MASK |
|
|
#undef IQ_DATA_CROSS_EN_PRP_MASK |
|
|
#undef LOG_EN_PRP_MASK |
|
|
#undef LOG_EN_PRP_MASK |
|
|
|
|
|
#undef DTGC_EN_PRP_MASK |
|
|
|
|
|
|
|
|
#undef BAR |
|
|
#undef BAR |
|
|
#undef OFFSET |
|
|
#undef OFFSET |
|
|