HPM SDK
HPMicro Software Development Kit
hpm_dp83867.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  dp83867_config_t
 

Macros

#define DP83867_ADDR   (0U)
 
#define DP83867_ID1   (0x2000U)
 
#define DP83867_ID2   (0x28U)
 

Enumerations

enum  dp83867_rgmii_rx_delay_t {
  DP83867_RX_DELAY_0P25_NS = 0 , DP83867_RX_DELAY_0P50_NS , DP83867_RX_DELAY_0P75_NS , DP83867_RX_DELAY_1P00_NS ,
  DP83867_RX_DELAY_1P25_NS , DP83867_RX_DELAY_1P50_NS , DP83867_RX_DELAY_1P75_NS , DP83867_RX_DELAY_2P00_NS ,
  DP83867_RX_DELAY_2P25_NS , DP83867_RX_DELAY_2P50_NS , DP83867_RX_DELAY_2P75_NS , DP83867_RX_DELAY_3P00_NS ,
  DP83867_RX_DELAY_3P25_NS , DP83867_RX_DELAY_3P50_NS , DP83867_RX_DELAY_3P75_NS , DP83867_RX_DELAY_4P00_NS
}
 

Functions

void dp83867_reset (ENET_Type *ptr)
 
void dp83867_basic_mode_default_config (ENET_Type *ptr, dp83867_config_t *config)
 
bool dp83867_basic_mode_init (ENET_Type *ptr, dp83867_config_t *config)
 
void dp83867_get_phy_status (ENET_Type *ptr, enet_phy_status_t *status)
 
void dp83867_set_mdi_crossover_mode (ENET_Type *ptr, enet_phy_crossover_mode_t mode)
 

Macro Definition Documentation

◆ DP83867_ADDR

#define DP83867_ADDR   (0U)

◆ DP83867_ID1

#define DP83867_ID1   (0x2000U)

◆ DP83867_ID2

#define DP83867_ID2   (0x28U)

Enumeration Type Documentation

◆ dp83867_rgmii_rx_delay_t

Enumerator
DP83867_RX_DELAY_0P25_NS 
DP83867_RX_DELAY_0P50_NS 
DP83867_RX_DELAY_0P75_NS 
DP83867_RX_DELAY_1P00_NS 
DP83867_RX_DELAY_1P25_NS 
DP83867_RX_DELAY_1P50_NS 
DP83867_RX_DELAY_1P75_NS 
DP83867_RX_DELAY_2P00_NS 
DP83867_RX_DELAY_2P25_NS 
DP83867_RX_DELAY_2P50_NS 
DP83867_RX_DELAY_2P75_NS 
DP83867_RX_DELAY_3P00_NS 
DP83867_RX_DELAY_3P25_NS 
DP83867_RX_DELAY_3P50_NS 
DP83867_RX_DELAY_3P75_NS 
DP83867_RX_DELAY_4P00_NS 

Function Documentation

◆ dp83867_basic_mode_default_config()

void dp83867_basic_mode_default_config ( ENET_Type ptr,
dp83867_config_t config 
)

◆ dp83867_basic_mode_init()

bool dp83867_basic_mode_init ( ENET_Type ptr,
dp83867_config_t config 
)

◆ dp83867_get_phy_status()

void dp83867_get_phy_status ( ENET_Type ptr,
enet_phy_status_t status 
)

◆ dp83867_reset()

void dp83867_reset ( ENET_Type ptr)

◆ dp83867_set_mdi_crossover_mode()

void dp83867_set_mdi_crossover_mode ( ENET_Type ptr,
enet_phy_crossover_mode_t  mode 
)