DRV_ETHMAC_PIC32MACInitialize Function

C

C 
SYS_MODULE_OBJ DRV_ETHMAC_PIC32MACInitialize(const SYS_MODULE_INDEX index, const SYS_MODULE_INIT * const init); 

Returns

  • a valid handle to a driver object, if successful.

  • SYS_MODULE_OBJ_INVALID if initialization failed.

Description

This function supports the initialization of the PIC32 Ethernet MAC. Used by tcpip_module_manager.

Remarks

This function initializes the Ethernet controller, the MAC and the associated PHY. It should be called to be able to schedule any Ethernet transmit or receive operation.

Preconditions

None

Example Function

SYS_MODULE_OBJ DRV_ETHMAC_PIC32MACInitialize(const SYS_MODULE_INDEX index, const SYS_MODULE_INIT * const init);