DP83865 Gigabit Ethernet PHY driver. More...
#include "core/nic.h"Go to the source code of this file.
Functions | |
| error_t | dp83865Init (NetInterface *interface) |
| DP83865 PHY transceiver initialization. More... | |
| void | dp83865InitHook (NetInterface *interface) |
| DP83865 custom configuration. More... | |
| void | dp83865Tick (NetInterface *interface) |
| DP83865 timer handler. More... | |
| void | dp83865EnableIrq (NetInterface *interface) |
| Enable interrupts. More... | |
| void | dp83865DisableIrq (NetInterface *interface) |
| Disable interrupts. More... | |
| void | dp83865EventHandler (NetInterface *interface) |
| DP83865 event handler. More... | |
| void | dp83865WritePhyReg (NetInterface *interface, uint8_t address, uint16_t data) |
| Write PHY register. More... | |
| uint16_t | dp83865ReadPhyReg (NetInterface *interface, uint8_t address) |
| Read PHY register. More... | |
| void | dp83865DumpPhyReg (NetInterface *interface) |
| Dump PHY registers for debugging purpose. More... | |
Variables | |
| const PhyDriver | dp83865PhyDriver |
| DP83865 Ethernet PHY driver. More... | |
Detailed Description
DP83865 Gigabit Ethernet PHY driver.
License
SPDX-License-Identifier: GPL-2.0-or-later
Copyright (C) 2010-2026 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.
- Version
- 2.6.0
Definition in file dp83865_driver.h.
Macro Definition Documentation
◆ DP83865_1KSCR
| #define DP83865_1KSCR 0x0F |
Definition at line 56 of file dp83865_driver.h.
◆ DP83865_1KSCR_1000BT_FD
| #define DP83865_1KSCR_1000BT_FD 0x2000 |
Definition at line 186 of file dp83865_driver.h.
◆ DP83865_1KSCR_1000BT_HD
| #define DP83865_1KSCR_1000BT_HD 0x1000 |
Definition at line 187 of file dp83865_driver.h.
◆ DP83865_1KSCR_1000BX_FD
| #define DP83865_1KSCR_1000BX_FD 0x8000 |
Definition at line 184 of file dp83865_driver.h.
◆ DP83865_1KSCR_1000BX_HD
| #define DP83865_1KSCR_1000BX_HD 0x4000 |
Definition at line 185 of file dp83865_driver.h.
◆ DP83865_1KSTSR
| #define DP83865_1KSTSR 0x0A |
Definition at line 55 of file dp83865_driver.h.
◆ DP83865_1KSTSR_IDLE_ERR_COUNT
| #define DP83865_1KSTSR_IDLE_ERR_COUNT 0x00FF |
Definition at line 181 of file dp83865_driver.h.
◆ DP83865_1KSTSR_LOCAL_RECEIVER_STATUS
| #define DP83865_1KSTSR_LOCAL_RECEIVER_STATUS 0x2000 |
Definition at line 177 of file dp83865_driver.h.
◆ DP83865_1KSTSR_LP_1000BT_FD
| #define DP83865_1KSTSR_LP_1000BT_FD 0x0800 |
Definition at line 179 of file dp83865_driver.h.
◆ DP83865_1KSTSR_LP_1000BT_HD
| #define DP83865_1KSTSR_LP_1000BT_HD 0x0400 |
Definition at line 180 of file dp83865_driver.h.
◆ DP83865_1KSTSR_MS_CONF_FAULT
| #define DP83865_1KSTSR_MS_CONF_FAULT 0x8000 |
Definition at line 175 of file dp83865_driver.h.
◆ DP83865_1KSTSR_MS_CONF_RES
| #define DP83865_1KSTSR_MS_CONF_RES 0x4000 |
Definition at line 176 of file dp83865_driver.h.
◆ DP83865_1KSTSR_REMOTE_RECEIVER_STATUS
| #define DP83865_1KSTSR_REMOTE_RECEIVER_STATUS 0x1000 |
Definition at line 178 of file dp83865_driver.h.
◆ DP83865_1KTCR
| #define DP83865_1KTCR 0x09 |
Definition at line 54 of file dp83865_driver.h.
◆ DP83865_1KTCR_1000BT_FD
| #define DP83865_1KTCR_1000BT_FD 0x0200 |
Definition at line 171 of file dp83865_driver.h.
◆ DP83865_1KTCR_1000BT_HD
| #define DP83865_1KTCR_1000BT_HD 0x0100 |
Definition at line 172 of file dp83865_driver.h.
◆ DP83865_1KTCR_MS_MAN_CONF_EN
| #define DP83865_1KTCR_MS_MAN_CONF_EN 0x1000 |
Definition at line 168 of file dp83865_driver.h.
◆ DP83865_1KTCR_MS_MAN_CONF_VAL
| #define DP83865_1KTCR_MS_MAN_CONF_VAL 0x0800 |
Definition at line 169 of file dp83865_driver.h.
◆ DP83865_1KTCR_REPEATER_DT
| #define DP83865_1KTCR_REPEATER_DT 0x0400 |
Definition at line 170 of file dp83865_driver.h.
◆ DP83865_1KTCR_TEST_MODE
| #define DP83865_1KTCR_TEST_MODE 0xE000 |
Definition at line 162 of file dp83865_driver.h.
◆ DP83865_1KTCR_TEST_MODE_1
| #define DP83865_1KTCR_TEST_MODE_1 0x2000 |
Definition at line 164 of file dp83865_driver.h.
◆ DP83865_1KTCR_TEST_MODE_2
| #define DP83865_1KTCR_TEST_MODE_2 0x4000 |
Definition at line 165 of file dp83865_driver.h.
◆ DP83865_1KTCR_TEST_MODE_3
| #define DP83865_1KTCR_TEST_MODE_3 0x6000 |
Definition at line 166 of file dp83865_driver.h.
◆ DP83865_1KTCR_TEST_MODE_4
| #define DP83865_1KTCR_TEST_MODE_4 0x8000 |
Definition at line 167 of file dp83865_driver.h.
◆ DP83865_1KTCR_TEST_MODE_NORMAL
| #define DP83865_1KTCR_TEST_MODE_NORMAL 0x0000 |
Definition at line 163 of file dp83865_driver.h.
◆ DP83865_ANAR
| #define DP83865_ANAR 0x04 |
Definition at line 49 of file dp83865_driver.h.
◆ DP83865_ANAR_100BT4
| #define DP83865_ANAR_100BT4 0x0200 |
Definition at line 118 of file dp83865_driver.h.
◆ DP83865_ANAR_100BTX_FD
| #define DP83865_ANAR_100BTX_FD 0x0100 |
Definition at line 119 of file dp83865_driver.h.
◆ DP83865_ANAR_100BTX_HD
| #define DP83865_ANAR_100BTX_HD 0x0080 |
Definition at line 120 of file dp83865_driver.h.
◆ DP83865_ANAR_10BT_FD
| #define DP83865_ANAR_10BT_FD 0x0040 |
Definition at line 121 of file dp83865_driver.h.
◆ DP83865_ANAR_10BT_HD
| #define DP83865_ANAR_10BT_HD 0x0020 |
Definition at line 122 of file dp83865_driver.h.
◆ DP83865_ANAR_ASY_PAUSE
| #define DP83865_ANAR_ASY_PAUSE 0x0800 |
Definition at line 116 of file dp83865_driver.h.
◆ DP83865_ANAR_NP
| #define DP83865_ANAR_NP 0x8000 |
Definition at line 114 of file dp83865_driver.h.
◆ DP83865_ANAR_PAUSE
| #define DP83865_ANAR_PAUSE 0x0400 |
Definition at line 117 of file dp83865_driver.h.
◆ DP83865_ANAR_PSB
| #define DP83865_ANAR_PSB 0x001F |
Definition at line 123 of file dp83865_driver.h.
◆ DP83865_ANAR_RF
| #define DP83865_ANAR_RF 0x2000 |
Definition at line 115 of file dp83865_driver.h.
◆ DP83865_ANER
| #define DP83865_ANER 0x06 |
Definition at line 51 of file dp83865_driver.h.
◆ DP83865_ANER_LP_AN_ABLE
| #define DP83865_ANER_LP_AN_ABLE 0x0001 |
Definition at line 143 of file dp83865_driver.h.
◆ DP83865_ANER_LP_NP_ABLE
| #define DP83865_ANER_LP_NP_ABLE 0x0008 |
Definition at line 140 of file dp83865_driver.h.
◆ DP83865_ANER_NP_ABLE
| #define DP83865_ANER_NP_ABLE 0x0004 |
Definition at line 141 of file dp83865_driver.h.
◆ DP83865_ANER_PAGE_RX
| #define DP83865_ANER_PAGE_RX 0x0002 |
Definition at line 142 of file dp83865_driver.h.
◆ DP83865_ANER_PDF
| #define DP83865_ANER_PDF 0x0010 |
Definition at line 139 of file dp83865_driver.h.
◆ DP83865_ANLPAR
| #define DP83865_ANLPAR 0x05 |
Definition at line 50 of file dp83865_driver.h.
◆ DP83865_ANLPAR_100BT4
| #define DP83865_ANLPAR_100BT4 0x0200 |
Definition at line 131 of file dp83865_driver.h.
◆ DP83865_ANLPAR_100BTX_FD
| #define DP83865_ANLPAR_100BTX_FD 0x0100 |
Definition at line 132 of file dp83865_driver.h.
◆ DP83865_ANLPAR_100BTX_HD
| #define DP83865_ANLPAR_100BTX_HD 0x0080 |
Definition at line 133 of file dp83865_driver.h.
◆ DP83865_ANLPAR_10BT_FD
| #define DP83865_ANLPAR_10BT_FD 0x0040 |
Definition at line 134 of file dp83865_driver.h.
◆ DP83865_ANLPAR_10BT_HD
| #define DP83865_ANLPAR_10BT_HD 0x0020 |
Definition at line 135 of file dp83865_driver.h.
◆ DP83865_ANLPAR_ACK
| #define DP83865_ANLPAR_ACK 0x4000 |
Definition at line 127 of file dp83865_driver.h.
◆ DP83865_ANLPAR_ASY_PAUSE
| #define DP83865_ANLPAR_ASY_PAUSE 0x0800 |
Definition at line 129 of file dp83865_driver.h.
◆ DP83865_ANLPAR_NP
| #define DP83865_ANLPAR_NP 0x8000 |
Definition at line 126 of file dp83865_driver.h.
◆ DP83865_ANLPAR_PAUSE
| #define DP83865_ANLPAR_PAUSE 0x0400 |
Definition at line 130 of file dp83865_driver.h.
◆ DP83865_ANLPAR_PSB
| #define DP83865_ANLPAR_PSB 0x001F |
Definition at line 136 of file dp83865_driver.h.
◆ DP83865_ANLPAR_RF
| #define DP83865_ANLPAR_RF 0x2000 |
Definition at line 128 of file dp83865_driver.h.
◆ DP83865_ANNPRR
| #define DP83865_ANNPRR 0x08 |
Definition at line 53 of file dp83865_driver.h.
◆ DP83865_ANNPRR_ACK
| #define DP83865_ANNPRR_ACK 0x4000 |
Definition at line 155 of file dp83865_driver.h.
◆ DP83865_ANNPRR_ACK2
| #define DP83865_ANNPRR_ACK2 0x1000 |
Definition at line 157 of file dp83865_driver.h.
◆ DP83865_ANNPRR_CODE
| #define DP83865_ANNPRR_CODE 0x07FF |
Definition at line 159 of file dp83865_driver.h.
◆ DP83865_ANNPRR_MP
| #define DP83865_ANNPRR_MP 0x2000 |
Definition at line 156 of file dp83865_driver.h.
◆ DP83865_ANNPRR_NP
| #define DP83865_ANNPRR_NP 0x8000 |
Definition at line 154 of file dp83865_driver.h.
◆ DP83865_ANNPRR_TOGGLE
| #define DP83865_ANNPRR_TOGGLE 0x0800 |
Definition at line 158 of file dp83865_driver.h.
◆ DP83865_ANNPTR
| #define DP83865_ANNPTR 0x07 |
Definition at line 52 of file dp83865_driver.h.
◆ DP83865_ANNPTR_ACK
| #define DP83865_ANNPTR_ACK 0x4000 |
Definition at line 147 of file dp83865_driver.h.
◆ DP83865_ANNPTR_ACK2
| #define DP83865_ANNPTR_ACK2 0x1000 |
Definition at line 149 of file dp83865_driver.h.
◆ DP83865_ANNPTR_CODE
| #define DP83865_ANNPTR_CODE 0x07FF |
Definition at line 151 of file dp83865_driver.h.
◆ DP83865_ANNPTR_MP
| #define DP83865_ANNPTR_MP 0x2000 |
Definition at line 148 of file dp83865_driver.h.
◆ DP83865_ANNPTR_NP
| #define DP83865_ANNPTR_NP 0x8000 |
Definition at line 146 of file dp83865_driver.h.
◆ DP83865_ANNPTR_TOG_TX
| #define DP83865_ANNPTR_TOG_TX 0x0800 |
Definition at line 150 of file dp83865_driver.h.
◆ DP83865_AUX_CTRL
| #define DP83865_AUX_CTRL 0x12 |
Definition at line 59 of file dp83865_driver.h.
◆ DP83865_AUX_CTRL_AUTO_MDIX_EN
| #define DP83865_AUX_CTRL_AUTO_MDIX_EN 0x8000 |
Definition at line 216 of file dp83865_driver.h.
◆ DP83865_AUX_CTRL_JABBER_DIS
| #define DP83865_AUX_CTRL_JABBER_DIS 0x0001 |
Definition at line 228 of file dp83865_driver.h.
◆ DP83865_AUX_CTRL_MANUAL_MDIX_VALUE
| #define DP83865_AUX_CTRL_MANUAL_MDIX_VALUE 0x4000 |
Definition at line 217 of file dp83865_driver.h.
◆ DP83865_AUX_CTRL_NON_COMPLIANT_MODE
| #define DP83865_AUX_CTRL_NON_COMPLIANT_MODE 0x0200 |
Definition at line 222 of file dp83865_driver.h.
◆ DP83865_AUX_CTRL_RGMII_EN
| #define DP83865_AUX_CTRL_RGMII_EN 0x3000 |
Definition at line 218 of file dp83865_driver.h.
◆ DP83865_AUX_CTRL_RGMII_EN_GMII_MODE
| #define DP83865_AUX_CTRL_RGMII_EN_GMII_MODE 0x0000 |
Definition at line 219 of file dp83865_driver.h.
◆ DP83865_AUX_CTRL_RGMII_EN_RGMII_3COM_MODE
| #define DP83865_AUX_CTRL_RGMII_EN_RGMII_3COM_MODE 0x3000 |
Definition at line 221 of file dp83865_driver.h.
◆ DP83865_AUX_CTRL_RGMII_EN_RGMII_HP_MODE
| #define DP83865_AUX_CTRL_RGMII_EN_RGMII_HP_MODE 0x2000 |
Definition at line 220 of file dp83865_driver.h.
◆ DP83865_AUX_CTRL_RGMII_INBAND_STATUS_EN
| #define DP83865_AUX_CTRL_RGMII_INBAND_STATUS_EN 0x0100 |
Definition at line 223 of file dp83865_driver.h.
◆ DP83865_AUX_CTRL_SHALLOW_DEEP_LOOPBACK_EN
| #define DP83865_AUX_CTRL_SHALLOW_DEEP_LOOPBACK_EN 0x0020 |
Definition at line 226 of file dp83865_driver.h.
◆ DP83865_AUX_CTRL_TX_TCLK_EN
| #define DP83865_AUX_CTRL_TX_TCLK_EN 0x0080 |
Definition at line 224 of file dp83865_driver.h.
◆ DP83865_AUX_CTRL_TX_TRIGGER_SYN_EN
| #define DP83865_AUX_CTRL_TX_TRIGGER_SYN_EN 0x0040 |
Definition at line 225 of file dp83865_driver.h.
◆ DP83865_AUX_CTRL_X_MAC
| #define DP83865_AUX_CTRL_X_MAC 0x0010 |
Definition at line 227 of file dp83865_driver.h.
◆ DP83865_BIST_CFG1
| #define DP83865_BIST_CFG1 0x19 |
Definition at line 66 of file dp83865_driver.h.
◆ DP83865_BIST_CFG1_BIST_CNT_CLR
| #define DP83865_BIST_CFG1_BIST_CNT_CLR 0x4000 |
Definition at line 315 of file dp83865_driver.h.
◆ DP83865_BIST_CFG1_BIST_CNT_TYPE
| #define DP83865_BIST_CFG1_BIST_CNT_TYPE 0x8000 |
Definition at line 314 of file dp83865_driver.h.
◆ DP83865_BIST_CFG1_TX_BIST_EN
| #define DP83865_BIST_CFG1_TX_BIST_EN 0x0800 |
Definition at line 318 of file dp83865_driver.h.
◆ DP83865_BIST_CFG1_TX_BIST_IFG
| #define DP83865_BIST_CFG1_TX_BIST_IFG 0x1000 |
Definition at line 317 of file dp83865_driver.h.
◆ DP83865_BIST_CFG1_TX_BIST_PAK
| #define DP83865_BIST_CFG1_TX_BIST_PAK 0x00FF |
Definition at line 320 of file dp83865_driver.h.
◆ DP83865_BIST_CFG1_TX_BIST_PAK_LEN
| #define DP83865_BIST_CFG1_TX_BIST_PAK_LEN 0x2000 |
Definition at line 316 of file dp83865_driver.h.
◆ DP83865_BIST_CFG1_TX_BIST_PAK_TYPE
| #define DP83865_BIST_CFG1_TX_BIST_PAK_TYPE 0x0400 |
Definition at line 319 of file dp83865_driver.h.
◆ DP83865_BIST_CFG2
| #define DP83865_BIST_CFG2 0x1A |
Definition at line 67 of file dp83865_driver.h.
◆ DP83865_BIST_CFG2_BIST_CNT_SEL
| #define DP83865_BIST_CFG2_BIST_CNT_SEL 0x4000 |
Definition at line 324 of file dp83865_driver.h.
◆ DP83865_BIST_CFG2_LINK_LINK_ACT_SEL
| #define DP83865_BIST_CFG2_LINK_LINK_ACT_SEL 0x0001 |
Definition at line 326 of file dp83865_driver.h.
◆ DP83865_BIST_CFG2_RX_BIST_EN
| #define DP83865_BIST_CFG2_RX_BIST_EN 0x8000 |
Definition at line 323 of file dp83865_driver.h.
◆ DP83865_BIST_CFG2_TX_BIST_PAK_CNT
| #define DP83865_BIST_CFG2_TX_BIST_PAK_CNT 0x3800 |
Definition at line 325 of file dp83865_driver.h.
◆ DP83865_BIST_CNT
| #define DP83865_BIST_CNT 0x18 |
Definition at line 65 of file dp83865_driver.h.
◆ DP83865_BMCR
| #define DP83865_BMCR 0x00 |
Definition at line 45 of file dp83865_driver.h.
◆ DP83865_BMCR_AN_EN
| #define DP83865_BMCR_AN_EN 0x1000 |
Definition at line 76 of file dp83865_driver.h.
◆ DP83865_BMCR_COL_TEST
| #define DP83865_BMCR_COL_TEST 0x0080 |
Definition at line 81 of file dp83865_driver.h.
◆ DP83865_BMCR_DUPLEX
| #define DP83865_BMCR_DUPLEX 0x0100 |
Definition at line 80 of file dp83865_driver.h.
◆ DP83865_BMCR_ISOLATE
| #define DP83865_BMCR_ISOLATE 0x0400 |
Definition at line 78 of file dp83865_driver.h.
◆ DP83865_BMCR_LOOPBACK
| #define DP83865_BMCR_LOOPBACK 0x4000 |
Definition at line 74 of file dp83865_driver.h.
◆ DP83865_BMCR_POWER_DOWN
| #define DP83865_BMCR_POWER_DOWN 0x0800 |
Definition at line 77 of file dp83865_driver.h.
◆ DP83865_BMCR_RESET
| #define DP83865_BMCR_RESET 0x8000 |
Definition at line 73 of file dp83865_driver.h.
◆ DP83865_BMCR_RESTART_AN
| #define DP83865_BMCR_RESTART_AN 0x0200 |
Definition at line 79 of file dp83865_driver.h.
◆ DP83865_BMCR_SPEED_LSB
| #define DP83865_BMCR_SPEED_LSB 0x2000 |
Definition at line 75 of file dp83865_driver.h.
◆ DP83865_BMCR_SPEED_MSB
| #define DP83865_BMCR_SPEED_MSB 0x0040 |
Definition at line 82 of file dp83865_driver.h.
◆ DP83865_BMSR
| #define DP83865_BMSR 0x01 |
Definition at line 46 of file dp83865_driver.h.
◆ DP83865_BMSR_100BT2_FD
| #define DP83865_BMSR_100BT2_FD 0x0400 |
Definition at line 90 of file dp83865_driver.h.
◆ DP83865_BMSR_100BT2_HD
| #define DP83865_BMSR_100BT2_HD 0x0200 |
Definition at line 91 of file dp83865_driver.h.
◆ DP83865_BMSR_100BT4
| #define DP83865_BMSR_100BT4 0x8000 |
Definition at line 85 of file dp83865_driver.h.
◆ DP83865_BMSR_100BTX_FD
| #define DP83865_BMSR_100BTX_FD 0x4000 |
Definition at line 86 of file dp83865_driver.h.
◆ DP83865_BMSR_100BTX_HD
| #define DP83865_BMSR_100BTX_HD 0x2000 |
Definition at line 87 of file dp83865_driver.h.
◆ DP83865_BMSR_10BT_FD
| #define DP83865_BMSR_10BT_FD 0x1000 |
Definition at line 88 of file dp83865_driver.h.
◆ DP83865_BMSR_10BT_HD
| #define DP83865_BMSR_10BT_HD 0x0800 |
Definition at line 89 of file dp83865_driver.h.
◆ DP83865_BMSR_AN_CAPABLE
| #define DP83865_BMSR_AN_CAPABLE 0x0008 |
Definition at line 96 of file dp83865_driver.h.
◆ DP83865_BMSR_AN_COMPLETE
| #define DP83865_BMSR_AN_COMPLETE 0x0020 |
Definition at line 94 of file dp83865_driver.h.
◆ DP83865_BMSR_EXTENDED_CAPABLE
| #define DP83865_BMSR_EXTENDED_CAPABLE 0x0001 |
Definition at line 99 of file dp83865_driver.h.
◆ DP83865_BMSR_EXTENDED_STATUS
| #define DP83865_BMSR_EXTENDED_STATUS 0x0100 |
Definition at line 92 of file dp83865_driver.h.
◆ DP83865_BMSR_JABBER_DETECT
| #define DP83865_BMSR_JABBER_DETECT 0x0002 |
Definition at line 98 of file dp83865_driver.h.
◆ DP83865_BMSR_LINK_STATUS
| #define DP83865_BMSR_LINK_STATUS 0x0004 |
Definition at line 97 of file dp83865_driver.h.
◆ DP83865_BMSR_PREAMBLE_SUPPR
| #define DP83865_BMSR_PREAMBLE_SUPPR 0x0040 |
Definition at line 93 of file dp83865_driver.h.
◆ DP83865_BMSR_REMOTE_FAULT
| #define DP83865_BMSR_REMOTE_FAULT 0x0010 |
Definition at line 95 of file dp83865_driver.h.
◆ DP83865_EXP_MEM_ADDR
| #define DP83865_EXP_MEM_ADDR 0x1E |
Definition at line 69 of file dp83865_driver.h.
◆ DP83865_EXP_MEM_CTL
| #define DP83865_EXP_MEM_CTL 0x16 |
Definition at line 63 of file dp83865_driver.h.
◆ DP83865_EXP_MEM_CTL_ADDRESS_CONTROL
| #define DP83865_EXP_MEM_CTL_ADDRESS_CONTROL 0x0003 |
Definition at line 296 of file dp83865_driver.h.
◆ DP83865_EXP_MEM_CTL_BROADCAST_EN
| #define DP83865_EXP_MEM_CTL_BROADCAST_EN 0x0080 |
Definition at line 295 of file dp83865_driver.h.
◆ DP83865_EXP_MEM_CTL_GLOBAL_RESET
| #define DP83865_EXP_MEM_CTL_GLOBAL_RESET 0x8000 |
Definition at line 294 of file dp83865_driver.h.
◆ DP83865_EXP_MEM_DATA
| #define DP83865_EXP_MEM_DATA 0x1D |
Definition at line 68 of file dp83865_driver.h.
◆ DP83865_INT_CLEAR
| #define DP83865_INT_CLEAR 0x17 |
Definition at line 64 of file dp83865_driver.h.
◆ DP83865_INT_CLEAR_AN_CMPL_INT_CLR
| #define DP83865_INT_CLEAR_AN_CMPL_INT_CLR 0x0010 |
Definition at line 310 of file dp83865_driver.h.
◆ DP83865_INT_CLEAR_DPLX_CNG_INT_CLR
| #define DP83865_INT_CLEAR_DPLX_CNG_INT_CLR 0x2000 |
Definition at line 301 of file dp83865_driver.h.
◆ DP83865_INT_CLEAR_JABBER_CNG_INT_CLR
| #define DP83865_INT_CLEAR_JABBER_CNG_INT_CLR 0x0040 |
Definition at line 308 of file dp83865_driver.h.
◆ DP83865_INT_CLEAR_LNK_CNG_INT_CLR
| #define DP83865_INT_CLEAR_LNK_CNG_INT_CLR 0x4000 |
Definition at line 300 of file dp83865_driver.h.
◆ DP83865_INT_CLEAR_MAS_SLA_ERR_INT_CLR
| #define DP83865_INT_CLEAR_MAS_SLA_ERR_INT_CLR 0x0200 |
Definition at line 305 of file dp83865_driver.h.
◆ DP83865_INT_CLEAR_MDIX_CNG_INT_CLR
| #define DP83865_INT_CLEAR_MDIX_CNG_INT_CLR 0x1000 |
Definition at line 302 of file dp83865_driver.h.
◆ DP83865_INT_CLEAR_NO_HCD_INT_CLR
| #define DP83865_INT_CLEAR_NO_HCD_INT_CLR 0x0100 |
Definition at line 306 of file dp83865_driver.h.
◆ DP83865_INT_CLEAR_NO_LNK_INT_CLR
| #define DP83865_INT_CLEAR_NO_LNK_INT_CLR 0x0080 |
Definition at line 307 of file dp83865_driver.h.
◆ DP83865_INT_CLEAR_NXT_PG_RCVD_INT_CLR
| #define DP83865_INT_CLEAR_NXT_PG_RCVD_INT_CLR 0x0020 |
Definition at line 309 of file dp83865_driver.h.
◆ DP83865_INT_CLEAR_POL_CNG_INT_CLR
| #define DP83865_INT_CLEAR_POL_CNG_INT_CLR 0x0800 |
Definition at line 303 of file dp83865_driver.h.
◆ DP83865_INT_CLEAR_PRL_DET_FLT_INT_CLR
| #define DP83865_INT_CLEAR_PRL_DET_FLT_INT_CLR 0x0400 |
Definition at line 304 of file dp83865_driver.h.
◆ DP83865_INT_CLEAR_REM_FLT_CNG_INT_CLR
| #define DP83865_INT_CLEAR_REM_FLT_CNG_INT_CLR 0x0008 |
Definition at line 311 of file dp83865_driver.h.
◆ DP83865_INT_CLEAR_SPD_CNG_INT_CLR
| #define DP83865_INT_CLEAR_SPD_CNG_INT_CLR 0x8000 |
Definition at line 299 of file dp83865_driver.h.
◆ DP83865_INT_MASK
| #define DP83865_INT_MASK 0x15 |
Definition at line 62 of file dp83865_driver.h.
◆ DP83865_INT_MASK_AN_CMPL_INT_MSK
| #define DP83865_INT_MASK_AN_CMPL_INT_MSK 0x0010 |
Definition at line 290 of file dp83865_driver.h.
◆ DP83865_INT_MASK_DPLX_CNG_INT_MSK
| #define DP83865_INT_MASK_DPLX_CNG_INT_MSK 0x2000 |
Definition at line 281 of file dp83865_driver.h.
◆ DP83865_INT_MASK_JABBER_CNG_INT_MSK
| #define DP83865_INT_MASK_JABBER_CNG_INT_MSK 0x0040 |
Definition at line 288 of file dp83865_driver.h.
◆ DP83865_INT_MASK_LNK_CNG_INT_MSK
| #define DP83865_INT_MASK_LNK_CNG_INT_MSK 0x4000 |
Definition at line 280 of file dp83865_driver.h.
◆ DP83865_INT_MASK_MAS_SLA_ERR_INT_MSK
| #define DP83865_INT_MASK_MAS_SLA_ERR_INT_MSK 0x0200 |
Definition at line 285 of file dp83865_driver.h.
◆ DP83865_INT_MASK_MDIX_CNG_INT_MSK
| #define DP83865_INT_MASK_MDIX_CNG_INT_MSK 0x1000 |
Definition at line 282 of file dp83865_driver.h.
◆ DP83865_INT_MASK_NO_HCD_INT_MSK
| #define DP83865_INT_MASK_NO_HCD_INT_MSK 0x0100 |
Definition at line 286 of file dp83865_driver.h.
◆ DP83865_INT_MASK_NO_LNK_INT_MSK
| #define DP83865_INT_MASK_NO_LNK_INT_MSK 0x0080 |
Definition at line 287 of file dp83865_driver.h.
◆ DP83865_INT_MASK_NXT_PG_RCVD_INT_MSK
| #define DP83865_INT_MASK_NXT_PG_RCVD_INT_MSK 0x0020 |
Definition at line 289 of file dp83865_driver.h.
◆ DP83865_INT_MASK_POL_CNG_INT_MSK
| #define DP83865_INT_MASK_POL_CNG_INT_MSK 0x0800 |
Definition at line 283 of file dp83865_driver.h.
◆ DP83865_INT_MASK_PRL_DET_FLT_INT_MSK
| #define DP83865_INT_MASK_PRL_DET_FLT_INT_MSK 0x0400 |
Definition at line 284 of file dp83865_driver.h.
◆ DP83865_INT_MASK_REM_FLT_CNG_INT_MSK
| #define DP83865_INT_MASK_REM_FLT_CNG_INT_MSK 0x0008 |
Definition at line 291 of file dp83865_driver.h.
◆ DP83865_INT_MASK_SPD_CNG_INT_MSK
| #define DP83865_INT_MASK_SPD_CNG_INT_MSK 0x8000 |
Definition at line 279 of file dp83865_driver.h.
◆ DP83865_INT_STATUS
| #define DP83865_INT_STATUS 0x14 |
Definition at line 61 of file dp83865_driver.h.
◆ DP83865_INT_STATUS_AN_CMPL_INT
| #define DP83865_INT_STATUS_AN_CMPL_INT 0x0010 |
Definition at line 275 of file dp83865_driver.h.
◆ DP83865_INT_STATUS_DPLX_CNG_INT
| #define DP83865_INT_STATUS_DPLX_CNG_INT 0x2000 |
Definition at line 266 of file dp83865_driver.h.
◆ DP83865_INT_STATUS_JABBER_CNG_INT
| #define DP83865_INT_STATUS_JABBER_CNG_INT 0x0040 |
Definition at line 273 of file dp83865_driver.h.
◆ DP83865_INT_STATUS_LNK_CNG_INT
| #define DP83865_INT_STATUS_LNK_CNG_INT 0x4000 |
Definition at line 265 of file dp83865_driver.h.
◆ DP83865_INT_STATUS_MAS_SLA_ERR_INT
| #define DP83865_INT_STATUS_MAS_SLA_ERR_INT 0x0200 |
Definition at line 270 of file dp83865_driver.h.
◆ DP83865_INT_STATUS_MDIX_CNG_INT
| #define DP83865_INT_STATUS_MDIX_CNG_INT 0x1000 |
Definition at line 267 of file dp83865_driver.h.
◆ DP83865_INT_STATUS_NO_HCD_INT
| #define DP83865_INT_STATUS_NO_HCD_INT 0x0100 |
Definition at line 271 of file dp83865_driver.h.
◆ DP83865_INT_STATUS_NO_LNK_INT
| #define DP83865_INT_STATUS_NO_LNK_INT 0x0080 |
Definition at line 272 of file dp83865_driver.h.
◆ DP83865_INT_STATUS_NXT_PG_RCVD_INT
| #define DP83865_INT_STATUS_NXT_PG_RCVD_INT 0x0020 |
Definition at line 274 of file dp83865_driver.h.
◆ DP83865_INT_STATUS_POL_CNG_INT
| #define DP83865_INT_STATUS_POL_CNG_INT 0x0800 |
Definition at line 268 of file dp83865_driver.h.
◆ DP83865_INT_STATUS_PRL_DET_FLT_INT
| #define DP83865_INT_STATUS_PRL_DET_FLT_INT 0x0400 |
Definition at line 269 of file dp83865_driver.h.
◆ DP83865_INT_STATUS_REM_FLT_CNG_INT
| #define DP83865_INT_STATUS_REM_FLT_CNG_INT 0x0008 |
Definition at line 276 of file dp83865_driver.h.
◆ DP83865_INT_STATUS_SPD_CNG_INT
| #define DP83865_INT_STATUS_SPD_CNG_INT 0x8000 |
Definition at line 264 of file dp83865_driver.h.
◆ DP83865_LED_CTRL
| #define DP83865_LED_CTRL 0x13 |
Definition at line 60 of file dp83865_driver.h.
◆ DP83865_LED_CTRL_ACT_LED
| #define DP83865_LED_CTRL_ACT_LED 0xC000 |
Definition at line 231 of file dp83865_driver.h.
◆ DP83865_LED_CTRL_ACT_LED_BLINK_MODE
| #define DP83865_LED_CTRL_ACT_LED_BLINK_MODE 0x8000 |
Definition at line 234 of file dp83865_driver.h.
◆ DP83865_LED_CTRL_ACT_LED_FORCED_OFF
| #define DP83865_LED_CTRL_ACT_LED_FORCED_OFF 0x4000 |
Definition at line 233 of file dp83865_driver.h.
◆ DP83865_LED_CTRL_ACT_LED_FORCED_ON
| #define DP83865_LED_CTRL_ACT_LED_FORCED_ON 0xC000 |
Definition at line 235 of file dp83865_driver.h.
◆ DP83865_LED_CTRL_ACT_LED_NORMAL
| #define DP83865_LED_CTRL_ACT_LED_NORMAL 0x0000 |
Definition at line 232 of file dp83865_driver.h.
◆ DP83865_LED_CTRL_AN_FALLBACK_AN
| #define DP83865_LED_CTRL_AN_FALLBACK_AN 0x0004 |
Definition at line 259 of file dp83865_driver.h.
◆ DP83865_LED_CTRL_AN_FALLBACK_CRC
| #define DP83865_LED_CTRL_AN_FALLBACK_CRC 0x0002 |
Definition at line 260 of file dp83865_driver.h.
◆ DP83865_LED_CTRL_AN_FALLBACK_IE
| #define DP83865_LED_CTRL_AN_FALLBACK_IE 0x0001 |
Definition at line 261 of file dp83865_driver.h.
◆ DP83865_LED_CTRL_DUPLEX_LED
| #define DP83865_LED_CTRL_DUPLEX_LED 0x00C0 |
Definition at line 251 of file dp83865_driver.h.
◆ DP83865_LED_CTRL_DUPLEX_LED_BLINK_MODE
| #define DP83865_LED_CTRL_DUPLEX_LED_BLINK_MODE 0x0080 |
Definition at line 254 of file dp83865_driver.h.
◆ DP83865_LED_CTRL_DUPLEX_LED_FORCED_OFF
| #define DP83865_LED_CTRL_DUPLEX_LED_FORCED_OFF 0x0040 |
Definition at line 253 of file dp83865_driver.h.
◆ DP83865_LED_CTRL_DUPLEX_LED_FORCED_ON
| #define DP83865_LED_CTRL_DUPLEX_LED_FORCED_ON 0x00C0 |
Definition at line 255 of file dp83865_driver.h.
◆ DP83865_LED_CTRL_DUPLEX_LED_NORMAL
| #define DP83865_LED_CTRL_DUPLEX_LED_NORMAL 0x0000 |
Definition at line 252 of file dp83865_driver.h.
◆ DP83865_LED_CTRL_LED_ON_CRC
| #define DP83865_LED_CTRL_LED_ON_CRC 0x0010 |
Definition at line 257 of file dp83865_driver.h.
◆ DP83865_LED_CTRL_LED_ON_IE
| #define DP83865_LED_CTRL_LED_ON_IE 0x0008 |
Definition at line 258 of file dp83865_driver.h.
◆ DP83865_LED_CTRL_LINK1000_LED
| #define DP83865_LED_CTRL_LINK1000_LED 0x0300 |
Definition at line 246 of file dp83865_driver.h.
◆ DP83865_LED_CTRL_LINK1000_LED_BLINK_MODE
| #define DP83865_LED_CTRL_LINK1000_LED_BLINK_MODE 0x0200 |
Definition at line 249 of file dp83865_driver.h.
◆ DP83865_LED_CTRL_LINK1000_LED_FORCED_OFF
| #define DP83865_LED_CTRL_LINK1000_LED_FORCED_OFF 0x0100 |
Definition at line 248 of file dp83865_driver.h.
◆ DP83865_LED_CTRL_LINK1000_LED_FORCED_ON
| #define DP83865_LED_CTRL_LINK1000_LED_FORCED_ON 0x0300 |
Definition at line 250 of file dp83865_driver.h.
◆ DP83865_LED_CTRL_LINK1000_LED_NORMAL
| #define DP83865_LED_CTRL_LINK1000_LED_NORMAL 0x0000 |
Definition at line 247 of file dp83865_driver.h.
◆ DP83865_LED_CTRL_LINK100_LED
| #define DP83865_LED_CTRL_LINK100_LED 0x0C00 |
Definition at line 241 of file dp83865_driver.h.
◆ DP83865_LED_CTRL_LINK100_LED_BLINK_MODE
| #define DP83865_LED_CTRL_LINK100_LED_BLINK_MODE 0x0800 |
Definition at line 244 of file dp83865_driver.h.
◆ DP83865_LED_CTRL_LINK100_LED_FORCED_OFF
| #define DP83865_LED_CTRL_LINK100_LED_FORCED_OFF 0x0400 |
Definition at line 243 of file dp83865_driver.h.
◆ DP83865_LED_CTRL_LINK100_LED_FORCED_ON
| #define DP83865_LED_CTRL_LINK100_LED_FORCED_ON 0x0C00 |
Definition at line 245 of file dp83865_driver.h.
◆ DP83865_LED_CTRL_LINK100_LED_NORMAL
| #define DP83865_LED_CTRL_LINK100_LED_NORMAL 0x0000 |
Definition at line 242 of file dp83865_driver.h.
◆ DP83865_LED_CTRL_LINK10_LED
| #define DP83865_LED_CTRL_LINK10_LED 0x3000 |
Definition at line 236 of file dp83865_driver.h.
◆ DP83865_LED_CTRL_LINK10_LED_BLINK_MODE
| #define DP83865_LED_CTRL_LINK10_LED_BLINK_MODE 0x2000 |
Definition at line 239 of file dp83865_driver.h.
◆ DP83865_LED_CTRL_LINK10_LED_FORCED_OFF
| #define DP83865_LED_CTRL_LINK10_LED_FORCED_OFF 0x1000 |
Definition at line 238 of file dp83865_driver.h.
◆ DP83865_LED_CTRL_LINK10_LED_FORCED_ON
| #define DP83865_LED_CTRL_LINK10_LED_FORCED_ON 0x3000 |
Definition at line 240 of file dp83865_driver.h.
◆ DP83865_LED_CTRL_LINK10_LED_NORMAL
| #define DP83865_LED_CTRL_LINK10_LED_NORMAL 0x0000 |
Definition at line 237 of file dp83865_driver.h.
◆ DP83865_LED_CTRL_REDUCED_LED_EN
| #define DP83865_LED_CTRL_REDUCED_LED_EN 0x0020 |
Definition at line 256 of file dp83865_driver.h.
◆ DP83865_LINK_AN
| #define DP83865_LINK_AN 0x11 |
Definition at line 58 of file dp83865_driver.h.
◆ DP83865_LINK_AN_DEEP_LOOPBACK_STATUS
| #define DP83865_LINK_AN_DEEP_LOOPBACK_STATUS 0x0040 |
Definition at line 205 of file dp83865_driver.h.
◆ DP83865_LINK_AN_DUPLEX_STATUS
| #define DP83865_LINK_AN_DUPLEX_STATUS 0x0002 |
Definition at line 212 of file dp83865_driver.h.
◆ DP83865_LINK_AN_FIFO_ERROR
| #define DP83865_LINK_AN_FIFO_ERROR 0x0200 |
Definition at line 203 of file dp83865_driver.h.
◆ DP83865_LINK_AN_LINK_STATUS
| #define DP83865_LINK_AN_LINK_STATUS 0x0004 |
Definition at line 211 of file dp83865_driver.h.
◆ DP83865_LINK_AN_MDIX_STATUS
| #define DP83865_LINK_AN_MDIX_STATUS 0x0400 |
Definition at line 202 of file dp83865_driver.h.
◆ DP83865_LINK_AN_MS_CONF_STATUS
| #define DP83865_LINK_AN_MS_CONF_STATUS 0x0001 |
Definition at line 213 of file dp83865_driver.h.
◆ DP83865_LINK_AN_NON_COMPLIANT_MODE_STATUS
| #define DP83865_LINK_AN_NON_COMPLIANT_MODE_STATUS 0x0020 |
Definition at line 206 of file dp83865_driver.h.
◆ DP83865_LINK_AN_POWER_DOWN_STATUS
| #define DP83865_LINK_AN_POWER_DOWN_STATUS 0x0800 |
Definition at line 201 of file dp83865_driver.h.
◆ DP83865_LINK_AN_SHALLOW_LOOPBACK_STATUS
| #define DP83865_LINK_AN_SHALLOW_LOOPBACK_STATUS 0x0080 |
Definition at line 204 of file dp83865_driver.h.
◆ DP83865_LINK_AN_SPEED_STATUS
| #define DP83865_LINK_AN_SPEED_STATUS 0x0018 |
Definition at line 207 of file dp83865_driver.h.
◆ DP83865_LINK_AN_SPEED_STATUS_1000MBPS
| #define DP83865_LINK_AN_SPEED_STATUS_1000MBPS 0x0010 |
Definition at line 210 of file dp83865_driver.h.
◆ DP83865_LINK_AN_SPEED_STATUS_100MBPS
| #define DP83865_LINK_AN_SPEED_STATUS_100MBPS 0x0008 |
Definition at line 209 of file dp83865_driver.h.
◆ DP83865_LINK_AN_SPEED_STATUS_10MBPS
| #define DP83865_LINK_AN_SPEED_STATUS_10MBPS 0x0000 |
Definition at line 208 of file dp83865_driver.h.
◆ DP83865_LINK_AN_TP_POLARITY
| #define DP83865_LINK_AN_TP_POLARITY 0xF000 |
Definition at line 200 of file dp83865_driver.h.
◆ DP83865_PHY_ADDR
| #define DP83865_PHY_ADDR 0 |
Definition at line 39 of file dp83865_driver.h.
◆ DP83865_PHY_SUP
| #define DP83865_PHY_SUP 0x1F |
Definition at line 70 of file dp83865_driver.h.
◆ DP83865_PHY_SUP_PHY_ADDR
| #define DP83865_PHY_SUP_PHY_ADDR 0x001F |
Definition at line 329 of file dp83865_driver.h.
◆ DP83865_PHYIDR1
| #define DP83865_PHYIDR1 0x02 |
Definition at line 47 of file dp83865_driver.h.
◆ DP83865_PHYIDR1_OUI_MSB
| #define DP83865_PHYIDR1_OUI_MSB 0xFFFF |
Definition at line 102 of file dp83865_driver.h.
◆ DP83865_PHYIDR1_OUI_MSB_DEFAULT
| #define DP83865_PHYIDR1_OUI_MSB_DEFAULT 0x2000 |
Definition at line 103 of file dp83865_driver.h.
◆ DP83865_PHYIDR2
| #define DP83865_PHYIDR2 0x03 |
Definition at line 48 of file dp83865_driver.h.
◆ DP83865_PHYIDR2_MDL_REV
| #define DP83865_PHYIDR2_MDL_REV 0x000F |
Definition at line 110 of file dp83865_driver.h.
◆ DP83865_PHYIDR2_MDL_REV_DEFAULT
| #define DP83865_PHYIDR2_MDL_REV_DEFAULT 0x000A |
Definition at line 111 of file dp83865_driver.h.
◆ DP83865_PHYIDR2_OUI_LSB
| #define DP83865_PHYIDR2_OUI_LSB 0xFC00 |
Definition at line 106 of file dp83865_driver.h.
◆ DP83865_PHYIDR2_OUI_LSB_DEFAULT
| #define DP83865_PHYIDR2_OUI_LSB_DEFAULT 0x5C00 |
Definition at line 107 of file dp83865_driver.h.
◆ DP83865_PHYIDR2_VNDR_MDL
| #define DP83865_PHYIDR2_VNDR_MDL 0x03F0 |
Definition at line 108 of file dp83865_driver.h.
◆ DP83865_PHYIDR2_VNDR_MDL_DEFAULT
| #define DP83865_PHYIDR2_VNDR_MDL_DEFAULT 0x0070 |
Definition at line 109 of file dp83865_driver.h.
◆ DP83865_STRAP_REG
| #define DP83865_STRAP_REG 0x10 |
Definition at line 57 of file dp83865_driver.h.
◆ DP83865_STRAP_REG_AN_EN
| #define DP83865_STRAP_REG_AN_EN 0x8000 |
Definition at line 190 of file dp83865_driver.h.
◆ DP83865_STRAP_REG_DUPLEX_MODE
| #define DP83865_STRAP_REG_DUPLEX_MODE 0x4000 |
Definition at line 191 of file dp83865_driver.h.
◆ DP83865_STRAP_REG_MAC_CLOCK_EN
| #define DP83865_STRAP_REG_MAC_CLOCK_EN 0x0080 |
Definition at line 194 of file dp83865_driver.h.
◆ DP83865_STRAP_REG_MDIX_EN
| #define DP83865_STRAP_REG_MDIX_EN 0x0040 |
Definition at line 195 of file dp83865_driver.h.
◆ DP83865_STRAP_REG_MULTI_EN
| #define DP83865_STRAP_REG_MULTI_EN 0x0020 |
Definition at line 196 of file dp83865_driver.h.
◆ DP83865_STRAP_REG_NC_MODE_EN
| #define DP83865_STRAP_REG_NC_MODE_EN 0x0400 |
Definition at line 193 of file dp83865_driver.h.
◆ DP83865_STRAP_REG_PHYADDR
| #define DP83865_STRAP_REG_PHYADDR 0x001F |
Definition at line 197 of file dp83865_driver.h.
◆ DP83865_STRAP_REG_SPEED
| #define DP83865_STRAP_REG_SPEED 0x3000 |
Definition at line 192 of file dp83865_driver.h.
Function Documentation
◆ dp83865DisableIrq()
| void dp83865DisableIrq | ( | NetInterface * | interface | ) |
Disable interrupts.
- Parameters
-
[in] interface Underlying network interface
Definition at line 180 of file dp83865_driver.c.
◆ dp83865DumpPhyReg()
| void dp83865DumpPhyReg | ( | NetInterface * | interface | ) |
Dump PHY registers for debugging purpose.
- Parameters
-
[in] interface Underlying network interface
Definition at line 318 of file dp83865_driver.c.
◆ dp83865EnableIrq()
| void dp83865EnableIrq | ( | NetInterface * | interface | ) |
Enable interrupts.
- Parameters
-
[in] interface Underlying network interface
Definition at line 165 of file dp83865_driver.c.
◆ dp83865EventHandler()
| void dp83865EventHandler | ( | NetInterface * | interface | ) |
DP83865 event handler.
- Parameters
-
[in] interface Underlying network interface
Definition at line 195 of file dp83865_driver.c.
◆ dp83865Init()
| error_t dp83865Init | ( | NetInterface * | interface | ) |
DP83865 PHY transceiver initialization.
- Parameters
-
[in] interface Underlying network interface
- Returns
- Error code
Definition at line 60 of file dp83865_driver.c.
◆ dp83865InitHook()
| void dp83865InitHook | ( | NetInterface * | interface | ) |
DP83865 custom configuration.
- Parameters
-
[in] interface Underlying network interface
Definition at line 121 of file dp83865_driver.c.
◆ dp83865ReadPhyReg()
| uint16_t dp83865ReadPhyReg | ( | NetInterface * | interface, |
| uint8_t | address | ||
| ) |
Read PHY register.
- Parameters
-
[in] interface Underlying network interface [in] address PHY register address
- Returns
- Register value
Definition at line 292 of file dp83865_driver.c.
◆ dp83865Tick()
| void dp83865Tick | ( | NetInterface * | interface | ) |
DP83865 timer handler.
- Parameters
-
[in] interface Underlying network interface
Definition at line 131 of file dp83865_driver.c.
◆ dp83865WritePhyReg()
| void dp83865WritePhyReg | ( | NetInterface * | interface, |
| uint8_t | address, | ||
| uint16_t | data | ||
| ) |
Write PHY register.
- Parameters
-
[in] interface Underlying network interface [in] address PHY register address [in] data Register value
Definition at line 268 of file dp83865_driver.c.
Variable Documentation
◆ dp83865PhyDriver
|
extern |
DP83865 Ethernet PHY driver.
Definition at line 44 of file dp83865_driver.c.
