adin1200_driver.h File Reference

ADIN1200 Ethernet PHY driver. More...

#include "core/nic.h"

Go to the source code of this file.

Macros

#define ADIN1200_PHY_ADDR   0
 
#define ADIN1200_MII_CONTROL   0x00
 
#define ADIN1200_MII_STATUS   0x01
 
#define ADIN1200_PHY_ID_1   0x02
 
#define ADIN1200_PHY_ID_2   0x03
 
#define ADIN1200_AUTONEG_ADV   0x04
 
#define ADIN1200_LP_ABILITY   0x05
 
#define ADIN1200_AUTONEG_EXP   0x06
 
#define ADIN1200_TX_NEXT_PAGE   0x07
 
#define ADIN1200_LP_RX_NEXT_PAGE   0x08
 
#define ADIN1200_MSTR_SLV_STATUS   0x0A
 
#define ADIN1200_EXT_STATUS   0x0F
 
#define ADIN1200_EXT_REG_PTR   0x10
 
#define ADIN1200_EXT_REG_DATA   0x11
 
#define ADIN1200_PHY_CTRL_1   0x12
 
#define ADIN1200_PHY_CTRL_STATUS_1   0x13
 
#define ADIN1200_RX_ERR_CNT   0x14
 
#define ADIN1200_PHY_CTRL_STATUS_2   0x15
 
#define ADIN1200_PHY_CTRL_2   0x16
 
#define ADIN1200_PHY_CTRL_3   0x17
 
#define ADIN1200_IRQ_MASK   0x18
 
#define ADIN1200_IRQ_STATUS   0x19
 
#define ADIN1200_PHY_STATUS_1   0x1A
 
#define ADIN1200_LED_CTRL_1   0x1B
 
#define ADIN1200_LED_CTRL_2   0x1C
 
#define ADIN1200_LED_CTRL_3   0x1D
 
#define ADIN1200_PHY_STATUS_2   0x1F
 
#define ADIN1200_EEE_CAPABILITY   0x8000
 
#define ADIN1200_EEE_ADV   0x8001
 
#define ADIN1200_EEE_LP_ABILITY   0x8002
 
#define ADIN1200_EEE_RSLVD   0x8008
 
#define ADIN1200_MSE_A   0x8402
 
#define ADIN1200_FLD_EN   0x8E27
 
#define ADIN1200_FLD_STAT_LAT   0x8E38
 
#define ADIN1200_RX_MII_CLK_STOP_EN   0x9400
 
#define ADIN1200_PCS_STATUS_1   0x9401
 
#define ADIN1200_FC_EN   0x9403
 
#define ADIN1200_FC_IRQ_EN   0x9406
 
#define ADIN1200_FC_TX_SEL   0x9407
 
#define ADIN1200_FC_MAX_FRM_SIZE   0x9408
 
#define ADIN1200_FC_FRM_CNT_H   0x940A
 
#define ADIN1200_FC_FRM_CNT_L   0x940B
 
#define ADIN1200_FC_LEN_ERR_CNT   0x940C
 
#define ADIN1200_FC_ALGN_ERR_CNT   0x940D
 
#define ADIN1200_FC_SYMB_ERR_CNT   0x940E
 
#define ADIN1200_FC_OSZ_CNT   0x940F
 
#define ADIN1200_FC_USZ_CNT   0x9410
 
#define ADIN1200_FC_ODD_CNT   0x9411
 
#define ADIN1200_FC_ODD_PRE_CNT   0x9412
 
#define ADIN1200_FC_DRIBBLE_BITS_CNT   0x9413
 
#define ADIN1200_FC_FALSE_CARRIER_CNT   0x9414
 
#define ADIN1200_FG_EN   0x9415
 
#define ADIN1200_FG_CNTRL_RSTRT   0x9416
 
#define ADIN1200_FG_CONT_MODE_EN   0x9417
 
#define ADIN1200_FG_IRQ_EN   0x9418
 
#define ADIN1200_FG_FRM_LEN   0x941A
 
#define ADIN1200_FG_IFG_LEN   0x941B
 
#define ADIN1200_FG_NFRM_H   0x941C
 
#define ADIN1200_FG_NFRM_L   0x941D
 
#define ADIN1200_FG_DONE   0x941E
 
#define ADIN1200_FIFO_SYNC   0x9427
 
#define ADIN1200_SOP_CTRL   0x9428
 
#define ADIN1200_SOP_RX_DEL   0x9429
 
#define ADIN1200_SOP_TX_DEL   0x942A
 
#define ADIN1200_DPTH_MII_BYTE   0x9602
 
#define ADIN1200_LPI_WAKE_ERR_CNT   0xA000
 
#define ADIN1200_B_10_E_EN   0xB403
 
#define ADIN1200_B_10_TX_TST_MODE   0xB412
 
#define ADIN1200_B_100_TX_TST_MODE   0xB413
 
#define ADIN1200_CDIAG_RUN   0xBA1B
 
#define ADIN1200_CDIAG_XPAIR_DIS   0xBA1C
 
#define ADIN1200_CDIAG_DTLD_RSLTS_0   0xBA1D
 
#define ADIN1200_CDIAG_DTLD_RSLTS_1   0xBA1E
 
#define ADIN1200_CDIAG_FLT_DIST_0   0xBA21
 
#define ADIN1200_CDIAG_FLT_DIST_1   0xBA22
 
#define ADIN1200_CDIAG_CBL_LEN_EST   0xBA25
 
#define ADIN1200_LED_PUL_STR_DUR   0xBC00
 
#define ADIN1200_GE_SFT_RST   0xFF0C
 
#define ADIN1200_GE_SFT_RST_CFG_EN   0xFF0D
 
#define ADIN1200_GE_CLK_CFG   0xFF1F
 
#define ADIN1200_GE_RGMII_CFG   0xFF23
 
#define ADIN1200_GE_RMII_CFG   0xFF24
 
#define ADIN1200_GE_PHY_BASE_CFG   0xFF26
 
#define ADIN1200_GE_LNK_STAT_INV_EN   0xFF3C
 
#define ADIN1200_GE_IO_GP_CLK_OR_CNTRL   0xFF3D
 
#define ADIN1200_GE_IO_GP_OUT_OR_CNTRL   0xFF3E
 
#define ADIN1200_GE_IO_INT_N_OR_CNTRL   0xFF3F
 
#define ADIN1200_GE_IO_LED_A_OR_CNTRL   0xFF41
 
#define ADIN1200_MII_CONTROL_SFT_RST   0x8000
 
#define ADIN1200_MII_CONTROL_LOOPBACK   0x4000
 
#define ADIN1200_MII_CONTROL_SPEED_SEL_LSB   0x2000
 
#define ADIN1200_MII_CONTROL_AUTONEG_EN   0x1000
 
#define ADIN1200_MII_CONTROL_SFT_PD   0x0800
 
#define ADIN1200_MII_CONTROL_ISOLATE   0x0400
 
#define ADIN1200_MII_CONTROL_RESTART_ANEG   0x0200
 
#define ADIN1200_MII_CONTROL_DPLX_MODE   0x0100
 
#define ADIN1200_MII_CONTROL_COLTEST   0x0080
 
#define ADIN1200_MII_CONTROL_SPEED_SEL_MSB   0x0040
 
#define ADIN1200_MII_CONTROL_UNIDIR_EN   0x0020
 
#define ADIN1200_MII_STATUS_T_4_SPRT   0x8000
 
#define ADIN1200_MII_STATUS_FD_100_SPRT   0x4000
 
#define ADIN1200_MII_STATUS_HD_100_SPRT   0x2000
 
#define ADIN1200_MII_STATUS_FD_10_SPRT   0x1000
 
#define ADIN1200_MII_STATUS_HD_10_SPRT   0x0800
 
#define ADIN1200_MII_STATUS_FD_T_2_SPRT   0x0400
 
#define ADIN1200_MII_STATUS_HD_T_2_SPRT   0x0200
 
#define ADIN1200_MII_STATUS_EXT_STAT_SPRT   0x0100
 
#define ADIN1200_MII_STATUS_UNIDIR_ABLE   0x0080
 
#define ADIN1200_MII_STATUS_MF_PREAM_SUP_ABLE   0x0040
 
#define ADIN1200_MII_STATUS_AUTONEG_DONE   0x0020
 
#define ADIN1200_MII_STATUS_REM_FLT_LAT   0x0010
 
#define ADIN1200_MII_STATUS_AUTONEG_ABLE   0x0008
 
#define ADIN1200_MII_STATUS_LINK_STAT_LAT   0x0004
 
#define ADIN1200_MII_STATUS_JABBER_DET_LAT   0x0002
 
#define ADIN1200_MII_STATUS_EXT_CAPABLE   0x0001
 
#define ADIN1200_PHY_ID_1_PHY_ID_1   0xFFFF
 
#define ADIN1200_PHY_ID_1_PHY_ID_1_DEFAULT   0x0283
 
#define ADIN1200_PHY_ID_2_PHY_ID_2_OUI   0xFC00
 
#define ADIN1200_PHY_ID_2_PHY_ID_2_OUI_DEFAULT   0xBC00
 
#define ADIN1200_PHY_ID_2_MODEL_NUM   0x03F0
 
#define ADIN1200_PHY_ID_2_MODEL_NUM_DEFAULT   0x0020
 
#define ADIN1200_PHY_ID_2_REV_NUM   0x000F
 
#define ADIN1200_PHY_ID_2_REV_NUM_DEFAULT   0x0000
 
#define ADIN1200_AUTONEG_ADV_NEXT_PAGE_ADV   0x8000
 
#define ADIN1200_AUTONEG_ADV_REM_FLT_ADV   0x2000
 
#define ADIN1200_AUTONEG_ADV_EXT_NEXT_PAGE_ADV   0x1000
 
#define ADIN1200_AUTONEG_ADV_APAUSE_ADV   0x0800
 
#define ADIN1200_AUTONEG_ADV_PAUSE_ADV   0x0400
 
#define ADIN1200_AUTONEG_ADV_T_4_ADV   0x0200
 
#define ADIN1200_AUTONEG_ADV_FD_100_ADV   0x0100
 
#define ADIN1200_AUTONEG_ADV_HD_100_ADV   0x0080
 
#define ADIN1200_AUTONEG_ADV_FD_10_ADV   0x0040
 
#define ADIN1200_AUTONEG_ADV_HD_10_ADV   0x0020
 
#define ADIN1200_AUTONEG_ADV_SELECTOR_ADV   0x001F
 
#define ADIN1200_AUTONEG_ADV_SELECTOR_ADV_DEFAULT   0x0001
 
#define ADIN1200_LP_ABILITY_LP_NEXT_PAGE   0x8000
 
#define ADIN1200_LP_ABILITY_LP_ACK   0x4000
 
#define ADIN1200_LP_ABILITY_LP_REM_FLT   0x2000
 
#define ADIN1200_LP_ABILITY_LP_EXT_NEXT_PAGE_ABLE   0x1000
 
#define ADIN1200_LP_ABILITY_LP_APAUSE_ABLE   0x0800
 
#define ADIN1200_LP_ABILITY_LP_PAUSE_ABLE   0x0400
 
#define ADIN1200_LP_ABILITY_LP_T_4_ABLE   0x0200
 
#define ADIN1200_LP_ABILITY_LP_FD_100_ABLE   0x0100
 
#define ADIN1200_LP_ABILITY_LP_HD_100_ABLE   0x0080
 
#define ADIN1200_LP_ABILITY_LP_FD_10_ABLE   0x0040
 
#define ADIN1200_LP_ABILITY_LP_HD_10_ABLE   0x0020
 
#define ADIN1200_LP_ABILITY_LP_SELECTOR   0x001F
 
#define ADIN1200_AUTONEG_EXP_RX_NP_LOC_ABLE   0x0040
 
#define ADIN1200_AUTONEG_EXP_RX_NP_LOC   0x0020
 
#define ADIN1200_AUTONEG_EXP_PAR_DET_FLT   0x0010
 
#define ADIN1200_AUTONEG_EXP_LP_NP_ABLE   0x0008
 
#define ADIN1200_AUTONEG_EXP_NP_ABLE   0x0004
 
#define ADIN1200_AUTONEG_EXP_PAGE_RX_LAT   0x0002
 
#define ADIN1200_AUTONEG_EXP_LP_AUTONEG_ABLE   0x0001
 
#define ADIN1200_TX_NEXT_PAGE_NP_NEXT_PAGE   0x8000
 
#define ADIN1200_TX_NEXT_PAGE_NP_MSG_PAGE   0x2000
 
#define ADIN1200_TX_NEXT_PAGE_NP_ACK_2   0x1000
 
#define ADIN1200_TX_NEXT_PAGE_NP_TOGGLE   0x0800
 
#define ADIN1200_TX_NEXT_PAGE_NP_CODE   0x07FF
 
#define ADIN1200_LP_RX_NEXT_PAGE_LP_NP_NEXT_PAGE   0x8000
 
#define ADIN1200_LP_RX_NEXT_PAGE_LP_NP_ACK   0x4000
 
#define ADIN1200_LP_RX_NEXT_PAGE_LP_NP_MSG_PAGE   0x2000
 
#define ADIN1200_LP_RX_NEXT_PAGE_LP_NP_ACK_2   0x1000
 
#define ADIN1200_LP_RX_NEXT_PAGE_LP_NP_TOGGLE   0x0800
 
#define ADIN1200_LP_RX_NEXT_PAGE_LP_NP_CODE   0x07FF
 
#define ADIN1200_MSTR_SLV_STATUS_LOC_RCVR_STATUS   0x2000
 
#define ADIN1200_MSTR_SLV_STATUS_REM_RCVR_STATUS   0x1000
 
#define ADIN1200_MSTR_SLV_STATUS_LP_FD_1000_ABLE   0x0800
 
#define ADIN1200_MSTR_SLV_STATUS_LP_HD_1000_ABLE   0x0400
 
#define ADIN1200_MSTR_SLV_STATUS_IDLE_ERR_CNT   0x00FF
 
#define ADIN1200_EXT_STATUS_FD_1000_X_SPRT   0x8000
 
#define ADIN1200_EXT_STATUS_HD_1000_X_SPRT   0x4000
 
#define ADIN1200_EXT_STATUS_FD_1000_SPRT   0x2000
 
#define ADIN1200_EXT_STATUS_HD_1000_SPRT   0x1000
 
#define ADIN1200_PHY_CTRL_1_AUTO_MDI_EN   0x0400
 
#define ADIN1200_PHY_CTRL_1_MAN_MDIX   0x0200
 
#define ADIN1200_PHY_CTRL_1_DIAG_CLK_EN   0x0004
 
#define ADIN1200_PHY_CTRL_STATUS_1_LB_ALL_DIG_SEL   0x1000
 
#define ADIN1200_PHY_CTRL_STATUS_1_LB_LD_SEL   0x0400
 
#define ADIN1200_PHY_CTRL_STATUS_1_LB_REMOTE_EN   0x0200
 
#define ADIN1200_PHY_CTRL_STATUS_1_ISOLATE_RX   0x0100
 
#define ADIN1200_PHY_CTRL_STATUS_1_LB_EXT_EN   0x0080
 
#define ADIN1200_PHY_CTRL_STATUS_1_LB_TX_SUP   0x0040
 
#define ADIN1200_PHY_CTRL_STATUS_1_LB_MII_LS_OK   0x0001
 
#define ADIN1200_PHY_CTRL_STATUS_2_NRG_PD_EN   0x0008
 
#define ADIN1200_PHY_CTRL_STATUS_2_NRG_PD_TX_EN   0x0004
 
#define ADIN1200_PHY_CTRL_STATUS_2_PHY_IN_NRG_PD   0x0002
 
#define ADIN1200_PHY_CTRL_2_DN_SPEED_TO_10_EN   0x0400
 
#define ADIN1200_PHY_CTRL_2_GROUP_MDIO_EN   0x0040
 
#define ADIN1200_PHY_CTRL_3_LINK_EN   0x2000
 
#define ADIN1200_PHY_CTRL_3_NUM_SPEED_RETRY   0x1C00
 
#define ADIN1200_IRQ_MASK_CBL_DIAG_IRQ_EN   0x0400
 
#define ADIN1200_IRQ_MASK_MDIO_SYNC_IRQ_EN   0x0200
 
#define ADIN1200_IRQ_MASK_AN_STAT_CHNG_IRQ_EN   0x0100
 
#define ADIN1200_IRQ_MASK_FC_FG_IRQ_EN   0x0080
 
#define ADIN1200_IRQ_MASK_PAGE_RX_IRQ_EN   0x0040
 
#define ADIN1200_IRQ_MASK_IDLE_ERR_CNT_IRQ_EN   0x0020
 
#define ADIN1200_IRQ_MASK_FIFO_OU_IRQ_EN   0x0010
 
#define ADIN1200_IRQ_MASK_RX_STAT_CHNG_IRQ_EN   0x0008
 
#define ADIN1200_IRQ_MASK_LNK_STAT_CHNG_IRQ_EN   0x0004
 
#define ADIN1200_IRQ_MASK_SPEED_CHNG_IRQ_EN   0x0002
 
#define ADIN1200_IRQ_MASK_HW_IRQ_EN   0x0001
 
#define ADIN1200_IRQ_STATUS_CBL_DIAG_IRQ_STAT   0x0400
 
#define ADIN1200_IRQ_STATUS_MDIO_SYNC_IRQ_STAT   0x0200
 
#define ADIN1200_IRQ_STATUS_AN_STAT_CHNG_IRQ_STAT   0x0100
 
#define ADIN1200_IRQ_STATUS_FC_FG_IRQ_STAT   0x0080
 
#define ADIN1200_IRQ_STATUS_PAGE_RX_IRQ_STAT   0x0040
 
#define ADIN1200_IRQ_STATUS_IDLE_ERR_CNT_IRQ_STAT   0x0020
 
#define ADIN1200_IRQ_STATUS_FIFO_OU_IRQ_STAT   0x0010
 
#define ADIN1200_IRQ_STATUS_RX_STAT_CHNG_IRQ_STAT   0x0008
 
#define ADIN1200_IRQ_STATUS_LNK_STAT_CHNG_IRQ_STAT   0x0004
 
#define ADIN1200_IRQ_STATUS_SPEED_CHNG_IRQ_STAT   0x0002
 
#define ADIN1200_IRQ_STATUS_IRQ_PENDING   0x0001
 
#define ADIN1200_PHY_STATUS_1_PHY_IN_STNDBY   0x8000
 
#define ADIN1200_PHY_STATUS_1_PAR_DET_FLT_STAT   0x2000
 
#define ADIN1200_PHY_STATUS_1_AUTONEG_STAT   0x1000
 
#define ADIN1200_PHY_STATUS_1_PAIR_01_SWAP   0x0800
 
#define ADIN1200_PHY_STATUS_1_B_10_POL_INV   0x0400
 
#define ADIN1200_PHY_STATUS_1_HCD_TECH   0x0380
 
#define ADIN1200_PHY_STATUS_1_HCD_TECH_10BT_HD   0x0000
 
#define ADIN1200_PHY_STATUS_1_HCD_TECH_10BT_FD   0x0080
 
#define ADIN1200_PHY_STATUS_1_HCD_TECH_100BTX_HD   0x0100
 
#define ADIN1200_PHY_STATUS_1_HCD_TECH_100BTX_FD   0x0180
 
#define ADIN1200_PHY_STATUS_1_LINK_STAT   0x0040
 
#define ADIN1200_PHY_STATUS_1_TX_EN_STAT   0x0020
 
#define ADIN1200_PHY_STATUS_1_RX_DV_STAT   0x0010
 
#define ADIN1200_PHY_STATUS_1_COL_STAT   0x0008
 
#define ADIN1200_PHY_STATUS_1_AUTONEG_SUP   0x0004
 
#define ADIN1200_PHY_STATUS_1_LP_PAUSE_ADV   0x0002
 
#define ADIN1200_PHY_STATUS_1_LP_APAUSE_ADV   0x0001
 
#define ADIN1200_LED_CTRL_1_LED_A_EXT_CFG_EN   0x0400
 
#define ADIN1200_LED_CTRL_1_LED_PAT_PAUSE_DUR   0x00F0
 
#define ADIN1200_LED_CTRL_1_LED_PUL_STR_DUR_SEL   0x000C
 
#define ADIN1200_LED_CTRL_1_LED_PUL_STR_DUR_SEL_32MS   0x0000
 
#define ADIN1200_LED_CTRL_1_LED_PUL_STR_DUR_SEL_64MS   0x0004
 
#define ADIN1200_LED_CTRL_1_LED_PUL_STR_DUR_SEL_102MS   0x0008
 
#define ADIN1200_LED_CTRL_1_LED_PUL_STR_DUR_SEL_USER   0x000C
 
#define ADIN1200_LED_CTRL_1_LED_OE_N   0x0002
 
#define ADIN1200_LED_CTRL_1_LED_PUL_STR_EN   0x0001
 
#define ADIN1200_LED_CTRL_2_LED_A_CFG   0x001F
 
#define ADIN1200_LED_CTRL_2_LED_A_CFG_BLINK_100   0x0003
 
#define ADIN1200_LED_CTRL_2_LED_A_CFG_ON_LINK   0x0004
 
#define ADIN1200_LED_CTRL_2_LED_A_CFG_ON_TX   0x0005
 
#define ADIN1200_LED_CTRL_2_LED_A_CFG_ON_RX   0x0006
 
#define ADIN1200_LED_CTRL_2_LED_A_CFG_ON_ACT   0x0007
 
#define ADIN1200_LED_CTRL_2_LED_A_CFG_ON_FD   0x0008
 
#define ADIN1200_LED_CTRL_2_LED_A_CFG_ON_COL   0x0009
 
#define ADIN1200_LED_CTRL_2_LED_A_CFG_ON_LINK_BLINK_ACT   0x000A
 
#define ADIN1200_LED_CTRL_2_LED_A_CFG_ON_LINK_BLINK_RX   0x000B
 
#define ADIN1200_LED_CTRL_2_LED_A_CFG_ON_FD_BLINK_COL   0x000C
 
#define ADIN1200_LED_CTRL_2_LED_A_CFG_BLINK   0x000D
 
#define ADIN1200_LED_CTRL_2_LED_A_CFG_ON   0x000E
 
#define ADIN1200_LED_CTRL_2_LED_A_CFG_OFF   0x000F
 
#define ADIN1200_LED_CTRL_2_LED_A_CFG_ON_10_BLINK_100   0x0010
 
#define ADIN1200_LED_CTRL_2_LED_A_CFG_ON_10_BLINK_ACT   0x0012
 
#define ADIN1200_LED_CTRL_2_LED_A_CFG_ON_100_BLINK_ACT   0x0013
 
#define ADIN1200_LED_CTRL_2_LED_A_CFG_BLINK_ACT   0x0019
 
#define ADIN1200_LED_CTRL_2_LED_A_CFG_BLINK_TX   0x001A
 
#define ADIN1200_LED_CTRL_2_LED_A_CFG_BLINK_10   0x001B
 
#define ADIN1200_LED_CTRL_2_LED_A_CFG_ON_100   0x001C
 
#define ADIN1200_LED_CTRL_2_LED_A_CFG_ON_100_BLINK_10   0x001D
 
#define ADIN1200_LED_CTRL_2_LED_A_CFG_ON_10   0x001E
 
#define ADIN1200_LED_CTRL_3_LED_PAT_SEL   0xC000
 
#define ADIN1200_LED_CTRL_3_LED_PAT_SEL_DEFAULT   0x0000
 
#define ADIN1200_LED_CTRL_3_LED_PAT_TICK_DUR   0x3F00
 
#define ADIN1200_LED_CTRL_3_LED_PAT_TICK_DUR_DEFAULT   0x1800
 
#define ADIN1200_LED_CTRL_3_LED_PAT   0x00FF
 
#define ADIN1200_LED_CTRL_3_LED_PAT_DEFAULT   0x0055
 
#define ADIN1200_PHY_STATUS_2_PAIR_1_POL_INV   0x0800
 
#define ADIN1200_PHY_STATUS_2_PAIR_0_POL_INV   0x0400
 
#define ADIN1200_EEE_CAPABILITY_EEE_10_G_KR_SPRT   0x0040
 
#define ADIN1200_EEE_CAPABILITY_EEE_10_G_KX_4_SPRT   0x0020
 
#define ADIN1200_EEE_CAPABILITY_EEE_1000_KX_SPRT   0x0010
 
#define ADIN1200_EEE_CAPABILITY_EEE_10_G_SPRT   0x0008
 
#define ADIN1200_EEE_CAPABILITY_EEE_1000_SPRT   0x0004
 
#define ADIN1200_EEE_CAPABILITY_EEE_100_SPRT   0x0002
 
#define ADIN1200_EEE_ADV_EEE_10_G_KR_ADV   0x0040
 
#define ADIN1200_EEE_ADV_EEE_10_G_KX_4_ADV   0x0020
 
#define ADIN1200_EEE_ADV_EEE_1000_KX_ADV   0x0010
 
#define ADIN1200_EEE_ADV_EEE_10_G_ADV   0x0008
 
#define ADIN1200_EEE_ADV_EEE_1000_ADV   0x0004
 
#define ADIN1200_EEE_ADV_EEE_100_ADV   0x0002
 
#define ADIN1200_EEE_LP_ABILITY_LP_EEE_10_G_KR_ABLE   0x0040
 
#define ADIN1200_EEE_LP_ABILITY_LP_EEE_10_G_KX_4_ABLE   0x0020
 
#define ADIN1200_EEE_LP_ABILITY_LP_EEE_1000_KX_ABLE   0x0010
 
#define ADIN1200_EEE_LP_ABILITY_LP_EEE_10_G_ABLE   0x0008
 
#define ADIN1200_EEE_LP_ABILITY_LP_EEE_1000_ABLE   0x0004
 
#define ADIN1200_EEE_LP_ABILITY_LP_EEE_100_ABLE   0x0002
 
#define ADIN1200_EEE_RSLVD_EEE_RSLVD   0x0001
 
#define ADIN1200_MSE_A_MSE_A   0x00FF
 
#define ADIN1200_FLD_EN_FLD_PCS_ERR_B_100_EN   0x0080
 
#define ADIN1200_FLD_EN_FLD_SLCR_OUT_STUCK_B_100_EN   0x0020
 
#define ADIN1200_FLD_EN_FLD_SLCR_IN_ZDET_B_100_EN   0x0008
 
#define ADIN1200_FLD_EN_FLD_SLCR_IN_INVLD_B_100_EN   0x0002
 
#define ADIN1200_FLD_STAT_LAT_FAST_LINK_DOWN_LAT   0x2000
 
#define ADIN1200_RX_MII_CLK_STOP_EN_RX_MII_CLK_STOP_EN   0x0400
 
#define ADIN1200_PCS_STATUS_1_TX_LPI_RCVD   0x0800
 
#define ADIN1200_PCS_STATUS_1_RX_LPI_RCVD   0x0400
 
#define ADIN1200_PCS_STATUS_1_TX_LPI   0x0200
 
#define ADIN1200_PCS_STATUS_1_RX_LPI   0x0100
 
#define ADIN1200_PCS_STATUS_1_TX_MII_CLK_STOP_CPBL   0x0040
 
#define ADIN1200_FC_EN_FC_EN   0x0001
 
#define ADIN1200_FC_IRQ_EN_FC_IRQ_EN   0x0001
 
#define ADIN1200_FC_TX_SEL_FC_TX_SEL   0x0001
 
#define ADIN1200_FG_EN_FG_EN   0x0001
 
#define ADIN1200_FG_CNTRL_RSTRT_FG_RSTRT   0x0008
 
#define ADIN1200_FG_CNTRL_RSTRT_FG_CNTRL   0x0007
 
#define ADIN1200_FG_CNTRL_RSTRT_FG_CNTRL_NO_FRAMES   0x0000
 
#define ADIN1200_FG_CNTRL_RSTRT_FG_CNTRL_RANDOM   0x0001
 
#define ADIN1200_FG_CNTRL_RSTRT_FG_CNTRL_ALL_ZEROS   0x0002
 
#define ADIN1200_FG_CNTRL_RSTRT_FG_CNTRL_ALL_ONES   0x0003
 
#define ADIN1200_FG_CNTRL_RSTRT_FG_CNTRL_ALT   0x0004
 
#define ADIN1200_FG_CNTRL_RSTRT_FG_CNTRL_DEC   0x0005
 
#define ADIN1200_FG_CONT_MODE_EN_FG_CONT_MODE_EN   0x0001
 
#define ADIN1200_FG_IRQ_EN_FG_IRQ_EN   0x0001
 
#define ADIN1200_FG_IFG_LEN_FG_IFG_LEN   0x00FF
 
#define ADIN1200_FG_DONE_FG_DONE   0x0001
 
#define ADIN1200_FIFO_SYNC_FIFO_SYNC   0x0001
 
#define ADIN1200_SOP_CTRL_SOP_N_8_CYCM_1   0x0070
 
#define ADIN1200_SOP_CTRL_SOP_NCYC_EN   0x0008
 
#define ADIN1200_SOP_CTRL_SOP_SFD_EN   0x0004
 
#define ADIN1200_SOP_CTRL_SOP_RX_EN   0x0002
 
#define ADIN1200_SOP_CTRL_SOP_TX_EN   0x0001
 
#define ADIN1200_SOP_RX_DEL_SOP_RX_10_DEL_NCYC   0xF800
 
#define ADIN1200_SOP_RX_DEL_SOP_RX_100_DEL_NCYC   0x07C0
 
#define ADIN1200_SOP_TX_DEL_SOP_TX_10_DEL_N_8_NS   0x1F00
 
#define ADIN1200_SOP_TX_DEL_SOP_TX_100_DEL_N_8_NS   0x00F0
 
#define ADIN1200_DPTH_MII_BYTE_DPTH_MII_BYTE   0x0001
 
#define ADIN1200_B_10_E_EN_B_10_E_EN   0x0001
 
#define ADIN1200_B_10_TX_TST_MODE_B_10_TX_TST_MODE   0x0007
 
#define ADIN1200_B_10_TX_TST_MODE_B_10_TX_TST_MODE_DISABLED   0x0000
 
#define ADIN1200_B_10_TX_TST_MODE_B_10_TX_TST_MODE_10MHZ_DIM_0   0x0001
 
#define ADIN1200_B_10_TX_TST_MODE_B_10_TX_TST_MODE_10MHZ_DIM_1   0x0002
 
#define ADIN1200_B_10_TX_TST_MODE_B_10_TX_TST_MODE_5MHZ_DIM_0   0x0003
 
#define ADIN1200_B_10_TX_TST_MODE_B_10_TX_TST_MODE_5MHZ_DIM_1   0x0004
 
#define ADIN1200_B_100_TX_TST_MODE_B_100_TX_TST_MODE   0x0007
 
#define ADIN1200_B_100_TX_TST_MODE_B_100_TX_TST_MODE_DISABLED   0x0000
 
#define ADIN1200_B_100_TX_TST_MODE_B_100_TX_TST_MODE_MLT3_16NS_DIM_0   0x0001
 
#define ADIN1200_B_100_TX_TST_MODE_B_100_TX_TST_MODE_MLT3_16NS_DIM_1   0x0002
 
#define ADIN1200_B_100_TX_TST_MODE_B_100_TX_TST_MODE_MLT3_112NS_DIM_0   0x0003
 
#define ADIN1200_B_100_TX_TST_MODE_B_100_TX_TST_MODE_MLT3_112NS_DIM_1   0x0004
 
#define ADIN1200_CDIAG_RUN_CDIAG_RUN   0x0001
 
#define ADIN1200_CDIAG_XPAIR_DIS_CDIAG_XPAIR_DIS   0x0001
 
#define ADIN1200_CDIAG_DTLD_RSLTS_0_CDIAG_RSLT_0_BSY   0x0400
 
#define ADIN1200_CDIAG_DTLD_RSLTS_0_CDIAG_RSLT_0_XSIM_1   0x0080
 
#define ADIN1200_CDIAG_DTLD_RSLTS_0_CDIAG_RSLT_0_SIM   0x0040
 
#define ADIN1200_CDIAG_DTLD_RSLTS_0_CDIAG_RSLT_0_XSHRT_1   0x0008
 
#define ADIN1200_CDIAG_DTLD_RSLTS_0_CDIAG_RSLT_0_SHRT   0x0004
 
#define ADIN1200_CDIAG_DTLD_RSLTS_0_CDIAG_RSLT_0_OPN   0x0002
 
#define ADIN1200_CDIAG_DTLD_RSLTS_0_CDIAG_RSLT_0_GD   0x0001
 
#define ADIN1200_CDIAG_DTLD_RSLTS_1_CDIAG_RSLT_1_BSY   0x0400
 
#define ADIN1200_CDIAG_DTLD_RSLTS_1_CDIAG_RSLT_1_XSIM_0   0x0080
 
#define ADIN1200_CDIAG_DTLD_RSLTS_1_CDIAG_RSLT_1_SIM   0x0040
 
#define ADIN1200_CDIAG_DTLD_RSLTS_1_CDIAG_RSLT_1_XSHRT_0   0x0008
 
#define ADIN1200_CDIAG_DTLD_RSLTS_1_CDIAG_RSLT_1_SHRT   0x0004
 
#define ADIN1200_CDIAG_DTLD_RSLTS_1_CDIAG_RSLT_1_OPN   0x0002
 
#define ADIN1200_CDIAG_DTLD_RSLTS_1_CDIAG_RSLT_1_GD   0x0001
 
#define ADIN1200_CDIAG_FLT_DIST_0_CDIAG_FLT_DIST_0   0x00FF
 
#define ADIN1200_CDIAG_FLT_DIST_1_CDIAG_FLT_DIST_1   0x00FF
 
#define ADIN1200_CDIAG_CBL_LEN_EST_CDIAG_CBL_LEN_EST   0x00FF
 
#define ADIN1200_LED_PUL_STR_DUR_LED_PUL_STR_DUR   0x003F
 
#define ADIN1200_GE_SFT_RST_GE_SFT_RST   0x0001
 
#define ADIN1200_GE_SFT_RST_CFG_EN_GE_SFT_RST_CFG_EN   0x0001
 
#define ADIN1200_GE_CLK_CFG_GE_CLK_RCVR_125_EN   0x0020
 
#define ADIN1200_GE_CLK_CFG_GE_CLK_FREE_125_EN   0x0010
 
#define ADIN1200_GE_CLK_CFG_GE_CLK_HRT_RCVR_EN   0x0004
 
#define ADIN1200_GE_CLK_CFG_GE_CLK_HRT_FREE_EN   0x0002
 
#define ADIN1200_GE_CLK_CFG_GE_CLK_25_EN   0x0001
 
#define ADIN1200_GE_RGMII_CFG_GE_RGMII_100_LOW_LTNCY_EN   0x0400
 
#define ADIN1200_GE_RGMII_CFG_GE_RGMII_10_LOW_LTNCY_EN   0x0200
 
#define ADIN1200_GE_RGMII_CFG_GE_RGMII_RX_SEL   0x01C0
 
#define ADIN1200_GE_RGMII_CFG_GE_RGMII_GTX_SEL   0x0038
 
#define ADIN1200_GE_RGMII_CFG_GE_RGMII_RX_ID_EN   0x0004
 
#define ADIN1200_GE_RGMII_CFG_GE_RGMII_TX_ID_EN   0x0002
 
#define ADIN1200_GE_RGMII_CFG_GE_RGMII_EN   0x0001
 
#define ADIN1200_GE_RMII_CFG_GE_RMII_FIFO_RST   0x0080
 
#define ADIN1200_GE_RMII_CFG_GE_RMII_FIFO_DPTH   0x0070
 
#define ADIN1200_GE_RMII_CFG_GE_RMII_FIFO_DPTH_4_BITS   0x0000
 
#define ADIN1200_GE_RMII_CFG_GE_RMII_FIFO_DPTH_8_BITS   0x0010
 
#define ADIN1200_GE_RMII_CFG_GE_RMII_FIFO_DPTH_12_BITS   0x0020
 
#define ADIN1200_GE_RMII_CFG_GE_RMII_FIFO_DPTH_16_BITS   0x0030
 
#define ADIN1200_GE_RMII_CFG_GE_RMII_FIFO_DPTH_20_BITS   0x0040
 
#define ADIN1200_GE_RMII_CFG_GE_RMII_FIFO_DPTH_24_BITS   0x0050
 
#define ADIN1200_GE_RMII_CFG_GE_RMII_TXD_CHK_EN   0x0008
 
#define ADIN1200_GE_RMII_CFG_GE_RMII_CRS_EN   0x0004
 
#define ADIN1200_GE_RMII_CFG_GE_RMII_BAD_SSD_RX_ER_EN   0x0002
 
#define ADIN1200_GE_RMII_CFG_GE_RMII_EN   0x0001
 
#define ADIN1200_GE_PHY_BASE_CFG_GE_FLD_100_EN_CFG   0x0400
 
#define ADIN1200_GE_PHY_BASE_CFG_GE_PHY_SFT_PD_CFG   0x0008
 
#define ADIN1200_GE_LNK_STAT_INV_EN_GE_LNK_STAT_INV_EN   0x0001
 
#define ADIN1200_GE_IO_GP_CLK_OR_CNTRL_GE_IO_GP_CLK_OR_CNTRL   0x0007
 
#define ADIN1200_GE_IO_GP_CLK_OR_CNTRL_GE_IO_GP_CLK_OR_CNTRL_DEFAULT   0x0000
 
#define ADIN1200_GE_IO_GP_CLK_OR_CNTRL_GE_IO_GP_CLK_OR_CNTRL_LINK_STATUS   0x0001
 
#define ADIN1200_GE_IO_GP_CLK_OR_CNTRL_GE_IO_GP_CLK_OR_CNTRL_TX_SOF   0x0002
 
#define ADIN1200_GE_IO_GP_CLK_OR_CNTRL_GE_IO_GP_CLK_OR_CNTRL_RX_SOF   0x0003
 
#define ADIN1200_GE_IO_GP_CLK_OR_CNTRL_GE_IO_GP_CLK_OR_CNTRL_CRS   0x0004
 
#define ADIN1200_GE_IO_GP_CLK_OR_CNTRL_GE_IO_GP_CLK_OR_CNTRL_COL   0x0005
 
#define ADIN1200_GE_IO_GP_CLK_OR_CNTRL_GE_IO_GP_CLK_OR_CNTRL_RX_ER   0x0006
 
#define ADIN1200_GE_IO_GP_CLK_OR_CNTRL_GE_IO_GP_CLK_OR_CNTRL_PHY_CLK   0x0007
 
#define ADIN1200_GE_IO_GP_OUT_OR_CNTRL_GE_IO_GP_OUT_OR_CNTRL   0x0007
 
#define ADIN1200_GE_IO_GP_OUT_OR_CNTRL_GE_IO_GP_OUT_OR_CNTRL_DEFAULT   0x0000
 
#define ADIN1200_GE_IO_GP_OUT_OR_CNTRL_GE_IO_GP_OUT_OR_CNTRL_LINK_STATUS   0x0001
 
#define ADIN1200_GE_IO_GP_OUT_OR_CNTRL_GE_IO_GP_OUT_OR_CNTRL_TX_SOF   0x0002
 
#define ADIN1200_GE_IO_GP_OUT_OR_CNTRL_GE_IO_GP_OUT_OR_CNTRL_RX_SOF   0x0003
 
#define ADIN1200_GE_IO_GP_OUT_OR_CNTRL_GE_IO_GP_OUT_OR_CNTRL_CRS   0x0004
 
#define ADIN1200_GE_IO_GP_OUT_OR_CNTRL_GE_IO_GP_OUT_OR_CNTRL_COL   0x0005
 
#define ADIN1200_GE_IO_INT_N_OR_CNTRL_GE_IO_INT_N_OR_CNTRL   0x0007
 
#define ADIN1200_GE_IO_INT_N_OR_CNTRL_GE_IO_INT_N_OR_CNTRL_DEFAULT   0x0000
 
#define ADIN1200_GE_IO_INT_N_OR_CNTRL_GE_IO_INT_N_OR_CNTRL_LINK_STATUS   0x0001
 
#define ADIN1200_GE_IO_INT_N_OR_CNTRL_GE_IO_INT_N_OR_CNTRL_TX_SOF   0x0002
 
#define ADIN1200_GE_IO_INT_N_OR_CNTRL_GE_IO_INT_N_OR_CNTRL_RX_SOF   0x0003
 
#define ADIN1200_GE_IO_INT_N_OR_CNTRL_GE_IO_INT_N_OR_CNTRL_CRS   0x0004
 
#define ADIN1200_GE_IO_INT_N_OR_CNTRL_GE_IO_INT_N_OR_CNTRL_COL   0x0005
 
#define ADIN1200_GE_IO_INT_N_OR_CNTRL_GE_IO_INT_N_OR_CNTRL_TX_ER   0x0006
 
#define ADIN1200_GE_IO_INT_N_OR_CNTRL_GE_IO_INT_N_OR_CNTRL_INT_N   0x0007
 
#define ADIN1200_GE_IO_LED_A_OR_CNTRL_GE_IO_LED_A_OR_CNTRL   0x000F
 
#define ADIN1200_GE_IO_LED_A_OR_CNTRL_GE_IO_LED_A_OR_CNTRL_DEFAULT   0x0000
 
#define ADIN1200_GE_IO_LED_A_OR_CNTRL_GE_IO_LED_A_OR_CNTRL_LINK_STATUS   0x0001
 
#define ADIN1200_GE_IO_LED_A_OR_CNTRL_GE_IO_LED_A_OR_CNTRL_TX_SOF   0x0002
 
#define ADIN1200_GE_IO_LED_A_OR_CNTRL_GE_IO_LED_A_OR_CNTRL_RX_SOF   0x0003
 
#define ADIN1200_GE_IO_LED_A_OR_CNTRL_GE_IO_LED_A_OR_CNTRL_CRS   0x0004
 
#define ADIN1200_GE_IO_LED_A_OR_CNTRL_GE_IO_LED_A_OR_CNTRL_COL   0x0005
 
#define ADIN1200_GE_IO_LED_A_OR_CNTRL_GE_IO_LED_A_OR_CNTRL_TX_ER   0x0006
 
#define ADIN1200_GE_IO_LED_A_OR_CNTRL_GE_IO_LED_A_OR_CNTRL_LED_0   0x0007
 

Functions

error_t adin1200Init (NetInterface *interface)
 ADIN1200 PHY transceiver initialization. More...
 
void adin1200InitHook (NetInterface *interface)
 ADIN1200 custom configuration. More...
 
void adin1200Tick (NetInterface *interface)
 ADIN1200 timer handler. More...
 
void adin1200EnableIrq (NetInterface *interface)
 Enable interrupts. More...
 
void adin1200DisableIrq (NetInterface *interface)
 Disable interrupts. More...
 
void adin1200EventHandler (NetInterface *interface)
 ADIN1200 event handler. More...
 
void adin1200WritePhyReg (NetInterface *interface, uint8_t address, uint16_t data)
 Write PHY register. More...
 
uint16_t adin1200ReadPhyReg (NetInterface *interface, uint8_t address)
 Read PHY register. More...
 
void adin1200DumpPhyReg (NetInterface *interface)
 Dump PHY registers for debugging purpose. More...
 
void adin1200WriteExtReg (NetInterface *interface, uint16_t address, uint16_t data)
 Write extended register. More...
 
uint16_t adin1200ReadExtReg (NetInterface *interface, uint16_t address)
 Read extended register. More...
 

Variables

const PhyDriver adin1200PhyDriver
 ADIN1200 Ethernet PHY driver. More...
 

Detailed Description

ADIN1200 Ethernet PHY driver.

License

SPDX-License-Identifier: GPL-2.0-or-later

Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved.

This file is part of CycloneTCP Open.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Author
Oryx Embedded SARL (www.oryx-embedded.com)
Version
2.4.4

Definition in file adin1200_driver.h.

Macro Definition Documentation

◆ ADIN1200_AUTONEG_ADV

#define ADIN1200_AUTONEG_ADV   0x04

Definition at line 49 of file adin1200_driver.h.

◆ ADIN1200_AUTONEG_ADV_APAUSE_ADV

#define ADIN1200_AUTONEG_ADV_APAUSE_ADV   0x0800

Definition at line 184 of file adin1200_driver.h.

◆ ADIN1200_AUTONEG_ADV_EXT_NEXT_PAGE_ADV

#define ADIN1200_AUTONEG_ADV_EXT_NEXT_PAGE_ADV   0x1000

Definition at line 183 of file adin1200_driver.h.

◆ ADIN1200_AUTONEG_ADV_FD_100_ADV

#define ADIN1200_AUTONEG_ADV_FD_100_ADV   0x0100

Definition at line 187 of file adin1200_driver.h.

◆ ADIN1200_AUTONEG_ADV_FD_10_ADV

#define ADIN1200_AUTONEG_ADV_FD_10_ADV   0x0040

Definition at line 189 of file adin1200_driver.h.

◆ ADIN1200_AUTONEG_ADV_HD_100_ADV

#define ADIN1200_AUTONEG_ADV_HD_100_ADV   0x0080

Definition at line 188 of file adin1200_driver.h.

◆ ADIN1200_AUTONEG_ADV_HD_10_ADV

#define ADIN1200_AUTONEG_ADV_HD_10_ADV   0x0020

Definition at line 190 of file adin1200_driver.h.

◆ ADIN1200_AUTONEG_ADV_NEXT_PAGE_ADV

#define ADIN1200_AUTONEG_ADV_NEXT_PAGE_ADV   0x8000

Definition at line 181 of file adin1200_driver.h.

◆ ADIN1200_AUTONEG_ADV_PAUSE_ADV

#define ADIN1200_AUTONEG_ADV_PAUSE_ADV   0x0400

Definition at line 185 of file adin1200_driver.h.

◆ ADIN1200_AUTONEG_ADV_REM_FLT_ADV

#define ADIN1200_AUTONEG_ADV_REM_FLT_ADV   0x2000

Definition at line 182 of file adin1200_driver.h.

◆ ADIN1200_AUTONEG_ADV_SELECTOR_ADV

#define ADIN1200_AUTONEG_ADV_SELECTOR_ADV   0x001F

Definition at line 191 of file adin1200_driver.h.

◆ ADIN1200_AUTONEG_ADV_SELECTOR_ADV_DEFAULT

#define ADIN1200_AUTONEG_ADV_SELECTOR_ADV_DEFAULT   0x0001

Definition at line 192 of file adin1200_driver.h.

◆ ADIN1200_AUTONEG_ADV_T_4_ADV

#define ADIN1200_AUTONEG_ADV_T_4_ADV   0x0200

Definition at line 186 of file adin1200_driver.h.

◆ ADIN1200_AUTONEG_EXP

#define ADIN1200_AUTONEG_EXP   0x06

Definition at line 51 of file adin1200_driver.h.

◆ ADIN1200_AUTONEG_EXP_LP_AUTONEG_ABLE

#define ADIN1200_AUTONEG_EXP_LP_AUTONEG_ABLE   0x0001

Definition at line 215 of file adin1200_driver.h.

◆ ADIN1200_AUTONEG_EXP_LP_NP_ABLE

#define ADIN1200_AUTONEG_EXP_LP_NP_ABLE   0x0008

Definition at line 212 of file adin1200_driver.h.

◆ ADIN1200_AUTONEG_EXP_NP_ABLE

#define ADIN1200_AUTONEG_EXP_NP_ABLE   0x0004

Definition at line 213 of file adin1200_driver.h.

◆ ADIN1200_AUTONEG_EXP_PAGE_RX_LAT

#define ADIN1200_AUTONEG_EXP_PAGE_RX_LAT   0x0002

Definition at line 214 of file adin1200_driver.h.

◆ ADIN1200_AUTONEG_EXP_PAR_DET_FLT

#define ADIN1200_AUTONEG_EXP_PAR_DET_FLT   0x0010

Definition at line 211 of file adin1200_driver.h.

◆ ADIN1200_AUTONEG_EXP_RX_NP_LOC

#define ADIN1200_AUTONEG_EXP_RX_NP_LOC   0x0020

Definition at line 210 of file adin1200_driver.h.

◆ ADIN1200_AUTONEG_EXP_RX_NP_LOC_ABLE

#define ADIN1200_AUTONEG_EXP_RX_NP_LOC_ABLE   0x0040

Definition at line 209 of file adin1200_driver.h.

◆ ADIN1200_B_100_TX_TST_MODE

#define ADIN1200_B_100_TX_TST_MODE   0xB413

Definition at line 114 of file adin1200_driver.h.

◆ ADIN1200_B_100_TX_TST_MODE_B_100_TX_TST_MODE

#define ADIN1200_B_100_TX_TST_MODE_B_100_TX_TST_MODE   0x0007

Definition at line 481 of file adin1200_driver.h.

◆ ADIN1200_B_100_TX_TST_MODE_B_100_TX_TST_MODE_DISABLED

#define ADIN1200_B_100_TX_TST_MODE_B_100_TX_TST_MODE_DISABLED   0x0000

Definition at line 482 of file adin1200_driver.h.

◆ ADIN1200_B_100_TX_TST_MODE_B_100_TX_TST_MODE_MLT3_112NS_DIM_0

#define ADIN1200_B_100_TX_TST_MODE_B_100_TX_TST_MODE_MLT3_112NS_DIM_0   0x0003

Definition at line 485 of file adin1200_driver.h.

◆ ADIN1200_B_100_TX_TST_MODE_B_100_TX_TST_MODE_MLT3_112NS_DIM_1

#define ADIN1200_B_100_TX_TST_MODE_B_100_TX_TST_MODE_MLT3_112NS_DIM_1   0x0004

Definition at line 486 of file adin1200_driver.h.

◆ ADIN1200_B_100_TX_TST_MODE_B_100_TX_TST_MODE_MLT3_16NS_DIM_0

#define ADIN1200_B_100_TX_TST_MODE_B_100_TX_TST_MODE_MLT3_16NS_DIM_0   0x0001

Definition at line 483 of file adin1200_driver.h.

◆ ADIN1200_B_100_TX_TST_MODE_B_100_TX_TST_MODE_MLT3_16NS_DIM_1

#define ADIN1200_B_100_TX_TST_MODE_B_100_TX_TST_MODE_MLT3_16NS_DIM_1   0x0002

Definition at line 484 of file adin1200_driver.h.

◆ ADIN1200_B_10_E_EN

#define ADIN1200_B_10_E_EN   0xB403

Definition at line 112 of file adin1200_driver.h.

◆ ADIN1200_B_10_E_EN_B_10_E_EN

#define ADIN1200_B_10_E_EN_B_10_E_EN   0x0001

Definition at line 470 of file adin1200_driver.h.

◆ ADIN1200_B_10_TX_TST_MODE

#define ADIN1200_B_10_TX_TST_MODE   0xB412

Definition at line 113 of file adin1200_driver.h.

◆ ADIN1200_B_10_TX_TST_MODE_B_10_TX_TST_MODE

#define ADIN1200_B_10_TX_TST_MODE_B_10_TX_TST_MODE   0x0007

Definition at line 473 of file adin1200_driver.h.

◆ ADIN1200_B_10_TX_TST_MODE_B_10_TX_TST_MODE_10MHZ_DIM_0

#define ADIN1200_B_10_TX_TST_MODE_B_10_TX_TST_MODE_10MHZ_DIM_0   0x0001

Definition at line 475 of file adin1200_driver.h.

◆ ADIN1200_B_10_TX_TST_MODE_B_10_TX_TST_MODE_10MHZ_DIM_1

#define ADIN1200_B_10_TX_TST_MODE_B_10_TX_TST_MODE_10MHZ_DIM_1   0x0002

Definition at line 476 of file adin1200_driver.h.

◆ ADIN1200_B_10_TX_TST_MODE_B_10_TX_TST_MODE_5MHZ_DIM_0

#define ADIN1200_B_10_TX_TST_MODE_B_10_TX_TST_MODE_5MHZ_DIM_0   0x0003

Definition at line 477 of file adin1200_driver.h.

◆ ADIN1200_B_10_TX_TST_MODE_B_10_TX_TST_MODE_5MHZ_DIM_1

#define ADIN1200_B_10_TX_TST_MODE_B_10_TX_TST_MODE_5MHZ_DIM_1   0x0004

Definition at line 478 of file adin1200_driver.h.

◆ ADIN1200_B_10_TX_TST_MODE_B_10_TX_TST_MODE_DISABLED

#define ADIN1200_B_10_TX_TST_MODE_B_10_TX_TST_MODE_DISABLED   0x0000

Definition at line 474 of file adin1200_driver.h.

◆ ADIN1200_CDIAG_CBL_LEN_EST

#define ADIN1200_CDIAG_CBL_LEN_EST   0xBA25

Definition at line 121 of file adin1200_driver.h.

◆ ADIN1200_CDIAG_CBL_LEN_EST_CDIAG_CBL_LEN_EST

#define ADIN1200_CDIAG_CBL_LEN_EST_CDIAG_CBL_LEN_EST   0x00FF

Definition at line 519 of file adin1200_driver.h.

◆ ADIN1200_CDIAG_DTLD_RSLTS_0

#define ADIN1200_CDIAG_DTLD_RSLTS_0   0xBA1D

Definition at line 117 of file adin1200_driver.h.

◆ ADIN1200_CDIAG_DTLD_RSLTS_0_CDIAG_RSLT_0_BSY

#define ADIN1200_CDIAG_DTLD_RSLTS_0_CDIAG_RSLT_0_BSY   0x0400

Definition at line 495 of file adin1200_driver.h.

◆ ADIN1200_CDIAG_DTLD_RSLTS_0_CDIAG_RSLT_0_GD

#define ADIN1200_CDIAG_DTLD_RSLTS_0_CDIAG_RSLT_0_GD   0x0001

Definition at line 501 of file adin1200_driver.h.

◆ ADIN1200_CDIAG_DTLD_RSLTS_0_CDIAG_RSLT_0_OPN

#define ADIN1200_CDIAG_DTLD_RSLTS_0_CDIAG_RSLT_0_OPN   0x0002

Definition at line 500 of file adin1200_driver.h.

◆ ADIN1200_CDIAG_DTLD_RSLTS_0_CDIAG_RSLT_0_SHRT

#define ADIN1200_CDIAG_DTLD_RSLTS_0_CDIAG_RSLT_0_SHRT   0x0004

Definition at line 499 of file adin1200_driver.h.

◆ ADIN1200_CDIAG_DTLD_RSLTS_0_CDIAG_RSLT_0_SIM

#define ADIN1200_CDIAG_DTLD_RSLTS_0_CDIAG_RSLT_0_SIM   0x0040

Definition at line 497 of file adin1200_driver.h.

◆ ADIN1200_CDIAG_DTLD_RSLTS_0_CDIAG_RSLT_0_XSHRT_1

#define ADIN1200_CDIAG_DTLD_RSLTS_0_CDIAG_RSLT_0_XSHRT_1   0x0008

Definition at line 498 of file adin1200_driver.h.

◆ ADIN1200_CDIAG_DTLD_RSLTS_0_CDIAG_RSLT_0_XSIM_1

#define ADIN1200_CDIAG_DTLD_RSLTS_0_CDIAG_RSLT_0_XSIM_1   0x0080

Definition at line 496 of file adin1200_driver.h.

◆ ADIN1200_CDIAG_DTLD_RSLTS_1

#define ADIN1200_CDIAG_DTLD_RSLTS_1   0xBA1E

Definition at line 118 of file adin1200_driver.h.

◆ ADIN1200_CDIAG_DTLD_RSLTS_1_CDIAG_RSLT_1_BSY

#define ADIN1200_CDIAG_DTLD_RSLTS_1_CDIAG_RSLT_1_BSY   0x0400

Definition at line 504 of file adin1200_driver.h.

◆ ADIN1200_CDIAG_DTLD_RSLTS_1_CDIAG_RSLT_1_GD

#define ADIN1200_CDIAG_DTLD_RSLTS_1_CDIAG_RSLT_1_GD   0x0001

Definition at line 510 of file adin1200_driver.h.

◆ ADIN1200_CDIAG_DTLD_RSLTS_1_CDIAG_RSLT_1_OPN

#define ADIN1200_CDIAG_DTLD_RSLTS_1_CDIAG_RSLT_1_OPN   0x0002

Definition at line 509 of file adin1200_driver.h.

◆ ADIN1200_CDIAG_DTLD_RSLTS_1_CDIAG_RSLT_1_SHRT

#define ADIN1200_CDIAG_DTLD_RSLTS_1_CDIAG_RSLT_1_SHRT   0x0004

Definition at line 508 of file adin1200_driver.h.

◆ ADIN1200_CDIAG_DTLD_RSLTS_1_CDIAG_RSLT_1_SIM

#define ADIN1200_CDIAG_DTLD_RSLTS_1_CDIAG_RSLT_1_SIM   0x0040

Definition at line 506 of file adin1200_driver.h.

◆ ADIN1200_CDIAG_DTLD_RSLTS_1_CDIAG_RSLT_1_XSHRT_0

#define ADIN1200_CDIAG_DTLD_RSLTS_1_CDIAG_RSLT_1_XSHRT_0   0x0008

Definition at line 507 of file adin1200_driver.h.

◆ ADIN1200_CDIAG_DTLD_RSLTS_1_CDIAG_RSLT_1_XSIM_0

#define ADIN1200_CDIAG_DTLD_RSLTS_1_CDIAG_RSLT_1_XSIM_0   0x0080

Definition at line 505 of file adin1200_driver.h.

◆ ADIN1200_CDIAG_FLT_DIST_0

#define ADIN1200_CDIAG_FLT_DIST_0   0xBA21

Definition at line 119 of file adin1200_driver.h.

◆ ADIN1200_CDIAG_FLT_DIST_0_CDIAG_FLT_DIST_0

#define ADIN1200_CDIAG_FLT_DIST_0_CDIAG_FLT_DIST_0   0x00FF

Definition at line 513 of file adin1200_driver.h.

◆ ADIN1200_CDIAG_FLT_DIST_1

#define ADIN1200_CDIAG_FLT_DIST_1   0xBA22

Definition at line 120 of file adin1200_driver.h.

◆ ADIN1200_CDIAG_FLT_DIST_1_CDIAG_FLT_DIST_1

#define ADIN1200_CDIAG_FLT_DIST_1_CDIAG_FLT_DIST_1   0x00FF

Definition at line 516 of file adin1200_driver.h.

◆ ADIN1200_CDIAG_RUN

#define ADIN1200_CDIAG_RUN   0xBA1B

Definition at line 115 of file adin1200_driver.h.

◆ ADIN1200_CDIAG_RUN_CDIAG_RUN

#define ADIN1200_CDIAG_RUN_CDIAG_RUN   0x0001

Definition at line 489 of file adin1200_driver.h.

◆ ADIN1200_CDIAG_XPAIR_DIS

#define ADIN1200_CDIAG_XPAIR_DIS   0xBA1C

Definition at line 116 of file adin1200_driver.h.

◆ ADIN1200_CDIAG_XPAIR_DIS_CDIAG_XPAIR_DIS

#define ADIN1200_CDIAG_XPAIR_DIS_CDIAG_XPAIR_DIS   0x0001

Definition at line 492 of file adin1200_driver.h.

◆ ADIN1200_DPTH_MII_BYTE

#define ADIN1200_DPTH_MII_BYTE   0x9602

Definition at line 110 of file adin1200_driver.h.

◆ ADIN1200_DPTH_MII_BYTE_DPTH_MII_BYTE

#define ADIN1200_DPTH_MII_BYTE_DPTH_MII_BYTE   0x0001

Definition at line 467 of file adin1200_driver.h.

◆ ADIN1200_EEE_ADV

#define ADIN1200_EEE_ADV   0x8001

Definition at line 74 of file adin1200_driver.h.

◆ ADIN1200_EEE_ADV_EEE_1000_ADV

#define ADIN1200_EEE_ADV_EEE_1000_ADV   0x0004

Definition at line 378 of file adin1200_driver.h.

◆ ADIN1200_EEE_ADV_EEE_1000_KX_ADV

#define ADIN1200_EEE_ADV_EEE_1000_KX_ADV   0x0010

Definition at line 376 of file adin1200_driver.h.

◆ ADIN1200_EEE_ADV_EEE_100_ADV

#define ADIN1200_EEE_ADV_EEE_100_ADV   0x0002

Definition at line 379 of file adin1200_driver.h.

◆ ADIN1200_EEE_ADV_EEE_10_G_ADV

#define ADIN1200_EEE_ADV_EEE_10_G_ADV   0x0008

Definition at line 377 of file adin1200_driver.h.

◆ ADIN1200_EEE_ADV_EEE_10_G_KR_ADV

#define ADIN1200_EEE_ADV_EEE_10_G_KR_ADV   0x0040

Definition at line 374 of file adin1200_driver.h.

◆ ADIN1200_EEE_ADV_EEE_10_G_KX_4_ADV

#define ADIN1200_EEE_ADV_EEE_10_G_KX_4_ADV   0x0020

Definition at line 375 of file adin1200_driver.h.

◆ ADIN1200_EEE_CAPABILITY

#define ADIN1200_EEE_CAPABILITY   0x8000

Definition at line 73 of file adin1200_driver.h.

◆ ADIN1200_EEE_CAPABILITY_EEE_1000_KX_SPRT

#define ADIN1200_EEE_CAPABILITY_EEE_1000_KX_SPRT   0x0010

Definition at line 368 of file adin1200_driver.h.

◆ ADIN1200_EEE_CAPABILITY_EEE_1000_SPRT

#define ADIN1200_EEE_CAPABILITY_EEE_1000_SPRT   0x0004

Definition at line 370 of file adin1200_driver.h.

◆ ADIN1200_EEE_CAPABILITY_EEE_100_SPRT

#define ADIN1200_EEE_CAPABILITY_EEE_100_SPRT   0x0002

Definition at line 371 of file adin1200_driver.h.

◆ ADIN1200_EEE_CAPABILITY_EEE_10_G_KR_SPRT

#define ADIN1200_EEE_CAPABILITY_EEE_10_G_KR_SPRT   0x0040

Definition at line 366 of file adin1200_driver.h.

◆ ADIN1200_EEE_CAPABILITY_EEE_10_G_KX_4_SPRT

#define ADIN1200_EEE_CAPABILITY_EEE_10_G_KX_4_SPRT   0x0020

Definition at line 367 of file adin1200_driver.h.

◆ ADIN1200_EEE_CAPABILITY_EEE_10_G_SPRT

#define ADIN1200_EEE_CAPABILITY_EEE_10_G_SPRT   0x0008

Definition at line 369 of file adin1200_driver.h.

◆ ADIN1200_EEE_LP_ABILITY

#define ADIN1200_EEE_LP_ABILITY   0x8002

Definition at line 75 of file adin1200_driver.h.

◆ ADIN1200_EEE_LP_ABILITY_LP_EEE_1000_ABLE

#define ADIN1200_EEE_LP_ABILITY_LP_EEE_1000_ABLE   0x0004

Definition at line 386 of file adin1200_driver.h.

◆ ADIN1200_EEE_LP_ABILITY_LP_EEE_1000_KX_ABLE

#define ADIN1200_EEE_LP_ABILITY_LP_EEE_1000_KX_ABLE   0x0010

Definition at line 384 of file adin1200_driver.h.

◆ ADIN1200_EEE_LP_ABILITY_LP_EEE_100_ABLE

#define ADIN1200_EEE_LP_ABILITY_LP_EEE_100_ABLE   0x0002

Definition at line 387 of file adin1200_driver.h.

◆ ADIN1200_EEE_LP_ABILITY_LP_EEE_10_G_ABLE

#define ADIN1200_EEE_LP_ABILITY_LP_EEE_10_G_ABLE   0x0008

Definition at line 385 of file adin1200_driver.h.

◆ ADIN1200_EEE_LP_ABILITY_LP_EEE_10_G_KR_ABLE

#define ADIN1200_EEE_LP_ABILITY_LP_EEE_10_G_KR_ABLE   0x0040

Definition at line 382 of file adin1200_driver.h.

◆ ADIN1200_EEE_LP_ABILITY_LP_EEE_10_G_KX_4_ABLE

#define ADIN1200_EEE_LP_ABILITY_LP_EEE_10_G_KX_4_ABLE   0x0020

Definition at line 383 of file adin1200_driver.h.

◆ ADIN1200_EEE_RSLVD

#define ADIN1200_EEE_RSLVD   0x8008

Definition at line 76 of file adin1200_driver.h.

◆ ADIN1200_EEE_RSLVD_EEE_RSLVD

#define ADIN1200_EEE_RSLVD_EEE_RSLVD   0x0001

Definition at line 390 of file adin1200_driver.h.

◆ ADIN1200_EXT_REG_DATA

#define ADIN1200_EXT_REG_DATA   0x11

Definition at line 57 of file adin1200_driver.h.

◆ ADIN1200_EXT_REG_PTR

#define ADIN1200_EXT_REG_PTR   0x10

Definition at line 56 of file adin1200_driver.h.

◆ ADIN1200_EXT_STATUS

#define ADIN1200_EXT_STATUS   0x0F

Definition at line 55 of file adin1200_driver.h.

◆ ADIN1200_EXT_STATUS_FD_1000_SPRT

#define ADIN1200_EXT_STATUS_FD_1000_SPRT   0x2000

Definition at line 242 of file adin1200_driver.h.

◆ ADIN1200_EXT_STATUS_FD_1000_X_SPRT

#define ADIN1200_EXT_STATUS_FD_1000_X_SPRT   0x8000

Definition at line 240 of file adin1200_driver.h.

◆ ADIN1200_EXT_STATUS_HD_1000_SPRT

#define ADIN1200_EXT_STATUS_HD_1000_SPRT   0x1000

Definition at line 243 of file adin1200_driver.h.

◆ ADIN1200_EXT_STATUS_HD_1000_X_SPRT

#define ADIN1200_EXT_STATUS_HD_1000_X_SPRT   0x4000

Definition at line 241 of file adin1200_driver.h.

◆ ADIN1200_FC_ALGN_ERR_CNT

#define ADIN1200_FC_ALGN_ERR_CNT   0x940D

Definition at line 89 of file adin1200_driver.h.

◆ ADIN1200_FC_DRIBBLE_BITS_CNT

#define ADIN1200_FC_DRIBBLE_BITS_CNT   0x9413

Definition at line 95 of file adin1200_driver.h.

◆ ADIN1200_FC_EN

#define ADIN1200_FC_EN   0x9403

Definition at line 82 of file adin1200_driver.h.

◆ ADIN1200_FC_EN_FC_EN

#define ADIN1200_FC_EN_FC_EN   0x0001

Definition at line 415 of file adin1200_driver.h.

◆ ADIN1200_FC_FALSE_CARRIER_CNT

#define ADIN1200_FC_FALSE_CARRIER_CNT   0x9414

Definition at line 96 of file adin1200_driver.h.

◆ ADIN1200_FC_FRM_CNT_H

#define ADIN1200_FC_FRM_CNT_H   0x940A

Definition at line 86 of file adin1200_driver.h.

◆ ADIN1200_FC_FRM_CNT_L

#define ADIN1200_FC_FRM_CNT_L   0x940B

Definition at line 87 of file adin1200_driver.h.

◆ ADIN1200_FC_IRQ_EN

#define ADIN1200_FC_IRQ_EN   0x9406

Definition at line 83 of file adin1200_driver.h.

◆ ADIN1200_FC_IRQ_EN_FC_IRQ_EN

#define ADIN1200_FC_IRQ_EN_FC_IRQ_EN   0x0001

Definition at line 418 of file adin1200_driver.h.

◆ ADIN1200_FC_LEN_ERR_CNT

#define ADIN1200_FC_LEN_ERR_CNT   0x940C

Definition at line 88 of file adin1200_driver.h.

◆ ADIN1200_FC_MAX_FRM_SIZE

#define ADIN1200_FC_MAX_FRM_SIZE   0x9408

Definition at line 85 of file adin1200_driver.h.

◆ ADIN1200_FC_ODD_CNT

#define ADIN1200_FC_ODD_CNT   0x9411

Definition at line 93 of file adin1200_driver.h.

◆ ADIN1200_FC_ODD_PRE_CNT

#define ADIN1200_FC_ODD_PRE_CNT   0x9412

Definition at line 94 of file adin1200_driver.h.

◆ ADIN1200_FC_OSZ_CNT

#define ADIN1200_FC_OSZ_CNT   0x940F

Definition at line 91 of file adin1200_driver.h.

◆ ADIN1200_FC_SYMB_ERR_CNT

#define ADIN1200_FC_SYMB_ERR_CNT   0x940E

Definition at line 90 of file adin1200_driver.h.

◆ ADIN1200_FC_TX_SEL

#define ADIN1200_FC_TX_SEL   0x9407

Definition at line 84 of file adin1200_driver.h.

◆ ADIN1200_FC_TX_SEL_FC_TX_SEL

#define ADIN1200_FC_TX_SEL_FC_TX_SEL   0x0001

Definition at line 421 of file adin1200_driver.h.

◆ ADIN1200_FC_USZ_CNT

#define ADIN1200_FC_USZ_CNT   0x9410

Definition at line 92 of file adin1200_driver.h.

◆ ADIN1200_FG_CNTRL_RSTRT

#define ADIN1200_FG_CNTRL_RSTRT   0x9416

Definition at line 98 of file adin1200_driver.h.

◆ ADIN1200_FG_CNTRL_RSTRT_FG_CNTRL

#define ADIN1200_FG_CNTRL_RSTRT_FG_CNTRL   0x0007

Definition at line 428 of file adin1200_driver.h.

◆ ADIN1200_FG_CNTRL_RSTRT_FG_CNTRL_ALL_ONES

#define ADIN1200_FG_CNTRL_RSTRT_FG_CNTRL_ALL_ONES   0x0003

Definition at line 432 of file adin1200_driver.h.

◆ ADIN1200_FG_CNTRL_RSTRT_FG_CNTRL_ALL_ZEROS

#define ADIN1200_FG_CNTRL_RSTRT_FG_CNTRL_ALL_ZEROS   0x0002

Definition at line 431 of file adin1200_driver.h.

◆ ADIN1200_FG_CNTRL_RSTRT_FG_CNTRL_ALT

#define ADIN1200_FG_CNTRL_RSTRT_FG_CNTRL_ALT   0x0004

Definition at line 433 of file adin1200_driver.h.

◆ ADIN1200_FG_CNTRL_RSTRT_FG_CNTRL_DEC

#define ADIN1200_FG_CNTRL_RSTRT_FG_CNTRL_DEC   0x0005

Definition at line 434 of file adin1200_driver.h.

◆ ADIN1200_FG_CNTRL_RSTRT_FG_CNTRL_NO_FRAMES

#define ADIN1200_FG_CNTRL_RSTRT_FG_CNTRL_NO_FRAMES   0x0000

Definition at line 429 of file adin1200_driver.h.

◆ ADIN1200_FG_CNTRL_RSTRT_FG_CNTRL_RANDOM

#define ADIN1200_FG_CNTRL_RSTRT_FG_CNTRL_RANDOM   0x0001

Definition at line 430 of file adin1200_driver.h.

◆ ADIN1200_FG_CNTRL_RSTRT_FG_RSTRT

#define ADIN1200_FG_CNTRL_RSTRT_FG_RSTRT   0x0008

Definition at line 427 of file adin1200_driver.h.

◆ ADIN1200_FG_CONT_MODE_EN

#define ADIN1200_FG_CONT_MODE_EN   0x9417

Definition at line 99 of file adin1200_driver.h.

◆ ADIN1200_FG_CONT_MODE_EN_FG_CONT_MODE_EN

#define ADIN1200_FG_CONT_MODE_EN_FG_CONT_MODE_EN   0x0001

Definition at line 437 of file adin1200_driver.h.

◆ ADIN1200_FG_DONE

#define ADIN1200_FG_DONE   0x941E

Definition at line 105 of file adin1200_driver.h.

◆ ADIN1200_FG_DONE_FG_DONE

#define ADIN1200_FG_DONE_FG_DONE   0x0001

Definition at line 446 of file adin1200_driver.h.

◆ ADIN1200_FG_EN

#define ADIN1200_FG_EN   0x9415

Definition at line 97 of file adin1200_driver.h.

◆ ADIN1200_FG_EN_FG_EN

#define ADIN1200_FG_EN_FG_EN   0x0001

Definition at line 424 of file adin1200_driver.h.

◆ ADIN1200_FG_FRM_LEN

#define ADIN1200_FG_FRM_LEN   0x941A

Definition at line 101 of file adin1200_driver.h.

◆ ADIN1200_FG_IFG_LEN

#define ADIN1200_FG_IFG_LEN   0x941B

Definition at line 102 of file adin1200_driver.h.

◆ ADIN1200_FG_IFG_LEN_FG_IFG_LEN

#define ADIN1200_FG_IFG_LEN_FG_IFG_LEN   0x00FF

Definition at line 443 of file adin1200_driver.h.

◆ ADIN1200_FG_IRQ_EN

#define ADIN1200_FG_IRQ_EN   0x9418

Definition at line 100 of file adin1200_driver.h.

◆ ADIN1200_FG_IRQ_EN_FG_IRQ_EN

#define ADIN1200_FG_IRQ_EN_FG_IRQ_EN   0x0001

Definition at line 440 of file adin1200_driver.h.

◆ ADIN1200_FG_NFRM_H

#define ADIN1200_FG_NFRM_H   0x941C

Definition at line 103 of file adin1200_driver.h.

◆ ADIN1200_FG_NFRM_L

#define ADIN1200_FG_NFRM_L   0x941D

Definition at line 104 of file adin1200_driver.h.

◆ ADIN1200_FIFO_SYNC

#define ADIN1200_FIFO_SYNC   0x9427

Definition at line 106 of file adin1200_driver.h.

◆ ADIN1200_FIFO_SYNC_FIFO_SYNC

#define ADIN1200_FIFO_SYNC_FIFO_SYNC   0x0001

Definition at line 449 of file adin1200_driver.h.

◆ ADIN1200_FLD_EN

#define ADIN1200_FLD_EN   0x8E27

Definition at line 78 of file adin1200_driver.h.

◆ ADIN1200_FLD_EN_FLD_PCS_ERR_B_100_EN

#define ADIN1200_FLD_EN_FLD_PCS_ERR_B_100_EN   0x0080

Definition at line 396 of file adin1200_driver.h.

◆ ADIN1200_FLD_EN_FLD_SLCR_IN_INVLD_B_100_EN

#define ADIN1200_FLD_EN_FLD_SLCR_IN_INVLD_B_100_EN   0x0002

Definition at line 399 of file adin1200_driver.h.

◆ ADIN1200_FLD_EN_FLD_SLCR_IN_ZDET_B_100_EN

#define ADIN1200_FLD_EN_FLD_SLCR_IN_ZDET_B_100_EN   0x0008

Definition at line 398 of file adin1200_driver.h.

◆ ADIN1200_FLD_EN_FLD_SLCR_OUT_STUCK_B_100_EN

#define ADIN1200_FLD_EN_FLD_SLCR_OUT_STUCK_B_100_EN   0x0020

Definition at line 397 of file adin1200_driver.h.

◆ ADIN1200_FLD_STAT_LAT

#define ADIN1200_FLD_STAT_LAT   0x8E38

Definition at line 79 of file adin1200_driver.h.

◆ ADIN1200_FLD_STAT_LAT_FAST_LINK_DOWN_LAT

#define ADIN1200_FLD_STAT_LAT_FAST_LINK_DOWN_LAT   0x2000

Definition at line 402 of file adin1200_driver.h.

◆ ADIN1200_GE_CLK_CFG

#define ADIN1200_GE_CLK_CFG   0xFF1F

Definition at line 127 of file adin1200_driver.h.

◆ ADIN1200_GE_CLK_CFG_GE_CLK_25_EN

#define ADIN1200_GE_CLK_CFG_GE_CLK_25_EN   0x0001

Definition at line 535 of file adin1200_driver.h.

◆ ADIN1200_GE_CLK_CFG_GE_CLK_FREE_125_EN

#define ADIN1200_GE_CLK_CFG_GE_CLK_FREE_125_EN   0x0010

Definition at line 532 of file adin1200_driver.h.

◆ ADIN1200_GE_CLK_CFG_GE_CLK_HRT_FREE_EN

#define ADIN1200_GE_CLK_CFG_GE_CLK_HRT_FREE_EN   0x0002

Definition at line 534 of file adin1200_driver.h.

◆ ADIN1200_GE_CLK_CFG_GE_CLK_HRT_RCVR_EN

#define ADIN1200_GE_CLK_CFG_GE_CLK_HRT_RCVR_EN   0x0004

Definition at line 533 of file adin1200_driver.h.

◆ ADIN1200_GE_CLK_CFG_GE_CLK_RCVR_125_EN

#define ADIN1200_GE_CLK_CFG_GE_CLK_RCVR_125_EN   0x0020

Definition at line 531 of file adin1200_driver.h.

◆ ADIN1200_GE_IO_GP_CLK_OR_CNTRL

#define ADIN1200_GE_IO_GP_CLK_OR_CNTRL   0xFF3D

Definition at line 132 of file adin1200_driver.h.

◆ ADIN1200_GE_IO_GP_CLK_OR_CNTRL_GE_IO_GP_CLK_OR_CNTRL

#define ADIN1200_GE_IO_GP_CLK_OR_CNTRL_GE_IO_GP_CLK_OR_CNTRL   0x0007

Definition at line 568 of file adin1200_driver.h.

◆ ADIN1200_GE_IO_GP_CLK_OR_CNTRL_GE_IO_GP_CLK_OR_CNTRL_COL

#define ADIN1200_GE_IO_GP_CLK_OR_CNTRL_GE_IO_GP_CLK_OR_CNTRL_COL   0x0005

Definition at line 574 of file adin1200_driver.h.

◆ ADIN1200_GE_IO_GP_CLK_OR_CNTRL_GE_IO_GP_CLK_OR_CNTRL_CRS

#define ADIN1200_GE_IO_GP_CLK_OR_CNTRL_GE_IO_GP_CLK_OR_CNTRL_CRS   0x0004

Definition at line 573 of file adin1200_driver.h.

◆ ADIN1200_GE_IO_GP_CLK_OR_CNTRL_GE_IO_GP_CLK_OR_CNTRL_DEFAULT

#define ADIN1200_GE_IO_GP_CLK_OR_CNTRL_GE_IO_GP_CLK_OR_CNTRL_DEFAULT   0x0000

Definition at line 569 of file adin1200_driver.h.

◆ ADIN1200_GE_IO_GP_CLK_OR_CNTRL_GE_IO_GP_CLK_OR_CNTRL_LINK_STATUS

#define ADIN1200_GE_IO_GP_CLK_OR_CNTRL_GE_IO_GP_CLK_OR_CNTRL_LINK_STATUS   0x0001

Definition at line 570 of file adin1200_driver.h.

◆ ADIN1200_GE_IO_GP_CLK_OR_CNTRL_GE_IO_GP_CLK_OR_CNTRL_PHY_CLK

#define ADIN1200_GE_IO_GP_CLK_OR_CNTRL_GE_IO_GP_CLK_OR_CNTRL_PHY_CLK   0x0007

Definition at line 576 of file adin1200_driver.h.

◆ ADIN1200_GE_IO_GP_CLK_OR_CNTRL_GE_IO_GP_CLK_OR_CNTRL_RX_ER

#define ADIN1200_GE_IO_GP_CLK_OR_CNTRL_GE_IO_GP_CLK_OR_CNTRL_RX_ER   0x0006

Definition at line 575 of file adin1200_driver.h.

◆ ADIN1200_GE_IO_GP_CLK_OR_CNTRL_GE_IO_GP_CLK_OR_CNTRL_RX_SOF

#define ADIN1200_GE_IO_GP_CLK_OR_CNTRL_GE_IO_GP_CLK_OR_CNTRL_RX_SOF   0x0003

Definition at line 572 of file adin1200_driver.h.

◆ ADIN1200_GE_IO_GP_CLK_OR_CNTRL_GE_IO_GP_CLK_OR_CNTRL_TX_SOF

#define ADIN1200_GE_IO_GP_CLK_OR_CNTRL_GE_IO_GP_CLK_OR_CNTRL_TX_SOF   0x0002

Definition at line 571 of file adin1200_driver.h.

◆ ADIN1200_GE_IO_GP_OUT_OR_CNTRL

#define ADIN1200_GE_IO_GP_OUT_OR_CNTRL   0xFF3E

Definition at line 133 of file adin1200_driver.h.

◆ ADIN1200_GE_IO_GP_OUT_OR_CNTRL_GE_IO_GP_OUT_OR_CNTRL

#define ADIN1200_GE_IO_GP_OUT_OR_CNTRL_GE_IO_GP_OUT_OR_CNTRL   0x0007

Definition at line 579 of file adin1200_driver.h.

◆ ADIN1200_GE_IO_GP_OUT_OR_CNTRL_GE_IO_GP_OUT_OR_CNTRL_COL

#define ADIN1200_GE_IO_GP_OUT_OR_CNTRL_GE_IO_GP_OUT_OR_CNTRL_COL   0x0005

Definition at line 585 of file adin1200_driver.h.

◆ ADIN1200_GE_IO_GP_OUT_OR_CNTRL_GE_IO_GP_OUT_OR_CNTRL_CRS

#define ADIN1200_GE_IO_GP_OUT_OR_CNTRL_GE_IO_GP_OUT_OR_CNTRL_CRS   0x0004

Definition at line 584 of file adin1200_driver.h.

◆ ADIN1200_GE_IO_GP_OUT_OR_CNTRL_GE_IO_GP_OUT_OR_CNTRL_DEFAULT

#define ADIN1200_GE_IO_GP_OUT_OR_CNTRL_GE_IO_GP_OUT_OR_CNTRL_DEFAULT   0x0000

Definition at line 580 of file adin1200_driver.h.

◆ ADIN1200_GE_IO_GP_OUT_OR_CNTRL_GE_IO_GP_OUT_OR_CNTRL_LINK_STATUS

#define ADIN1200_GE_IO_GP_OUT_OR_CNTRL_GE_IO_GP_OUT_OR_CNTRL_LINK_STATUS   0x0001

Definition at line 581 of file adin1200_driver.h.

◆ ADIN1200_GE_IO_GP_OUT_OR_CNTRL_GE_IO_GP_OUT_OR_CNTRL_RX_SOF

#define ADIN1200_GE_IO_GP_OUT_OR_CNTRL_GE_IO_GP_OUT_OR_CNTRL_RX_SOF   0x0003

Definition at line 583 of file adin1200_driver.h.

◆ ADIN1200_GE_IO_GP_OUT_OR_CNTRL_GE_IO_GP_OUT_OR_CNTRL_TX_SOF

#define ADIN1200_GE_IO_GP_OUT_OR_CNTRL_GE_IO_GP_OUT_OR_CNTRL_TX_SOF   0x0002

Definition at line 582 of file adin1200_driver.h.

◆ ADIN1200_GE_IO_INT_N_OR_CNTRL

#define ADIN1200_GE_IO_INT_N_OR_CNTRL   0xFF3F

Definition at line 134 of file adin1200_driver.h.

◆ ADIN1200_GE_IO_INT_N_OR_CNTRL_GE_IO_INT_N_OR_CNTRL

#define ADIN1200_GE_IO_INT_N_OR_CNTRL_GE_IO_INT_N_OR_CNTRL   0x0007

Definition at line 588 of file adin1200_driver.h.

◆ ADIN1200_GE_IO_INT_N_OR_CNTRL_GE_IO_INT_N_OR_CNTRL_COL

#define ADIN1200_GE_IO_INT_N_OR_CNTRL_GE_IO_INT_N_OR_CNTRL_COL   0x0005

Definition at line 594 of file adin1200_driver.h.

◆ ADIN1200_GE_IO_INT_N_OR_CNTRL_GE_IO_INT_N_OR_CNTRL_CRS

#define ADIN1200_GE_IO_INT_N_OR_CNTRL_GE_IO_INT_N_OR_CNTRL_CRS   0x0004

Definition at line 593 of file adin1200_driver.h.

◆ ADIN1200_GE_IO_INT_N_OR_CNTRL_GE_IO_INT_N_OR_CNTRL_DEFAULT

#define ADIN1200_GE_IO_INT_N_OR_CNTRL_GE_IO_INT_N_OR_CNTRL_DEFAULT   0x0000

Definition at line 589 of file adin1200_driver.h.

◆ ADIN1200_GE_IO_INT_N_OR_CNTRL_GE_IO_INT_N_OR_CNTRL_INT_N

#define ADIN1200_GE_IO_INT_N_OR_CNTRL_GE_IO_INT_N_OR_CNTRL_INT_N   0x0007

Definition at line 596 of file adin1200_driver.h.

◆ ADIN1200_GE_IO_INT_N_OR_CNTRL_GE_IO_INT_N_OR_CNTRL_LINK_STATUS

#define ADIN1200_GE_IO_INT_N_OR_CNTRL_GE_IO_INT_N_OR_CNTRL_LINK_STATUS   0x0001

Definition at line 590 of file adin1200_driver.h.

◆ ADIN1200_GE_IO_INT_N_OR_CNTRL_GE_IO_INT_N_OR_CNTRL_RX_SOF

#define ADIN1200_GE_IO_INT_N_OR_CNTRL_GE_IO_INT_N_OR_CNTRL_RX_SOF   0x0003

Definition at line 592 of file adin1200_driver.h.

◆ ADIN1200_GE_IO_INT_N_OR_CNTRL_GE_IO_INT_N_OR_CNTRL_TX_ER

#define ADIN1200_GE_IO_INT_N_OR_CNTRL_GE_IO_INT_N_OR_CNTRL_TX_ER   0x0006

Definition at line 595 of file adin1200_driver.h.

◆ ADIN1200_GE_IO_INT_N_OR_CNTRL_GE_IO_INT_N_OR_CNTRL_TX_SOF

#define ADIN1200_GE_IO_INT_N_OR_CNTRL_GE_IO_INT_N_OR_CNTRL_TX_SOF   0x0002

Definition at line 591 of file adin1200_driver.h.

◆ ADIN1200_GE_IO_LED_A_OR_CNTRL

#define ADIN1200_GE_IO_LED_A_OR_CNTRL   0xFF41

Definition at line 135 of file adin1200_driver.h.

◆ ADIN1200_GE_IO_LED_A_OR_CNTRL_GE_IO_LED_A_OR_CNTRL

#define ADIN1200_GE_IO_LED_A_OR_CNTRL_GE_IO_LED_A_OR_CNTRL   0x000F

Definition at line 599 of file adin1200_driver.h.

◆ ADIN1200_GE_IO_LED_A_OR_CNTRL_GE_IO_LED_A_OR_CNTRL_COL

#define ADIN1200_GE_IO_LED_A_OR_CNTRL_GE_IO_LED_A_OR_CNTRL_COL   0x0005

Definition at line 605 of file adin1200_driver.h.

◆ ADIN1200_GE_IO_LED_A_OR_CNTRL_GE_IO_LED_A_OR_CNTRL_CRS

#define ADIN1200_GE_IO_LED_A_OR_CNTRL_GE_IO_LED_A_OR_CNTRL_CRS   0x0004

Definition at line 604 of file adin1200_driver.h.

◆ ADIN1200_GE_IO_LED_A_OR_CNTRL_GE_IO_LED_A_OR_CNTRL_DEFAULT

#define ADIN1200_GE_IO_LED_A_OR_CNTRL_GE_IO_LED_A_OR_CNTRL_DEFAULT   0x0000

Definition at line 600 of file adin1200_driver.h.

◆ ADIN1200_GE_IO_LED_A_OR_CNTRL_GE_IO_LED_A_OR_CNTRL_LED_0

#define ADIN1200_GE_IO_LED_A_OR_CNTRL_GE_IO_LED_A_OR_CNTRL_LED_0   0x0007

Definition at line 607 of file adin1200_driver.h.

◆ ADIN1200_GE_IO_LED_A_OR_CNTRL_GE_IO_LED_A_OR_CNTRL_LINK_STATUS

#define ADIN1200_GE_IO_LED_A_OR_CNTRL_GE_IO_LED_A_OR_CNTRL_LINK_STATUS   0x0001

Definition at line 601 of file adin1200_driver.h.

◆ ADIN1200_GE_IO_LED_A_OR_CNTRL_GE_IO_LED_A_OR_CNTRL_RX_SOF

#define ADIN1200_GE_IO_LED_A_OR_CNTRL_GE_IO_LED_A_OR_CNTRL_RX_SOF   0x0003

Definition at line 603 of file adin1200_driver.h.

◆ ADIN1200_GE_IO_LED_A_OR_CNTRL_GE_IO_LED_A_OR_CNTRL_TX_ER

#define ADIN1200_GE_IO_LED_A_OR_CNTRL_GE_IO_LED_A_OR_CNTRL_TX_ER   0x0006

Definition at line 606 of file adin1200_driver.h.

◆ ADIN1200_GE_IO_LED_A_OR_CNTRL_GE_IO_LED_A_OR_CNTRL_TX_SOF

#define ADIN1200_GE_IO_LED_A_OR_CNTRL_GE_IO_LED_A_OR_CNTRL_TX_SOF   0x0002

Definition at line 602 of file adin1200_driver.h.

◆ ADIN1200_GE_LNK_STAT_INV_EN

#define ADIN1200_GE_LNK_STAT_INV_EN   0xFF3C

Definition at line 131 of file adin1200_driver.h.

◆ ADIN1200_GE_LNK_STAT_INV_EN_GE_LNK_STAT_INV_EN

#define ADIN1200_GE_LNK_STAT_INV_EN_GE_LNK_STAT_INV_EN   0x0001

Definition at line 565 of file adin1200_driver.h.

◆ ADIN1200_GE_PHY_BASE_CFG

#define ADIN1200_GE_PHY_BASE_CFG   0xFF26

Definition at line 130 of file adin1200_driver.h.

◆ ADIN1200_GE_PHY_BASE_CFG_GE_FLD_100_EN_CFG

#define ADIN1200_GE_PHY_BASE_CFG_GE_FLD_100_EN_CFG   0x0400

Definition at line 561 of file adin1200_driver.h.

◆ ADIN1200_GE_PHY_BASE_CFG_GE_PHY_SFT_PD_CFG

#define ADIN1200_GE_PHY_BASE_CFG_GE_PHY_SFT_PD_CFG   0x0008

Definition at line 562 of file adin1200_driver.h.

◆ ADIN1200_GE_RGMII_CFG

#define ADIN1200_GE_RGMII_CFG   0xFF23

Definition at line 128 of file adin1200_driver.h.

◆ ADIN1200_GE_RGMII_CFG_GE_RGMII_100_LOW_LTNCY_EN

#define ADIN1200_GE_RGMII_CFG_GE_RGMII_100_LOW_LTNCY_EN   0x0400

Definition at line 538 of file adin1200_driver.h.

◆ ADIN1200_GE_RGMII_CFG_GE_RGMII_10_LOW_LTNCY_EN

#define ADIN1200_GE_RGMII_CFG_GE_RGMII_10_LOW_LTNCY_EN   0x0200

Definition at line 539 of file adin1200_driver.h.

◆ ADIN1200_GE_RGMII_CFG_GE_RGMII_EN

#define ADIN1200_GE_RGMII_CFG_GE_RGMII_EN   0x0001

Definition at line 544 of file adin1200_driver.h.

◆ ADIN1200_GE_RGMII_CFG_GE_RGMII_GTX_SEL

#define ADIN1200_GE_RGMII_CFG_GE_RGMII_GTX_SEL   0x0038

Definition at line 541 of file adin1200_driver.h.

◆ ADIN1200_GE_RGMII_CFG_GE_RGMII_RX_ID_EN

#define ADIN1200_GE_RGMII_CFG_GE_RGMII_RX_ID_EN   0x0004

Definition at line 542 of file adin1200_driver.h.

◆ ADIN1200_GE_RGMII_CFG_GE_RGMII_RX_SEL

#define ADIN1200_GE_RGMII_CFG_GE_RGMII_RX_SEL   0x01C0

Definition at line 540 of file adin1200_driver.h.

◆ ADIN1200_GE_RGMII_CFG_GE_RGMII_TX_ID_EN

#define ADIN1200_GE_RGMII_CFG_GE_RGMII_TX_ID_EN   0x0002

Definition at line 543 of file adin1200_driver.h.

◆ ADIN1200_GE_RMII_CFG

#define ADIN1200_GE_RMII_CFG   0xFF24

Definition at line 129 of file adin1200_driver.h.

◆ ADIN1200_GE_RMII_CFG_GE_RMII_BAD_SSD_RX_ER_EN

#define ADIN1200_GE_RMII_CFG_GE_RMII_BAD_SSD_RX_ER_EN   0x0002

Definition at line 557 of file adin1200_driver.h.

◆ ADIN1200_GE_RMII_CFG_GE_RMII_CRS_EN

#define ADIN1200_GE_RMII_CFG_GE_RMII_CRS_EN   0x0004

Definition at line 556 of file adin1200_driver.h.

◆ ADIN1200_GE_RMII_CFG_GE_RMII_EN

#define ADIN1200_GE_RMII_CFG_GE_RMII_EN   0x0001

Definition at line 558 of file adin1200_driver.h.

◆ ADIN1200_GE_RMII_CFG_GE_RMII_FIFO_DPTH

#define ADIN1200_GE_RMII_CFG_GE_RMII_FIFO_DPTH   0x0070

Definition at line 548 of file adin1200_driver.h.

◆ ADIN1200_GE_RMII_CFG_GE_RMII_FIFO_DPTH_12_BITS

#define ADIN1200_GE_RMII_CFG_GE_RMII_FIFO_DPTH_12_BITS   0x0020

Definition at line 551 of file adin1200_driver.h.

◆ ADIN1200_GE_RMII_CFG_GE_RMII_FIFO_DPTH_16_BITS

#define ADIN1200_GE_RMII_CFG_GE_RMII_FIFO_DPTH_16_BITS   0x0030

Definition at line 552 of file adin1200_driver.h.

◆ ADIN1200_GE_RMII_CFG_GE_RMII_FIFO_DPTH_20_BITS

#define ADIN1200_GE_RMII_CFG_GE_RMII_FIFO_DPTH_20_BITS   0x0040

Definition at line 553 of file adin1200_driver.h.

◆ ADIN1200_GE_RMII_CFG_GE_RMII_FIFO_DPTH_24_BITS

#define ADIN1200_GE_RMII_CFG_GE_RMII_FIFO_DPTH_24_BITS   0x0050

Definition at line 554 of file adin1200_driver.h.

◆ ADIN1200_GE_RMII_CFG_GE_RMII_FIFO_DPTH_4_BITS

#define ADIN1200_GE_RMII_CFG_GE_RMII_FIFO_DPTH_4_BITS   0x0000

Definition at line 549 of file adin1200_driver.h.

◆ ADIN1200_GE_RMII_CFG_GE_RMII_FIFO_DPTH_8_BITS

#define ADIN1200_GE_RMII_CFG_GE_RMII_FIFO_DPTH_8_BITS   0x0010

Definition at line 550 of file adin1200_driver.h.

◆ ADIN1200_GE_RMII_CFG_GE_RMII_FIFO_RST

#define ADIN1200_GE_RMII_CFG_GE_RMII_FIFO_RST   0x0080

Definition at line 547 of file adin1200_driver.h.

◆ ADIN1200_GE_RMII_CFG_GE_RMII_TXD_CHK_EN

#define ADIN1200_GE_RMII_CFG_GE_RMII_TXD_CHK_EN   0x0008

Definition at line 555 of file adin1200_driver.h.

◆ ADIN1200_GE_SFT_RST

#define ADIN1200_GE_SFT_RST   0xFF0C

Definition at line 125 of file adin1200_driver.h.

◆ ADIN1200_GE_SFT_RST_CFG_EN

#define ADIN1200_GE_SFT_RST_CFG_EN   0xFF0D

Definition at line 126 of file adin1200_driver.h.

◆ ADIN1200_GE_SFT_RST_CFG_EN_GE_SFT_RST_CFG_EN

#define ADIN1200_GE_SFT_RST_CFG_EN_GE_SFT_RST_CFG_EN   0x0001

Definition at line 528 of file adin1200_driver.h.

◆ ADIN1200_GE_SFT_RST_GE_SFT_RST

#define ADIN1200_GE_SFT_RST_GE_SFT_RST   0x0001

Definition at line 525 of file adin1200_driver.h.

◆ ADIN1200_IRQ_MASK

#define ADIN1200_IRQ_MASK   0x18

Definition at line 64 of file adin1200_driver.h.

◆ ADIN1200_IRQ_MASK_AN_STAT_CHNG_IRQ_EN

#define ADIN1200_IRQ_MASK_AN_STAT_CHNG_IRQ_EN   0x0100

Definition at line 275 of file adin1200_driver.h.

◆ ADIN1200_IRQ_MASK_CBL_DIAG_IRQ_EN

#define ADIN1200_IRQ_MASK_CBL_DIAG_IRQ_EN   0x0400

Definition at line 273 of file adin1200_driver.h.

◆ ADIN1200_IRQ_MASK_FC_FG_IRQ_EN

#define ADIN1200_IRQ_MASK_FC_FG_IRQ_EN   0x0080

Definition at line 276 of file adin1200_driver.h.

◆ ADIN1200_IRQ_MASK_FIFO_OU_IRQ_EN

#define ADIN1200_IRQ_MASK_FIFO_OU_IRQ_EN   0x0010

Definition at line 279 of file adin1200_driver.h.

◆ ADIN1200_IRQ_MASK_HW_IRQ_EN

#define ADIN1200_IRQ_MASK_HW_IRQ_EN   0x0001

Definition at line 283 of file adin1200_driver.h.

◆ ADIN1200_IRQ_MASK_IDLE_ERR_CNT_IRQ_EN

#define ADIN1200_IRQ_MASK_IDLE_ERR_CNT_IRQ_EN   0x0020

Definition at line 278 of file adin1200_driver.h.

◆ ADIN1200_IRQ_MASK_LNK_STAT_CHNG_IRQ_EN

#define ADIN1200_IRQ_MASK_LNK_STAT_CHNG_IRQ_EN   0x0004

Definition at line 281 of file adin1200_driver.h.

◆ ADIN1200_IRQ_MASK_MDIO_SYNC_IRQ_EN

#define ADIN1200_IRQ_MASK_MDIO_SYNC_IRQ_EN   0x0200

Definition at line 274 of file adin1200_driver.h.

◆ ADIN1200_IRQ_MASK_PAGE_RX_IRQ_EN

#define ADIN1200_IRQ_MASK_PAGE_RX_IRQ_EN   0x0040

Definition at line 277 of file adin1200_driver.h.

◆ ADIN1200_IRQ_MASK_RX_STAT_CHNG_IRQ_EN

#define ADIN1200_IRQ_MASK_RX_STAT_CHNG_IRQ_EN   0x0008

Definition at line 280 of file adin1200_driver.h.

◆ ADIN1200_IRQ_MASK_SPEED_CHNG_IRQ_EN

#define ADIN1200_IRQ_MASK_SPEED_CHNG_IRQ_EN   0x0002

Definition at line 282 of file adin1200_driver.h.

◆ ADIN1200_IRQ_STATUS

#define ADIN1200_IRQ_STATUS   0x19

Definition at line 65 of file adin1200_driver.h.

◆ ADIN1200_IRQ_STATUS_AN_STAT_CHNG_IRQ_STAT

#define ADIN1200_IRQ_STATUS_AN_STAT_CHNG_IRQ_STAT   0x0100

Definition at line 288 of file adin1200_driver.h.

◆ ADIN1200_IRQ_STATUS_CBL_DIAG_IRQ_STAT

#define ADIN1200_IRQ_STATUS_CBL_DIAG_IRQ_STAT   0x0400

Definition at line 286 of file adin1200_driver.h.

◆ ADIN1200_IRQ_STATUS_FC_FG_IRQ_STAT

#define ADIN1200_IRQ_STATUS_FC_FG_IRQ_STAT   0x0080

Definition at line 289 of file adin1200_driver.h.

◆ ADIN1200_IRQ_STATUS_FIFO_OU_IRQ_STAT

#define ADIN1200_IRQ_STATUS_FIFO_OU_IRQ_STAT   0x0010

Definition at line 292 of file adin1200_driver.h.

◆ ADIN1200_IRQ_STATUS_IDLE_ERR_CNT_IRQ_STAT

#define ADIN1200_IRQ_STATUS_IDLE_ERR_CNT_IRQ_STAT   0x0020

Definition at line 291 of file adin1200_driver.h.

◆ ADIN1200_IRQ_STATUS_IRQ_PENDING

#define ADIN1200_IRQ_STATUS_IRQ_PENDING   0x0001

Definition at line 296 of file adin1200_driver.h.

◆ ADIN1200_IRQ_STATUS_LNK_STAT_CHNG_IRQ_STAT

#define ADIN1200_IRQ_STATUS_LNK_STAT_CHNG_IRQ_STAT   0x0004

Definition at line 294 of file adin1200_driver.h.

◆ ADIN1200_IRQ_STATUS_MDIO_SYNC_IRQ_STAT

#define ADIN1200_IRQ_STATUS_MDIO_SYNC_IRQ_STAT   0x0200

Definition at line 287 of file adin1200_driver.h.

◆ ADIN1200_IRQ_STATUS_PAGE_RX_IRQ_STAT

#define ADIN1200_IRQ_STATUS_PAGE_RX_IRQ_STAT   0x0040

Definition at line 290 of file adin1200_driver.h.

◆ ADIN1200_IRQ_STATUS_RX_STAT_CHNG_IRQ_STAT

#define ADIN1200_IRQ_STATUS_RX_STAT_CHNG_IRQ_STAT   0x0008

Definition at line 293 of file adin1200_driver.h.

◆ ADIN1200_IRQ_STATUS_SPEED_CHNG_IRQ_STAT

#define ADIN1200_IRQ_STATUS_SPEED_CHNG_IRQ_STAT   0x0002

Definition at line 295 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_1

#define ADIN1200_LED_CTRL_1   0x1B

Definition at line 67 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_1_LED_A_EXT_CFG_EN

#define ADIN1200_LED_CTRL_1_LED_A_EXT_CFG_EN   0x0400

Definition at line 318 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_1_LED_OE_N

#define ADIN1200_LED_CTRL_1_LED_OE_N   0x0002

Definition at line 325 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_1_LED_PAT_PAUSE_DUR

#define ADIN1200_LED_CTRL_1_LED_PAT_PAUSE_DUR   0x00F0

Definition at line 319 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_1_LED_PUL_STR_DUR_SEL

#define ADIN1200_LED_CTRL_1_LED_PUL_STR_DUR_SEL   0x000C

Definition at line 320 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_1_LED_PUL_STR_DUR_SEL_102MS

#define ADIN1200_LED_CTRL_1_LED_PUL_STR_DUR_SEL_102MS   0x0008

Definition at line 323 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_1_LED_PUL_STR_DUR_SEL_32MS

#define ADIN1200_LED_CTRL_1_LED_PUL_STR_DUR_SEL_32MS   0x0000

Definition at line 321 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_1_LED_PUL_STR_DUR_SEL_64MS

#define ADIN1200_LED_CTRL_1_LED_PUL_STR_DUR_SEL_64MS   0x0004

Definition at line 322 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_1_LED_PUL_STR_DUR_SEL_USER

#define ADIN1200_LED_CTRL_1_LED_PUL_STR_DUR_SEL_USER   0x000C

Definition at line 324 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_1_LED_PUL_STR_EN

#define ADIN1200_LED_CTRL_1_LED_PUL_STR_EN   0x0001

Definition at line 326 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_2

#define ADIN1200_LED_CTRL_2   0x1C

Definition at line 68 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_2_LED_A_CFG

#define ADIN1200_LED_CTRL_2_LED_A_CFG   0x001F

Definition at line 329 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_2_LED_A_CFG_BLINK

#define ADIN1200_LED_CTRL_2_LED_A_CFG_BLINK   0x000D

Definition at line 340 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_2_LED_A_CFG_BLINK_10

#define ADIN1200_LED_CTRL_2_LED_A_CFG_BLINK_10   0x001B

Definition at line 348 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_2_LED_A_CFG_BLINK_100

#define ADIN1200_LED_CTRL_2_LED_A_CFG_BLINK_100   0x0003

Definition at line 330 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_2_LED_A_CFG_BLINK_ACT

#define ADIN1200_LED_CTRL_2_LED_A_CFG_BLINK_ACT   0x0019

Definition at line 346 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_2_LED_A_CFG_BLINK_TX

#define ADIN1200_LED_CTRL_2_LED_A_CFG_BLINK_TX   0x001A

Definition at line 347 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_2_LED_A_CFG_OFF

#define ADIN1200_LED_CTRL_2_LED_A_CFG_OFF   0x000F

Definition at line 342 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_2_LED_A_CFG_ON

#define ADIN1200_LED_CTRL_2_LED_A_CFG_ON   0x000E

Definition at line 341 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_2_LED_A_CFG_ON_10

#define ADIN1200_LED_CTRL_2_LED_A_CFG_ON_10   0x001E

Definition at line 351 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_2_LED_A_CFG_ON_100

#define ADIN1200_LED_CTRL_2_LED_A_CFG_ON_100   0x001C

Definition at line 349 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_2_LED_A_CFG_ON_100_BLINK_10

#define ADIN1200_LED_CTRL_2_LED_A_CFG_ON_100_BLINK_10   0x001D

Definition at line 350 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_2_LED_A_CFG_ON_100_BLINK_ACT

#define ADIN1200_LED_CTRL_2_LED_A_CFG_ON_100_BLINK_ACT   0x0013

Definition at line 345 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_2_LED_A_CFG_ON_10_BLINK_100

#define ADIN1200_LED_CTRL_2_LED_A_CFG_ON_10_BLINK_100   0x0010

Definition at line 343 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_2_LED_A_CFG_ON_10_BLINK_ACT

#define ADIN1200_LED_CTRL_2_LED_A_CFG_ON_10_BLINK_ACT   0x0012

Definition at line 344 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_2_LED_A_CFG_ON_ACT

#define ADIN1200_LED_CTRL_2_LED_A_CFG_ON_ACT   0x0007

Definition at line 334 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_2_LED_A_CFG_ON_COL

#define ADIN1200_LED_CTRL_2_LED_A_CFG_ON_COL   0x0009

Definition at line 336 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_2_LED_A_CFG_ON_FD

#define ADIN1200_LED_CTRL_2_LED_A_CFG_ON_FD   0x0008

Definition at line 335 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_2_LED_A_CFG_ON_FD_BLINK_COL

#define ADIN1200_LED_CTRL_2_LED_A_CFG_ON_FD_BLINK_COL   0x000C

Definition at line 339 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_2_LED_A_CFG_ON_LINK

#define ADIN1200_LED_CTRL_2_LED_A_CFG_ON_LINK   0x0004

Definition at line 331 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_2_LED_A_CFG_ON_LINK_BLINK_ACT

#define ADIN1200_LED_CTRL_2_LED_A_CFG_ON_LINK_BLINK_ACT   0x000A

Definition at line 337 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_2_LED_A_CFG_ON_LINK_BLINK_RX

#define ADIN1200_LED_CTRL_2_LED_A_CFG_ON_LINK_BLINK_RX   0x000B

Definition at line 338 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_2_LED_A_CFG_ON_RX

#define ADIN1200_LED_CTRL_2_LED_A_CFG_ON_RX   0x0006

Definition at line 333 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_2_LED_A_CFG_ON_TX

#define ADIN1200_LED_CTRL_2_LED_A_CFG_ON_TX   0x0005

Definition at line 332 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_3

#define ADIN1200_LED_CTRL_3   0x1D

Definition at line 69 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_3_LED_PAT

#define ADIN1200_LED_CTRL_3_LED_PAT   0x00FF

Definition at line 358 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_3_LED_PAT_DEFAULT

#define ADIN1200_LED_CTRL_3_LED_PAT_DEFAULT   0x0055

Definition at line 359 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_3_LED_PAT_SEL

#define ADIN1200_LED_CTRL_3_LED_PAT_SEL   0xC000

Definition at line 354 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_3_LED_PAT_SEL_DEFAULT

#define ADIN1200_LED_CTRL_3_LED_PAT_SEL_DEFAULT   0x0000

Definition at line 355 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_3_LED_PAT_TICK_DUR

#define ADIN1200_LED_CTRL_3_LED_PAT_TICK_DUR   0x3F00

Definition at line 356 of file adin1200_driver.h.

◆ ADIN1200_LED_CTRL_3_LED_PAT_TICK_DUR_DEFAULT

#define ADIN1200_LED_CTRL_3_LED_PAT_TICK_DUR_DEFAULT   0x1800

Definition at line 357 of file adin1200_driver.h.

◆ ADIN1200_LED_PUL_STR_DUR

#define ADIN1200_LED_PUL_STR_DUR   0xBC00

Definition at line 122 of file adin1200_driver.h.

◆ ADIN1200_LED_PUL_STR_DUR_LED_PUL_STR_DUR

#define ADIN1200_LED_PUL_STR_DUR_LED_PUL_STR_DUR   0x003F

Definition at line 522 of file adin1200_driver.h.

◆ ADIN1200_LP_ABILITY

#define ADIN1200_LP_ABILITY   0x05

Definition at line 50 of file adin1200_driver.h.

◆ ADIN1200_LP_ABILITY_LP_ACK

#define ADIN1200_LP_ABILITY_LP_ACK   0x4000

Definition at line 196 of file adin1200_driver.h.

◆ ADIN1200_LP_ABILITY_LP_APAUSE_ABLE

#define ADIN1200_LP_ABILITY_LP_APAUSE_ABLE   0x0800

Definition at line 199 of file adin1200_driver.h.

◆ ADIN1200_LP_ABILITY_LP_EXT_NEXT_PAGE_ABLE

#define ADIN1200_LP_ABILITY_LP_EXT_NEXT_PAGE_ABLE   0x1000

Definition at line 198 of file adin1200_driver.h.

◆ ADIN1200_LP_ABILITY_LP_FD_100_ABLE

#define ADIN1200_LP_ABILITY_LP_FD_100_ABLE   0x0100

Definition at line 202 of file adin1200_driver.h.

◆ ADIN1200_LP_ABILITY_LP_FD_10_ABLE

#define ADIN1200_LP_ABILITY_LP_FD_10_ABLE   0x0040

Definition at line 204 of file adin1200_driver.h.

◆ ADIN1200_LP_ABILITY_LP_HD_100_ABLE

#define ADIN1200_LP_ABILITY_LP_HD_100_ABLE   0x0080

Definition at line 203 of file adin1200_driver.h.

◆ ADIN1200_LP_ABILITY_LP_HD_10_ABLE

#define ADIN1200_LP_ABILITY_LP_HD_10_ABLE   0x0020

Definition at line 205 of file adin1200_driver.h.

◆ ADIN1200_LP_ABILITY_LP_NEXT_PAGE

#define ADIN1200_LP_ABILITY_LP_NEXT_PAGE   0x8000

Definition at line 195 of file adin1200_driver.h.

◆ ADIN1200_LP_ABILITY_LP_PAUSE_ABLE

#define ADIN1200_LP_ABILITY_LP_PAUSE_ABLE   0x0400

Definition at line 200 of file adin1200_driver.h.

◆ ADIN1200_LP_ABILITY_LP_REM_FLT

#define ADIN1200_LP_ABILITY_LP_REM_FLT   0x2000

Definition at line 197 of file adin1200_driver.h.

◆ ADIN1200_LP_ABILITY_LP_SELECTOR

#define ADIN1200_LP_ABILITY_LP_SELECTOR   0x001F

Definition at line 206 of file adin1200_driver.h.

◆ ADIN1200_LP_ABILITY_LP_T_4_ABLE

#define ADIN1200_LP_ABILITY_LP_T_4_ABLE   0x0200

Definition at line 201 of file adin1200_driver.h.

◆ ADIN1200_LP_RX_NEXT_PAGE

#define ADIN1200_LP_RX_NEXT_PAGE   0x08

Definition at line 53 of file adin1200_driver.h.

◆ ADIN1200_LP_RX_NEXT_PAGE_LP_NP_ACK

#define ADIN1200_LP_RX_NEXT_PAGE_LP_NP_ACK   0x4000

Definition at line 226 of file adin1200_driver.h.

◆ ADIN1200_LP_RX_NEXT_PAGE_LP_NP_ACK_2

#define ADIN1200_LP_RX_NEXT_PAGE_LP_NP_ACK_2   0x1000

Definition at line 228 of file adin1200_driver.h.

◆ ADIN1200_LP_RX_NEXT_PAGE_LP_NP_CODE

#define ADIN1200_LP_RX_NEXT_PAGE_LP_NP_CODE   0x07FF

Definition at line 230 of file adin1200_driver.h.

◆ ADIN1200_LP_RX_NEXT_PAGE_LP_NP_MSG_PAGE

#define ADIN1200_LP_RX_NEXT_PAGE_LP_NP_MSG_PAGE   0x2000

Definition at line 227 of file adin1200_driver.h.

◆ ADIN1200_LP_RX_NEXT_PAGE_LP_NP_NEXT_PAGE

#define ADIN1200_LP_RX_NEXT_PAGE_LP_NP_NEXT_PAGE   0x8000

Definition at line 225 of file adin1200_driver.h.

◆ ADIN1200_LP_RX_NEXT_PAGE_LP_NP_TOGGLE

#define ADIN1200_LP_RX_NEXT_PAGE_LP_NP_TOGGLE   0x0800

Definition at line 229 of file adin1200_driver.h.

◆ ADIN1200_LPI_WAKE_ERR_CNT

#define ADIN1200_LPI_WAKE_ERR_CNT   0xA000

Definition at line 111 of file adin1200_driver.h.

◆ ADIN1200_MII_CONTROL

#define ADIN1200_MII_CONTROL   0x00

Definition at line 45 of file adin1200_driver.h.

◆ ADIN1200_MII_CONTROL_AUTONEG_EN

#define ADIN1200_MII_CONTROL_AUTONEG_EN   0x1000

Definition at line 141 of file adin1200_driver.h.

◆ ADIN1200_MII_CONTROL_COLTEST

#define ADIN1200_MII_CONTROL_COLTEST   0x0080

Definition at line 146 of file adin1200_driver.h.

◆ ADIN1200_MII_CONTROL_DPLX_MODE

#define ADIN1200_MII_CONTROL_DPLX_MODE   0x0100

Definition at line 145 of file adin1200_driver.h.

◆ ADIN1200_MII_CONTROL_ISOLATE

#define ADIN1200_MII_CONTROL_ISOLATE   0x0400

Definition at line 143 of file adin1200_driver.h.

◆ ADIN1200_MII_CONTROL_LOOPBACK

#define ADIN1200_MII_CONTROL_LOOPBACK   0x4000

Definition at line 139 of file adin1200_driver.h.

◆ ADIN1200_MII_CONTROL_RESTART_ANEG

#define ADIN1200_MII_CONTROL_RESTART_ANEG   0x0200

Definition at line 144 of file adin1200_driver.h.

◆ ADIN1200_MII_CONTROL_SFT_PD

#define ADIN1200_MII_CONTROL_SFT_PD   0x0800

Definition at line 142 of file adin1200_driver.h.

◆ ADIN1200_MII_CONTROL_SFT_RST

#define ADIN1200_MII_CONTROL_SFT_RST   0x8000

Definition at line 138 of file adin1200_driver.h.

◆ ADIN1200_MII_CONTROL_SPEED_SEL_LSB

#define ADIN1200_MII_CONTROL_SPEED_SEL_LSB   0x2000

Definition at line 140 of file adin1200_driver.h.

◆ ADIN1200_MII_CONTROL_SPEED_SEL_MSB

#define ADIN1200_MII_CONTROL_SPEED_SEL_MSB   0x0040

Definition at line 147 of file adin1200_driver.h.

◆ ADIN1200_MII_CONTROL_UNIDIR_EN

#define ADIN1200_MII_CONTROL_UNIDIR_EN   0x0020

Definition at line 148 of file adin1200_driver.h.

◆ ADIN1200_MII_STATUS

#define ADIN1200_MII_STATUS   0x01

Definition at line 46 of file adin1200_driver.h.

◆ ADIN1200_MII_STATUS_AUTONEG_ABLE

#define ADIN1200_MII_STATUS_AUTONEG_ABLE   0x0008

Definition at line 163 of file adin1200_driver.h.

◆ ADIN1200_MII_STATUS_AUTONEG_DONE

#define ADIN1200_MII_STATUS_AUTONEG_DONE   0x0020

Definition at line 161 of file adin1200_driver.h.

◆ ADIN1200_MII_STATUS_EXT_CAPABLE

#define ADIN1200_MII_STATUS_EXT_CAPABLE   0x0001

Definition at line 166 of file adin1200_driver.h.

◆ ADIN1200_MII_STATUS_EXT_STAT_SPRT

#define ADIN1200_MII_STATUS_EXT_STAT_SPRT   0x0100

Definition at line 158 of file adin1200_driver.h.

◆ ADIN1200_MII_STATUS_FD_100_SPRT

#define ADIN1200_MII_STATUS_FD_100_SPRT   0x4000

Definition at line 152 of file adin1200_driver.h.

◆ ADIN1200_MII_STATUS_FD_10_SPRT

#define ADIN1200_MII_STATUS_FD_10_SPRT   0x1000

Definition at line 154 of file adin1200_driver.h.

◆ ADIN1200_MII_STATUS_FD_T_2_SPRT

#define ADIN1200_MII_STATUS_FD_T_2_SPRT   0x0400

Definition at line 156 of file adin1200_driver.h.

◆ ADIN1200_MII_STATUS_HD_100_SPRT

#define ADIN1200_MII_STATUS_HD_100_SPRT   0x2000

Definition at line 153 of file adin1200_driver.h.

◆ ADIN1200_MII_STATUS_HD_10_SPRT

#define ADIN1200_MII_STATUS_HD_10_SPRT   0x0800

Definition at line 155 of file adin1200_driver.h.

◆ ADIN1200_MII_STATUS_HD_T_2_SPRT

#define ADIN1200_MII_STATUS_HD_T_2_SPRT   0x0200

Definition at line 157 of file adin1200_driver.h.

◆ ADIN1200_MII_STATUS_JABBER_DET_LAT

#define ADIN1200_MII_STATUS_JABBER_DET_LAT   0x0002

Definition at line 165 of file adin1200_driver.h.

◆ ADIN1200_MII_STATUS_LINK_STAT_LAT

#define ADIN1200_MII_STATUS_LINK_STAT_LAT   0x0004

Definition at line 164 of file adin1200_driver.h.

◆ ADIN1200_MII_STATUS_MF_PREAM_SUP_ABLE

#define ADIN1200_MII_STATUS_MF_PREAM_SUP_ABLE   0x0040

Definition at line 160 of file adin1200_driver.h.

◆ ADIN1200_MII_STATUS_REM_FLT_LAT

#define ADIN1200_MII_STATUS_REM_FLT_LAT   0x0010

Definition at line 162 of file adin1200_driver.h.

◆ ADIN1200_MII_STATUS_T_4_SPRT

#define ADIN1200_MII_STATUS_T_4_SPRT   0x8000

Definition at line 151 of file adin1200_driver.h.

◆ ADIN1200_MII_STATUS_UNIDIR_ABLE

#define ADIN1200_MII_STATUS_UNIDIR_ABLE   0x0080

Definition at line 159 of file adin1200_driver.h.

◆ ADIN1200_MSE_A

#define ADIN1200_MSE_A   0x8402

Definition at line 77 of file adin1200_driver.h.

◆ ADIN1200_MSE_A_MSE_A

#define ADIN1200_MSE_A_MSE_A   0x00FF

Definition at line 393 of file adin1200_driver.h.

◆ ADIN1200_MSTR_SLV_STATUS

#define ADIN1200_MSTR_SLV_STATUS   0x0A

Definition at line 54 of file adin1200_driver.h.

◆ ADIN1200_MSTR_SLV_STATUS_IDLE_ERR_CNT

#define ADIN1200_MSTR_SLV_STATUS_IDLE_ERR_CNT   0x00FF

Definition at line 237 of file adin1200_driver.h.

◆ ADIN1200_MSTR_SLV_STATUS_LOC_RCVR_STATUS

#define ADIN1200_MSTR_SLV_STATUS_LOC_RCVR_STATUS   0x2000

Definition at line 233 of file adin1200_driver.h.

◆ ADIN1200_MSTR_SLV_STATUS_LP_FD_1000_ABLE

#define ADIN1200_MSTR_SLV_STATUS_LP_FD_1000_ABLE   0x0800

Definition at line 235 of file adin1200_driver.h.

◆ ADIN1200_MSTR_SLV_STATUS_LP_HD_1000_ABLE

#define ADIN1200_MSTR_SLV_STATUS_LP_HD_1000_ABLE   0x0400

Definition at line 236 of file adin1200_driver.h.

◆ ADIN1200_MSTR_SLV_STATUS_REM_RCVR_STATUS

#define ADIN1200_MSTR_SLV_STATUS_REM_RCVR_STATUS   0x1000

Definition at line 234 of file adin1200_driver.h.

◆ ADIN1200_PCS_STATUS_1

#define ADIN1200_PCS_STATUS_1   0x9401

Definition at line 81 of file adin1200_driver.h.

◆ ADIN1200_PCS_STATUS_1_RX_LPI

#define ADIN1200_PCS_STATUS_1_RX_LPI   0x0100

Definition at line 411 of file adin1200_driver.h.

◆ ADIN1200_PCS_STATUS_1_RX_LPI_RCVD

#define ADIN1200_PCS_STATUS_1_RX_LPI_RCVD   0x0400

Definition at line 409 of file adin1200_driver.h.

◆ ADIN1200_PCS_STATUS_1_TX_LPI

#define ADIN1200_PCS_STATUS_1_TX_LPI   0x0200

Definition at line 410 of file adin1200_driver.h.

◆ ADIN1200_PCS_STATUS_1_TX_LPI_RCVD

#define ADIN1200_PCS_STATUS_1_TX_LPI_RCVD   0x0800

Definition at line 408 of file adin1200_driver.h.

◆ ADIN1200_PCS_STATUS_1_TX_MII_CLK_STOP_CPBL

#define ADIN1200_PCS_STATUS_1_TX_MII_CLK_STOP_CPBL   0x0040

Definition at line 412 of file adin1200_driver.h.

◆ ADIN1200_PHY_ADDR

#define ADIN1200_PHY_ADDR   0

Definition at line 39 of file adin1200_driver.h.

◆ ADIN1200_PHY_CTRL_1

#define ADIN1200_PHY_CTRL_1   0x12

Definition at line 58 of file adin1200_driver.h.

◆ ADIN1200_PHY_CTRL_1_AUTO_MDI_EN

#define ADIN1200_PHY_CTRL_1_AUTO_MDI_EN   0x0400

Definition at line 246 of file adin1200_driver.h.

◆ ADIN1200_PHY_CTRL_1_DIAG_CLK_EN

#define ADIN1200_PHY_CTRL_1_DIAG_CLK_EN   0x0004

Definition at line 248 of file adin1200_driver.h.

◆ ADIN1200_PHY_CTRL_1_MAN_MDIX

#define ADIN1200_PHY_CTRL_1_MAN_MDIX   0x0200

Definition at line 247 of file adin1200_driver.h.

◆ ADIN1200_PHY_CTRL_2

#define ADIN1200_PHY_CTRL_2   0x16

Definition at line 62 of file adin1200_driver.h.

◆ ADIN1200_PHY_CTRL_2_DN_SPEED_TO_10_EN

#define ADIN1200_PHY_CTRL_2_DN_SPEED_TO_10_EN   0x0400

Definition at line 265 of file adin1200_driver.h.

◆ ADIN1200_PHY_CTRL_2_GROUP_MDIO_EN

#define ADIN1200_PHY_CTRL_2_GROUP_MDIO_EN   0x0040

Definition at line 266 of file adin1200_driver.h.

◆ ADIN1200_PHY_CTRL_3

#define ADIN1200_PHY_CTRL_3   0x17

Definition at line 63 of file adin1200_driver.h.

◆ ADIN1200_PHY_CTRL_3_LINK_EN

#define ADIN1200_PHY_CTRL_3_LINK_EN   0x2000

Definition at line 269 of file adin1200_driver.h.

◆ ADIN1200_PHY_CTRL_3_NUM_SPEED_RETRY

#define ADIN1200_PHY_CTRL_3_NUM_SPEED_RETRY   0x1C00

Definition at line 270 of file adin1200_driver.h.

◆ ADIN1200_PHY_CTRL_STATUS_1

#define ADIN1200_PHY_CTRL_STATUS_1   0x13

Definition at line 59 of file adin1200_driver.h.

◆ ADIN1200_PHY_CTRL_STATUS_1_ISOLATE_RX

#define ADIN1200_PHY_CTRL_STATUS_1_ISOLATE_RX   0x0100

Definition at line 254 of file adin1200_driver.h.

◆ ADIN1200_PHY_CTRL_STATUS_1_LB_ALL_DIG_SEL

#define ADIN1200_PHY_CTRL_STATUS_1_LB_ALL_DIG_SEL   0x1000

Definition at line 251 of file adin1200_driver.h.

◆ ADIN1200_PHY_CTRL_STATUS_1_LB_EXT_EN

#define ADIN1200_PHY_CTRL_STATUS_1_LB_EXT_EN   0x0080

Definition at line 255 of file adin1200_driver.h.

◆ ADIN1200_PHY_CTRL_STATUS_1_LB_LD_SEL

#define ADIN1200_PHY_CTRL_STATUS_1_LB_LD_SEL   0x0400

Definition at line 252 of file adin1200_driver.h.

◆ ADIN1200_PHY_CTRL_STATUS_1_LB_MII_LS_OK

#define ADIN1200_PHY_CTRL_STATUS_1_LB_MII_LS_OK   0x0001

Definition at line 257 of file adin1200_driver.h.

◆ ADIN1200_PHY_CTRL_STATUS_1_LB_REMOTE_EN

#define ADIN1200_PHY_CTRL_STATUS_1_LB_REMOTE_EN   0x0200

Definition at line 253 of file adin1200_driver.h.

◆ ADIN1200_PHY_CTRL_STATUS_1_LB_TX_SUP

#define ADIN1200_PHY_CTRL_STATUS_1_LB_TX_SUP   0x0040

Definition at line 256 of file adin1200_driver.h.

◆ ADIN1200_PHY_CTRL_STATUS_2

#define ADIN1200_PHY_CTRL_STATUS_2   0x15

Definition at line 61 of file adin1200_driver.h.

◆ ADIN1200_PHY_CTRL_STATUS_2_NRG_PD_EN

#define ADIN1200_PHY_CTRL_STATUS_2_NRG_PD_EN   0x0008

Definition at line 260 of file adin1200_driver.h.

◆ ADIN1200_PHY_CTRL_STATUS_2_NRG_PD_TX_EN

#define ADIN1200_PHY_CTRL_STATUS_2_NRG_PD_TX_EN   0x0004

Definition at line 261 of file adin1200_driver.h.

◆ ADIN1200_PHY_CTRL_STATUS_2_PHY_IN_NRG_PD

#define ADIN1200_PHY_CTRL_STATUS_2_PHY_IN_NRG_PD   0x0002

Definition at line 262 of file adin1200_driver.h.

◆ ADIN1200_PHY_ID_1

#define ADIN1200_PHY_ID_1   0x02

Definition at line 47 of file adin1200_driver.h.

◆ ADIN1200_PHY_ID_1_PHY_ID_1

#define ADIN1200_PHY_ID_1_PHY_ID_1   0xFFFF

Definition at line 169 of file adin1200_driver.h.

◆ ADIN1200_PHY_ID_1_PHY_ID_1_DEFAULT

#define ADIN1200_PHY_ID_1_PHY_ID_1_DEFAULT   0x0283

Definition at line 170 of file adin1200_driver.h.

◆ ADIN1200_PHY_ID_2

#define ADIN1200_PHY_ID_2   0x03

Definition at line 48 of file adin1200_driver.h.

◆ ADIN1200_PHY_ID_2_MODEL_NUM

#define ADIN1200_PHY_ID_2_MODEL_NUM   0x03F0

Definition at line 175 of file adin1200_driver.h.

◆ ADIN1200_PHY_ID_2_MODEL_NUM_DEFAULT

#define ADIN1200_PHY_ID_2_MODEL_NUM_DEFAULT   0x0020

Definition at line 176 of file adin1200_driver.h.

◆ ADIN1200_PHY_ID_2_PHY_ID_2_OUI

#define ADIN1200_PHY_ID_2_PHY_ID_2_OUI   0xFC00

Definition at line 173 of file adin1200_driver.h.

◆ ADIN1200_PHY_ID_2_PHY_ID_2_OUI_DEFAULT

#define ADIN1200_PHY_ID_2_PHY_ID_2_OUI_DEFAULT   0xBC00

Definition at line 174 of file adin1200_driver.h.

◆ ADIN1200_PHY_ID_2_REV_NUM

#define ADIN1200_PHY_ID_2_REV_NUM   0x000F

Definition at line 177 of file adin1200_driver.h.

◆ ADIN1200_PHY_ID_2_REV_NUM_DEFAULT

#define ADIN1200_PHY_ID_2_REV_NUM_DEFAULT   0x0000

Definition at line 178 of file adin1200_driver.h.

◆ ADIN1200_PHY_STATUS_1

#define ADIN1200_PHY_STATUS_1   0x1A

Definition at line 66 of file adin1200_driver.h.

◆ ADIN1200_PHY_STATUS_1_AUTONEG_STAT

#define ADIN1200_PHY_STATUS_1_AUTONEG_STAT   0x1000

Definition at line 301 of file adin1200_driver.h.

◆ ADIN1200_PHY_STATUS_1_AUTONEG_SUP

#define ADIN1200_PHY_STATUS_1_AUTONEG_SUP   0x0004

Definition at line 313 of file adin1200_driver.h.

◆ ADIN1200_PHY_STATUS_1_B_10_POL_INV

#define ADIN1200_PHY_STATUS_1_B_10_POL_INV   0x0400

Definition at line 303 of file adin1200_driver.h.

◆ ADIN1200_PHY_STATUS_1_COL_STAT

#define ADIN1200_PHY_STATUS_1_COL_STAT   0x0008

Definition at line 312 of file adin1200_driver.h.

◆ ADIN1200_PHY_STATUS_1_HCD_TECH

#define ADIN1200_PHY_STATUS_1_HCD_TECH   0x0380

Definition at line 304 of file adin1200_driver.h.

◆ ADIN1200_PHY_STATUS_1_HCD_TECH_100BTX_FD

#define ADIN1200_PHY_STATUS_1_HCD_TECH_100BTX_FD   0x0180

Definition at line 308 of file adin1200_driver.h.

◆ ADIN1200_PHY_STATUS_1_HCD_TECH_100BTX_HD

#define ADIN1200_PHY_STATUS_1_HCD_TECH_100BTX_HD   0x0100

Definition at line 307 of file adin1200_driver.h.

◆ ADIN1200_PHY_STATUS_1_HCD_TECH_10BT_FD

#define ADIN1200_PHY_STATUS_1_HCD_TECH_10BT_FD   0x0080

Definition at line 306 of file adin1200_driver.h.

◆ ADIN1200_PHY_STATUS_1_HCD_TECH_10BT_HD

#define ADIN1200_PHY_STATUS_1_HCD_TECH_10BT_HD   0x0000

Definition at line 305 of file adin1200_driver.h.

◆ ADIN1200_PHY_STATUS_1_LINK_STAT

#define ADIN1200_PHY_STATUS_1_LINK_STAT   0x0040

Definition at line 309 of file adin1200_driver.h.

◆ ADIN1200_PHY_STATUS_1_LP_APAUSE_ADV

#define ADIN1200_PHY_STATUS_1_LP_APAUSE_ADV   0x0001

Definition at line 315 of file adin1200_driver.h.

◆ ADIN1200_PHY_STATUS_1_LP_PAUSE_ADV

#define ADIN1200_PHY_STATUS_1_LP_PAUSE_ADV   0x0002

Definition at line 314 of file adin1200_driver.h.

◆ ADIN1200_PHY_STATUS_1_PAIR_01_SWAP

#define ADIN1200_PHY_STATUS_1_PAIR_01_SWAP   0x0800

Definition at line 302 of file adin1200_driver.h.

◆ ADIN1200_PHY_STATUS_1_PAR_DET_FLT_STAT

#define ADIN1200_PHY_STATUS_1_PAR_DET_FLT_STAT   0x2000

Definition at line 300 of file adin1200_driver.h.

◆ ADIN1200_PHY_STATUS_1_PHY_IN_STNDBY

#define ADIN1200_PHY_STATUS_1_PHY_IN_STNDBY   0x8000

Definition at line 299 of file adin1200_driver.h.

◆ ADIN1200_PHY_STATUS_1_RX_DV_STAT

#define ADIN1200_PHY_STATUS_1_RX_DV_STAT   0x0010

Definition at line 311 of file adin1200_driver.h.

◆ ADIN1200_PHY_STATUS_1_TX_EN_STAT

#define ADIN1200_PHY_STATUS_1_TX_EN_STAT   0x0020

Definition at line 310 of file adin1200_driver.h.

◆ ADIN1200_PHY_STATUS_2

#define ADIN1200_PHY_STATUS_2   0x1F

Definition at line 70 of file adin1200_driver.h.

◆ ADIN1200_PHY_STATUS_2_PAIR_0_POL_INV

#define ADIN1200_PHY_STATUS_2_PAIR_0_POL_INV   0x0400

Definition at line 363 of file adin1200_driver.h.

◆ ADIN1200_PHY_STATUS_2_PAIR_1_POL_INV

#define ADIN1200_PHY_STATUS_2_PAIR_1_POL_INV   0x0800

Definition at line 362 of file adin1200_driver.h.

◆ ADIN1200_RX_ERR_CNT

#define ADIN1200_RX_ERR_CNT   0x14

Definition at line 60 of file adin1200_driver.h.

◆ ADIN1200_RX_MII_CLK_STOP_EN

#define ADIN1200_RX_MII_CLK_STOP_EN   0x9400

Definition at line 80 of file adin1200_driver.h.

◆ ADIN1200_RX_MII_CLK_STOP_EN_RX_MII_CLK_STOP_EN

#define ADIN1200_RX_MII_CLK_STOP_EN_RX_MII_CLK_STOP_EN   0x0400

Definition at line 405 of file adin1200_driver.h.

◆ ADIN1200_SOP_CTRL

#define ADIN1200_SOP_CTRL   0x9428

Definition at line 107 of file adin1200_driver.h.

◆ ADIN1200_SOP_CTRL_SOP_N_8_CYCM_1

#define ADIN1200_SOP_CTRL_SOP_N_8_CYCM_1   0x0070

Definition at line 452 of file adin1200_driver.h.

◆ ADIN1200_SOP_CTRL_SOP_NCYC_EN

#define ADIN1200_SOP_CTRL_SOP_NCYC_EN   0x0008

Definition at line 453 of file adin1200_driver.h.

◆ ADIN1200_SOP_CTRL_SOP_RX_EN

#define ADIN1200_SOP_CTRL_SOP_RX_EN   0x0002

Definition at line 455 of file adin1200_driver.h.

◆ ADIN1200_SOP_CTRL_SOP_SFD_EN

#define ADIN1200_SOP_CTRL_SOP_SFD_EN   0x0004

Definition at line 454 of file adin1200_driver.h.

◆ ADIN1200_SOP_CTRL_SOP_TX_EN

#define ADIN1200_SOP_CTRL_SOP_TX_EN   0x0001

Definition at line 456 of file adin1200_driver.h.

◆ ADIN1200_SOP_RX_DEL

#define ADIN1200_SOP_RX_DEL   0x9429

Definition at line 108 of file adin1200_driver.h.

◆ ADIN1200_SOP_RX_DEL_SOP_RX_100_DEL_NCYC

#define ADIN1200_SOP_RX_DEL_SOP_RX_100_DEL_NCYC   0x07C0

Definition at line 460 of file adin1200_driver.h.

◆ ADIN1200_SOP_RX_DEL_SOP_RX_10_DEL_NCYC

#define ADIN1200_SOP_RX_DEL_SOP_RX_10_DEL_NCYC   0xF800

Definition at line 459 of file adin1200_driver.h.

◆ ADIN1200_SOP_TX_DEL

#define ADIN1200_SOP_TX_DEL   0x942A

Definition at line 109 of file adin1200_driver.h.

◆ ADIN1200_SOP_TX_DEL_SOP_TX_100_DEL_N_8_NS

#define ADIN1200_SOP_TX_DEL_SOP_TX_100_DEL_N_8_NS   0x00F0

Definition at line 464 of file adin1200_driver.h.

◆ ADIN1200_SOP_TX_DEL_SOP_TX_10_DEL_N_8_NS

#define ADIN1200_SOP_TX_DEL_SOP_TX_10_DEL_N_8_NS   0x1F00

Definition at line 463 of file adin1200_driver.h.

◆ ADIN1200_TX_NEXT_PAGE

#define ADIN1200_TX_NEXT_PAGE   0x07

Definition at line 52 of file adin1200_driver.h.

◆ ADIN1200_TX_NEXT_PAGE_NP_ACK_2

#define ADIN1200_TX_NEXT_PAGE_NP_ACK_2   0x1000

Definition at line 220 of file adin1200_driver.h.

◆ ADIN1200_TX_NEXT_PAGE_NP_CODE

#define ADIN1200_TX_NEXT_PAGE_NP_CODE   0x07FF

Definition at line 222 of file adin1200_driver.h.

◆ ADIN1200_TX_NEXT_PAGE_NP_MSG_PAGE

#define ADIN1200_TX_NEXT_PAGE_NP_MSG_PAGE   0x2000

Definition at line 219 of file adin1200_driver.h.

◆ ADIN1200_TX_NEXT_PAGE_NP_NEXT_PAGE

#define ADIN1200_TX_NEXT_PAGE_NP_NEXT_PAGE   0x8000

Definition at line 218 of file adin1200_driver.h.

◆ ADIN1200_TX_NEXT_PAGE_NP_TOGGLE

#define ADIN1200_TX_NEXT_PAGE_NP_TOGGLE   0x0800

Definition at line 221 of file adin1200_driver.h.

Function Documentation

◆ adin1200DisableIrq()

void adin1200DisableIrq ( NetInterface interface)

Disable interrupts.

Parameters
[in]interfaceUnderlying network interface

Definition at line 193 of file adin1200_driver.c.

◆ adin1200DumpPhyReg()

void adin1200DumpPhyReg ( NetInterface interface)

Dump PHY registers for debugging purpose.

Parameters
[in]interfaceUnderlying network interface

Definition at line 334 of file adin1200_driver.c.

◆ adin1200EnableIrq()

void adin1200EnableIrq ( NetInterface interface)

Enable interrupts.

Parameters
[in]interfaceUnderlying network interface

Definition at line 178 of file adin1200_driver.c.

◆ adin1200EventHandler()

void adin1200EventHandler ( NetInterface interface)

ADIN1200 event handler.

Parameters
[in]interfaceUnderlying network interface

Definition at line 208 of file adin1200_driver.c.

◆ adin1200Init()

error_t adin1200Init ( NetInterface interface)

ADIN1200 PHY transceiver initialization.

Parameters
[in]interfaceUnderlying network interface
Returns
Error code

Definition at line 60 of file adin1200_driver.c.

◆ adin1200InitHook()

void adin1200InitHook ( NetInterface interface)

ADIN1200 custom configuration.

Parameters
[in]interfaceUnderlying network interface

Definition at line 130 of file adin1200_driver.c.

◆ adin1200ReadExtReg()

uint16_t adin1200ReadExtReg ( NetInterface interface,
uint16_t  address 
)

Read extended register.

Parameters
[in]interfaceUnderlying network interface
[in]addressExtended register address
Returns
Register value

Definition at line 377 of file adin1200_driver.c.

◆ adin1200ReadPhyReg()

uint16_t adin1200ReadPhyReg ( NetInterface interface,
uint8_t  address 
)

Read PHY register.

Parameters
[in]interfaceUnderlying network interface
[in]addressPHY register address
Returns
Register value

Definition at line 308 of file adin1200_driver.c.

◆ adin1200Tick()

void adin1200Tick ( NetInterface interface)

ADIN1200 timer handler.

Parameters
[in]interfaceUnderlying network interface

Definition at line 140 of file adin1200_driver.c.

◆ adin1200WriteExtReg()

void adin1200WriteExtReg ( NetInterface interface,
uint16_t  address,
uint16_t  data 
)

Write extended register.

Parameters
[in]interfaceUnderlying network interface
[in]addressExtended register address
[in]dataRegister value

Definition at line 358 of file adin1200_driver.c.

◆ adin1200WritePhyReg()

void adin1200WritePhyReg ( NetInterface interface,
uint8_t  address,
uint16_t  data 
)

Write PHY register.

Parameters
[in]interfaceUnderlying network interface
[in]addressPHY register address
[in]dataRegister value

Definition at line 284 of file adin1200_driver.c.

Variable Documentation

◆ adin1200PhyDriver

const PhyDriver adin1200PhyDriver
extern

ADIN1200 Ethernet PHY driver.

Definition at line 44 of file adin1200_driver.c.