1.3.12.6 WDRV_PIC32MZW_InfoEnabledChannelsGet Function

C

WDRV_PIC32MZW_STATUS WDRV_PIC32MZW_InfoEnabledChannelsGet
(
DRV_HANDLE handle,
WDRV_PIC32MZW_CHANNEL24_MASK *const pChannelMask
)

Summary

Retrieves the enabled channels of the PIC32MZW.

Description

Retrieves the enabled channels for the set regulatory domain.

Precondition

WDRV_PIC32MZW_Initialize should have been called. WDRV_PIC32MZW_Open should have been called to obtain a valid handle.

Parameters

ParamDescription
handleClient handle obtained by a call to WDRV_PIC32MZW_Open.
pChannelMaskPointer to variable to receive the enabled channels.

Returns

WDRV_PIC32MZW_STATUS_OK - The information has been returned.

WDRV_PIC32MZW_STATUS_NOT_OPEN - The driver instance is not open.

WDRV_PIC32MZW_STATUS_INVALID_ARG - The parameters were incorrect.

Remarks

None.