LAN8742_Init() function
Initialize the lan8742 and configure the needed hardware resources
Arguments
pObj
device object LAN8742_Object_t.
Return value
LAN8742_STATUS_OK if OK LAN8742_STATUS_ADDRESS_ERROR if cannot find device address LAN8742_STATUS_READ_ERROR if cannot read register LAN8742_STATUS_WRITE_ERROR if cannot write to register LAN8742_STATUS_RESET_TIMEOUT if cannot perform a software reset
LAN8742_Init() calls 4 functions:
![]()
LAN8742_Init()
LAN8742_Init() reads 4 variables and writes 2 variables:
![]()
LAN8742_Init()