dp83tc811_driver.h File Reference

DP83TC811 Ethernet PHY transceiver. More...

#include "core/nic.h"

Go to the source code of this file.

Macros

#define DP83TC811_PHY_ADDR   0
 
#define DP83TC811_BMCR   0x00
 
#define DP83TC811_BMSR   0x01
 
#define DP83TC811_PHYID1   0x02
 
#define DP83TC811_PHYID2   0x03
 
#define DP83TC811_TDR_AUTO   0x09
 
#define DP83TC811_REGCR   0x0D
 
#define DP83TC811_ADDAR   0x0E
 
#define DP83TC811_INT_TEST   0x11
 
#define DP83TC811_INT_STAT1   0x12
 
#define DP83TC811_INT_STAT2   0x13
 
#define DP83TC811_FCSCR   0x14
 
#define DP83TC811_RECR   0x15
 
#define DP83TC811_BISTCR   0x16
 
#define DP83TC811_XMII_CTRL   0x17
 
#define DP83TC811_INT_STAT3   0x18
 
#define DP83TC811_BICTSR1   0x1B
 
#define DP83TC811_BICTSR2   0x1C
 
#define DP83TC811_TDR   0x1E
 
#define DP83TC811_PHYRCR   0x1F
 
#define DP83TC811_LSR   0x0133
 
#define DP83TC811_TDRR   0x016B
 
#define DP83TC811_TDRLR1   0x0180
 
#define DP83TC811_TDRLR2   0x0181
 
#define DP83TC811_TDRPT   0x018A
 
#define DP83TC811_AUTO_PHY   0x018B
 
#define DP83TC811_PWRM   0x018C
 
#define DP83TC811_SNR   0x0197
 
#define DP83TC811_SQI   0x0198
 
#define DP83TC811_LD_CTRL   0x0400
 
#define DP83TC811_LDG_CTRL1   0x0401
 
#define DP83TC811_DLL_CTRL   0x0446
 
#define DP83TC811_ESDS   0x0448
 
#define DP83TC811_LED_CFG1   0x0460
 
#define DP83TC811_XMII_IMP_CTRL   0x0461
 
#define DP83TC811_IO_CTRL1   0x0462
 
#define DP83TC811_IO_CTRL2   0x0463
 
#define DP83TC811_STRAP   0x0467
 
#define DP83TC811_LED_CFG2   0x0469
 
#define DP83TC811_PLR_CFG   0x0475
 
#define DP83TC811_MON_CFG1   0x0480
 
#define DP83TC811_MON_CFG2   0x0481
 
#define DP83TC811_MON_CFG3   0x0482
 
#define DP83TC811_MON_STAT1   0x0483
 
#define DP83TC811_MON_STAT2   0x0484
 
#define DP83TC811_PCS_CTRL1   0x0485
 
#define DP83TC811_PCS_CTRL2   0x0486
 
#define DP83TC811_LPS_CTRL2   0x0487
 
#define DP83TC811_INTER_CFG   0x0489
 
#define DP83TC811_LPS_CTRL3   0x0493
 
#define DP83TC811_LPS_CTRL3   0x0493
 
#define DP83TC811_JAB_CFG   0x0496
 
#define DP83TC811_TEST_MODE_CTRL   0x0497
 
#define DP83TC811_WOL_CFG   0x04A0
 
#define DP83TC811_WOL_STAT   0x04A1
 
#define DP83TC811_WOL_DA1   0x04A2
 
#define DP83TC811_WOL_DA2   0x04A3
 
#define DP83TC811_WOL_DA3   0x04A4
 
#define DP83TC811_RXSOP1   0x04A5
 
#define DP83TC811_RXSOP2   0x04A6
 
#define DP83TC811_RXSOP3   0x04A7
 
#define DP83TC811_RXPAT1   0x04A8
 
#define DP83TC811_RXPAT2   0x04A9
 
#define DP83TC811_RXPAT3   0x04AA
 
#define DP83TC811_RXPAT4   0x04AB
 
#define DP83TC811_RXPAT5   0x04AC
 
#define DP83TC811_RXPAT6   0x04AD
 
#define DP83TC811_RXPAT7   0x04AE
 
#define DP83TC811_RXPAT8   0x04AF
 
#define DP83TC811_RXPAT9   0x04B0
 
#define DP83TC811_RXPAT10   0x04B1
 
#define DP83TC811_RXPAT11   0x04B2
 
#define DP83TC811_RXPAT12   0x04B3
 
#define DP83TC811_RXPAT13   0x04B4
 
#define DP83TC811_RXPAT14   0x04B5
 
#define DP83TC811_RXPAT15   0x04B6
 
#define DP83TC811_RXPAT16   0x04B7
 
#define DP83TC811_RXPAT17   0x04B8
 
#define DP83TC811_RXPAT18   0x04B9
 
#define DP83TC811_RXPAT19   0x04BA
 
#define DP83TC811_RXPAT20   0x04BB
 
#define DP83TC811_RXPAT21   0x04BC
 
#define DP83TC811_RXPAT22   0x04BD
 
#define DP83TC811_RXPAT23   0x04BE
 
#define DP83TC811_RXPAT24   0x04BF
 
#define DP83TC811_RXPAT25   0x04C0
 
#define DP83TC811_RXPAT26   0x04C1
 
#define DP83TC811_RXPAT27   0x04C2
 
#define DP83TC811_RXPAT28   0x04C3
 
#define DP83TC811_RXPAT29   0x04C4
 
#define DP83TC811_RXPAT30   0x04C5
 
#define DP83TC811_RXPAT31   0x04C6
 
#define DP83TC811_RXPAT32   0x04C7
 
#define DP83TC811_RXPBM1   0x04C8
 
#define DP83TC811_RXPBM2   0x04C9
 
#define DP83TC811_RXPBM3   0x04CA
 
#define DP83TC811_RXPBM4   0x04CB
 
#define DP83TC811_RXPATC   0x04CC
 
#define DP83TC811_RXD3CLK   0x04E0
 
#define DP83TC811_LPS_CFG   0x04E5
 
#define DP83TC811_PMA_CTRL1   0x0007
 
#define DP83TC811_PMA_EXT1   0x000B
 
#define DP83TC811_PMA_EXT2   0x0012
 
#define DP83TC811_PMA_CTRL2   0x0834
 
#define DP83TC811_TEST_CTRL   0x0836
 
#define DP83TC811_BMCR_RESET   0x8000
 
#define DP83TC811_BMCR_LOOPBACK   0x4000
 
#define DP83TC811_BMCR_SPEED_SEL   0x2000
 
#define DP83TC811_BMCR_AN_EN   0x1000
 
#define DP83TC811_BMCR_POWER_DOWN   0x0800
 
#define DP83TC811_BMCR_ISOLATE   0x0400
 
#define DP83TC811_BMSR_100BT4   0x8000
 
#define DP83TC811_BMSR_100BTX_FD   0x4000
 
#define DP83TC811_BMSR_100BTX_HD   0x2000
 
#define DP83TC811_BMSR_10BT_FD   0x1000
 
#define DP83TC811_BMSR_10BT_HD   0x0800
 
#define DP83TC811_BMSR_SMI_PREAMBLE_SUPPR   0x0040
 
#define DP83TC811_BMSR_AN_COMPLETE   0x0020
 
#define DP83TC811_BMSR_REMOTE_FAULT   0x0010
 
#define DP83TC811_BMSR_AN_CAPABLE   0x0008
 
#define DP83TC811_BMSR_LINK_STATUS   0x0004
 
#define DP83TC811_BMSR_JABBER_DETECT   0x0002
 
#define DP83TC811_BMSR_EXTENDED_CAPABLE   0x0001
 
#define DP83TC811_PHYID1_OUI_MSB   0xFFFF
 
#define DP83TC811_PHYID1_OUI_MSB_DEFAULT   0x2000
 
#define DP83TC811_PHYID2_OUI_LSB   0xFC00
 
#define DP83TC811_PHYID2_OUI_LSB_DEFAULT   0xA000
 
#define DP83TC811_PHYID2_MODEL_NUM   0x03F0
 
#define DP83TC811_PHYID2_MODEL_NUM_DEFAULT   0x0250
 
#define DP83TC811_PHYID2_REVISION_NUM   0x000F
 
#define DP83TC811_TDR_AUTO_TDR_AUTO_RUN   0x0100
 
#define DP83TC811_REGCR_COMMAND   0xC000
 
#define DP83TC811_REGCR_COMMAND_ADDR   0x0000
 
#define DP83TC811_REGCR_COMMAND_DATA_NO_POST_INC   0x4000
 
#define DP83TC811_REGCR_COMMAND_DATA_POST_INC_RW   0x8000
 
#define DP83TC811_REGCR_COMMAND_DATA_POST_INC_W   0xC000
 
#define DP83TC811_REGCR_DEVAD   0x001F
 
#define DP83TC811_REGCR_DEVAD_1   0x0001
 
#define DP83TC811_REGCR_DEVAD_31   0x001F
 
#define DP83TC811_INT_TEST_INTERRUPT_POLARITY   0x0008
 
#define DP83TC811_INT_TEST_TEST_INTERRUPT   0x0004
 
#define DP83TC811_INT_STAT1_LINK_QUALITY_IF   0x8000
 
#define DP83TC811_INT_STAT1_ENERGY_DETECT_IF   0x4000
 
#define DP83TC811_INT_STAT1_LINK_STATUS_CHANGED_IF   0x2000
 
#define DP83TC811_INT_STAT1_WOL_IF   0x1000
 
#define DP83TC811_INT_STAT1_ESD_EVENT_IF   0x0800
 
#define DP83TC811_INT_STAT1_MS_TRAINING_COMPLETE_IF   0x0400
 
#define DP83TC811_INT_STAT1_FALSE_CARRIER_CNT_HF_IF   0x0200
 
#define DP83TC811_INT_STAT1_RECEIVE_ERROR_CNT_HF_IF   0x0100
 
#define DP83TC811_INT_STAT1_LINK_QUALITY_IE   0x0080
 
#define DP83TC811_INT_STAT1_ENERGY_DETECT_IE   0x0040
 
#define DP83TC811_INT_STAT1_LINK_STATUS_CHANGED_IE   0x0020
 
#define DP83TC811_INT_STAT1_WOL_IE   0x0010
 
#define DP83TC811_INT_STAT1_ESD_EVENT_IE   0x0008
 
#define DP83TC811_INT_STAT1_MS_TRAINING_COMPLETE_IE   0x0004
 
#define DP83TC811_INT_STAT1_FALSE_CARRIER_CNT_HF_IE   0x0002
 
#define DP83TC811_INT_STAT1_RECEIVE_ERROR_CNT_HF_IE   0x0001
 
#define DP83TC811_INT_STAT2_UNDERVOLTAGE_IF   0x8000
 
#define DP83TC811_INT_STAT2_OVERVOLTAGE_IF   0x4000
 
#define DP83TC811_INT_STAT2_OVERTEMPERATURE_IF   0x0800
 
#define DP83TC811_INT_STAT2_SLEEP_MODE_IF   0x0400
 
#define DP83TC811_INT_STAT2_POLARITY_CHANGE_IF   0x0200
 
#define DP83TC811_INT_STAT2_JABBER_DETECT_IF   0x0100
 
#define DP83TC811_INT_STAT2_UNDERVOLTAGE_IE   0x0080
 
#define DP83TC811_INT_STAT2_OVERVOLTAGE_IE   0x0040
 
#define DP83TC811_INT_STAT2_OVERTEMPERATURE_IE   0x0008
 
#define DP83TC811_INT_STAT2_SLEEP_MODE_IE   0x0004
 
#define DP83TC811_INT_STAT2_POLARITY_CHANGE_IE   0x0002
 
#define DP83TC811_INT_STAT2_JABBER_DETECT_IE   0x0001
 
#define DP83TC811_FCSCR_FALSE_CARRIER_EVENT_CNT   0x00FF
 
#define DP83TC811_BISTCR_BIST_ERROR_COUNTER_MODE   0x4000
 
#define DP83TC811_BISTCR_PRBS_PACKET_TYPE   0x2000
 
#define DP83TC811_BISTCR_PACKET_GENERATION_EN   0x1000
 
#define DP83TC811_BISTCR_PRBS_CHECKER_LOCK_SYNC   0x0800
 
#define DP83TC811_BISTCR_PRBS_CHECKER_SYNC_LOSS   0x0400
 
#define DP83TC811_BISTCR_PACKET_GENERATOR_STATUS   0x0200
 
#define DP83TC811_BISTCR_LOOPBACK_SELECT   0x007C
 
#define DP83TC811_XMII_CTRL_RGMII_RX_CLOCK_DELAY   0x1000
 
#define DP83TC811_XMII_CTRL_RGMII_TX_CLOCK_DELAY   0x0800
 
#define DP83TC811_XMII_CTRL_RGMII_MODE   0x0200
 
#define DP83TC811_XMII_CTRL_CLOCK_SELECT   0x0080
 
#define DP83TC811_XMII_CTRL_RMII_MODE   0x0020
 
#define DP83TC811_XMII_CTRL_RMII_REV_SELECT   0x0010
 
#define DP83TC811_XMII_CTRL_RMII_OVERFLOW_STATUS   0x0008
 
#define DP83TC811_XMII_CTRL_RMII_UNDERFLOW_STATUS   0x0004
 
#define DP83TC811_XMII_CTRL_RMII_RX_ELASTICITY_BUFFER_SIZE   0x0002
 
#define DP83TC811_INT_STAT3_POR_DONE_IF   0x1000
 
#define DP83TC811_INT_STAT3_NO_FRAME_DETECTED_IF   0x0800
 
#define DP83TC811_INT_STAT3_LPS_IF   0x0100
 
#define DP83TC811_INT_STAT3_POR_DONE_IE   0x0010
 
#define DP83TC811_INT_STAT3_NO_FRAME_DETECTED_IE   0x0008
 
#define DP83TC811_INT_STAT3_LPS_IE   0x0001
 
#define DP83TC811_BICTSR1_BIST_ERROR_CNT   0xFF00
 
#define DP83TC811_BICTSR1_BIST_IPG_LENGTH   0x00FF
 
#define DP83TC811_BICTSR2_BIST_PACKET_LENGTH   0x07FF
 
#define DP83TC811_TDR_START   0x8000
 
#define DP83TC811_TDR_STATUS   0x0002
 
#define DP83TC811_TDR_TEST_FAIL   0x0001
 
#define DP83TC811_PHYRCR_HARDWARE_RESET   0x8000
 
#define DP83TC811_PHYRCR_SOFTWARE_RESET   0x4000
 
#define DP83TC811_PHYRCR_STANDBY_MODE   0x0080
 
#define DP83TC811_LSR_LINK_STATUS   0x1000
 
#define DP83TC811_LSR_SCRAMBLER_LOCK   0x0004
 
#define DP83TC811_LSR_LOCAL_RECEIVER_STATUS   0x0002
 
#define DP83TC811_LSR_REMOTE_RECEIVER_STATUS   0x0001
 
#define DP83TC811_TDRR_FAULT_STATUS   0x0200
 
#define DP83TC811_TDRR_FAULT_TYPE   0x0100
 
#define DP83TC811_TDRR_FAULT_LOCATION   0x00FF
 
#define DP83TC811_TDRLR1_LOCATION_2   0xFF00
 
#define DP83TC811_TDRLR1_LOCATION_1   0x00FF
 
#define DP83TC811_TDRLR2_LOCATION_4   0xFF00
 
#define DP83TC811_TDRLR2_LOCATION_3   0x00FF
 
#define DP83TC811_TDRPT_PEAK_4_TYPE   0x4000
 
#define DP83TC811_TDRPT_PEAK_3_TYPE   0x2000
 
#define DP83TC811_TDRPT_PEAK_2_TYPE   0x1000
 
#define DP83TC811_TDRPT_PEAK_1_TYPE   0x0800
 
#define DP83TC811_AUTO_PHY_AUTONOMOUS_COMMAND   0x0040
 
#define DP83TC811_AUTO_PHY_SLEEP_EN   0x0002
 
#define DP83TC811_AUTO_PHY_LPS_TRANSMISSION_EN   0x0001
 
#define DP83TC811_PWRM_SLEEP_REQUEST_COMMAND   0x0002
 
#define DP83TC811_PWRM_NORMAL_COMMAND   0x0001
 
#define DP83TC811_SNR_SNR   0x01FF
 
#define DP83TC811_SQI_SQS   0x0300
 
#define DP83TC811_SQI_SQI   0x00FF
 
#define DP83TC811_LD_CTRL_LINE_DRIVER_SERIES_TERM   0x1F00
 
#define DP83TC811_LDG_CTRL1_FINE_GAIN_CONTROL_MDI   0x000F
 
#define DP83TC811_DLL_CTRL_DLL_TX_DELAY_CONTROL   0x00F0
 
#define DP83TC811_DLL_CTRL_DLL_RX_DELAY_CONTROL   0x000F
 
#define DP83TC811_ESDS_XMII_ESD_EVENT_CNT   0x3F00
 
#define DP83TC811_ESDS_MDI_ESD_EVENT_CNT   0x003F
 
#define DP83TC811_LED_CFG1_LED_BLINK_RATE_CTRL   0x3000
 
#define DP83TC811_LED_CFG1_LED_BLINK_RATE_CTRL_20HZ   0x0000
 
#define DP83TC811_LED_CFG1_LED_BLINK_RATE_CTRL_10HZ   0x1000
 
#define DP83TC811_LED_CFG1_LED_BLINK_RATE_CTRL_5HZ   0x2000
 
#define DP83TC811_LED_CFG1_LED_BLINK_RATE_CTRL_2HZ   0x3000
 
#define DP83TC811_LED_CFG1_LED_2_CTRL   0x0F00
 
#define DP83TC811_LED_CFG1_LED_2_CTRL_LINK_OK   0x0000
 
#define DP83TC811_LED_CFG1_LED_2_CTRL_LINK_OK_TX_RX_ACT   0x0100
 
#define DP83TC811_LED_CFG1_LED_2_CTRL_LINK_OK_TX_ACT   0x0200
 
#define DP83TC811_LED_CFG1_LED_2_CTRL_LINK_OK_RX_ACT   0x0300
 
#define DP83TC811_LED_CFG1_LED_2_CTRL_LINK_OK_MASTER   0x0400
 
#define DP83TC811_LED_CFG1_LED_2_CTRL_LINK_OK_SLAVE   0x0500
 
#define DP83TC811_LED_CFG1_LED_2_CTRL_TX_RX_ACT   0x0600
 
#define DP83TC811_LED_CFG1_LED_2_CTRL_LINK_LOST   0x0900
 
#define DP83TC811_LED_CFG1_LED_2_CTRL_PRBS_ERR   0x0A00
 
#define DP83TC811_LED_CFG1_LED_1_CTRL   0x00F0
 
#define DP83TC811_LED_CFG1_LED_1_CTRL_LINK_OK   0x0000
 
#define DP83TC811_LED_CFG1_LED_1_CTRL_LINK_OK_TX_RX_ACT   0x0010
 
#define DP83TC811_LED_CFG1_LED_1_CTRL_LINK_OK_TX_ACT   0x0020
 
#define DP83TC811_LED_CFG1_LED_1_CTRL_LINK_OK_RX_ACT   0x0030
 
#define DP83TC811_LED_CFG1_LED_1_CTRL_LINK_OK_MASTER   0x0040
 
#define DP83TC811_LED_CFG1_LED_1_CTRL_LINK_OK_SLAVE   0x0050
 
#define DP83TC811_LED_CFG1_LED_1_CTRL_TX_RX_ACT   0x0060
 
#define DP83TC811_LED_CFG1_LED_1_CTRL_LINK_LOST   0x0090
 
#define DP83TC811_LED_CFG1_LED_1_CTRL_PRBS_ERR   0x00A0
 
#define DP83TC811_LED_CFG1_LED_0_CTRL   0x000F
 
#define DP83TC811_LED_CFG1_LED_0_CTRL_LINK_OK   0x0000
 
#define DP83TC811_LED_CFG1_LED_0_CTRL_LINK_OK_TX_RX_ACT   0x0001
 
#define DP83TC811_LED_CFG1_LED_0_CTRL_LINK_OK_TX_ACT   0x0002
 
#define DP83TC811_LED_CFG1_LED_0_CTRL_LINK_OK_RX_ACT   0x0003
 
#define DP83TC811_LED_CFG1_LED_0_CTRL_LINK_OK_MASTER   0x0004
 
#define DP83TC811_LED_CFG1_LED_0_CTRL_LINK_OK_SLAVE   0x0005
 
#define DP83TC811_LED_CFG1_LED_0_CTRL_TX_RX_ACT   0x0006
 
#define DP83TC811_LED_CFG1_LED_0_CTRL_LINK_LOST   0x0009
 
#define DP83TC811_LED_CFG1_LED_0_CTRL_PRBS_ERR   0x000A
 
#define DP83TC811_XMII_IMP_CTRL_IMP_CTRL   0x001E
 
#define DP83TC811_XMII_IMP_CTRL_IMP_CTRL_99R   0x0000
 
#define DP83TC811_XMII_IMP_CTRL_IMP_CTRL_91R   0x0002
 
#define DP83TC811_XMII_IMP_CTRL_IMP_CTRL_84R   0x0004
 
#define DP83TC811_XMII_IMP_CTRL_IMP_CTRL_78R   0x0006
 
#define DP83TC811_XMII_IMP_CTRL_IMP_CTRL_73R   0x0008
 
#define DP83TC811_XMII_IMP_CTRL_IMP_CTRL_69R   0x000A
 
#define DP83TC811_XMII_IMP_CTRL_IMP_CTRL_65R   0x000C
 
#define DP83TC811_XMII_IMP_CTRL_IMP_CTRL_61R   0x000E
 
#define DP83TC811_XMII_IMP_CTRL_IMP_CTRL_58R   0x0010
 
#define DP83TC811_XMII_IMP_CTRL_IMP_CTRL_55R   0x0012
 
#define DP83TC811_XMII_IMP_CTRL_IMP_CTRL_53R   0x0014
 
#define DP83TC811_XMII_IMP_CTRL_IMP_CTRL_50R   0x0016
 
#define DP83TC811_XMII_IMP_CTRL_IMP_CTRL_48R   0x0018
 
#define DP83TC811_XMII_IMP_CTRL_IMP_CTRL_46R   0x001A
 
#define DP83TC811_XMII_IMP_CTRL_IMP_CTRL_44R   0x001C
 
#define DP83TC811_XMII_IMP_CTRL_IMP_CTRL_42R   0x001E
 
#define DP83TC811_IO_CTRL1_LED_1_CLOCK_SEL   0x7000
 
#define DP83TC811_IO_CTRL1_LED_1_CLOCK_SEL_XI   0x0000
 
#define DP83TC811_IO_CTRL1_LED_1_CLOCK_SEL_TX_TCLK   0x1000
 
#define DP83TC811_IO_CTRL1_LED_1_GPIO_SEL   0x0700
 
#define DP83TC811_IO_CTRL1_LED_1_GPIO_SEL_LED_1   0x0000
 
#define DP83TC811_IO_CTRL1_LED_1_GPIO_SEL_CLOCK   0x0100
 
#define DP83TC811_IO_CTRL1_LED_1_GPIO_SEL_WOL   0x0200
 
#define DP83TC811_IO_CTRL1_LED_1_GPIO_SEL_UNDERVOLTAGE   0x0300
 
#define DP83TC811_IO_CTRL1_LED_1_GPIO_SEL_TRANSMIT   0x0400
 
#define DP83TC811_IO_CTRL1_LED_1_GPIO_SEL_RECEIVE   0x0500
 
#define DP83TC811_IO_CTRL1_LED_1_GPIO_SEL_CONST_LOW   0x0600
 
#define DP83TC811_IO_CTRL1_LED_1_GPIO_SEL_CONST_HIGH   0x0700
 
#define DP83TC811_IO_CTRL1_LED_0_CLOCK_SEL   0x0070
 
#define DP83TC811_IO_CTRL1_LED_0_CLOCK_SEL_XI   0x0000
 
#define DP83TC811_IO_CTRL1_LED_0_CLOCK_SEL_TX_TCLK   0x0010
 
#define DP83TC811_IO_CTRL1_LED_0_GPIO_SEL   0x0007
 
#define DP83TC811_IO_CTRL1_LED_0_GPIO_SEL_LED_0   0x0000
 
#define DP83TC811_IO_CTRL1_LED_0_GPIO_SEL_CLOCK   0x0001
 
#define DP83TC811_IO_CTRL1_LED_0_GPIO_SEL_WOL   0x0002
 
#define DP83TC811_IO_CTRL1_LED_0_GPIO_SEL_UNDERVOLTAGE   0x0003
 
#define DP83TC811_IO_CTRL1_LED_0_GPIO_SEL_TRANSMIT   0x0004
 
#define DP83TC811_IO_CTRL1_LED_0_GPIO_SEL_RECEIVE   0x0005
 
#define DP83TC811_IO_CTRL1_LED_0_GPIO_SEL_CONST_LOW   0x0006
 
#define DP83TC811_IO_CTRL1_LED_0_GPIO_SEL_CONST_HIGH   0x0007
 
#define DP83TC811_IO_CTRL2_CLKOUT_CLOCK_SEL   0x00F0
 
#define DP83TC811_IO_CTRL2_CLKOUT_CLOCK_SEL_XI   0x0000
 
#define DP83TC811_IO_CTRL2_CLKOUT_CLOCK_SEL_TX_TCLK   0x0010
 
#define DP83TC811_IO_CTRL2_CLKOUT_GPIO_SEL   0x0007
 
#define DP83TC811_IO_CTRL2_CLKOUT_GPIO_SEL_LED_2   0x0000
 
#define DP83TC811_IO_CTRL2_CLKOUT_GPIO_SEL_CLOCK   0x0001
 
#define DP83TC811_IO_CTRL2_CLKOUT_GPIO_SEL_WOL   0x0002
 
#define DP83TC811_IO_CTRL2_CLKOUT_GPIO_SEL_UNDERVOLTAGE   0x0003
 
#define DP83TC811_IO_CTRL2_CLKOUT_GPIO_SEL_TRANSMIT   0x0004
 
#define DP83TC811_IO_CTRL2_CLKOUT_GPIO_SEL_RECEIVE   0x0005
 
#define DP83TC811_IO_CTRL2_CLKOUT_GPIO_SEL_CONST_LOW   0x0006
 
#define DP83TC811_IO_CTRL2_CLKOUT_GPIO_SEL_CONST_HIGH   0x0007
 
#define DP83TC811_STRAP_LED_1   0xC000
 
#define DP83TC811_STRAP_LED_1_MODE1   0x0000
 
#define DP83TC811_STRAP_LED_1_MODE2   0x4000
 
#define DP83TC811_STRAP_LED_1_MODE3   0x8000
 
#define DP83TC811_STRAP_LED_1_MODE4   0xC000
 
#define DP83TC811_STRAP_RX_DV   0x3000
 
#define DP83TC811_STRAP_RX_DV_MODE1   0x0000
 
#define DP83TC811_STRAP_RX_DV_MODE2   0x1000
 
#define DP83TC811_STRAP_RX_DV_MODE3   0x2000
 
#define DP83TC811_STRAP_RX_DV_MODE4   0x3000
 
#define DP83TC811_STRAP_RX_ER   0x0C00
 
#define DP83TC811_STRAP_RX_ER_MODE1   0x0000
 
#define DP83TC811_STRAP_RX_ER_MODE2   0x0400
 
#define DP83TC811_STRAP_RX_ER_MODE3   0x0800
 
#define DP83TC811_STRAP_RX_ER_MODE4   0x0C00
 
#define DP83TC811_STRAP_LED_0   0x0300
 
#define DP83TC811_STRAP_LED_0_MODE1   0x0000
 
#define DP83TC811_STRAP_LED_0_MODE2   0x0100
 
#define DP83TC811_STRAP_LED_0_MODE3   0x0200
 
#define DP83TC811_STRAP_LED_0_MODE4   0x0300
 
#define DP83TC811_STRAP_RX_D0   0x00C0
 
#define DP83TC811_STRAP_RX_D0_MODE1   0x0000
 
#define DP83TC811_STRAP_RX_D0_MODE2   0x0040
 
#define DP83TC811_STRAP_RX_D0_MODE3   0x0080
 
#define DP83TC811_STRAP_RX_D0_MODE4   0x00C0
 
#define DP83TC811_STRAP_RX_D1   0x0030
 
#define DP83TC811_STRAP_RX_D1_MODE1   0x0000
 
#define DP83TC811_STRAP_RX_D1_MODE2   0x0010
 
#define DP83TC811_STRAP_RX_D1_MODE3   0x0020
 
#define DP83TC811_STRAP_RX_D1_MODE4   0x0030
 
#define DP83TC811_STRAP_RX_D2   0x000C
 
#define DP83TC811_STRAP_RX_D2_MODE1   0x0000
 
#define DP83TC811_STRAP_RX_D2_MODE2   0x0004
 
#define DP83TC811_STRAP_RX_D2_MODE3   0x0008
 
#define DP83TC811_STRAP_RX_D2_MODE4   0x000C
 
#define DP83TC811_STRAP_RX_D3   0x0003
 
#define DP83TC811_STRAP_RX_D3_MODE1   0x0000
 
#define DP83TC811_STRAP_RX_D3_MODE2   0x0001
 
#define DP83TC811_STRAP_RX_D3_MODE3   0x0002
 
#define DP83TC811_STRAP_RX_D3_MODE4   0x0003
 
#define DP83TC811_LED_CFG2_LED_2_POL   0x0400
 
#define DP83TC811_LED_CFG2_LED_2_OVERRIDE_VAL   0x0200
 
#define DP83TC811_LED_CFG2_LED_2_OVERRIDE_EN   0x0100
 
#define DP83TC811_LED_CFG2_LED_1_POL   0x0040
 
#define DP83TC811_LED_CFG2_LED_1_OVERRIDE_VAL   0x0020
 
#define DP83TC811_LED_CFG2_LED_1_OVERRIDE_EN   0x0010
 
#define DP83TC811_LED_CFG2_LED_0_POL   0x0004
 
#define DP83TC811_LED_CFG2_LED_0_OVERRIDE_VAL   0x0002
 
#define DP83TC811_LED_CFG2_LED_0_OVERRIDE_EN   0x0001
 
#define DP83TC811_PLR_CFG_POL_VALUE   0x2000
 
#define DP83TC811_PLR_CFG_FORCE_POL_EN   0x1000
 

Functions

error_t dp83tc811Init (NetInterface *interface)
 DP83TC811 PHY transceiver initialization. More...
 
void dp83tc811Tick (NetInterface *interface)
 DP83TC811 timer handler. More...
 
void dp83tc811EnableIrq (NetInterface *interface)
 Enable interrupts. More...
 
void dp83tc811DisableIrq (NetInterface *interface)
 Disable interrupts. More...
 
void dp83tc811EventHandler (NetInterface *interface)
 DP83TC811 event handler. More...
 
void dp83tc811WritePhyReg (NetInterface *interface, uint8_t address, uint16_t data)
 Write PHY register. More...
 
uint16_t dp83tc811ReadPhyReg (NetInterface *interface, uint8_t address)
 Read PHY register. More...
 
void dp83tc811DumpPhyReg (NetInterface *interface)
 Dump PHY registers for debugging purpose. More...
 
void dp83tc811WriteMmdReg (NetInterface *interface, uint16_t address, uint16_t data)
 Write MMD extended register. More...
 
uint16_t dp83tc811ReadMmdReg (NetInterface *interface, uint16_t address)
 Read MMD extended register. More...
 
void dp83tc811WriteMmd1Reg (NetInterface *interface, uint16_t address, uint16_t data)
 Write MMD1 extended register. More...
 
uint16_t dp83tc811ReadMmd1Reg (NetInterface *interface, uint16_t address)
 Read MMD1 extended register. More...
 

Variables

const PhyDriver dp83tc811PhyDriver
 DP83TC811 Ethernet PHY driver. More...
 

Detailed Description

DP83TC811 Ethernet PHY transceiver.

License

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

Copyright (C) 2010-2019 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
1.9.6

Definition in file dp83tc811_driver.h.

Macro Definition Documentation

◆ DP83TC811_ADDAR

#define DP83TC811_ADDAR   0x0E

Definition at line 51 of file dp83tc811_driver.h.

◆ DP83TC811_AUTO_PHY

#define DP83TC811_AUTO_PHY   0x018B

Definition at line 71 of file dp83tc811_driver.h.

◆ DP83TC811_AUTO_PHY_AUTONOMOUS_COMMAND

#define DP83TC811_AUTO_PHY_AUTONOMOUS_COMMAND   0x0040

Definition at line 310 of file dp83tc811_driver.h.

◆ DP83TC811_AUTO_PHY_LPS_TRANSMISSION_EN

#define DP83TC811_AUTO_PHY_LPS_TRANSMISSION_EN   0x0001

Definition at line 312 of file dp83tc811_driver.h.

◆ DP83TC811_AUTO_PHY_SLEEP_EN

#define DP83TC811_AUTO_PHY_SLEEP_EN   0x0002

Definition at line 311 of file dp83tc811_driver.h.

◆ DP83TC811_BICTSR1

#define DP83TC811_BICTSR1   0x1B

Definition at line 60 of file dp83tc811_driver.h.

◆ DP83TC811_BICTSR1_BIST_ERROR_CNT

#define DP83TC811_BICTSR1_BIST_ERROR_CNT   0xFF00

Definition at line 268 of file dp83tc811_driver.h.

◆ DP83TC811_BICTSR1_BIST_IPG_LENGTH

#define DP83TC811_BICTSR1_BIST_IPG_LENGTH   0x00FF

Definition at line 269 of file dp83tc811_driver.h.

◆ DP83TC811_BICTSR2

#define DP83TC811_BICTSR2   0x1C

Definition at line 61 of file dp83tc811_driver.h.

◆ DP83TC811_BICTSR2_BIST_PACKET_LENGTH

#define DP83TC811_BICTSR2_BIST_PACKET_LENGTH   0x07FF

Definition at line 272 of file dp83tc811_driver.h.

◆ DP83TC811_BISTCR

#define DP83TC811_BISTCR   0x16

Definition at line 57 of file dp83tc811_driver.h.

◆ DP83TC811_BISTCR_BIST_ERROR_COUNTER_MODE

#define DP83TC811_BISTCR_BIST_ERROR_COUNTER_MODE   0x4000

Definition at line 240 of file dp83tc811_driver.h.

◆ DP83TC811_BISTCR_LOOPBACK_SELECT

#define DP83TC811_BISTCR_LOOPBACK_SELECT   0x007C

Definition at line 246 of file dp83tc811_driver.h.

◆ DP83TC811_BISTCR_PACKET_GENERATION_EN

#define DP83TC811_BISTCR_PACKET_GENERATION_EN   0x1000

Definition at line 242 of file dp83tc811_driver.h.

◆ DP83TC811_BISTCR_PACKET_GENERATOR_STATUS

#define DP83TC811_BISTCR_PACKET_GENERATOR_STATUS   0x0200

Definition at line 245 of file dp83tc811_driver.h.

◆ DP83TC811_BISTCR_PRBS_CHECKER_LOCK_SYNC

#define DP83TC811_BISTCR_PRBS_CHECKER_LOCK_SYNC   0x0800

Definition at line 243 of file dp83tc811_driver.h.

◆ DP83TC811_BISTCR_PRBS_CHECKER_SYNC_LOSS

#define DP83TC811_BISTCR_PRBS_CHECKER_SYNC_LOSS   0x0400

Definition at line 244 of file dp83tc811_driver.h.

◆ DP83TC811_BISTCR_PRBS_PACKET_TYPE

#define DP83TC811_BISTCR_PRBS_PACKET_TYPE   0x2000

Definition at line 241 of file dp83tc811_driver.h.

◆ DP83TC811_BMCR

#define DP83TC811_BMCR   0x00

Definition at line 45 of file dp83tc811_driver.h.

◆ DP83TC811_BMCR_AN_EN

#define DP83TC811_BMCR_AN_EN   0x1000

Definition at line 158 of file dp83tc811_driver.h.

◆ DP83TC811_BMCR_ISOLATE

#define DP83TC811_BMCR_ISOLATE   0x0400

Definition at line 160 of file dp83tc811_driver.h.

◆ DP83TC811_BMCR_LOOPBACK

#define DP83TC811_BMCR_LOOPBACK   0x4000

Definition at line 156 of file dp83tc811_driver.h.

◆ DP83TC811_BMCR_POWER_DOWN

#define DP83TC811_BMCR_POWER_DOWN   0x0800

Definition at line 159 of file dp83tc811_driver.h.

◆ DP83TC811_BMCR_RESET

#define DP83TC811_BMCR_RESET   0x8000

Definition at line 155 of file dp83tc811_driver.h.

◆ DP83TC811_BMCR_SPEED_SEL

#define DP83TC811_BMCR_SPEED_SEL   0x2000

Definition at line 157 of file dp83tc811_driver.h.

◆ DP83TC811_BMSR

#define DP83TC811_BMSR   0x01

Definition at line 46 of file dp83tc811_driver.h.

◆ DP83TC811_BMSR_100BT4

#define DP83TC811_BMSR_100BT4   0x8000

Definition at line 163 of file dp83tc811_driver.h.

◆ DP83TC811_BMSR_100BTX_FD

#define DP83TC811_BMSR_100BTX_FD   0x4000

Definition at line 164 of file dp83tc811_driver.h.

◆ DP83TC811_BMSR_100BTX_HD

#define DP83TC811_BMSR_100BTX_HD   0x2000

Definition at line 165 of file dp83tc811_driver.h.

◆ DP83TC811_BMSR_10BT_FD

#define DP83TC811_BMSR_10BT_FD   0x1000

Definition at line 166 of file dp83tc811_driver.h.

◆ DP83TC811_BMSR_10BT_HD

#define DP83TC811_BMSR_10BT_HD   0x0800

Definition at line 167 of file dp83tc811_driver.h.

◆ DP83TC811_BMSR_AN_CAPABLE

#define DP83TC811_BMSR_AN_CAPABLE   0x0008

Definition at line 171 of file dp83tc811_driver.h.

◆ DP83TC811_BMSR_AN_COMPLETE

#define DP83TC811_BMSR_AN_COMPLETE   0x0020

Definition at line 169 of file dp83tc811_driver.h.

◆ DP83TC811_BMSR_EXTENDED_CAPABLE

#define DP83TC811_BMSR_EXTENDED_CAPABLE   0x0001

Definition at line 174 of file dp83tc811_driver.h.

◆ DP83TC811_BMSR_JABBER_DETECT

#define DP83TC811_BMSR_JABBER_DETECT   0x0002

Definition at line 173 of file dp83tc811_driver.h.

◆ DP83TC811_BMSR_LINK_STATUS

#define DP83TC811_BMSR_LINK_STATUS   0x0004

Definition at line 172 of file dp83tc811_driver.h.

◆ DP83TC811_BMSR_REMOTE_FAULT

#define DP83TC811_BMSR_REMOTE_FAULT   0x0010

Definition at line 170 of file dp83tc811_driver.h.

◆ DP83TC811_BMSR_SMI_PREAMBLE_SUPPR

#define DP83TC811_BMSR_SMI_PREAMBLE_SUPPR   0x0040

Definition at line 168 of file dp83tc811_driver.h.

◆ DP83TC811_DLL_CTRL

#define DP83TC811_DLL_CTRL   0x0446

Definition at line 77 of file dp83tc811_driver.h.

◆ DP83TC811_DLL_CTRL_DLL_RX_DELAY_CONTROL

#define DP83TC811_DLL_CTRL_DLL_RX_DELAY_CONTROL   0x000F

Definition at line 333 of file dp83tc811_driver.h.

◆ DP83TC811_DLL_CTRL_DLL_TX_DELAY_CONTROL

#define DP83TC811_DLL_CTRL_DLL_TX_DELAY_CONTROL   0x00F0

Definition at line 332 of file dp83tc811_driver.h.

◆ DP83TC811_ESDS

#define DP83TC811_ESDS   0x0448

Definition at line 78 of file dp83tc811_driver.h.

◆ DP83TC811_ESDS_MDI_ESD_EVENT_CNT

#define DP83TC811_ESDS_MDI_ESD_EVENT_CNT   0x003F

Definition at line 337 of file dp83tc811_driver.h.

◆ DP83TC811_ESDS_XMII_ESD_EVENT_CNT

#define DP83TC811_ESDS_XMII_ESD_EVENT_CNT   0x3F00

Definition at line 336 of file dp83tc811_driver.h.

◆ DP83TC811_FCSCR

#define DP83TC811_FCSCR   0x14

Definition at line 55 of file dp83tc811_driver.h.

◆ DP83TC811_FCSCR_FALSE_CARRIER_EVENT_CNT

#define DP83TC811_FCSCR_FALSE_CARRIER_EVENT_CNT   0x00FF

Definition at line 237 of file dp83tc811_driver.h.

◆ DP83TC811_INT_STAT1

#define DP83TC811_INT_STAT1   0x12

Definition at line 53 of file dp83tc811_driver.h.

◆ DP83TC811_INT_STAT1_ENERGY_DETECT_IE

#define DP83TC811_INT_STAT1_ENERGY_DETECT_IE   0x0040

Definition at line 214 of file dp83tc811_driver.h.

◆ DP83TC811_INT_STAT1_ENERGY_DETECT_IF

#define DP83TC811_INT_STAT1_ENERGY_DETECT_IF   0x4000

Definition at line 206 of file dp83tc811_driver.h.

◆ DP83TC811_INT_STAT1_ESD_EVENT_IE

#define DP83TC811_INT_STAT1_ESD_EVENT_IE   0x0008

Definition at line 217 of file dp83tc811_driver.h.

◆ DP83TC811_INT_STAT1_ESD_EVENT_IF

#define DP83TC811_INT_STAT1_ESD_EVENT_IF   0x0800

Definition at line 209 of file dp83tc811_driver.h.

◆ DP83TC811_INT_STAT1_FALSE_CARRIER_CNT_HF_IE

#define DP83TC811_INT_STAT1_FALSE_CARRIER_CNT_HF_IE   0x0002

Definition at line 219 of file dp83tc811_driver.h.

◆ DP83TC811_INT_STAT1_FALSE_CARRIER_CNT_HF_IF

#define DP83TC811_INT_STAT1_FALSE_CARRIER_CNT_HF_IF   0x0200

Definition at line 211 of file dp83tc811_driver.h.

◆ DP83TC811_INT_STAT1_LINK_QUALITY_IE

#define DP83TC811_INT_STAT1_LINK_QUALITY_IE   0x0080

Definition at line 213 of file dp83tc811_driver.h.

◆ DP83TC811_INT_STAT1_LINK_QUALITY_IF

#define DP83TC811_INT_STAT1_LINK_QUALITY_IF   0x8000

Definition at line 205 of file dp83tc811_driver.h.

◆ DP83TC811_INT_STAT1_LINK_STATUS_CHANGED_IE

#define DP83TC811_INT_STAT1_LINK_STATUS_CHANGED_IE   0x0020

Definition at line 215 of file dp83tc811_driver.h.

◆ DP83TC811_INT_STAT1_LINK_STATUS_CHANGED_IF

#define DP83TC811_INT_STAT1_LINK_STATUS_CHANGED_IF   0x2000

Definition at line 207 of file dp83tc811_driver.h.

◆ DP83TC811_INT_STAT1_MS_TRAINING_COMPLETE_IE

#define DP83TC811_INT_STAT1_MS_TRAINING_COMPLETE_IE   0x0004

Definition at line 218 of file dp83tc811_driver.h.

◆ DP83TC811_INT_STAT1_MS_TRAINING_COMPLETE_IF

#define DP83TC811_INT_STAT1_MS_TRAINING_COMPLETE_IF   0x0400

Definition at line 210 of file dp83tc811_driver.h.

◆ DP83TC811_INT_STAT1_RECEIVE_ERROR_CNT_HF_IE

#define DP83TC811_INT_STAT1_RECEIVE_ERROR_CNT_HF_IE   0x0001

Definition at line 220 of file dp83tc811_driver.h.

◆ DP83TC811_INT_STAT1_RECEIVE_ERROR_CNT_HF_IF

#define DP83TC811_INT_STAT1_RECEIVE_ERROR_CNT_HF_IF   0x0100

Definition at line 212 of file dp83tc811_driver.h.

◆ DP83TC811_INT_STAT1_WOL_IE

#define DP83TC811_INT_STAT1_WOL_IE   0x0010

Definition at line 216 of file dp83tc811_driver.h.

◆ DP83TC811_INT_STAT1_WOL_IF

#define DP83TC811_INT_STAT1_WOL_IF   0x1000

Definition at line 208 of file dp83tc811_driver.h.

◆ DP83TC811_INT_STAT2

#define DP83TC811_INT_STAT2   0x13

Definition at line 54 of file dp83tc811_driver.h.

◆ DP83TC811_INT_STAT2_JABBER_DETECT_IE

#define DP83TC811_INT_STAT2_JABBER_DETECT_IE   0x0001

Definition at line 234 of file dp83tc811_driver.h.

◆ DP83TC811_INT_STAT2_JABBER_DETECT_IF

#define DP83TC811_INT_STAT2_JABBER_DETECT_IF   0x0100

Definition at line 228 of file dp83tc811_driver.h.

◆ DP83TC811_INT_STAT2_OVERTEMPERATURE_IE

#define DP83TC811_INT_STAT2_OVERTEMPERATURE_IE   0x0008

Definition at line 231 of file dp83tc811_driver.h.

◆ DP83TC811_INT_STAT2_OVERTEMPERATURE_IF

#define DP83TC811_INT_STAT2_OVERTEMPERATURE_IF   0x0800

Definition at line 225 of file dp83tc811_driver.h.

◆ DP83TC811_INT_STAT2_OVERVOLTAGE_IE

#define DP83TC811_INT_STAT2_OVERVOLTAGE_IE   0x0040

Definition at line 230 of file dp83tc811_driver.h.

◆ DP83TC811_INT_STAT2_OVERVOLTAGE_IF

#define DP83TC811_INT_STAT2_OVERVOLTAGE_IF   0x4000

Definition at line 224 of file dp83tc811_driver.h.

◆ DP83TC811_INT_STAT2_POLARITY_CHANGE_IE

#define DP83TC811_INT_STAT2_POLARITY_CHANGE_IE   0x0002

Definition at line 233 of file dp83tc811_driver.h.

◆ DP83TC811_INT_STAT2_POLARITY_CHANGE_IF

#define DP83TC811_INT_STAT2_POLARITY_CHANGE_IF   0x0200

Definition at line 227 of file dp83tc811_driver.h.

◆ DP83TC811_INT_STAT2_SLEEP_MODE_IE

#define DP83TC811_INT_STAT2_SLEEP_MODE_IE   0x0004

Definition at line 232 of file dp83tc811_driver.h.

◆ DP83TC811_INT_STAT2_SLEEP_MODE_IF

#define DP83TC811_INT_STAT2_SLEEP_MODE_IF   0x0400

Definition at line 226 of file dp83tc811_driver.h.

◆ DP83TC811_INT_STAT2_UNDERVOLTAGE_IE

#define DP83TC811_INT_STAT2_UNDERVOLTAGE_IE   0x0080

Definition at line 229 of file dp83tc811_driver.h.

◆ DP83TC811_INT_STAT2_UNDERVOLTAGE_IF

#define DP83TC811_INT_STAT2_UNDERVOLTAGE_IF   0x8000

Definition at line 223 of file dp83tc811_driver.h.

◆ DP83TC811_INT_STAT3

#define DP83TC811_INT_STAT3   0x18

Definition at line 59 of file dp83tc811_driver.h.

◆ DP83TC811_INT_STAT3_LPS_IE

#define DP83TC811_INT_STAT3_LPS_IE   0x0001

Definition at line 265 of file dp83tc811_driver.h.

◆ DP83TC811_INT_STAT3_LPS_IF

#define DP83TC811_INT_STAT3_LPS_IF   0x0100

Definition at line 262 of file dp83tc811_driver.h.

◆ DP83TC811_INT_STAT3_NO_FRAME_DETECTED_IE

#define DP83TC811_INT_STAT3_NO_FRAME_DETECTED_IE   0x0008

Definition at line 264 of file dp83tc811_driver.h.

◆ DP83TC811_INT_STAT3_NO_FRAME_DETECTED_IF

#define DP83TC811_INT_STAT3_NO_FRAME_DETECTED_IF   0x0800

Definition at line 261 of file dp83tc811_driver.h.

◆ DP83TC811_INT_STAT3_POR_DONE_IE

#define DP83TC811_INT_STAT3_POR_DONE_IE   0x0010

Definition at line 263 of file dp83tc811_driver.h.

◆ DP83TC811_INT_STAT3_POR_DONE_IF

#define DP83TC811_INT_STAT3_POR_DONE_IF   0x1000

Definition at line 260 of file dp83tc811_driver.h.

◆ DP83TC811_INT_TEST

#define DP83TC811_INT_TEST   0x11

Definition at line 52 of file dp83tc811_driver.h.

◆ DP83TC811_INT_TEST_INTERRUPT_POLARITY

#define DP83TC811_INT_TEST_INTERRUPT_POLARITY   0x0008

Definition at line 201 of file dp83tc811_driver.h.

◆ DP83TC811_INT_TEST_TEST_INTERRUPT

#define DP83TC811_INT_TEST_TEST_INTERRUPT   0x0004

Definition at line 202 of file dp83tc811_driver.h.

◆ DP83TC811_INTER_CFG

#define DP83TC811_INTER_CFG   0x0489

Definition at line 94 of file dp83tc811_driver.h.

◆ DP83TC811_IO_CTRL1

#define DP83TC811_IO_CTRL1   0x0462

Definition at line 81 of file dp83tc811_driver.h.

◆ DP83TC811_IO_CTRL1_LED_0_CLOCK_SEL

#define DP83TC811_IO_CTRL1_LED_0_CLOCK_SEL   0x0070

Definition at line 408 of file dp83tc811_driver.h.

◆ DP83TC811_IO_CTRL1_LED_0_CLOCK_SEL_TX_TCLK

#define DP83TC811_IO_CTRL1_LED_0_CLOCK_SEL_TX_TCLK   0x0010

Definition at line 410 of file dp83tc811_driver.h.

◆ DP83TC811_IO_CTRL1_LED_0_CLOCK_SEL_XI

#define DP83TC811_IO_CTRL1_LED_0_CLOCK_SEL_XI   0x0000

Definition at line 409 of file dp83tc811_driver.h.

◆ DP83TC811_IO_CTRL1_LED_0_GPIO_SEL

#define DP83TC811_IO_CTRL1_LED_0_GPIO_SEL   0x0007

Definition at line 411 of file dp83tc811_driver.h.

◆ DP83TC811_IO_CTRL1_LED_0_GPIO_SEL_CLOCK

#define DP83TC811_IO_CTRL1_LED_0_GPIO_SEL_CLOCK   0x0001

Definition at line 413 of file dp83tc811_driver.h.

◆ DP83TC811_IO_CTRL1_LED_0_GPIO_SEL_CONST_HIGH

#define DP83TC811_IO_CTRL1_LED_0_GPIO_SEL_CONST_HIGH   0x0007

Definition at line 419 of file dp83tc811_driver.h.

◆ DP83TC811_IO_CTRL1_LED_0_GPIO_SEL_CONST_LOW

#define DP83TC811_IO_CTRL1_LED_0_GPIO_SEL_CONST_LOW   0x0006

Definition at line 418 of file dp83tc811_driver.h.

◆ DP83TC811_IO_CTRL1_LED_0_GPIO_SEL_LED_0

#define DP83TC811_IO_CTRL1_LED_0_GPIO_SEL_LED_0   0x0000

Definition at line 412 of file dp83tc811_driver.h.

◆ DP83TC811_IO_CTRL1_LED_0_GPIO_SEL_RECEIVE

#define DP83TC811_IO_CTRL1_LED_0_GPIO_SEL_RECEIVE   0x0005

Definition at line 417 of file dp83tc811_driver.h.

◆ DP83TC811_IO_CTRL1_LED_0_GPIO_SEL_TRANSMIT

#define DP83TC811_IO_CTRL1_LED_0_GPIO_SEL_TRANSMIT   0x0004

Definition at line 416 of file dp83tc811_driver.h.

◆ DP83TC811_IO_CTRL1_LED_0_GPIO_SEL_UNDERVOLTAGE

#define DP83TC811_IO_CTRL1_LED_0_GPIO_SEL_UNDERVOLTAGE   0x0003

Definition at line 415 of file dp83tc811_driver.h.

◆ DP83TC811_IO_CTRL1_LED_0_GPIO_SEL_WOL

#define DP83TC811_IO_CTRL1_LED_0_GPIO_SEL_WOL   0x0002

Definition at line 414 of file dp83tc811_driver.h.

◆ DP83TC811_IO_CTRL1_LED_1_CLOCK_SEL

#define DP83TC811_IO_CTRL1_LED_1_CLOCK_SEL   0x7000

Definition at line 396 of file dp83tc811_driver.h.

◆ DP83TC811_IO_CTRL1_LED_1_CLOCK_SEL_TX_TCLK

#define DP83TC811_IO_CTRL1_LED_1_CLOCK_SEL_TX_TCLK   0x1000

Definition at line 398 of file dp83tc811_driver.h.

◆ DP83TC811_IO_CTRL1_LED_1_CLOCK_SEL_XI

#define DP83TC811_IO_CTRL1_LED_1_CLOCK_SEL_XI   0x0000

Definition at line 397 of file dp83tc811_driver.h.

◆ DP83TC811_IO_CTRL1_LED_1_GPIO_SEL

#define DP83TC811_IO_CTRL1_LED_1_GPIO_SEL   0x0700

Definition at line 399 of file dp83tc811_driver.h.

◆ DP83TC811_IO_CTRL1_LED_1_GPIO_SEL_CLOCK

#define DP83TC811_IO_CTRL1_LED_1_GPIO_SEL_CLOCK   0x0100

Definition at line 401 of file dp83tc811_driver.h.

◆ DP83TC811_IO_CTRL1_LED_1_GPIO_SEL_CONST_HIGH

#define DP83TC811_IO_CTRL1_LED_1_GPIO_SEL_CONST_HIGH   0x0700

Definition at line 407 of file dp83tc811_driver.h.

◆ DP83TC811_IO_CTRL1_LED_1_GPIO_SEL_CONST_LOW

#define DP83TC811_IO_CTRL1_LED_1_GPIO_SEL_CONST_LOW   0x0600

Definition at line 406 of file dp83tc811_driver.h.

◆ DP83TC811_IO_CTRL1_LED_1_GPIO_SEL_LED_1

#define DP83TC811_IO_CTRL1_LED_1_GPIO_SEL_LED_1   0x0000

Definition at line 400 of file dp83tc811_driver.h.

◆ DP83TC811_IO_CTRL1_LED_1_GPIO_SEL_RECEIVE

#define DP83TC811_IO_CTRL1_LED_1_GPIO_SEL_RECEIVE   0x0500

Definition at line 405 of file dp83tc811_driver.h.

◆ DP83TC811_IO_CTRL1_LED_1_GPIO_SEL_TRANSMIT

#define DP83TC811_IO_CTRL1_LED_1_GPIO_SEL_TRANSMIT   0x0400

Definition at line 404 of file dp83tc811_driver.h.

◆ DP83TC811_IO_CTRL1_LED_1_GPIO_SEL_UNDERVOLTAGE

#define DP83TC811_IO_CTRL1_LED_1_GPIO_SEL_UNDERVOLTAGE   0x0300

Definition at line 403 of file dp83tc811_driver.h.

◆ DP83TC811_IO_CTRL1_LED_1_GPIO_SEL_WOL

#define DP83TC811_IO_CTRL1_LED_1_GPIO_SEL_WOL   0x0200

Definition at line 402 of file dp83tc811_driver.h.

◆ DP83TC811_IO_CTRL2

#define DP83TC811_IO_CTRL2   0x0463

Definition at line 82 of file dp83tc811_driver.h.

◆ DP83TC811_IO_CTRL2_CLKOUT_CLOCK_SEL

#define DP83TC811_IO_CTRL2_CLKOUT_CLOCK_SEL   0x00F0

Definition at line 422 of file dp83tc811_driver.h.

◆ DP83TC811_IO_CTRL2_CLKOUT_CLOCK_SEL_TX_TCLK

#define DP83TC811_IO_CTRL2_CLKOUT_CLOCK_SEL_TX_TCLK   0x0010

Definition at line 424 of file dp83tc811_driver.h.

◆ DP83TC811_IO_CTRL2_CLKOUT_CLOCK_SEL_XI

#define DP83TC811_IO_CTRL2_CLKOUT_CLOCK_SEL_XI   0x0000

Definition at line 423 of file dp83tc811_driver.h.

◆ DP83TC811_IO_CTRL2_CLKOUT_GPIO_SEL

#define DP83TC811_IO_CTRL2_CLKOUT_GPIO_SEL   0x0007

Definition at line 425 of file dp83tc811_driver.h.

◆ DP83TC811_IO_CTRL2_CLKOUT_GPIO_SEL_CLOCK

#define DP83TC811_IO_CTRL2_CLKOUT_GPIO_SEL_CLOCK   0x0001

Definition at line 427 of file dp83tc811_driver.h.

◆ DP83TC811_IO_CTRL2_CLKOUT_GPIO_SEL_CONST_HIGH

#define DP83TC811_IO_CTRL2_CLKOUT_GPIO_SEL_CONST_HIGH   0x0007

Definition at line 433 of file dp83tc811_driver.h.

◆ DP83TC811_IO_CTRL2_CLKOUT_GPIO_SEL_CONST_LOW

#define DP83TC811_IO_CTRL2_CLKOUT_GPIO_SEL_CONST_LOW   0x0006

Definition at line 432 of file dp83tc811_driver.h.

◆ DP83TC811_IO_CTRL2_CLKOUT_GPIO_SEL_LED_2

#define DP83TC811_IO_CTRL2_CLKOUT_GPIO_SEL_LED_2   0x0000

Definition at line 426 of file dp83tc811_driver.h.

◆ DP83TC811_IO_CTRL2_CLKOUT_GPIO_SEL_RECEIVE

#define DP83TC811_IO_CTRL2_CLKOUT_GPIO_SEL_RECEIVE   0x0005

Definition at line 431 of file dp83tc811_driver.h.

◆ DP83TC811_IO_CTRL2_CLKOUT_GPIO_SEL_TRANSMIT

#define DP83TC811_IO_CTRL2_CLKOUT_GPIO_SEL_TRANSMIT   0x0004

Definition at line 430 of file dp83tc811_driver.h.

◆ DP83TC811_IO_CTRL2_CLKOUT_GPIO_SEL_UNDERVOLTAGE

#define DP83TC811_IO_CTRL2_CLKOUT_GPIO_SEL_UNDERVOLTAGE   0x0003

Definition at line 429 of file dp83tc811_driver.h.

◆ DP83TC811_IO_CTRL2_CLKOUT_GPIO_SEL_WOL

#define DP83TC811_IO_CTRL2_CLKOUT_GPIO_SEL_WOL   0x0002

Definition at line 428 of file dp83tc811_driver.h.

◆ DP83TC811_JAB_CFG

#define DP83TC811_JAB_CFG   0x0496

Definition at line 97 of file dp83tc811_driver.h.

◆ DP83TC811_LD_CTRL

#define DP83TC811_LD_CTRL   0x0400

Definition at line 75 of file dp83tc811_driver.h.

◆ DP83TC811_LD_CTRL_LINE_DRIVER_SERIES_TERM

#define DP83TC811_LD_CTRL_LINE_DRIVER_SERIES_TERM   0x1F00

Definition at line 326 of file dp83tc811_driver.h.

◆ DP83TC811_LDG_CTRL1

#define DP83TC811_LDG_CTRL1   0x0401

Definition at line 76 of file dp83tc811_driver.h.

◆ DP83TC811_LDG_CTRL1_FINE_GAIN_CONTROL_MDI

#define DP83TC811_LDG_CTRL1_FINE_GAIN_CONTROL_MDI   0x000F

Definition at line 329 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG1

#define DP83TC811_LED_CFG1   0x0460

Definition at line 79 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG1_LED_0_CTRL

#define DP83TC811_LED_CFG1_LED_0_CTRL   0x000F

Definition at line 365 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG1_LED_0_CTRL_LINK_LOST

#define DP83TC811_LED_CFG1_LED_0_CTRL_LINK_LOST   0x0009

Definition at line 373 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG1_LED_0_CTRL_LINK_OK

#define DP83TC811_LED_CFG1_LED_0_CTRL_LINK_OK   0x0000

Definition at line 366 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG1_LED_0_CTRL_LINK_OK_MASTER

#define DP83TC811_LED_CFG1_LED_0_CTRL_LINK_OK_MASTER   0x0004

Definition at line 370 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG1_LED_0_CTRL_LINK_OK_RX_ACT

#define DP83TC811_LED_CFG1_LED_0_CTRL_LINK_OK_RX_ACT   0x0003

Definition at line 369 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG1_LED_0_CTRL_LINK_OK_SLAVE

#define DP83TC811_LED_CFG1_LED_0_CTRL_LINK_OK_SLAVE   0x0005

Definition at line 371 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG1_LED_0_CTRL_LINK_OK_TX_ACT

#define DP83TC811_LED_CFG1_LED_0_CTRL_LINK_OK_TX_ACT   0x0002

Definition at line 368 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG1_LED_0_CTRL_LINK_OK_TX_RX_ACT

#define DP83TC811_LED_CFG1_LED_0_CTRL_LINK_OK_TX_RX_ACT   0x0001

Definition at line 367 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG1_LED_0_CTRL_PRBS_ERR

#define DP83TC811_LED_CFG1_LED_0_CTRL_PRBS_ERR   0x000A

Definition at line 374 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG1_LED_0_CTRL_TX_RX_ACT

#define DP83TC811_LED_CFG1_LED_0_CTRL_TX_RX_ACT   0x0006

Definition at line 372 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG1_LED_1_CTRL

#define DP83TC811_LED_CFG1_LED_1_CTRL   0x00F0

Definition at line 355 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG1_LED_1_CTRL_LINK_LOST

#define DP83TC811_LED_CFG1_LED_1_CTRL_LINK_LOST   0x0090

Definition at line 363 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG1_LED_1_CTRL_LINK_OK

#define DP83TC811_LED_CFG1_LED_1_CTRL_LINK_OK   0x0000

Definition at line 356 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG1_LED_1_CTRL_LINK_OK_MASTER

#define DP83TC811_LED_CFG1_LED_1_CTRL_LINK_OK_MASTER   0x0040

Definition at line 360 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG1_LED_1_CTRL_LINK_OK_RX_ACT

#define DP83TC811_LED_CFG1_LED_1_CTRL_LINK_OK_RX_ACT   0x0030

Definition at line 359 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG1_LED_1_CTRL_LINK_OK_SLAVE

#define DP83TC811_LED_CFG1_LED_1_CTRL_LINK_OK_SLAVE   0x0050

Definition at line 361 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG1_LED_1_CTRL_LINK_OK_TX_ACT

#define DP83TC811_LED_CFG1_LED_1_CTRL_LINK_OK_TX_ACT   0x0020

Definition at line 358 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG1_LED_1_CTRL_LINK_OK_TX_RX_ACT

#define DP83TC811_LED_CFG1_LED_1_CTRL_LINK_OK_TX_RX_ACT   0x0010

Definition at line 357 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG1_LED_1_CTRL_PRBS_ERR

#define DP83TC811_LED_CFG1_LED_1_CTRL_PRBS_ERR   0x00A0

Definition at line 364 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG1_LED_1_CTRL_TX_RX_ACT

#define DP83TC811_LED_CFG1_LED_1_CTRL_TX_RX_ACT   0x0060

Definition at line 362 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG1_LED_2_CTRL

#define DP83TC811_LED_CFG1_LED_2_CTRL   0x0F00

Definition at line 345 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG1_LED_2_CTRL_LINK_LOST

#define DP83TC811_LED_CFG1_LED_2_CTRL_LINK_LOST   0x0900

Definition at line 353 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG1_LED_2_CTRL_LINK_OK

#define DP83TC811_LED_CFG1_LED_2_CTRL_LINK_OK   0x0000

Definition at line 346 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG1_LED_2_CTRL_LINK_OK_MASTER

#define DP83TC811_LED_CFG1_LED_2_CTRL_LINK_OK_MASTER   0x0400

Definition at line 350 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG1_LED_2_CTRL_LINK_OK_RX_ACT

#define DP83TC811_LED_CFG1_LED_2_CTRL_LINK_OK_RX_ACT   0x0300

Definition at line 349 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG1_LED_2_CTRL_LINK_OK_SLAVE

#define DP83TC811_LED_CFG1_LED_2_CTRL_LINK_OK_SLAVE   0x0500

Definition at line 351 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG1_LED_2_CTRL_LINK_OK_TX_ACT

#define DP83TC811_LED_CFG1_LED_2_CTRL_LINK_OK_TX_ACT   0x0200

Definition at line 348 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG1_LED_2_CTRL_LINK_OK_TX_RX_ACT

#define DP83TC811_LED_CFG1_LED_2_CTRL_LINK_OK_TX_RX_ACT   0x0100

Definition at line 347 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG1_LED_2_CTRL_PRBS_ERR

#define DP83TC811_LED_CFG1_LED_2_CTRL_PRBS_ERR   0x0A00

Definition at line 354 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG1_LED_2_CTRL_TX_RX_ACT

#define DP83TC811_LED_CFG1_LED_2_CTRL_TX_RX_ACT   0x0600

Definition at line 352 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG1_LED_BLINK_RATE_CTRL

#define DP83TC811_LED_CFG1_LED_BLINK_RATE_CTRL   0x3000

Definition at line 340 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG1_LED_BLINK_RATE_CTRL_10HZ

#define DP83TC811_LED_CFG1_LED_BLINK_RATE_CTRL_10HZ   0x1000

Definition at line 342 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG1_LED_BLINK_RATE_CTRL_20HZ

#define DP83TC811_LED_CFG1_LED_BLINK_RATE_CTRL_20HZ   0x0000

Definition at line 341 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG1_LED_BLINK_RATE_CTRL_2HZ

#define DP83TC811_LED_CFG1_LED_BLINK_RATE_CTRL_2HZ   0x3000

Definition at line 344 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG1_LED_BLINK_RATE_CTRL_5HZ

#define DP83TC811_LED_CFG1_LED_BLINK_RATE_CTRL_5HZ   0x2000

Definition at line 343 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG2

#define DP83TC811_LED_CFG2   0x0469

Definition at line 84 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG2_LED_0_OVERRIDE_EN

#define DP83TC811_LED_CFG2_LED_0_OVERRIDE_EN   0x0001

Definition at line 486 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG2_LED_0_OVERRIDE_VAL

#define DP83TC811_LED_CFG2_LED_0_OVERRIDE_VAL   0x0002

Definition at line 485 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG2_LED_0_POL

#define DP83TC811_LED_CFG2_LED_0_POL   0x0004

Definition at line 484 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG2_LED_1_OVERRIDE_EN

#define DP83TC811_LED_CFG2_LED_1_OVERRIDE_EN   0x0010

Definition at line 483 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG2_LED_1_OVERRIDE_VAL

#define DP83TC811_LED_CFG2_LED_1_OVERRIDE_VAL   0x0020

Definition at line 482 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG2_LED_1_POL

#define DP83TC811_LED_CFG2_LED_1_POL   0x0040

Definition at line 481 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG2_LED_2_OVERRIDE_EN

#define DP83TC811_LED_CFG2_LED_2_OVERRIDE_EN   0x0100

Definition at line 480 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG2_LED_2_OVERRIDE_VAL

#define DP83TC811_LED_CFG2_LED_2_OVERRIDE_VAL   0x0200

Definition at line 479 of file dp83tc811_driver.h.

◆ DP83TC811_LED_CFG2_LED_2_POL

#define DP83TC811_LED_CFG2_LED_2_POL   0x0400

Definition at line 478 of file dp83tc811_driver.h.

◆ DP83TC811_LPS_CFG

#define DP83TC811_LPS_CFG   0x04E5

Definition at line 145 of file dp83tc811_driver.h.

◆ DP83TC811_LPS_CTRL2

#define DP83TC811_LPS_CTRL2   0x0487

Definition at line 93 of file dp83tc811_driver.h.

◆ DP83TC811_LPS_CTRL3 [1/2]

#define DP83TC811_LPS_CTRL3   0x0493

Definition at line 96 of file dp83tc811_driver.h.

◆ DP83TC811_LPS_CTRL3 [2/2]

#define DP83TC811_LPS_CTRL3   0x0493

Definition at line 96 of file dp83tc811_driver.h.

◆ DP83TC811_LSR

#define DP83TC811_LSR   0x0133

Definition at line 66 of file dp83tc811_driver.h.

◆ DP83TC811_LSR_LINK_STATUS

#define DP83TC811_LSR_LINK_STATUS   0x1000

Definition at line 285 of file dp83tc811_driver.h.

◆ DP83TC811_LSR_LOCAL_RECEIVER_STATUS

#define DP83TC811_LSR_LOCAL_RECEIVER_STATUS   0x0002

Definition at line 287 of file dp83tc811_driver.h.

◆ DP83TC811_LSR_REMOTE_RECEIVER_STATUS

#define DP83TC811_LSR_REMOTE_RECEIVER_STATUS   0x0001

Definition at line 288 of file dp83tc811_driver.h.

◆ DP83TC811_LSR_SCRAMBLER_LOCK

#define DP83TC811_LSR_SCRAMBLER_LOCK   0x0004

Definition at line 286 of file dp83tc811_driver.h.

◆ DP83TC811_MON_CFG1

#define DP83TC811_MON_CFG1   0x0480

Definition at line 86 of file dp83tc811_driver.h.

◆ DP83TC811_MON_CFG2

#define DP83TC811_MON_CFG2   0x0481

Definition at line 87 of file dp83tc811_driver.h.

◆ DP83TC811_MON_CFG3

#define DP83TC811_MON_CFG3   0x0482

Definition at line 88 of file dp83tc811_driver.h.

◆ DP83TC811_MON_STAT1

#define DP83TC811_MON_STAT1   0x0483

Definition at line 89 of file dp83tc811_driver.h.

◆ DP83TC811_MON_STAT2

#define DP83TC811_MON_STAT2   0x0484

Definition at line 90 of file dp83tc811_driver.h.

◆ DP83TC811_PCS_CTRL1

#define DP83TC811_PCS_CTRL1   0x0485

Definition at line 91 of file dp83tc811_driver.h.

◆ DP83TC811_PCS_CTRL2

#define DP83TC811_PCS_CTRL2   0x0486

Definition at line 92 of file dp83tc811_driver.h.

◆ DP83TC811_PHY_ADDR

#define DP83TC811_PHY_ADDR   0

Definition at line 39 of file dp83tc811_driver.h.

◆ DP83TC811_PHYID1

#define DP83TC811_PHYID1   0x02

Definition at line 47 of file dp83tc811_driver.h.

◆ DP83TC811_PHYID1_OUI_MSB

#define DP83TC811_PHYID1_OUI_MSB   0xFFFF

Definition at line 177 of file dp83tc811_driver.h.

◆ DP83TC811_PHYID1_OUI_MSB_DEFAULT

#define DP83TC811_PHYID1_OUI_MSB_DEFAULT   0x2000

Definition at line 178 of file dp83tc811_driver.h.

◆ DP83TC811_PHYID2

#define DP83TC811_PHYID2   0x03

Definition at line 48 of file dp83tc811_driver.h.

◆ DP83TC811_PHYID2_MODEL_NUM

#define DP83TC811_PHYID2_MODEL_NUM   0x03F0

Definition at line 183 of file dp83tc811_driver.h.

◆ DP83TC811_PHYID2_MODEL_NUM_DEFAULT

#define DP83TC811_PHYID2_MODEL_NUM_DEFAULT   0x0250

Definition at line 184 of file dp83tc811_driver.h.

◆ DP83TC811_PHYID2_OUI_LSB

#define DP83TC811_PHYID2_OUI_LSB   0xFC00

Definition at line 181 of file dp83tc811_driver.h.

◆ DP83TC811_PHYID2_OUI_LSB_DEFAULT

#define DP83TC811_PHYID2_OUI_LSB_DEFAULT   0xA000

Definition at line 182 of file dp83tc811_driver.h.

◆ DP83TC811_PHYID2_REVISION_NUM

#define DP83TC811_PHYID2_REVISION_NUM   0x000F

Definition at line 185 of file dp83tc811_driver.h.

◆ DP83TC811_PHYRCR

#define DP83TC811_PHYRCR   0x1F

Definition at line 63 of file dp83tc811_driver.h.

◆ DP83TC811_PHYRCR_HARDWARE_RESET

#define DP83TC811_PHYRCR_HARDWARE_RESET   0x8000

Definition at line 280 of file dp83tc811_driver.h.

◆ DP83TC811_PHYRCR_SOFTWARE_RESET

#define DP83TC811_PHYRCR_SOFTWARE_RESET   0x4000

Definition at line 281 of file dp83tc811_driver.h.

◆ DP83TC811_PHYRCR_STANDBY_MODE

#define DP83TC811_PHYRCR_STANDBY_MODE   0x0080

Definition at line 282 of file dp83tc811_driver.h.

◆ DP83TC811_PLR_CFG

#define DP83TC811_PLR_CFG   0x0475

Definition at line 85 of file dp83tc811_driver.h.

◆ DP83TC811_PLR_CFG_FORCE_POL_EN

#define DP83TC811_PLR_CFG_FORCE_POL_EN   0x1000

Definition at line 490 of file dp83tc811_driver.h.

◆ DP83TC811_PLR_CFG_POL_VALUE

#define DP83TC811_PLR_CFG_POL_VALUE   0x2000

Definition at line 489 of file dp83tc811_driver.h.

◆ DP83TC811_PMA_CTRL1

#define DP83TC811_PMA_CTRL1   0x0007

Definition at line 148 of file dp83tc811_driver.h.

◆ DP83TC811_PMA_CTRL2

#define DP83TC811_PMA_CTRL2   0x0834

Definition at line 151 of file dp83tc811_driver.h.

◆ DP83TC811_PMA_EXT1

#define DP83TC811_PMA_EXT1   0x000B

Definition at line 149 of file dp83tc811_driver.h.

◆ DP83TC811_PMA_EXT2

#define DP83TC811_PMA_EXT2   0x0012

Definition at line 150 of file dp83tc811_driver.h.

◆ DP83TC811_PWRM

#define DP83TC811_PWRM   0x018C

Definition at line 72 of file dp83tc811_driver.h.

◆ DP83TC811_PWRM_NORMAL_COMMAND

#define DP83TC811_PWRM_NORMAL_COMMAND   0x0001

Definition at line 316 of file dp83tc811_driver.h.

◆ DP83TC811_PWRM_SLEEP_REQUEST_COMMAND

#define DP83TC811_PWRM_SLEEP_REQUEST_COMMAND   0x0002

Definition at line 315 of file dp83tc811_driver.h.

◆ DP83TC811_RECR

#define DP83TC811_RECR   0x15

Definition at line 56 of file dp83tc811_driver.h.

◆ DP83TC811_REGCR

#define DP83TC811_REGCR   0x0D

Definition at line 50 of file dp83tc811_driver.h.

◆ DP83TC811_REGCR_COMMAND

#define DP83TC811_REGCR_COMMAND   0xC000

Definition at line 191 of file dp83tc811_driver.h.

◆ DP83TC811_REGCR_COMMAND_ADDR

#define DP83TC811_REGCR_COMMAND_ADDR   0x0000

Definition at line 192 of file dp83tc811_driver.h.

◆ DP83TC811_REGCR_COMMAND_DATA_NO_POST_INC

#define DP83TC811_REGCR_COMMAND_DATA_NO_POST_INC   0x4000

Definition at line 193 of file dp83tc811_driver.h.

◆ DP83TC811_REGCR_COMMAND_DATA_POST_INC_RW

#define DP83TC811_REGCR_COMMAND_DATA_POST_INC_RW   0x8000

Definition at line 194 of file dp83tc811_driver.h.

◆ DP83TC811_REGCR_COMMAND_DATA_POST_INC_W

#define DP83TC811_REGCR_COMMAND_DATA_POST_INC_W   0xC000

Definition at line 195 of file dp83tc811_driver.h.

◆ DP83TC811_REGCR_DEVAD

#define DP83TC811_REGCR_DEVAD   0x001F

Definition at line 196 of file dp83tc811_driver.h.

◆ DP83TC811_REGCR_DEVAD_1

#define DP83TC811_REGCR_DEVAD_1   0x0001

Definition at line 197 of file dp83tc811_driver.h.

◆ DP83TC811_REGCR_DEVAD_31

#define DP83TC811_REGCR_DEVAD_31   0x001F

Definition at line 198 of file dp83tc811_driver.h.

◆ DP83TC811_RXD3CLK

#define DP83TC811_RXD3CLK   0x04E0

Definition at line 144 of file dp83tc811_driver.h.

◆ DP83TC811_RXPAT1

#define DP83TC811_RXPAT1   0x04A8

Definition at line 107 of file dp83tc811_driver.h.

◆ DP83TC811_RXPAT10

#define DP83TC811_RXPAT10   0x04B1

Definition at line 116 of file dp83tc811_driver.h.

◆ DP83TC811_RXPAT11

#define DP83TC811_RXPAT11   0x04B2

Definition at line 117 of file dp83tc811_driver.h.

◆ DP83TC811_RXPAT12

#define DP83TC811_RXPAT12   0x04B3

Definition at line 118 of file dp83tc811_driver.h.

◆ DP83TC811_RXPAT13

#define DP83TC811_RXPAT13   0x04B4

Definition at line 119 of file dp83tc811_driver.h.

◆ DP83TC811_RXPAT14

#define DP83TC811_RXPAT14   0x04B5

Definition at line 120 of file dp83tc811_driver.h.

◆ DP83TC811_RXPAT15

#define DP83TC811_RXPAT15   0x04B6

Definition at line 121 of file dp83tc811_driver.h.

◆ DP83TC811_RXPAT16

#define DP83TC811_RXPAT16   0x04B7

Definition at line 122 of file dp83tc811_driver.h.

◆ DP83TC811_RXPAT17

#define DP83TC811_RXPAT17   0x04B8

Definition at line 123 of file dp83tc811_driver.h.

◆ DP83TC811_RXPAT18

#define DP83TC811_RXPAT18   0x04B9

Definition at line 124 of file dp83tc811_driver.h.

◆ DP83TC811_RXPAT19

#define DP83TC811_RXPAT19   0x04BA

Definition at line 125 of file dp83tc811_driver.h.

◆ DP83TC811_RXPAT2

#define DP83TC811_RXPAT2   0x04A9

Definition at line 108 of file dp83tc811_driver.h.

◆ DP83TC811_RXPAT20

#define DP83TC811_RXPAT20   0x04BB

Definition at line 126 of file dp83tc811_driver.h.

◆ DP83TC811_RXPAT21

#define DP83TC811_RXPAT21   0x04BC

Definition at line 127 of file dp83tc811_driver.h.

◆ DP83TC811_RXPAT22

#define DP83TC811_RXPAT22   0x04BD

Definition at line 128 of file dp83tc811_driver.h.

◆ DP83TC811_RXPAT23

#define DP83TC811_RXPAT23   0x04BE

Definition at line 129 of file dp83tc811_driver.h.

◆ DP83TC811_RXPAT24

#define DP83TC811_RXPAT24   0x04BF

Definition at line 130 of file dp83tc811_driver.h.

◆ DP83TC811_RXPAT25

#define DP83TC811_RXPAT25   0x04C0

Definition at line 131 of file dp83tc811_driver.h.

◆ DP83TC811_RXPAT26

#define DP83TC811_RXPAT26   0x04C1

Definition at line 132 of file dp83tc811_driver.h.

◆ DP83TC811_RXPAT27

#define DP83TC811_RXPAT27   0x04C2

Definition at line 133 of file dp83tc811_driver.h.

◆ DP83TC811_RXPAT28

#define DP83TC811_RXPAT28   0x04C3

Definition at line 134 of file dp83tc811_driver.h.

◆ DP83TC811_RXPAT29

#define DP83TC811_RXPAT29   0x04C4

Definition at line 135 of file dp83tc811_driver.h.

◆ DP83TC811_RXPAT3

#define DP83TC811_RXPAT3   0x04AA

Definition at line 109 of file dp83tc811_driver.h.

◆ DP83TC811_RXPAT30

#define DP83TC811_RXPAT30   0x04C5

Definition at line 136 of file dp83tc811_driver.h.

◆ DP83TC811_RXPAT31

#define DP83TC811_RXPAT31   0x04C6

Definition at line 137 of file dp83tc811_driver.h.

◆ DP83TC811_RXPAT32

#define DP83TC811_RXPAT32   0x04C7

Definition at line 138 of file dp83tc811_driver.h.

◆ DP83TC811_RXPAT4

#define DP83TC811_RXPAT4   0x04AB

Definition at line 110 of file dp83tc811_driver.h.

◆ DP83TC811_RXPAT5

#define DP83TC811_RXPAT5   0x04AC

Definition at line 111 of file dp83tc811_driver.h.

◆ DP83TC811_RXPAT6

#define DP83TC811_RXPAT6   0x04AD

Definition at line 112 of file dp83tc811_driver.h.

◆ DP83TC811_RXPAT7

#define DP83TC811_RXPAT7   0x04AE

Definition at line 113 of file dp83tc811_driver.h.

◆ DP83TC811_RXPAT8

#define DP83TC811_RXPAT8   0x04AF

Definition at line 114 of file dp83tc811_driver.h.

◆ DP83TC811_RXPAT9

#define DP83TC811_RXPAT9   0x04B0

Definition at line 115 of file dp83tc811_driver.h.

◆ DP83TC811_RXPATC

#define DP83TC811_RXPATC   0x04CC

Definition at line 143 of file dp83tc811_driver.h.

◆ DP83TC811_RXPBM1

#define DP83TC811_RXPBM1   0x04C8

Definition at line 139 of file dp83tc811_driver.h.

◆ DP83TC811_RXPBM2

#define DP83TC811_RXPBM2   0x04C9

Definition at line 140 of file dp83tc811_driver.h.

◆ DP83TC811_RXPBM3

#define DP83TC811_RXPBM3   0x04CA

Definition at line 141 of file dp83tc811_driver.h.

◆ DP83TC811_RXPBM4

#define DP83TC811_RXPBM4   0x04CB

Definition at line 142 of file dp83tc811_driver.h.

◆ DP83TC811_RXSOP1

#define DP83TC811_RXSOP1   0x04A5

Definition at line 104 of file dp83tc811_driver.h.

◆ DP83TC811_RXSOP2

#define DP83TC811_RXSOP2   0x04A6

Definition at line 105 of file dp83tc811_driver.h.

◆ DP83TC811_RXSOP3

#define DP83TC811_RXSOP3   0x04A7

Definition at line 106 of file dp83tc811_driver.h.

◆ DP83TC811_SNR

#define DP83TC811_SNR   0x0197

Definition at line 73 of file dp83tc811_driver.h.

◆ DP83TC811_SNR_SNR

#define DP83TC811_SNR_SNR   0x01FF

Definition at line 319 of file dp83tc811_driver.h.

◆ DP83TC811_SQI

#define DP83TC811_SQI   0x0198

Definition at line 74 of file dp83tc811_driver.h.

◆ DP83TC811_SQI_SQI

#define DP83TC811_SQI_SQI   0x00FF

Definition at line 323 of file dp83tc811_driver.h.

◆ DP83TC811_SQI_SQS

#define DP83TC811_SQI_SQS   0x0300

Definition at line 322 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP

#define DP83TC811_STRAP   0x0467

Definition at line 83 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_LED_0

#define DP83TC811_STRAP_LED_0   0x0300

Definition at line 451 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_LED_0_MODE1

#define DP83TC811_STRAP_LED_0_MODE1   0x0000

Definition at line 452 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_LED_0_MODE2

#define DP83TC811_STRAP_LED_0_MODE2   0x0100

Definition at line 453 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_LED_0_MODE3

#define DP83TC811_STRAP_LED_0_MODE3   0x0200

Definition at line 454 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_LED_0_MODE4

#define DP83TC811_STRAP_LED_0_MODE4   0x0300

Definition at line 455 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_LED_1

#define DP83TC811_STRAP_LED_1   0xC000

Definition at line 436 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_LED_1_MODE1

#define DP83TC811_STRAP_LED_1_MODE1   0x0000

Definition at line 437 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_LED_1_MODE2

#define DP83TC811_STRAP_LED_1_MODE2   0x4000

Definition at line 438 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_LED_1_MODE3

#define DP83TC811_STRAP_LED_1_MODE3   0x8000

Definition at line 439 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_LED_1_MODE4

#define DP83TC811_STRAP_LED_1_MODE4   0xC000

Definition at line 440 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_RX_D0

#define DP83TC811_STRAP_RX_D0   0x00C0

Definition at line 456 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_RX_D0_MODE1

#define DP83TC811_STRAP_RX_D0_MODE1   0x0000

Definition at line 457 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_RX_D0_MODE2

#define DP83TC811_STRAP_RX_D0_MODE2   0x0040

Definition at line 458 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_RX_D0_MODE3

#define DP83TC811_STRAP_RX_D0_MODE3   0x0080

Definition at line 459 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_RX_D0_MODE4

#define DP83TC811_STRAP_RX_D0_MODE4   0x00C0

Definition at line 460 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_RX_D1

#define DP83TC811_STRAP_RX_D1   0x0030

Definition at line 461 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_RX_D1_MODE1

#define DP83TC811_STRAP_RX_D1_MODE1   0x0000

Definition at line 462 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_RX_D1_MODE2

#define DP83TC811_STRAP_RX_D1_MODE2   0x0010

Definition at line 463 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_RX_D1_MODE3

#define DP83TC811_STRAP_RX_D1_MODE3   0x0020

Definition at line 464 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_RX_D1_MODE4

#define DP83TC811_STRAP_RX_D1_MODE4   0x0030

Definition at line 465 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_RX_D2

#define DP83TC811_STRAP_RX_D2   0x000C

Definition at line 466 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_RX_D2_MODE1

#define DP83TC811_STRAP_RX_D2_MODE1   0x0000

Definition at line 467 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_RX_D2_MODE2

#define DP83TC811_STRAP_RX_D2_MODE2   0x0004

Definition at line 468 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_RX_D2_MODE3

#define DP83TC811_STRAP_RX_D2_MODE3   0x0008

Definition at line 469 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_RX_D2_MODE4

#define DP83TC811_STRAP_RX_D2_MODE4   0x000C

Definition at line 470 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_RX_D3

#define DP83TC811_STRAP_RX_D3   0x0003

Definition at line 471 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_RX_D3_MODE1

#define DP83TC811_STRAP_RX_D3_MODE1   0x0000

Definition at line 472 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_RX_D3_MODE2

#define DP83TC811_STRAP_RX_D3_MODE2   0x0001

Definition at line 473 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_RX_D3_MODE3

#define DP83TC811_STRAP_RX_D3_MODE3   0x0002

Definition at line 474 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_RX_D3_MODE4

#define DP83TC811_STRAP_RX_D3_MODE4   0x0003

Definition at line 475 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_RX_DV

#define DP83TC811_STRAP_RX_DV   0x3000

Definition at line 441 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_RX_DV_MODE1

#define DP83TC811_STRAP_RX_DV_MODE1   0x0000

Definition at line 442 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_RX_DV_MODE2

#define DP83TC811_STRAP_RX_DV_MODE2   0x1000

Definition at line 443 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_RX_DV_MODE3

#define DP83TC811_STRAP_RX_DV_MODE3   0x2000

Definition at line 444 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_RX_DV_MODE4

#define DP83TC811_STRAP_RX_DV_MODE4   0x3000

Definition at line 445 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_RX_ER

#define DP83TC811_STRAP_RX_ER   0x0C00

Definition at line 446 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_RX_ER_MODE1

#define DP83TC811_STRAP_RX_ER_MODE1   0x0000

Definition at line 447 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_RX_ER_MODE2

#define DP83TC811_STRAP_RX_ER_MODE2   0x0400

Definition at line 448 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_RX_ER_MODE3

#define DP83TC811_STRAP_RX_ER_MODE3   0x0800

Definition at line 449 of file dp83tc811_driver.h.

◆ DP83TC811_STRAP_RX_ER_MODE4

#define DP83TC811_STRAP_RX_ER_MODE4   0x0C00

Definition at line 450 of file dp83tc811_driver.h.

◆ DP83TC811_TDR

#define DP83TC811_TDR   0x1E

Definition at line 62 of file dp83tc811_driver.h.

◆ DP83TC811_TDR_AUTO

#define DP83TC811_TDR_AUTO   0x09

Definition at line 49 of file dp83tc811_driver.h.

◆ DP83TC811_TDR_AUTO_TDR_AUTO_RUN

#define DP83TC811_TDR_AUTO_TDR_AUTO_RUN   0x0100

Definition at line 188 of file dp83tc811_driver.h.

◆ DP83TC811_TDR_START

#define DP83TC811_TDR_START   0x8000

Definition at line 275 of file dp83tc811_driver.h.

◆ DP83TC811_TDR_STATUS

#define DP83TC811_TDR_STATUS   0x0002

Definition at line 276 of file dp83tc811_driver.h.

◆ DP83TC811_TDR_TEST_FAIL

#define DP83TC811_TDR_TEST_FAIL   0x0001

Definition at line 277 of file dp83tc811_driver.h.

◆ DP83TC811_TDRLR1

#define DP83TC811_TDRLR1   0x0180

Definition at line 68 of file dp83tc811_driver.h.

◆ DP83TC811_TDRLR1_LOCATION_1

#define DP83TC811_TDRLR1_LOCATION_1   0x00FF

Definition at line 297 of file dp83tc811_driver.h.

◆ DP83TC811_TDRLR1_LOCATION_2

#define DP83TC811_TDRLR1_LOCATION_2   0xFF00

Definition at line 296 of file dp83tc811_driver.h.

◆ DP83TC811_TDRLR2

#define DP83TC811_TDRLR2   0x0181

Definition at line 69 of file dp83tc811_driver.h.

◆ DP83TC811_TDRLR2_LOCATION_3

#define DP83TC811_TDRLR2_LOCATION_3   0x00FF

Definition at line 301 of file dp83tc811_driver.h.

◆ DP83TC811_TDRLR2_LOCATION_4

#define DP83TC811_TDRLR2_LOCATION_4   0xFF00

Definition at line 300 of file dp83tc811_driver.h.

◆ DP83TC811_TDRPT

#define DP83TC811_TDRPT   0x018A

Definition at line 70 of file dp83tc811_driver.h.

◆ DP83TC811_TDRPT_PEAK_1_TYPE

#define DP83TC811_TDRPT_PEAK_1_TYPE   0x0800

Definition at line 307 of file dp83tc811_driver.h.

◆ DP83TC811_TDRPT_PEAK_2_TYPE

#define DP83TC811_TDRPT_PEAK_2_TYPE   0x1000

Definition at line 306 of file dp83tc811_driver.h.

◆ DP83TC811_TDRPT_PEAK_3_TYPE

#define DP83TC811_TDRPT_PEAK_3_TYPE   0x2000

Definition at line 305 of file dp83tc811_driver.h.

◆ DP83TC811_TDRPT_PEAK_4_TYPE

#define DP83TC811_TDRPT_PEAK_4_TYPE   0x4000

Definition at line 304 of file dp83tc811_driver.h.

◆ DP83TC811_TDRR

#define DP83TC811_TDRR   0x016B

Definition at line 67 of file dp83tc811_driver.h.

◆ DP83TC811_TDRR_FAULT_LOCATION

#define DP83TC811_TDRR_FAULT_LOCATION   0x00FF

Definition at line 293 of file dp83tc811_driver.h.

◆ DP83TC811_TDRR_FAULT_STATUS

#define DP83TC811_TDRR_FAULT_STATUS   0x0200

Definition at line 291 of file dp83tc811_driver.h.

◆ DP83TC811_TDRR_FAULT_TYPE

#define DP83TC811_TDRR_FAULT_TYPE   0x0100

Definition at line 292 of file dp83tc811_driver.h.

◆ DP83TC811_TEST_CTRL

#define DP83TC811_TEST_CTRL   0x0836

Definition at line 152 of file dp83tc811_driver.h.

◆ DP83TC811_TEST_MODE_CTRL

#define DP83TC811_TEST_MODE_CTRL   0x0497

Definition at line 98 of file dp83tc811_driver.h.

◆ DP83TC811_WOL_CFG

#define DP83TC811_WOL_CFG   0x04A0

Definition at line 99 of file dp83tc811_driver.h.

◆ DP83TC811_WOL_DA1

#define DP83TC811_WOL_DA1   0x04A2

Definition at line 101 of file dp83tc811_driver.h.

◆ DP83TC811_WOL_DA2

#define DP83TC811_WOL_DA2   0x04A3

Definition at line 102 of file dp83tc811_driver.h.

◆ DP83TC811_WOL_DA3

#define DP83TC811_WOL_DA3   0x04A4

Definition at line 103 of file dp83tc811_driver.h.

◆ DP83TC811_WOL_STAT

#define DP83TC811_WOL_STAT   0x04A1

Definition at line 100 of file dp83tc811_driver.h.

◆ DP83TC811_XMII_CTRL

#define DP83TC811_XMII_CTRL   0x17

Definition at line 58 of file dp83tc811_driver.h.

◆ DP83TC811_XMII_CTRL_CLOCK_SELECT

#define DP83TC811_XMII_CTRL_CLOCK_SELECT   0x0080

Definition at line 252 of file dp83tc811_driver.h.

◆ DP83TC811_XMII_CTRL_RGMII_MODE

#define DP83TC811_XMII_CTRL_RGMII_MODE   0x0200

Definition at line 251 of file dp83tc811_driver.h.

◆ DP83TC811_XMII_CTRL_RGMII_RX_CLOCK_DELAY

#define DP83TC811_XMII_CTRL_RGMII_RX_CLOCK_DELAY   0x1000

Definition at line 249 of file dp83tc811_driver.h.

◆ DP83TC811_XMII_CTRL_RGMII_TX_CLOCK_DELAY

#define DP83TC811_XMII_CTRL_RGMII_TX_CLOCK_DELAY   0x0800

Definition at line 250 of file dp83tc811_driver.h.

◆ DP83TC811_XMII_CTRL_RMII_MODE

#define DP83TC811_XMII_CTRL_RMII_MODE   0x0020

Definition at line 253 of file dp83tc811_driver.h.

◆ DP83TC811_XMII_CTRL_RMII_OVERFLOW_STATUS

#define DP83TC811_XMII_CTRL_RMII_OVERFLOW_STATUS   0x0008

Definition at line 255 of file dp83tc811_driver.h.

◆ DP83TC811_XMII_CTRL_RMII_REV_SELECT

#define DP83TC811_XMII_CTRL_RMII_REV_SELECT   0x0010

Definition at line 254 of file dp83tc811_driver.h.

◆ DP83TC811_XMII_CTRL_RMII_RX_ELASTICITY_BUFFER_SIZE

#define DP83TC811_XMII_CTRL_RMII_RX_ELASTICITY_BUFFER_SIZE   0x0002

Definition at line 257 of file dp83tc811_driver.h.

◆ DP83TC811_XMII_CTRL_RMII_UNDERFLOW_STATUS

#define DP83TC811_XMII_CTRL_RMII_UNDERFLOW_STATUS   0x0004

Definition at line 256 of file dp83tc811_driver.h.

◆ DP83TC811_XMII_IMP_CTRL

#define DP83TC811_XMII_IMP_CTRL   0x0461

Definition at line 80 of file dp83tc811_driver.h.

◆ DP83TC811_XMII_IMP_CTRL_IMP_CTRL

#define DP83TC811_XMII_IMP_CTRL_IMP_CTRL   0x001E

Definition at line 377 of file dp83tc811_driver.h.

◆ DP83TC811_XMII_IMP_CTRL_IMP_CTRL_42R

#define DP83TC811_XMII_IMP_CTRL_IMP_CTRL_42R   0x001E

Definition at line 393 of file dp83tc811_driver.h.

◆ DP83TC811_XMII_IMP_CTRL_IMP_CTRL_44R

#define DP83TC811_XMII_IMP_CTRL_IMP_CTRL_44R   0x001C

Definition at line 392 of file dp83tc811_driver.h.

◆ DP83TC811_XMII_IMP_CTRL_IMP_CTRL_46R

#define DP83TC811_XMII_IMP_CTRL_IMP_CTRL_46R   0x001A

Definition at line 391 of file dp83tc811_driver.h.

◆ DP83TC811_XMII_IMP_CTRL_IMP_CTRL_48R

#define DP83TC811_XMII_IMP_CTRL_IMP_CTRL_48R   0x0018

Definition at line 390 of file dp83tc811_driver.h.

◆ DP83TC811_XMII_IMP_CTRL_IMP_CTRL_50R

#define DP83TC811_XMII_IMP_CTRL_IMP_CTRL_50R   0x0016

Definition at line 389 of file dp83tc811_driver.h.

◆ DP83TC811_XMII_IMP_CTRL_IMP_CTRL_53R

#define DP83TC811_XMII_IMP_CTRL_IMP_CTRL_53R   0x0014

Definition at line 388 of file dp83tc811_driver.h.

◆ DP83TC811_XMII_IMP_CTRL_IMP_CTRL_55R

#define DP83TC811_XMII_IMP_CTRL_IMP_CTRL_55R   0x0012

Definition at line 387 of file dp83tc811_driver.h.

◆ DP83TC811_XMII_IMP_CTRL_IMP_CTRL_58R

#define DP83TC811_XMII_IMP_CTRL_IMP_CTRL_58R   0x0010

Definition at line 386 of file dp83tc811_driver.h.

◆ DP83TC811_XMII_IMP_CTRL_IMP_CTRL_61R

#define DP83TC811_XMII_IMP_CTRL_IMP_CTRL_61R   0x000E

Definition at line 385 of file dp83tc811_driver.h.

◆ DP83TC811_XMII_IMP_CTRL_IMP_CTRL_65R

#define DP83TC811_XMII_IMP_CTRL_IMP_CTRL_65R   0x000C

Definition at line 384 of file dp83tc811_driver.h.

◆ DP83TC811_XMII_IMP_CTRL_IMP_CTRL_69R

#define DP83TC811_XMII_IMP_CTRL_IMP_CTRL_69R   0x000A

Definition at line 383 of file dp83tc811_driver.h.

◆ DP83TC811_XMII_IMP_CTRL_IMP_CTRL_73R

#define DP83TC811_XMII_IMP_CTRL_IMP_CTRL_73R   0x0008

Definition at line 382 of file dp83tc811_driver.h.

◆ DP83TC811_XMII_IMP_CTRL_IMP_CTRL_78R

#define DP83TC811_XMII_IMP_CTRL_IMP_CTRL_78R   0x0006

Definition at line 381 of file dp83tc811_driver.h.

◆ DP83TC811_XMII_IMP_CTRL_IMP_CTRL_84R

#define DP83TC811_XMII_IMP_CTRL_IMP_CTRL_84R   0x0004

Definition at line 380 of file dp83tc811_driver.h.

◆ DP83TC811_XMII_IMP_CTRL_IMP_CTRL_91R

#define DP83TC811_XMII_IMP_CTRL_IMP_CTRL_91R   0x0002

Definition at line 379 of file dp83tc811_driver.h.

◆ DP83TC811_XMII_IMP_CTRL_IMP_CTRL_99R

#define DP83TC811_XMII_IMP_CTRL_IMP_CTRL_99R   0x0000

Definition at line 378 of file dp83tc811_driver.h.

Function Documentation

◆ dp83tc811DisableIrq()

void dp83tc811DisableIrq ( NetInterface interface)

Disable interrupts.

Parameters
[in]interfaceUnderlying network interface

Definition at line 159 of file dp83tc811_driver.c.

◆ dp83tc811DumpPhyReg()

void dp83tc811DumpPhyReg ( NetInterface interface)

Dump PHY registers for debugging purpose.

Parameters
[in]interfaceUnderlying network interface

Definition at line 239 of file dp83tc811_driver.c.

◆ dp83tc811EnableIrq()

void dp83tc811EnableIrq ( NetInterface interface)

Enable interrupts.

Parameters
[in]interfaceUnderlying network interface

Definition at line 144 of file dp83tc811_driver.c.

◆ dp83tc811EventHandler()

void dp83tc811EventHandler ( NetInterface interface)

DP83TC811 event handler.

Parameters
[in]interfaceUnderlying network interface

Definition at line 174 of file dp83tc811_driver.c.

◆ dp83tc811Init()

error_t dp83tc811Init ( NetInterface interface)

DP83TC811 PHY transceiver initialization.

Parameters
[in]interfaceUnderlying network interface
Returns
Error code

Definition at line 62 of file dp83tc811_driver.c.

◆ dp83tc811ReadMmd1Reg()

uint16_t dp83tc811ReadMmd1Reg ( NetInterface interface,
uint16_t  address 
)

Read MMD1 extended register.

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

Definition at line 340 of file dp83tc811_driver.c.

◆ dp83tc811ReadMmdReg()

uint16_t dp83tc811ReadMmdReg ( NetInterface interface,
uint16_t  address 
)

Read MMD extended register.

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

Definition at line 289 of file dp83tc811_driver.c.

◆ dp83tc811ReadPhyReg()

uint16_t dp83tc811ReadPhyReg ( NetInterface interface,
uint8_t  address 
)

Read PHY register.

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

Definition at line 226 of file dp83tc811_driver.c.

◆ dp83tc811Tick()

void dp83tc811Tick ( NetInterface interface)

DP83TC811 timer handler.

Parameters
[in]interfaceUnderlying network interface

Definition at line 106 of file dp83tc811_driver.c.

◆ dp83tc811WriteMmd1Reg()

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

Write MMD1 extended register.

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

Definition at line 314 of file dp83tc811_driver.c.

◆ dp83tc811WriteMmdReg()

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

Write MMD extended register.

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

Definition at line 263 of file dp83tc811_driver.c.

◆ dp83tc811WritePhyReg()

void dp83tc811WritePhyReg ( 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 210 of file dp83tc811_driver.c.

Variable Documentation

◆ dp83tc811PhyDriver

const PhyDriver dp83tc811PhyDriver

DP83TC811 Ethernet PHY driver.

Definition at line 44 of file dp83tc811_driver.c.