HPM SDK
HPMicro Software Development Kit
hpm_lan8720.h File Reference
#include "hpm_enet_phy.h"
#include "hpm_common.h"
#include "hpm_enet_regs.h"

Go to the source code of this file.

Data Structures

struct  lan8720_config_t
 

Macros

#define LAN8720_ADDR   (0U)
 
#define LAN8720_ID1   (0x0007U)
 
#define LAN8720_ID2   (0x30U)
 

Functions

void lan8720_reset (ENET_Type *ptr)
 
void lan8720_basic_mode_default_config (ENET_Type *ptr, lan8720_config_t *config)
 
bool lan8720_basic_mode_init (ENET_Type *ptr, lan8720_config_t *config)
 
void lan8720_get_phy_status (ENET_Type *ptr, enet_phy_status_t *status)
 

Macro Definition Documentation

◆ LAN8720_ADDR

#define LAN8720_ADDR   (0U)

◆ LAN8720_ID1

#define LAN8720_ID1   (0x0007U)

◆ LAN8720_ID2

#define LAN8720_ID2   (0x30U)

Function Documentation

◆ lan8720_basic_mode_default_config()

void lan8720_basic_mode_default_config ( ENET_Type ptr,
lan8720_config_t config 
)

◆ lan8720_basic_mode_init()

bool lan8720_basic_mode_init ( ENET_Type ptr,
lan8720_config_t config 
)

◆ lan8720_get_phy_status()

void lan8720_get_phy_status ( ENET_Type ptr,
enet_phy_status_t status 
)

◆ lan8720_reset()

void lan8720_reset ( ENET_Type ptr)