DRV_ENCX24J600_Open Function
C
DRV_HANDLE DRV_ENCX24J600_Open(SYS_MODULE_INDEX index, DRV_IO_INTENT intent);
Returns
Returns a valid handle - If successful INVALID_HANDLE - If unsuccessful
Description
The client will call this function to open a handle to the driver. When the first instance is opened than the driver will send the RX enabled command to the ENC hardware.
Preconditions
The driver had to be successfully initialized with DRV_ENCX24J600_Initialize.
Parameters
Parameters | Description |
---|---|
index | This is the index of the driver instance to be initialized. The definition DRV_ENCX24J600_NUM_DRV_INSTANCES controls how many instances are available. |
intent | The intent to use when opening the driver. Only exclusive is supported |