SRV_PCOUP_Get_Config Function
C
SRV_PLC_PCOUP_DATA * SRV_PCOUP_Get_Config(uint8_t phyBand);
Summary
Get the PLC PHY Coupling parameters for the G3-PLC PHY band.
Description
This function allows to get the PLC PHY Coupling parameters for the G3-PLC PHY band. These parameters can be sent to the PLC device through PLC Driver PIB interface (DRV_PLC_PHY_PIBSet or DRV_G3_MACRT_PIBSet).
Precondition
None.
Parameters
Param | Description |
---|---|
phyBand | G3-PLC PHY band for which the parameters are requested |
Returns
- Pointer to SRV_PLC_PCOUP_DATA Struct, containing the PLC PHY Coupling parameters
- if phyBand parameter is valid
- NULL
- if phyBand parameter is not valid
Example
SRV_PLC_PCOUP_DATA *pCoupValues; pCoupValues = SRV_PCOUP_Get_Config(G3_FCC);
Remarks
This function is only generated by MCC if the PLC Driver uses G3-PLC PHY.
If SRV_PCOUP_Set_Config function is used to set the PLC PHY Coupling parameters, this function is not needed.