DP83620 Ethernet PHY driver. More...
#include "core/nic.h"
Go to the source code of this file.
Functions | |
error_t | dp83620Init (NetInterface *interface) |
DP83620 PHY transceiver initialization. More... | |
void | dp83620InitHook (NetInterface *interface) |
DP83620 custom configuration. More... | |
void | dp83620Tick (NetInterface *interface) |
DP83620 timer handler. More... | |
void | dp83620EnableIrq (NetInterface *interface) |
Enable interrupts. More... | |
void | dp83620DisableIrq (NetInterface *interface) |
Disable interrupts. More... | |
void | dp83620EventHandler (NetInterface *interface) |
DP83620 event handler. More... | |
void | dp83620WritePhyReg (NetInterface *interface, uint8_t address, uint16_t data) |
Write PHY register. More... | |
uint16_t | dp83620ReadPhyReg (NetInterface *interface, uint8_t address) |
Read PHY register. More... | |
void | dp83620DumpPhyReg (NetInterface *interface) |
Dump PHY registers for debugging purpose. More... | |
Variables | |
const PhyDriver | dp83620PhyDriver |
DP83620 Ethernet PHY driver. More... | |
Detailed Description
DP83620 Ethernet PHY driver.
License
SPDX-License-Identifier: GPL-2.0-or-later
Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved.
This file is part of CycloneTCP Open.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- Version
- 2.4.4
Definition in file dp83620_driver.h.
Macro Definition Documentation
◆ DP83620_10BTSCR
#define DP83620_10BTSCR 0x1A |
Definition at line 63 of file dp83620_driver.h.
◆ DP83620_10BTSCR_10BT_SCALE_MSB
#define DP83620_10BTSCR_10BT_SCALE_MSB 0x0004 |
Definition at line 280 of file dp83620_driver.h.
◆ DP83620_10BTSCR_AUTOPOL_DIS
#define DP83620_10BTSCR_AUTOPOL_DIS 0x0008 |
Definition at line 279 of file dp83620_driver.h.
◆ DP83620_10BTSCR_FORCE_LINK_10
#define DP83620_10BTSCR_FORCE_LINK_10 0x0040 |
Definition at line 276 of file dp83620_driver.h.
◆ DP83620_10BTSCR_FORCE_POL_COR
#define DP83620_10BTSCR_FORCE_POL_COR 0x0020 |
Definition at line 277 of file dp83620_driver.h.
◆ DP83620_10BTSCR_HEARTBEAT_DIS
#define DP83620_10BTSCR_HEARTBEAT_DIS 0x0002 |
Definition at line 281 of file dp83620_driver.h.
◆ DP83620_10BTSCR_JABBER_DIS
#define DP83620_10BTSCR_JABBER_DIS 0x0001 |
Definition at line 282 of file dp83620_driver.h.
◆ DP83620_10BTSCR_LOOPBACK_10_DIS
#define DP83620_10BTSCR_LOOPBACK_10_DIS 0x0100 |
Definition at line 274 of file dp83620_driver.h.
◆ DP83620_10BTSCR_LP_DIS
#define DP83620_10BTSCR_LP_DIS 0x0080 |
Definition at line 275 of file dp83620_driver.h.
◆ DP83620_10BTSCR_POLARITY
#define DP83620_10BTSCR_POLARITY 0x0010 |
Definition at line 278 of file dp83620_driver.h.
◆ DP83620_10BTSCR_SQUELCH
#define DP83620_10BTSCR_SQUELCH 0x0E00 |
Definition at line 273 of file dp83620_driver.h.
◆ DP83620_ANAR
#define DP83620_ANAR 0x04 |
Definition at line 49 of file dp83620_driver.h.
◆ DP83620_ANAR_100BT4
#define DP83620_ANAR_100BT4 0x0200 |
Definition at line 131 of file dp83620_driver.h.
◆ DP83620_ANAR_100BTX_FD
#define DP83620_ANAR_100BTX_FD 0x0100 |
Definition at line 132 of file dp83620_driver.h.
◆ DP83620_ANAR_100BTX_HD
#define DP83620_ANAR_100BTX_HD 0x0080 |
Definition at line 133 of file dp83620_driver.h.
◆ DP83620_ANAR_10BT_FD
#define DP83620_ANAR_10BT_FD 0x0040 |
Definition at line 134 of file dp83620_driver.h.
◆ DP83620_ANAR_10BT_HD
#define DP83620_ANAR_10BT_HD 0x0020 |
Definition at line 135 of file dp83620_driver.h.
◆ DP83620_ANAR_ASM_DIR
#define DP83620_ANAR_ASM_DIR 0x0800 |
Definition at line 129 of file dp83620_driver.h.
◆ DP83620_ANAR_NEXT_PAGE
#define DP83620_ANAR_NEXT_PAGE 0x8000 |
Definition at line 127 of file dp83620_driver.h.
◆ DP83620_ANAR_PAUSE
#define DP83620_ANAR_PAUSE 0x0400 |
Definition at line 130 of file dp83620_driver.h.
◆ DP83620_ANAR_REMOTE_FAULT
#define DP83620_ANAR_REMOTE_FAULT 0x2000 |
Definition at line 128 of file dp83620_driver.h.
◆ DP83620_ANAR_SELECTOR
#define DP83620_ANAR_SELECTOR 0x001F |
Definition at line 136 of file dp83620_driver.h.
◆ DP83620_ANAR_SELECTOR_DEFAULT
#define DP83620_ANAR_SELECTOR_DEFAULT 0x0001 |
Definition at line 137 of file dp83620_driver.h.
◆ DP83620_ANER
#define DP83620_ANER 0x06 |
Definition at line 51 of file dp83620_driver.h.
◆ DP83620_ANER_LP_AN_ABLE
#define DP83620_ANER_LP_AN_ABLE 0x0001 |
Definition at line 158 of file dp83620_driver.h.
◆ DP83620_ANER_LP_NP_ABLE
#define DP83620_ANER_LP_NP_ABLE 0x0008 |
Definition at line 155 of file dp83620_driver.h.
◆ DP83620_ANER_NP_ABLE
#define DP83620_ANER_NP_ABLE 0x0004 |
Definition at line 156 of file dp83620_driver.h.
◆ DP83620_ANER_PAGE_RX
#define DP83620_ANER_PAGE_RX 0x0002 |
Definition at line 157 of file dp83620_driver.h.
◆ DP83620_ANER_PAR_DETECT_FAULT
#define DP83620_ANER_PAR_DETECT_FAULT 0x0010 |
Definition at line 154 of file dp83620_driver.h.
◆ DP83620_ANLPAR
#define DP83620_ANLPAR 0x05 |
Definition at line 50 of file dp83620_driver.h.
◆ DP83620_ANLPAR_100BT4
#define DP83620_ANLPAR_100BT4 0x0200 |
Definition at line 145 of file dp83620_driver.h.
◆ DP83620_ANLPAR_100BTX_FD
#define DP83620_ANLPAR_100BTX_FD 0x0100 |
Definition at line 146 of file dp83620_driver.h.
◆ DP83620_ANLPAR_100BTX_HD
#define DP83620_ANLPAR_100BTX_HD 0x0080 |
Definition at line 147 of file dp83620_driver.h.
◆ DP83620_ANLPAR_10BT_FD
#define DP83620_ANLPAR_10BT_FD 0x0040 |
Definition at line 148 of file dp83620_driver.h.
◆ DP83620_ANLPAR_10BT_HD
#define DP83620_ANLPAR_10BT_HD 0x0020 |
Definition at line 149 of file dp83620_driver.h.
◆ DP83620_ANLPAR_ACK
#define DP83620_ANLPAR_ACK 0x4000 |
Definition at line 141 of file dp83620_driver.h.
◆ DP83620_ANLPAR_ASM_DIR
#define DP83620_ANLPAR_ASM_DIR 0x0800 |
Definition at line 143 of file dp83620_driver.h.
◆ DP83620_ANLPAR_NEXT_PAGE
#define DP83620_ANLPAR_NEXT_PAGE 0x8000 |
Definition at line 140 of file dp83620_driver.h.
◆ DP83620_ANLPAR_PAUSE
#define DP83620_ANLPAR_PAUSE 0x0400 |
Definition at line 144 of file dp83620_driver.h.
◆ DP83620_ANLPAR_REMOTE_FAULT
#define DP83620_ANLPAR_REMOTE_FAULT 0x2000 |
Definition at line 142 of file dp83620_driver.h.
◆ DP83620_ANLPAR_SELECTOR
#define DP83620_ANLPAR_SELECTOR 0x001F |
Definition at line 150 of file dp83620_driver.h.
◆ DP83620_ANLPAR_SELECTOR_DEFAULT
#define DP83620_ANLPAR_SELECTOR_DEFAULT 0x0001 |
Definition at line 151 of file dp83620_driver.h.
◆ DP83620_ANNPTR
#define DP83620_ANNPTR 0x07 |
Definition at line 52 of file dp83620_driver.h.
◆ DP83620_ANNPTR_ACK2
#define DP83620_ANNPTR_ACK2 0x1000 |
Definition at line 163 of file dp83620_driver.h.
◆ DP83620_ANNPTR_CODE
#define DP83620_ANNPTR_CODE 0x07FF |
Definition at line 165 of file dp83620_driver.h.
◆ DP83620_ANNPTR_MSG_PAGE
#define DP83620_ANNPTR_MSG_PAGE 0x2000 |
Definition at line 162 of file dp83620_driver.h.
◆ DP83620_ANNPTR_NEXT_PAGE
#define DP83620_ANNPTR_NEXT_PAGE 0x8000 |
Definition at line 161 of file dp83620_driver.h.
◆ DP83620_ANNPTR_TOGGLE
#define DP83620_ANNPTR_TOGGLE 0x0800 |
Definition at line 164 of file dp83620_driver.h.
◆ DP83620_BMCR
#define DP83620_BMCR 0x00 |
Definition at line 45 of file dp83620_driver.h.
◆ DP83620_BMCR_AN_EN
#define DP83620_BMCR_AN_EN 0x1000 |
Definition at line 92 of file dp83620_driver.h.
◆ DP83620_BMCR_COL_TEST
#define DP83620_BMCR_COL_TEST 0x0080 |
Definition at line 97 of file dp83620_driver.h.
◆ DP83620_BMCR_DUPLEX_MODE
#define DP83620_BMCR_DUPLEX_MODE 0x0100 |
Definition at line 96 of file dp83620_driver.h.
◆ DP83620_BMCR_ISOLATE
#define DP83620_BMCR_ISOLATE 0x0400 |
Definition at line 94 of file dp83620_driver.h.
◆ DP83620_BMCR_LOOPBACK
#define DP83620_BMCR_LOOPBACK 0x4000 |
Definition at line 90 of file dp83620_driver.h.
◆ DP83620_BMCR_POWER_DOWN
#define DP83620_BMCR_POWER_DOWN 0x0800 |
Definition at line 93 of file dp83620_driver.h.
◆ DP83620_BMCR_RESET
#define DP83620_BMCR_RESET 0x8000 |
Definition at line 89 of file dp83620_driver.h.
◆ DP83620_BMCR_RESTART_AN
#define DP83620_BMCR_RESTART_AN 0x0200 |
Definition at line 95 of file dp83620_driver.h.
◆ DP83620_BMCR_SPEED_SEL
#define DP83620_BMCR_SPEED_SEL 0x2000 |
Definition at line 91 of file dp83620_driver.h.
◆ DP83620_BMCR_UNIDIRECTIONAL_EN
#define DP83620_BMCR_UNIDIRECTIONAL_EN 0x0020 |
Definition at line 98 of file dp83620_driver.h.
◆ DP83620_BMSR
#define DP83620_BMSR 0x01 |
Definition at line 46 of file dp83620_driver.h.
◆ DP83620_BMSR_100BT4
#define DP83620_BMSR_100BT4 0x8000 |
Definition at line 101 of file dp83620_driver.h.
◆ DP83620_BMSR_100BTX_FD
#define DP83620_BMSR_100BTX_FD 0x4000 |
Definition at line 102 of file dp83620_driver.h.
◆ DP83620_BMSR_100BTX_HD
#define DP83620_BMSR_100BTX_HD 0x2000 |
Definition at line 103 of file dp83620_driver.h.
◆ DP83620_BMSR_10BT_FD
#define DP83620_BMSR_10BT_FD 0x1000 |
Definition at line 104 of file dp83620_driver.h.
◆ DP83620_BMSR_10BT_HD
#define DP83620_BMSR_10BT_HD 0x0800 |
Definition at line 105 of file dp83620_driver.h.
◆ DP83620_BMSR_AN_CAPABLE
#define DP83620_BMSR_AN_CAPABLE 0x0008 |
Definition at line 110 of file dp83620_driver.h.
◆ DP83620_BMSR_AN_COMPLETE
#define DP83620_BMSR_AN_COMPLETE 0x0020 |
Definition at line 108 of file dp83620_driver.h.
◆ DP83620_BMSR_EXTENDED_CAPABLE
#define DP83620_BMSR_EXTENDED_CAPABLE 0x0001 |
Definition at line 113 of file dp83620_driver.h.
◆ DP83620_BMSR_JABBER_DETECT
#define DP83620_BMSR_JABBER_DETECT 0x0002 |
Definition at line 112 of file dp83620_driver.h.
◆ DP83620_BMSR_LINK_STATUS
#define DP83620_BMSR_LINK_STATUS 0x0004 |
Definition at line 111 of file dp83620_driver.h.
◆ DP83620_BMSR_MF_PREAMBLE_SUPPR
#define DP83620_BMSR_MF_PREAMBLE_SUPPR 0x0040 |
Definition at line 107 of file dp83620_driver.h.
◆ DP83620_BMSR_REMOTE_FAULT
#define DP83620_BMSR_REMOTE_FAULT 0x0010 |
Definition at line 109 of file dp83620_driver.h.
◆ DP83620_BMSR_UNIDIRECTIONAL_ABLE
#define DP83620_BMSR_UNIDIRECTIONAL_ABLE 0x0080 |
Definition at line 106 of file dp83620_driver.h.
◆ DP83620_CDCTRL1
#define DP83620_CDCTRL1 0x1B |
Definition at line 64 of file dp83620_driver.h.
◆ DP83620_CDCTRL1_BIST_CONT
#define DP83620_CDCTRL1_BIST_CONT 0x0020 |
Definition at line 287 of file dp83620_driver.h.
◆ DP83620_CDCTRL1_BIST_ERROR_COUNT
#define DP83620_CDCTRL1_BIST_ERROR_COUNT 0xFF00 |
Definition at line 285 of file dp83620_driver.h.
◆ DP83620_CDCTRL1_CDPATTEN_10
#define DP83620_CDCTRL1_CDPATTEN_10 0x0010 |
Definition at line 288 of file dp83620_driver.h.
◆ DP83620_CDCTRL1_CDPATTSEL
#define DP83620_CDCTRL1_CDPATTSEL 0x0003 |
Definition at line 291 of file dp83620_driver.h.
◆ DP83620_CDCTRL1_MDIO_PULL_EN
#define DP83620_CDCTRL1_MDIO_PULL_EN 0x0008 |
Definition at line 289 of file dp83620_driver.h.
◆ DP83620_CDCTRL1_MII_CLOCK_EN
#define DP83620_CDCTRL1_MII_CLOCK_EN 0x0040 |
Definition at line 286 of file dp83620_driver.h.
◆ DP83620_CDCTRL1_PATT_GAP_10M
#define DP83620_CDCTRL1_PATT_GAP_10M 0x0004 |
Definition at line 290 of file dp83620_driver.h.
◆ DP83620_EDCR
#define DP83620_EDCR 0x1D |
Definition at line 66 of file dp83620_driver.h.
◆ DP83620_EDCR_ED_AUTO_DOWN
#define DP83620_EDCR_ED_AUTO_DOWN 0x2000 |
Definition at line 304 of file dp83620_driver.h.
◆ DP83620_EDCR_ED_AUTO_UP
#define DP83620_EDCR_ED_AUTO_UP 0x4000 |
Definition at line 303 of file dp83620_driver.h.
◆ DP83620_EDCR_ED_BURST_DIS
#define DP83620_EDCR_ED_BURST_DIS 0x0800 |
Definition at line 306 of file dp83620_driver.h.
◆ DP83620_EDCR_ED_DATA_COUNT
#define DP83620_EDCR_ED_DATA_COUNT 0x000F |
Definition at line 311 of file dp83620_driver.h.
◆ DP83620_EDCR_ED_DATA_MET
#define DP83620_EDCR_ED_DATA_MET 0x0100 |
Definition at line 309 of file dp83620_driver.h.
◆ DP83620_EDCR_ED_EN
#define DP83620_EDCR_ED_EN 0x8000 |
Definition at line 302 of file dp83620_driver.h.
◆ DP83620_EDCR_ED_ERR_COUNT
#define DP83620_EDCR_ED_ERR_COUNT 0x00F0 |
Definition at line 310 of file dp83620_driver.h.
◆ DP83620_EDCR_ED_ERR_MET
#define DP83620_EDCR_ED_ERR_MET 0x0200 |
Definition at line 308 of file dp83620_driver.h.
◆ DP83620_EDCR_ED_MAN
#define DP83620_EDCR_ED_MAN 0x1000 |
Definition at line 305 of file dp83620_driver.h.
◆ DP83620_EDCR_ED_PWR_STATE
#define DP83620_EDCR_ED_PWR_STATE 0x0400 |
Definition at line 307 of file dp83620_driver.h.
◆ DP83620_FCSCR
#define DP83620_FCSCR 0x14 |
Definition at line 57 of file dp83620_driver.h.
◆ DP83620_FCSCR_FCSCNT
#define DP83620_FCSCR_FCSCNT 0x00FF |
Definition at line 211 of file dp83620_driver.h.
◆ DP83620_FREQ100
#define DP83620_FREQ100 0x15 |
Definition at line 74 of file dp83620_driver.h.
◆ DP83620_FREQ100_FREQ_OFFSET
#define DP83620_FREQ100_FREQ_OFFSET 0x00FF |
Definition at line 331 of file dp83620_driver.h.
◆ DP83620_FREQ100_SAMPLE_FREQ
#define DP83620_FREQ100_SAMPLE_FREQ 0x8000 |
Definition at line 329 of file dp83620_driver.h.
◆ DP83620_FREQ100_SEL_FC
#define DP83620_FREQ100_SEL_FC 0x0100 |
Definition at line 330 of file dp83620_driver.h.
◆ DP83620_LEDCR
#define DP83620_LEDCR 0x18 |
Definition at line 61 of file dp83620_driver.h.
◆ DP83620_LEDCR_ACTLED
#define DP83620_LEDCR_ACTLED 0x0001 |
Definition at line 257 of file dp83620_driver.h.
◆ DP83620_LEDCR_BLINK_FREQ
#define DP83620_LEDCR_BLINK_FREQ 0x00C0 |
Definition at line 247 of file dp83620_driver.h.
◆ DP83620_LEDCR_BLINK_FREQ_12HZ
#define DP83620_LEDCR_BLINK_FREQ_12HZ 0x0040 |
Definition at line 249 of file dp83620_driver.h.
◆ DP83620_LEDCR_BLINK_FREQ_24HZ
#define DP83620_LEDCR_BLINK_FREQ_24HZ 0x0080 |
Definition at line 250 of file dp83620_driver.h.
◆ DP83620_LEDCR_BLINK_FREQ_48HZ
#define DP83620_LEDCR_BLINK_FREQ_48HZ 0x00C0 |
Definition at line 251 of file dp83620_driver.h.
◆ DP83620_LEDCR_BLINK_FREQ_6HZ
#define DP83620_LEDCR_BLINK_FREQ_6HZ 0x0000 |
Definition at line 248 of file dp83620_driver.h.
◆ DP83620_LEDCR_DIS_ACTLED
#define DP83620_LEDCR_DIS_ACTLED 0x0200 |
Definition at line 245 of file dp83620_driver.h.
◆ DP83620_LEDCR_DIS_LNKLED
#define DP83620_LEDCR_DIS_LNKLED 0x0400 |
Definition at line 244 of file dp83620_driver.h.
◆ DP83620_LEDCR_DIS_SPDLED
#define DP83620_LEDCR_DIS_SPDLED 0x0800 |
Definition at line 243 of file dp83620_driver.h.
◆ DP83620_LEDCR_DRV_ACTLED
#define DP83620_LEDCR_DRV_ACTLED 0x0008 |
Definition at line 254 of file dp83620_driver.h.
◆ DP83620_LEDCR_DRV_LNKLED
#define DP83620_LEDCR_DRV_LNKLED 0x0010 |
Definition at line 253 of file dp83620_driver.h.
◆ DP83620_LEDCR_DRV_SPDLED
#define DP83620_LEDCR_DRV_SPDLED 0x0020 |
Definition at line 252 of file dp83620_driver.h.
◆ DP83620_LEDCR_LEDACT_RX
#define DP83620_LEDCR_LEDACT_RX 0x0100 |
Definition at line 246 of file dp83620_driver.h.
◆ DP83620_LEDCR_LNKLED
#define DP83620_LEDCR_LNKLED 0x0002 |
Definition at line 256 of file dp83620_driver.h.
◆ DP83620_LEDCR_SPDLED
#define DP83620_LEDCR_SPDLED 0x0004 |
Definition at line 255 of file dp83620_driver.h.
◆ DP83620_LEN100_DET
#define DP83620_LEN100_DET 0x14 |
Definition at line 73 of file dp83620_driver.h.
◆ DP83620_LEN100_DET_CABLE_LEN
#define DP83620_LEN100_DET_CABLE_LEN 0x00FF |
Definition at line 326 of file dp83620_driver.h.
◆ DP83620_LQDR
#define DP83620_LQDR 0x1E |
Definition at line 82 of file dp83620_driver.h.
◆ DP83620_LQDR_LQ_PARAM_SEL
#define DP83620_LQDR_LQ_PARAM_SEL 0x0E00 |
Definition at line 382 of file dp83620_driver.h.
◆ DP83620_LQDR_LQ_THR_DATA
#define DP83620_LQDR_LQ_THR_DATA 0x00FF |
Definition at line 384 of file dp83620_driver.h.
◆ DP83620_LQDR_LQ_THR_SEL
#define DP83620_LQDR_LQ_THR_SEL 0x0100 |
Definition at line 383 of file dp83620_driver.h.
◆ DP83620_LQDR_SAMPLE_PARAM
#define DP83620_LQDR_SAMPLE_PARAM 0x2000 |
Definition at line 380 of file dp83620_driver.h.
◆ DP83620_LQDR_WRITE_LQ_THR
#define DP83620_LQDR_WRITE_LQ_THR 0x1000 |
Definition at line 381 of file dp83620_driver.h.
◆ DP83620_LQMR
#define DP83620_LQMR 0x1D |
Definition at line 81 of file dp83620_driver.h.
◆ DP83620_LQMR2
#define DP83620_LQMR2 0x1F |
Definition at line 83 of file dp83620_driver.h.
◆ DP83620_LQMR2_RESTART_ON_VAR
#define DP83620_LQMR2_RESTART_ON_VAR 0x0400 |
Definition at line 387 of file dp83620_driver.h.
◆ DP83620_LQMR2_VAR_HI_WARN
#define DP83620_LQMR2_VAR_HI_WARN 0x0002 |
Definition at line 388 of file dp83620_driver.h.
◆ DP83620_LQMR_C1_HI_WARN
#define DP83620_LQMR_C1_HI_WARN 0x0002 |
Definition at line 376 of file dp83620_driver.h.
◆ DP83620_LQMR_C1_LO_WARN
#define DP83620_LQMR_C1_LO_WARN 0x0001 |
Definition at line 377 of file dp83620_driver.h.
◆ DP83620_LQMR_DAGC_HI_WARN
#define DP83620_LQMR_DAGC_HI_WARN 0x0008 |
Definition at line 374 of file dp83620_driver.h.
◆ DP83620_LQMR_DAGC_LO_WARN
#define DP83620_LQMR_DAGC_LO_WARN 0x0004 |
Definition at line 375 of file dp83620_driver.h.
◆ DP83620_LQMR_DBLW_HI_WARN
#define DP83620_LQMR_DBLW_HI_WARN 0x0020 |
Definition at line 372 of file dp83620_driver.h.
◆ DP83620_LQMR_DBLW_LO_WARN
#define DP83620_LQMR_DBLW_LO_WARN 0x0010 |
Definition at line 373 of file dp83620_driver.h.
◆ DP83620_LQMR_FC_HI_WARN
#define DP83620_LQMR_FC_HI_WARN 0x0200 |
Definition at line 368 of file dp83620_driver.h.
◆ DP83620_LQMR_FC_LO_WARN
#define DP83620_LQMR_FC_LO_WARN 0x0100 |
Definition at line 369 of file dp83620_driver.h.
◆ DP83620_LQMR_FREQ_HI_WARN
#define DP83620_LQMR_FREQ_HI_WARN 0x0080 |
Definition at line 370 of file dp83620_driver.h.
◆ DP83620_LQMR_FREQ_LO_WARN
#define DP83620_LQMR_FREQ_LO_WARN 0x0040 |
Definition at line 371 of file dp83620_driver.h.
◆ DP83620_LQMR_LQM_ENABLE
#define DP83620_LQMR_LQM_ENABLE 0x8000 |
Definition at line 362 of file dp83620_driver.h.
◆ DP83620_LQMR_RESTART_ON_C1
#define DP83620_LQMR_RESTART_ON_C1 0x0400 |
Definition at line 367 of file dp83620_driver.h.
◆ DP83620_LQMR_RESTART_ON_DAGC
#define DP83620_LQMR_RESTART_ON_DAGC 0x0800 |
Definition at line 366 of file dp83620_driver.h.
◆ DP83620_LQMR_RESTART_ON_DBLW
#define DP83620_LQMR_RESTART_ON_DBLW 0x1000 |
Definition at line 365 of file dp83620_driver.h.
◆ DP83620_LQMR_RESTART_ON_FC
#define DP83620_LQMR_RESTART_ON_FC 0x4000 |
Definition at line 363 of file dp83620_driver.h.
◆ DP83620_LQMR_RESTART_ON_FREQ
#define DP83620_LQMR_RESTART_ON_FREQ 0x2000 |
Definition at line 364 of file dp83620_driver.h.
◆ DP83620_MICR
#define DP83620_MICR 0x11 |
Definition at line 54 of file dp83620_driver.h.
◆ DP83620_MICR_INT_OE
#define DP83620_MICR_INT_OE 0x0001 |
Definition at line 187 of file dp83620_driver.h.
◆ DP83620_MICR_INTEN
#define DP83620_MICR_INTEN 0x0002 |
Definition at line 186 of file dp83620_driver.h.
◆ DP83620_MICR_TINT
#define DP83620_MICR_TINT 0x0004 |
Definition at line 185 of file dp83620_driver.h.
◆ DP83620_MISR
#define DP83620_MISR 0x12 |
Definition at line 55 of file dp83620_driver.h.
◆ DP83620_MISR_ANC_INT
#define DP83620_MISR_ANC_INT 0x0400 |
Definition at line 195 of file dp83620_driver.h.
◆ DP83620_MISR_ANC_INT_EN
#define DP83620_MISR_ANC_INT_EN 0x0004 |
Definition at line 203 of file dp83620_driver.h.
◆ DP83620_MISR_DUP_INT
#define DP83620_MISR_DUP_INT 0x0800 |
Definition at line 194 of file dp83620_driver.h.
◆ DP83620_MISR_DUP_INT_EN
#define DP83620_MISR_DUP_INT_EN 0x0008 |
Definition at line 202 of file dp83620_driver.h.
◆ DP83620_MISR_ED_INT
#define DP83620_MISR_ED_INT 0x4000 |
Definition at line 191 of file dp83620_driver.h.
◆ DP83620_MISR_ED_INT_EN
#define DP83620_MISR_ED_INT_EN 0x0040 |
Definition at line 199 of file dp83620_driver.h.
◆ DP83620_MISR_FHF_INT
#define DP83620_MISR_FHF_INT 0x0200 |
Definition at line 196 of file dp83620_driver.h.
◆ DP83620_MISR_FHF_INT_EN
#define DP83620_MISR_FHF_INT_EN 0x0002 |
Definition at line 204 of file dp83620_driver.h.
◆ DP83620_MISR_LINK_INT
#define DP83620_MISR_LINK_INT 0x2000 |
Definition at line 192 of file dp83620_driver.h.
◆ DP83620_MISR_LINK_INT_EN
#define DP83620_MISR_LINK_INT_EN 0x0020 |
Definition at line 200 of file dp83620_driver.h.
◆ DP83620_MISR_LQ_INT
#define DP83620_MISR_LQ_INT 0x8000 |
Definition at line 190 of file dp83620_driver.h.
◆ DP83620_MISR_LQ_INT_EN
#define DP83620_MISR_LQ_INT_EN 0x0080 |
Definition at line 198 of file dp83620_driver.h.
◆ DP83620_MISR_RHF_INT
#define DP83620_MISR_RHF_INT 0x0100 |
Definition at line 197 of file dp83620_driver.h.
◆ DP83620_MISR_RHF_INT_EN
#define DP83620_MISR_RHF_INT_EN 0x0001 |
Definition at line 205 of file dp83620_driver.h.
◆ DP83620_MISR_SPD_INT
#define DP83620_MISR_SPD_INT 0x1000 |
Definition at line 193 of file dp83620_driver.h.
◆ DP83620_MISR_SPD_INT_EN
#define DP83620_MISR_SPD_INT_EN 0x0010 |
Definition at line 201 of file dp83620_driver.h.
◆ DP83620_PAGSR
#define DP83620_PAGSR 0x13 |
Definition at line 56 of file dp83620_driver.h.
◆ DP83620_PAGSR_PAGE_SEL
#define DP83620_PAGSR_PAGE_SEL 0x0007 |
Definition at line 208 of file dp83620_driver.h.
◆ DP83620_PCFCR
#define DP83620_PCFCR 0x1F |
Definition at line 67 of file dp83620_driver.h.
◆ DP83620_PCFCR_PCF_BC_DIS
#define DP83620_PCFCR_PCF_BC_DIS 0x0020 |
Definition at line 318 of file dp83620_driver.h.
◆ DP83620_PCFCR_PCF_BUF
#define DP83620_PCFCR_PCF_BUF 0x001E |
Definition at line 319 of file dp83620_driver.h.
◆ DP83620_PCFCR_PCF_DA_SEL
#define DP83620_PCFCR_PCF_DA_SEL 0x0100 |
Definition at line 316 of file dp83620_driver.h.
◆ DP83620_PCFCR_PCF_EN
#define DP83620_PCFCR_PCF_EN 0x0001 |
Definition at line 320 of file dp83620_driver.h.
◆ DP83620_PCFCR_PCF_INT_CTL
#define DP83620_PCFCR_PCF_INT_CTL 0x00C0 |
Definition at line 317 of file dp83620_driver.h.
◆ DP83620_PCFCR_PCF_STS_ERR
#define DP83620_PCFCR_PCF_STS_ERR 0x8000 |
Definition at line 314 of file dp83620_driver.h.
◆ DP83620_PCFCR_PCF_STS_OK
#define DP83620_PCFCR_PCF_STS_OK 0x4000 |
Definition at line 315 of file dp83620_driver.h.
◆ DP83620_PCSR
#define DP83620_PCSR 0x16 |
Definition at line 59 of file dp83620_driver.h.
◆ DP83620_PCSR_AUTO_CROSSOVER
#define DP83620_PCSR_AUTO_CROSSOVER 0x8000 |
Definition at line 217 of file dp83620_driver.h.
◆ DP83620_PCSR_DESC_TIME
#define DP83620_PCSR_DESC_TIME 0x0080 |
Definition at line 222 of file dp83620_driver.h.
◆ DP83620_PCSR_DESCRAM_BYPASS
#define DP83620_PCSR_DESCRAM_BYPASS 0x0001 |
Definition at line 228 of file dp83620_driver.h.
◆ DP83620_PCSR_FEFI_EN
#define DP83620_PCSR_FEFI_EN 0x0008 |
Definition at line 225 of file dp83620_driver.h.
◆ DP83620_PCSR_FORCE_100_OK
#define DP83620_PCSR_FORCE_100_OK 0x0020 |
Definition at line 224 of file dp83620_driver.h.
◆ DP83620_PCSR_FREE_CLK
#define DP83620_PCSR_FREE_CLK 0x0800 |
Definition at line 218 of file dp83620_driver.h.
◆ DP83620_PCSR_FX_EN
#define DP83620_PCSR_FX_EN 0x0040 |
Definition at line 223 of file dp83620_driver.h.
◆ DP83620_PCSR_NRZI_BYPASS
#define DP83620_PCSR_NRZI_BYPASS 0x0004 |
Definition at line 226 of file dp83620_driver.h.
◆ DP83620_PCSR_SCRAM_BYPASS
#define DP83620_PCSR_SCRAM_BYPASS 0x0002 |
Definition at line 227 of file dp83620_driver.h.
◆ DP83620_PCSR_SD_FORCE_PMA
#define DP83620_PCSR_SD_FORCE_PMA 0x0200 |
Definition at line 220 of file dp83620_driver.h.
◆ DP83620_PCSR_SD_OPTION
#define DP83620_PCSR_SD_OPTION 0x0100 |
Definition at line 221 of file dp83620_driver.h.
◆ DP83620_PCSR_TQ_EN
#define DP83620_PCSR_TQ_EN 0x0400 |
Definition at line 219 of file dp83620_driver.h.
◆ DP83620_PHY_ADDR
#define DP83620_PHY_ADDR 1 |
Definition at line 39 of file dp83620_driver.h.
◆ DP83620_PHYCR
#define DP83620_PHYCR 0x19 |
Definition at line 62 of file dp83620_driver.h.
◆ DP83620_PHYCR2
#define DP83620_PHYCR2 0x1C |
Definition at line 65 of file dp83620_driver.h.
◆ DP83620_PHYCR2_BC_WRITE
#define DP83620_PHYCR2_BC_WRITE 0x0800 |
Definition at line 296 of file dp83620_driver.h.
◆ DP83620_PHYCR2_CLK_OUT_DIS
#define DP83620_PHYCR2_CLK_OUT_DIS 0x0002 |
Definition at line 299 of file dp83620_driver.h.
◆ DP83620_PHYCR2_CLK_OUT_RXCLK
#define DP83620_PHYCR2_CLK_OUT_RXCLK 0x1000 |
Definition at line 295 of file dp83620_driver.h.
◆ DP83620_PHYCR2_PHYTER_COMP
#define DP83620_PHYCR2_PHYTER_COMP 0x0400 |
Definition at line 297 of file dp83620_driver.h.
◆ DP83620_PHYCR2_SOFT_RESET
#define DP83620_PHYCR2_SOFT_RESET 0x0200 |
Definition at line 298 of file dp83620_driver.h.
◆ DP83620_PHYCR2_SYNC_ENET_EN
#define DP83620_PHYCR2_SYNC_ENET_EN 0x2000 |
Definition at line 294 of file dp83620_driver.h.
◆ DP83620_PHYCR_BIST_FE
#define DP83620_PHYCR_BIST_FE 0x0800 |
Definition at line 264 of file dp83620_driver.h.
◆ DP83620_PHYCR_BIST_START
#define DP83620_PHYCR_BIST_START 0x0100 |
Definition at line 267 of file dp83620_driver.h.
◆ DP83620_PHYCR_BIST_STATUS
#define DP83620_PHYCR_BIST_STATUS 0x0200 |
Definition at line 266 of file dp83620_driver.h.
◆ DP83620_PHYCR_BP_STRETCH
#define DP83620_PHYCR_BP_STRETCH 0x0080 |
Definition at line 268 of file dp83620_driver.h.
◆ DP83620_PHYCR_FORCE_MDIX
#define DP83620_PHYCR_FORCE_MDIX 0x4000 |
Definition at line 261 of file dp83620_driver.h.
◆ DP83620_PHYCR_LED_CNFG
#define DP83620_PHYCR_LED_CNFG 0x0060 |
Definition at line 269 of file dp83620_driver.h.
◆ DP83620_PHYCR_MDIX_EN
#define DP83620_PHYCR_MDIX_EN 0x8000 |
Definition at line 260 of file dp83620_driver.h.
◆ DP83620_PHYCR_PAUSE_RX
#define DP83620_PHYCR_PAUSE_RX 0x2000 |
Definition at line 262 of file dp83620_driver.h.
◆ DP83620_PHYCR_PAUSE_TX
#define DP83620_PHYCR_PAUSE_TX 0x1000 |
Definition at line 263 of file dp83620_driver.h.
◆ DP83620_PHYCR_PHYADDR
#define DP83620_PHYCR_PHYADDR 0x001F |
Definition at line 270 of file dp83620_driver.h.
◆ DP83620_PHYCR_PSR_15
#define DP83620_PHYCR_PSR_15 0x0400 |
Definition at line 265 of file dp83620_driver.h.
◆ DP83620_PHYIDR1
#define DP83620_PHYIDR1 0x02 |
Definition at line 47 of file dp83620_driver.h.
◆ DP83620_PHYIDR1_OUI_MSB
#define DP83620_PHYIDR1_OUI_MSB 0xFFFF |
Definition at line 116 of file dp83620_driver.h.
◆ DP83620_PHYIDR1_OUI_MSB_DEFAULT
#define DP83620_PHYIDR1_OUI_MSB_DEFAULT 0x2000 |
Definition at line 117 of file dp83620_driver.h.
◆ DP83620_PHYIDR2
#define DP83620_PHYIDR2 0x03 |
Definition at line 48 of file dp83620_driver.h.
◆ DP83620_PHYIDR2_MDL_REV
#define DP83620_PHYIDR2_MDL_REV 0x000F |
Definition at line 124 of file dp83620_driver.h.
◆ DP83620_PHYIDR2_OUI_LSB
#define DP83620_PHYIDR2_OUI_LSB 0xFC00 |
Definition at line 120 of file dp83620_driver.h.
◆ DP83620_PHYIDR2_OUI_LSB_DEFAULT
#define DP83620_PHYIDR2_OUI_LSB_DEFAULT 0x5C00 |
Definition at line 121 of file dp83620_driver.h.
◆ DP83620_PHYIDR2_VNDR_MDL
#define DP83620_PHYIDR2_VNDR_MDL 0x03F0 |
Definition at line 122 of file dp83620_driver.h.
◆ DP83620_PHYIDR2_VNDR_MDL_DEFAULT
#define DP83620_PHYIDR2_VNDR_MDL_DEFAULT 0x00E0 |
Definition at line 123 of file dp83620_driver.h.
◆ DP83620_PHYSTS
#define DP83620_PHYSTS 0x10 |
Definition at line 53 of file dp83620_driver.h.
◆ DP83620_PHYSTS_AN_COMPLETE
#define DP83620_PHYSTS_AN_COMPLETE 0x0010 |
Definition at line 178 of file dp83620_driver.h.
◆ DP83620_PHYSTS_DESCRAMBLER_LOCK
#define DP83620_PHYSTS_DESCRAMBLER_LOCK 0x0200 |
Definition at line 173 of file dp83620_driver.h.
◆ DP83620_PHYSTS_DUPLEX_STATUS
#define DP83620_PHYSTS_DUPLEX_STATUS 0x0004 |
Definition at line 180 of file dp83620_driver.h.
◆ DP83620_PHYSTS_FALSE_CARRIER_SENSE_LATCH
#define DP83620_PHYSTS_FALSE_CARRIER_SENSE_LATCH 0x0800 |
Definition at line 171 of file dp83620_driver.h.
◆ DP83620_PHYSTS_JABBER_DETECT
#define DP83620_PHYSTS_JABBER_DETECT 0x0020 |
Definition at line 177 of file dp83620_driver.h.
◆ DP83620_PHYSTS_LINK_STATUS
#define DP83620_PHYSTS_LINK_STATUS 0x0001 |
Definition at line 182 of file dp83620_driver.h.
◆ DP83620_PHYSTS_LOOPBACK_STATUS
#define DP83620_PHYSTS_LOOPBACK_STATUS 0x0008 |
Definition at line 179 of file dp83620_driver.h.
◆ DP83620_PHYSTS_MDIX_MODE
#define DP83620_PHYSTS_MDIX_MODE 0x4000 |
Definition at line 168 of file dp83620_driver.h.
◆ DP83620_PHYSTS_MII_INTERRUPT
#define DP83620_PHYSTS_MII_INTERRUPT 0x0080 |
Definition at line 175 of file dp83620_driver.h.
◆ DP83620_PHYSTS_PAGE_RECEIVED
#define DP83620_PHYSTS_PAGE_RECEIVED 0x0100 |
Definition at line 174 of file dp83620_driver.h.
◆ DP83620_PHYSTS_POLARITY_STATUS
#define DP83620_PHYSTS_POLARITY_STATUS 0x1000 |
Definition at line 170 of file dp83620_driver.h.
◆ DP83620_PHYSTS_RECEIVE_ERROR_LATCH
#define DP83620_PHYSTS_RECEIVE_ERROR_LATCH 0x2000 |
Definition at line 169 of file dp83620_driver.h.
◆ DP83620_PHYSTS_REMOTE_FAULT
#define DP83620_PHYSTS_REMOTE_FAULT 0x0040 |
Definition at line 176 of file dp83620_driver.h.
◆ DP83620_PHYSTS_SIGNAL_DETECT
#define DP83620_PHYSTS_SIGNAL_DETECT 0x0400 |
Definition at line 172 of file dp83620_driver.h.
◆ DP83620_PHYSTS_SPEED_STATUS
#define DP83620_PHYSTS_SPEED_STATUS 0x0002 |
Definition at line 181 of file dp83620_driver.h.
◆ DP83620_PSF_CFG
#define DP83620_PSF_CFG 0x18 |
Definition at line 86 of file dp83620_driver.h.
◆ DP83620_PSF_CFG_MAC_SRC_ADD
#define DP83620_PSF_CFG_MAC_SRC_ADD 0x1800 |
Definition at line 391 of file dp83620_driver.h.
◆ DP83620_PSF_CFG_MIN_PRE
#define DP83620_PSF_CFG_MIN_PRE 0x0700 |
Definition at line 392 of file dp83620_driver.h.
◆ DP83620_PSF_CFG_PSF_ENDIAN
#define DP83620_PSF_CFG_PSF_ENDIAN 0x0080 |
Definition at line 393 of file dp83620_driver.h.
◆ DP83620_PSF_CFG_PSF_ERR_EN
#define DP83620_PSF_CFG_PSF_ERR_EN 0x0010 |
Definition at line 396 of file dp83620_driver.h.
◆ DP83620_PSF_CFG_PSF_IPV4
#define DP83620_PSF_CFG_PSF_IPV4 0x0040 |
Definition at line 394 of file dp83620_driver.h.
◆ DP83620_PSF_CFG_PSF_PCF_RD
#define DP83620_PSF_CFG_PSF_PCF_RD 0x0020 |
Definition at line 395 of file dp83620_driver.h.
◆ DP83620_RBR
#define DP83620_RBR 0x17 |
Definition at line 60 of file dp83620_driver.h.
◆ DP83620_RBR_DIS_TX_OPT
#define DP83620_RBR_DIS_TX_OPT 0x2000 |
Definition at line 232 of file dp83620_driver.h.
◆ DP83620_RBR_ELAST_BUF
#define DP83620_RBR_ELAST_BUF 0x0003 |
Definition at line 240 of file dp83620_driver.h.
◆ DP83620_RBR_PMD_LOOP
#define DP83620_RBR_PMD_LOOP 0x0100 |
Definition at line 233 of file dp83620_driver.h.
◆ DP83620_RBR_RMII_MASTER
#define DP83620_RBR_RMII_MASTER 0x4000 |
Definition at line 231 of file dp83620_driver.h.
◆ DP83620_RBR_RMII_MODE
#define DP83620_RBR_RMII_MODE 0x0020 |
Definition at line 236 of file dp83620_driver.h.
◆ DP83620_RBR_RMII_REV1_0
#define DP83620_RBR_RMII_REV1_0 0x0010 |
Definition at line 237 of file dp83620_driver.h.
◆ DP83620_RBR_RX_OVF_STS
#define DP83620_RBR_RX_OVF_STS 0x0008 |
Definition at line 238 of file dp83620_driver.h.
◆ DP83620_RBR_RX_UNF_STS
#define DP83620_RBR_RX_UNF_STS 0x0004 |
Definition at line 239 of file dp83620_driver.h.
◆ DP83620_RBR_SCMII_RX
#define DP83620_RBR_SCMII_RX 0x0080 |
Definition at line 234 of file dp83620_driver.h.
◆ DP83620_RBR_SCMII_TX
#define DP83620_RBR_SCMII_TX 0x0040 |
Definition at line 235 of file dp83620_driver.h.
◆ DP83620_RECR
#define DP83620_RECR 0x15 |
Definition at line 58 of file dp83620_driver.h.
◆ DP83620_RECR_RXERCNT
#define DP83620_RECR_RXERCNT 0x00FF |
Definition at line 214 of file dp83620_driver.h.
◆ DP83620_SD_CNFG
#define DP83620_SD_CNFG 0x1E |
Definition at line 70 of file dp83620_driver.h.
◆ DP83620_SD_CNFG_SD_TIME
#define DP83620_SD_CNFG_SD_TIME 0x0100 |
Definition at line 323 of file dp83620_driver.h.
◆ DP83620_TDR_CTRL
#define DP83620_TDR_CTRL 0x16 |
Definition at line 75 of file dp83620_driver.h.
◆ DP83620_TDR_CTRL_RX_CHANNEL
#define DP83620_TDR_CTRL_RX_CHANNEL 0x1000 |
Definition at line 337 of file dp83620_driver.h.
◆ DP83620_TDR_CTRL_RX_THRESHOLD
#define DP83620_TDR_CTRL_RX_THRESHOLD 0x003F |
Definition at line 341 of file dp83620_driver.h.
◆ DP83620_TDR_CTRL_SEND_TDR
#define DP83620_TDR_CTRL_SEND_TDR 0x0800 |
Definition at line 338 of file dp83620_driver.h.
◆ DP83620_TDR_CTRL_TDR_100MB
#define DP83620_TDR_CTRL_TDR_100MB 0x4000 |
Definition at line 335 of file dp83620_driver.h.
◆ DP83620_TDR_CTRL_TDR_ENABLE
#define DP83620_TDR_CTRL_TDR_ENABLE 0x8000 |
Definition at line 334 of file dp83620_driver.h.
◆ DP83620_TDR_CTRL_TDR_MIN_MODE
#define DP83620_TDR_CTRL_TDR_MIN_MODE 0x0080 |
Definition at line 340 of file dp83620_driver.h.
◆ DP83620_TDR_CTRL_TDR_WIDTH
#define DP83620_TDR_CTRL_TDR_WIDTH 0x0700 |
Definition at line 339 of file dp83620_driver.h.
◆ DP83620_TDR_CTRL_TX_CHANNEL
#define DP83620_TDR_CTRL_TX_CHANNEL 0x2000 |
Definition at line 336 of file dp83620_driver.h.
◆ DP83620_TDR_PEAK
#define DP83620_TDR_PEAK 0x18 |
Definition at line 77 of file dp83620_driver.h.
◆ DP83620_TDR_PEAK_TDR_PEAK
#define DP83620_TDR_PEAK_TDR_PEAK 0x3F00 |
Definition at line 348 of file dp83620_driver.h.
◆ DP83620_TDR_PEAK_TDR_PEAK_TIME
#define DP83620_TDR_PEAK_TDR_PEAK_TIME 0x00FF |
Definition at line 349 of file dp83620_driver.h.
◆ DP83620_TDR_THR
#define DP83620_TDR_THR 0x19 |
Definition at line 78 of file dp83620_driver.h.
◆ DP83620_TDR_THR_TDR_THR_MET
#define DP83620_TDR_THR_TDR_THR_MET 0x0100 |
Definition at line 352 of file dp83620_driver.h.
◆ DP83620_TDR_THR_TDR_THR_TIME
#define DP83620_TDR_THR_TDR_THR_TIME 0x00FF |
Definition at line 353 of file dp83620_driver.h.
◆ DP83620_TDR_WIN
#define DP83620_TDR_WIN 0x17 |
Definition at line 76 of file dp83620_driver.h.
◆ DP83620_TDR_WIN_TDR_START
#define DP83620_TDR_WIN_TDR_START 0xFF00 |
Definition at line 344 of file dp83620_driver.h.
◆ DP83620_TDR_WIN_TDR_STOP
#define DP83620_TDR_WIN_TDR_STOP 0x00FF |
Definition at line 345 of file dp83620_driver.h.
◆ DP83620_VAR_CTRL
#define DP83620_VAR_CTRL 0x1A |
Definition at line 79 of file dp83620_driver.h.
◆ DP83620_VAR_CTRL_VAR_ENABLE
#define DP83620_VAR_CTRL_VAR_ENABLE 0x0001 |
Definition at line 359 of file dp83620_driver.h.
◆ DP83620_VAR_CTRL_VAR_FREEZE
#define DP83620_VAR_CTRL_VAR_FREEZE 0x0008 |
Definition at line 357 of file dp83620_driver.h.
◆ DP83620_VAR_CTRL_VAR_RDY
#define DP83620_VAR_CTRL_VAR_RDY 0x8000 |
Definition at line 356 of file dp83620_driver.h.
◆ DP83620_VAR_CTRL_VAR_TIMER
#define DP83620_VAR_CTRL_VAR_TIMER 0x0006 |
Definition at line 358 of file dp83620_driver.h.
◆ DP83620_VAR_DAT
#define DP83620_VAR_DAT 0x1B |
Definition at line 80 of file dp83620_driver.h.
Function Documentation
◆ dp83620DisableIrq()
void dp83620DisableIrq | ( | NetInterface * | interface | ) |
Disable interrupts.
- Parameters
-
[in] interface Underlying network interface
Definition at line 183 of file dp83620_driver.c.
◆ dp83620DumpPhyReg()
void dp83620DumpPhyReg | ( | NetInterface * | interface | ) |
Dump PHY registers for debugging purpose.
- Parameters
-
[in] interface Underlying network interface
Definition at line 309 of file dp83620_driver.c.
◆ dp83620EnableIrq()
void dp83620EnableIrq | ( | NetInterface * | interface | ) |
Enable interrupts.
- Parameters
-
[in] interface Underlying network interface
Definition at line 168 of file dp83620_driver.c.
◆ dp83620EventHandler()
void dp83620EventHandler | ( | NetInterface * | interface | ) |
DP83620 event handler.
- Parameters
-
[in] interface Underlying network interface
Definition at line 198 of file dp83620_driver.c.
◆ dp83620Init()
error_t dp83620Init | ( | NetInterface * | interface | ) |
DP83620 PHY transceiver initialization.
- Parameters
-
[in] interface Underlying network interface
- Returns
- Error code
Definition at line 60 of file dp83620_driver.c.
◆ dp83620InitHook()
void dp83620InitHook | ( | NetInterface * | interface | ) |
DP83620 custom configuration.
- Parameters
-
[in] interface Underlying network interface
Definition at line 120 of file dp83620_driver.c.
◆ dp83620ReadPhyReg()
uint16_t dp83620ReadPhyReg | ( | 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 283 of file dp83620_driver.c.
◆ dp83620Tick()
void dp83620Tick | ( | NetInterface * | interface | ) |
DP83620 timer handler.
- Parameters
-
[in] interface Underlying network interface
Definition at line 130 of file dp83620_driver.c.
◆ dp83620WritePhyReg()
void dp83620WritePhyReg | ( | 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 259 of file dp83620_driver.c.
Variable Documentation
◆ dp83620PhyDriver
|
extern |
DP83620 Ethernet PHY driver.
Definition at line 44 of file dp83620_driver.c.