SRV_PLC_PCOUP_CHANNEL_DATA Struct

C

typedef struct
{  
    /* Target RMS values in HIGH mode for dynamic Tx gain */
    uint32_t rmsHigh[8];
    
    /* Target RMS values in VLOW mode for dynamic Tx gain */
    uint32_t rmsVLow[8];
    
    /* Threshold RMS values in HIGH mode for dynamic Tx mode */
    uint32_t thrsHigh[16];
    
    /* Threshold RMS values in VLOW mode for dynamic Tx mode */
    uint32_t thrsVLow[16];

    /* Pointer to values for configuration of PLC DACC peripheral, according to 
       hardware coupling design and PLC device (PL360/PL460) */
    const uint32_t * daccTable;
    
    /* 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 (1 dB step) suppoting dynamic Tx mode */
    uint8_t numTxLevels;
    
    /* Configuration of the PLC Tx Line Driver, according to hardware coupling 
       design and PLC device (PL360/PL460) */
    uint8_t lineDrvConf;

} SRV_PLC_PCOUP_CHANNEL_DATA;

Summary

PLC PHY Coupling data.

Description

This structure contains all the data required to set the PLC PHY Coupling parameters, for a specific PRIME channel.

Remarks

This type is only generated by MCC if the PLC Driver uses PRIME PHY.

Equalization coefficients and DACC table are not stored in the structure, just pointers to arrays were they are actually stored. This allows to use the same type for different PRIME channels.