HPM SDK
HPMicro Software Development Kit
hpm_rtl8211.h File Reference
#include "hpm_tsw_phy.h"
#include "hpm_common.h"
#include "hpm_tsw_regs.h"

Go to the source code of this file.

Data Structures

struct  rtl8211_config_t
 

Macros

#define RTL8211_ADDR   (2U)
 
#define RTL8211_ID1   (0x001CU)
 
#define RTL8211_ID2   (0x32U)
 

Functions

void rtl8211_reset (TSW_Type *ptr, uint8_t port)
 
void rtl8211_basic_mode_default_config (TSW_Type *ptr, rtl8211_config_t *config)
 
bool rtl8211_basic_mode_init (TSW_Type *ptr, uint8_t port, rtl8211_config_t *config)
 
void rtl8211_get_phy_status (TSW_Type *ptr, uint8_t port, tsw_phy_status_t *status)
 

Macro Definition Documentation

◆ RTL8211_ADDR

#define RTL8211_ADDR   (2U)

◆ RTL8211_ID1

#define RTL8211_ID1   (0x001CU)

◆ RTL8211_ID2

#define RTL8211_ID2   (0x32U)

Function Documentation

◆ rtl8211_basic_mode_default_config()

void rtl8211_basic_mode_default_config ( TSW_Type ptr,
rtl8211_config_t config 
)

◆ rtl8211_basic_mode_init()

bool rtl8211_basic_mode_init ( TSW_Type ptr,
uint8_t  port,
rtl8211_config_t config 
)

◆ rtl8211_get_phy_status()

void rtl8211_get_phy_status ( TSW_Type ptr,
uint8_t  port,
tsw_phy_status_t status 
)

◆ rtl8211_reset()

void rtl8211_reset ( TSW_Type ptr,
uint8_t  port 
)