AM263Px MCU+ SDK: dp83869.h File Reference

| AM263Px MCU+ SDK 26.00.00 |

Data Structures | Macros | Enumerations | Functions
dp83869.h File Reference

## Introduction

This file contains the type definitions and helper macros for the DP83869 Ethernet PHY.

Go to the source code of this file.

## Data Structures
struct | Dp83869_Cfg
| DP83869 PHY configuration parameters. More...

## Macros
#define | DP83869_LED_NUM (4U)
| Number of LEDs available in the PHY. More...

## Enumerations
enum | Dp83869_Gpio0Mode { DP83869_GPIO0_CLK_OUT = 0x0U, DP83869_GPIO0_INT = 0x2U, DP83869_GPIO0_LINK_STATUS = 0x3U, DP83869_GPIO0_TX_SFD = 0x5U, DP83869_GPIO0_RX_SFD = 0x6U, DP83869_GPIO0_WOL = 0x7U, DP83869_GPIO0_ED = 0x8U, DP83869_GPIO0_PRBS_ERR = 0x9U, DP83869_GPIO0_LED_2 = 0xAU, DP83869_GPIO0_LED_GPIO_3 = 0xBU, DP83869_GPIO0_CRS = 0xCU, DP83869_GPIO0_COL = 0xDU, DP83869_GPIO0_CONSTANT0 = 0xEU, DP83869_GPIO0_CONSTANT1 = 0xFU }
| GPIO_0 mux modes. More...
enum | Dp83869_Gpio1Mode { DP83869_GPIO1_CLK_OUT = 0x0U, DP83869_GPIO1_INT = 0x2U, DP83869_GPIO1_LINK_STATUS = 0x3U, DP83869_GPIO1_TX_SFD = 0x5U, DP83869_GPIO1_RX_SFD = 0x6U, DP83869_GPIO1_WOL = 0x7U, DP83869_GPIO1_ED = 0x8U, DP83869_GPIO1_PRBS_ERR = 0x9U, DP83869_GPIO1_LED_2 = 0xAU, DP83869_GPIO1_LED_GPIO_3 = 0xBU, DP83869_GPIO1_CRS = 0xCU, DP83869_GPIO1_COL = 0xDU, DP83869_GPIO1_CONSTANT0 = 0xEU, DP83869_GPIO1_CONSTANT1 = 0xFU }
| GPIO_1 mux modes. More...
enum | Dp83869_LedMode { DP83869_LED_LINKED = 0x0U, DP83869_LED_RXTXACT = 0x1U, DP83869_LED_TXACT = 0x2U, DP83869_LED_RXACT = 0x3U, DP83869_LED_COLLDET = 0x4U, DP83869_LED_LINKED_1000BT = 0x5U, DP83869_LED_LINKED_100BTX = 0x6U, DP83869_LED_LINKED_10BT = 0x7U, DP83869_LED_LINKED_10100BT = 0x8U, DP83869_LED_LINKED_1001000BT = 0x9U, DP83869_LED_FULLDUPLEX = 0xAU, DP83869_LED_LINKED_BLINKACT = 0xBU, DP83869_LED_RXTXERR = 0xDU, DP83869_LED_RXERR = 0xEU }
| LED modes (sources). More...

## Functions
void | Dp83869_initCfg (Dp83869_Cfg *cfg)
| Initialize DP83869 PHY specific config params. More...
void | Dp83869_bind (EthPhyDrv_Handle *hPhy, uint8_t phyAddr, Phy_RegAccessCb_t *pRegAccessCb)
bool | Dp83869_isPhyDevSupported (EthPhyDrv_Handle hPhy, const void *pVersion)
bool | Dp83869_isMacModeSupported (EthPhyDrv_Handle hPhy, Phy_Mii mii)
int32_t | Dp83869_config (EthPhyDrv_Handle hPhy, const void *pExtCfg, const uint32_t extCfgSize, Phy_Mii mii, bool loopbackEn)
void | Dp83869_reset (EthPhyDrv_Handle hPhy)
bool | Dp83869_isResetComplete (EthPhyDrv_Handle hPhy)
void | Dp83869_printRegs (EthPhyDrv_Handle hPhy)