HPM SDK
HPMicro Software Development Kit
hpm_dp83867.c File Reference
#include "hpm_enet_drv.h"
#include "hpm_dp83867_regs.h"
#include "hpm_dp83867.h"

Functions

bool dp83867_check_id (ENET_Type *ptr)
 
static void dp83867_write_phy_ext (ENET_Type *ptr, uint32_t phy_addr, uint32_t addr, uint32_t data)
 
static uint16_t dp83867_read_phy_ext (ENET_Type *ptr, uint32_t phy_addr, uint32_t addr)
 
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)
 

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_check_id()

bool dp83867_check_id ( ENET_Type ptr)

◆ dp83867_get_phy_status()

void dp83867_get_phy_status ( ENET_Type ptr,
enet_phy_status_t status 
)

◆ dp83867_read_phy_ext()

static uint16_t dp83867_read_phy_ext ( ENET_Type ptr,
uint32_t  phy_addr,
uint32_t  addr 
)
static

◆ 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 
)

◆ dp83867_write_phy_ext()

static void dp83867_write_phy_ext ( ENET_Type ptr,
uint32_t  phy_addr,
uint32_t  addr,
uint32_t  data 
)
static