1.2.5.4 ADP_Open Function

C

void ADP_Open (
    ADP_BAND band
);

Summary

Opens the ADP module and starts the process that makes it ready for clients to use.

Description

This routine opens the ADP module, initializes the ADP data structures and starts the process that makes it ready for clients to use. In case MAC PLC layer is present, PLC band is specified here.

Parameters

ParamDescription
bandWorking band for PLC (has to be inline with the hardware)

Returns

None.

Example

ADP_Open(ADP_BAND_CENELEC_A);

Remarks

This routine must be called before any other ADP API function, execpt ADP_Initialize. After calling this function, ADP_Status must be used to check if it is ready before calling any other ADP API function.