SRV_PLC_PCOUP_DATA Struct
C
typedef struct
{
/* Target RMS values in HIGH mode for dynamic Tx gain */
uint32_t rmsHigh[SRV_PCOUP_MAX_NUM_TX_LEVELS];
/* Target RMS values in VLOW mode for dynamic Tx gain */
uint32_t rmsVLow[SRV_PCOUP_MAX_NUM_TX_LEVELS];
/* Threshold RMS values in HIGH mode for dynamic Tx mode */
uint32_t thrsHigh[SRV_PCOUP_MAX_NUM_TX_LEVELS << 1];
/* Threshold RMS values in VLOW mode for dynamic Tx mode */
uint32_t thrsVLow[SRV_PCOUP_MAX_NUM_TX_LEVELS << 1];
/* Values for configuration of PLC DACC peripheral, according to hardware
coupling design and PLC device (PL360/PL460) */
uint32_t daccTable[17];
/* Pointer to Tx equalization coefficients table in HIGH mode.
There is one coefficient for each carrier in the used band */
const uint16_t * equHigh;
/* Pointer to Tx equalization coefficients table in VLOW mode.
There is one coefficient for each carrier in the used band */
const uint16_t * equVlow;
/* Tx gain values for HIGH mode [HIGH_INI, HIGH_MIN, HIGH_MAX] */
uint16_t gainHigh[3];
/* Tx gain values for VLOW mode [VLOW_INI, VLOW_MIN, VLOW_MAX] */
uint16_t gainVLow[3];
/* Number of Tx attenuation levels (3 dB step) suppoting dynamic Tx mode */
uint8_t numTxLevels;
/* Size of Tx equalization coefficients table in bytes */
uint8_t equSize;
/* Configuration of the PLC Tx Line Driver, according to hardware coupling
design and PLC device (PL360/PL460) */
uint8_t lineDrvConf;
} SRV_PLC_PCOUP_DATA;Summary
PLC PHY Coupling data.
Description
This structure contains all the data required to set the PLC PHY Coupling parameters, for a specific transmission branch (associated to a G3-PLC PHY band).
Remarks
This type is only generated by MCC if the PLC Driver uses G3-PLC PHY.
Equalization coefficients are not stored in the structure, just pointers to arrays were they are actually stored. This allows to use the same type for different G3-PLC PHY bands.
