1.1.4.1 WDRV_WINC_Open
C
DRV_HANDLE WDRV_WINC_Open ( const SYS_MODULE_INDEX index, const DRV_IO_INTENT intent )
Description
Opens an instance of the WINC driver and returns a handle which must be used when calling other driver functions.
Precondition
WDRV_WINC_Initialize
must have been called.
Parameters
Parameters | Description |
---|---|
index | Identifier for the driver instance to be opened. |
intent | Zero or more of the values from the enumeration DRV_IO_INTENT ORed together to indicate the intended use of the driver. |
Returns
Valid handle - if the open function succeeded
DRV_HANDLE_INVALID - if an error occurs
Remarks
The index and intent parameters are not used in the current implementation and are maintained only for compatibility with the generic driver open function signature.