1.1.1.6 WDRV_WINC_Initialize

C

SYS_MODULE_OBJ WDRV_WINC_Initialize
(
    const SYS_MODULE_INDEX index,
    const SYS_MODULE_INIT *const init
)

Description

This is the function that initializes the WINC driver. It is called by the system.

Precondition

None.

Parameters

ParametersDescription
indexIndex for the WINC driver instance to be initialized.
initPointer to initialization data, see WDRV_WINC_SYS_INIT.

Returns

  • Success - Valid handle to a driver object.

  • Failure - SYS_MODULE_OBJ_INVALID.

Remarks

The returned object must be passed as argument to WDRV_WINC_Reinitialize, WDRV_WINC_Deinitialize, WDRV_WINC_Tasks and WDRV_WINC_Status routines.