SRV_PCOUP_Get_Default_Branch Function
C
SRV_PLC_PCOUP_BRANCH SRV_PCOUP_Get_Default_Branch( void );
Summary
Get the default branch of the PLC transmission coupling.
Description
This function allows to get the tranmission branch used by default, which is configured through MCC of PLC Driver.
Precondition
None.
Parameters
None.
Returns
Default transmission branch (SRV_PLC_PCOUP_BRANCH Enum).
Example
// 'handle', returned from DRV_PLC_PHY_Open or DRV_G3_MACRT_Open SRV_PLC_PCOUP_BRANCH plcDefaultBranch; plcDefaultBranch = SRV_PCOUP_Get_Default_Branch(); SRV_PCOUP_Set_Config(handle, plcDefaultBranch);
Remarks
This function is only generated by MCC if the PLC Driver uses G3-PLC PHY.