LAN8651 10Base-T1S Ethernet controller. More...
#include "core/nic.h"
Go to the source code of this file.
Functions | |
error_t | lan8651Init (NetInterface *interface) |
LAN8651 controller initialization. More... | |
void | lan8651InitHook (NetInterface *interface) |
LAN8651 custom configuration. More... | |
void | lan8651Config (NetInterface *interface) |
LAN8651 controller configuration. More... | |
void | lan8651Tick (NetInterface *interface) |
LAN8651 timer handler. More... | |
void | lan8651EnableIrq (NetInterface *interface) |
Enable interrupts. More... | |
void | lan8651DisableIrq (NetInterface *interface) |
Disable interrupts. More... | |
bool_t | lan8651IrqHandler (NetInterface *interface) |
LAN8651 interrupt service routine. More... | |
void | lan8651EventHandler (NetInterface *interface) |
LAN8651 event handler. More... | |
error_t | lan8651SendPacket (NetInterface *interface, const NetBuffer *buffer, size_t offset, NetTxAncillary *ancillary) |
Send a packet. More... | |
error_t | lan8651ReceivePacket (NetInterface *interface) |
Receive a packet. More... | |
error_t | lan8651UpdateMacAddrFilter (NetInterface *interface) |
Configure MAC address filtering. More... | |
void | lan8651WriteReg (NetInterface *interface, uint8_t mms, uint16_t address, uint32_t data) |
Write register. More... | |
uint32_t | lan8651ReadReg (NetInterface *interface, uint8_t mms, uint16_t address) |
Read register. More... | |
void | lan8651DumpReg (NetInterface *interface, uint8_t mms, uint16_t address, uint_t num) |
Dump registers for debugging purpose. More... | |
void | lan8651WriteMmdReg (NetInterface *interface, uint8_t devAddr, uint16_t regAddr, uint16_t data) |
Write MMD register. More... | |
uint16_t | lan8651ReadMmdReg (NetInterface *interface, uint8_t devAddr, uint16_t regAddr) |
Read MMD register. More... | |
int8_t | lan8651ReadIndirectReg (NetInterface *interface, uint8_t address) |
Read indirect register. More... | |
uint32_t | lan8651CalcParity (uint32_t data) |
Calculate parity bit over a 32-bit data. More... | |
Variables | |
const NicDriver | lan8651Driver |
LAN8651 driver. More... | |
Detailed Description
LAN8651 10Base-T1S Ethernet controller.
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 lan8651_driver.h.
Macro Definition Documentation
◆ LAN8651_ANALOG5
#define LAN8651_ANALOG5 0x04, 0x00D5 |
Definition at line 210 of file lan8651_driver.h.
◆ LAN8651_ANALOG5_UV33FTM
#define LAN8651_ANALOG5_UV33FTM 0xFF00 |
Definition at line 672 of file lan8651_driver.h.
◆ LAN8651_ANALOG5_UV33FTM_DEFAULT
#define LAN8651_ANALOG5_UV33FTM_DEFAULT 0x1400 |
Definition at line 673 of file lan8651_driver.h.
◆ LAN8651_BASIC_CONTROL
#define LAN8651_BASIC_CONTROL 0x00, 0xFF00 |
Definition at line 133 of file lan8651_driver.h.
◆ LAN8651_BASIC_CONTROL_AUTONEGEN
#define LAN8651_BASIC_CONTROL_AUTONEGEN 0x1000 |
Definition at line 337 of file lan8651_driver.h.
◆ LAN8651_BASIC_CONTROL_DUPLEXMD
#define LAN8651_BASIC_CONTROL_DUPLEXMD 0x0100 |
Definition at line 340 of file lan8651_driver.h.
◆ LAN8651_BASIC_CONTROL_LOOPBACK
#define LAN8651_BASIC_CONTROL_LOOPBACK 0x4000 |
Definition at line 335 of file lan8651_driver.h.
◆ LAN8651_BASIC_CONTROL_PD
#define LAN8651_BASIC_CONTROL_PD 0x0800 |
Definition at line 338 of file lan8651_driver.h.
◆ LAN8651_BASIC_CONTROL_REAUTONEG
#define LAN8651_BASIC_CONTROL_REAUTONEG 0x0200 |
Definition at line 339 of file lan8651_driver.h.
◆ LAN8651_BASIC_CONTROL_SPD_SEL_LSB
#define LAN8651_BASIC_CONTROL_SPD_SEL_LSB 0x2000 |
Definition at line 336 of file lan8651_driver.h.
◆ LAN8651_BASIC_CONTROL_SPD_SEL_MSB
#define LAN8651_BASIC_CONTROL_SPD_SEL_MSB 0x0040 |
Definition at line 341 of file lan8651_driver.h.
◆ LAN8651_BASIC_CONTROL_SW_RESET
#define LAN8651_BASIC_CONTROL_SW_RESET 0x8000 |
Definition at line 334 of file lan8651_driver.h.
◆ LAN8651_BASIC_STATUS
#define LAN8651_BASIC_STATUS 0x00, 0xFF01 |
Definition at line 134 of file lan8651_driver.h.
◆ LAN8651_BASIC_STATUS_100BT2FDA
#define LAN8651_BASIC_STATUS_100BT2FDA 0x0400 |
Definition at line 349 of file lan8651_driver.h.
◆ LAN8651_BASIC_STATUS_100BT2HDA
#define LAN8651_BASIC_STATUS_100BT2HDA 0x0200 |
Definition at line 350 of file lan8651_driver.h.
◆ LAN8651_BASIC_STATUS_100BT4A
#define LAN8651_BASIC_STATUS_100BT4A 0x8000 |
Definition at line 344 of file lan8651_driver.h.
◆ LAN8651_BASIC_STATUS_100BTXFDA
#define LAN8651_BASIC_STATUS_100BTXFDA 0x4000 |
Definition at line 345 of file lan8651_driver.h.
◆ LAN8651_BASIC_STATUS_100BTXHDA
#define LAN8651_BASIC_STATUS_100BTXHDA 0x2000 |
Definition at line 346 of file lan8651_driver.h.
◆ LAN8651_BASIC_STATUS_10BTFDA
#define LAN8651_BASIC_STATUS_10BTFDA 0x1000 |
Definition at line 347 of file lan8651_driver.h.
◆ LAN8651_BASIC_STATUS_10BTHDA
#define LAN8651_BASIC_STATUS_10BTHDA 0x0800 |
Definition at line 348 of file lan8651_driver.h.
◆ LAN8651_BASIC_STATUS_AUTONEGA
#define LAN8651_BASIC_STATUS_AUTONEGA 0x0008 |
Definition at line 354 of file lan8651_driver.h.
◆ LAN8651_BASIC_STATUS_AUTONEGC
#define LAN8651_BASIC_STATUS_AUTONEGC 0x0020 |
Definition at line 352 of file lan8651_driver.h.
◆ LAN8651_BASIC_STATUS_EXTCAPA
#define LAN8651_BASIC_STATUS_EXTCAPA 0x0001 |
Definition at line 357 of file lan8651_driver.h.
◆ LAN8651_BASIC_STATUS_EXTSTS
#define LAN8651_BASIC_STATUS_EXTSTS 0x0100 |
Definition at line 351 of file lan8651_driver.h.
◆ LAN8651_BASIC_STATUS_JABDET
#define LAN8651_BASIC_STATUS_JABDET 0x0002 |
Definition at line 356 of file lan8651_driver.h.
◆ LAN8651_BASIC_STATUS_LNKSTS
#define LAN8651_BASIC_STATUS_LNKSTS 0x0004 |
Definition at line 355 of file lan8651_driver.h.
◆ LAN8651_BASIC_STATUS_RMTFLTD
#define LAN8651_BASIC_STATUS_RMTFLTD 0x0010 |
Definition at line 353 of file lan8651_driver.h.
◆ LAN8651_BCNCNTH
#define LAN8651_BCNCNTH 0x04, 0x0026 |
Definition at line 203 of file lan8651_driver.h.
◆ LAN8651_BCNCNTH_BCNCNT_31_16
#define LAN8651_BCNCNTH_BCNCNT_31_16 0xFFFF |
Definition at line 637 of file lan8651_driver.h.
◆ LAN8651_BCNCNTL
#define LAN8651_BCNCNTL 0x04, 0x0027 |
Definition at line 204 of file lan8651_driver.h.
◆ LAN8651_BCNCNTL_BCNCNT_15_0
#define LAN8651_BCNCNTL_BCNCNT_15_0 0xFFFF |
Definition at line 640 of file lan8651_driver.h.
◆ LAN8651_BMGR_CTL
#define LAN8651_BMGR_CTL 0x01, 0x0280 |
Definition at line 165 of file lan8651_driver.h.
◆ LAN8651_BMGR_CTL_CLRSTATS
#define LAN8651_BMGR_CTL_CLRSTATS 0x00000010 |
Definition at line 477 of file lan8651_driver.h.
◆ LAN8651_BMGR_CTL_SNAPSTATS
#define LAN8651_BMGR_CTL_SNAPSTATS 0x00000020 |
Definition at line 476 of file lan8651_driver.h.
◆ LAN8651_CHUNK_PAYLOAD_SIZE
#define LAN8651_CHUNK_PAYLOAD_SIZE 64 |
Definition at line 66 of file lan8651_driver.h.
◆ LAN8651_CTRCTRL
#define LAN8651_CTRCTRL 0x04, 0x0020 |
Definition at line 200 of file lan8651_driver.h.
◆ LAN8651_CTRCTRL_BCNCTRE
#define LAN8651_CTRCTRL_BCNCTRE 0x0001 |
Definition at line 628 of file lan8651_driver.h.
◆ LAN8651_CTRCTRL_TOCTRE
#define LAN8651_CTRCTRL_TOCTRE 0x0002 |
Definition at line 627 of file lan8651_driver.h.
◆ LAN8651_CTRL1
#define LAN8651_CTRL1 0x04, 0x0010 |
Definition at line 194 of file lan8651_driver.h.
◆ LAN8651_CTRL1_DIGLBE
#define LAN8651_CTRL1_DIGLBE 0x0002 |
Definition at line 583 of file lan8651_driver.h.
◆ LAN8651_CTRL1_IWDE
#define LAN8651_CTRL1_IWDE 0x0008 |
Definition at line 582 of file lan8651_driver.h.
◆ LAN8651_CTRL_HEADER_ADDR
#define LAN8651_CTRL_HEADER_ADDR 0x00FFFF00 |
Definition at line 104 of file lan8651_driver.h.
◆ LAN8651_CTRL_HEADER_AID
#define LAN8651_CTRL_HEADER_AID 0x10000000 |
Definition at line 102 of file lan8651_driver.h.
◆ LAN8651_CTRL_HEADER_DNC
#define LAN8651_CTRL_HEADER_DNC 0x80000000 |
Definition at line 99 of file lan8651_driver.h.
◆ LAN8651_CTRL_HEADER_HDRB
#define LAN8651_CTRL_HEADER_HDRB 0x40000000 |
Definition at line 100 of file lan8651_driver.h.
◆ LAN8651_CTRL_HEADER_LEN
#define LAN8651_CTRL_HEADER_LEN 0x000000FE |
Definition at line 105 of file lan8651_driver.h.
◆ LAN8651_CTRL_HEADER_MMS
#define LAN8651_CTRL_HEADER_MMS 0x0F000000 |
Definition at line 103 of file lan8651_driver.h.
◆ LAN8651_CTRL_HEADER_P
#define LAN8651_CTRL_HEADER_P 0x00000001 |
Definition at line 106 of file lan8651_driver.h.
◆ LAN8651_CTRL_HEADER_WNR
#define LAN8651_CTRL_HEADER_WNR 0x20000000 |
Definition at line 101 of file lan8651_driver.h.
◆ LAN8651_DEVID
#define LAN8651_DEVID 0x0A, 0x94 |
Definition at line 223 of file lan8651_driver.h.
◆ LAN8651_DEVID_MODEL
#define LAN8651_DEVID_MODEL 0x000FFFF0 |
Definition at line 741 of file lan8651_driver.h.
◆ LAN8651_DEVID_MODEL_DEFAULT
#define LAN8651_DEVID_MODEL_DEFAULT 0x00086510 |
Definition at line 742 of file lan8651_driver.h.
◆ LAN8651_DEVID_REV
#define LAN8651_DEVID_REV 0x0000000F |
Definition at line 743 of file lan8651_driver.h.
◆ LAN8651_DEVID_REV_1
#define LAN8651_DEVID_REV_1 0x00000001 |
Definition at line 744 of file lan8651_driver.h.
◆ LAN8651_ETH_RX_BUFFER_SIZE
#define LAN8651_ETH_RX_BUFFER_SIZE 1536 |
Definition at line 60 of file lan8651_driver.h.
◆ LAN8651_IMSK1
#define LAN8651_IMSK1 0x04, 0x001C |
Definition at line 198 of file lan8651_driver.h.
◆ LAN8651_IMSK1_BCNBFTOM
#define LAN8651_IMSK1_BCNBFTOM 0x0010 |
Definition at line 614 of file lan8651_driver.h.
◆ LAN8651_IMSK1_DEC5BM
#define LAN8651_IMSK1_DEC5BM 0x0001 |
Definition at line 617 of file lan8651_driver.h.
◆ LAN8651_IMSK1_EMPCYCM
#define LAN8651_IMSK1_EMPCYCM 0x0080 |
Definition at line 611 of file lan8651_driver.h.
◆ LAN8651_IMSK1_ESDERRM
#define LAN8651_IMSK1_ESDERRM 0x0002 |
Definition at line 616 of file lan8651_driver.h.
◆ LAN8651_IMSK1_PLCASYMM
#define LAN8651_IMSK1_PLCASYMM 0x0004 |
Definition at line 615 of file lan8651_driver.h.
◆ LAN8651_IMSK1_PSTCM
#define LAN8651_IMSK1_PSTCM 0x0800 |
Definition at line 608 of file lan8651_driver.h.
◆ LAN8651_IMSK1_RXINTOM
#define LAN8651_IMSK1_RXINTOM 0x0040 |
Definition at line 612 of file lan8651_driver.h.
◆ LAN8651_IMSK1_TXCOLM
#define LAN8651_IMSK1_TXCOLM 0x0400 |
Definition at line 609 of file lan8651_driver.h.
◆ LAN8651_IMSK1_TXJABM
#define LAN8651_IMSK1_TXJABM 0x0200 |
Definition at line 610 of file lan8651_driver.h.
◆ LAN8651_IMSK1_UNEXPBM
#define LAN8651_IMSK1_UNEXPBM 0x0020 |
Definition at line 613 of file lan8651_driver.h.
◆ LAN8651_IMSK2
#define LAN8651_IMSK2 0x04, 0x001D |
Definition at line 199 of file lan8651_driver.h.
◆ LAN8651_IMSK2_IWDTOM
#define LAN8651_IMSK2_IWDTOM 0x0020 |
Definition at line 624 of file lan8651_driver.h.
◆ LAN8651_IMSK2_OTM
#define LAN8651_IMSK2_OTM 0x0040 |
Definition at line 623 of file lan8651_driver.h.
◆ LAN8651_IMSK2_UV33M
#define LAN8651_IMSK2_UV33M 0x0100 |
Definition at line 622 of file lan8651_driver.h.
◆ LAN8651_IMSK2_WKEMDIM
#define LAN8651_IMSK2_WKEMDIM 0x0400 |
Definition at line 620 of file lan8651_driver.h.
◆ LAN8651_IMSK2_WKEWIM
#define LAN8651_IMSK2_WKEWIM 0x0200 |
Definition at line 621 of file lan8651_driver.h.
◆ LAN8651_IWDTOH
#define LAN8651_IWDTOH 0x04, 0x003E |
Definition at line 206 of file lan8651_driver.h.
◆ LAN8651_IWDTOH_TIMEOUT_31_16
#define LAN8651_IWDTOH_TIMEOUT_31_16 0xFFFF |
Definition at line 648 of file lan8651_driver.h.
◆ LAN8651_IWDTOL
#define LAN8651_IWDTOL 0x04, 0x003F |
Definition at line 207 of file lan8651_driver.h.
◆ LAN8651_IWDTOL_TIMEOUT_15_0
#define LAN8651_IWDTOL_TIMEOUT_15_0 0xFFFF |
Definition at line 651 of file lan8651_driver.h.
◆ LAN8651_LOCAL_ID
#define LAN8651_LOCAL_ID 1 |
Definition at line 53 of file lan8651_driver.h.
◆ LAN8651_MAC_HRB
#define LAN8651_MAC_HRB 0x01, 0x0020 |
Definition at line 143 of file lan8651_driver.h.
◆ LAN8651_MAC_HRT
#define LAN8651_MAC_HRT 0x01, 0x0021 |
Definition at line 144 of file lan8651_driver.h.
◆ LAN8651_MAC_NCFGR
#define LAN8651_MAC_NCFGR 0x01, 0x0001 |
Definition at line 142 of file lan8651_driver.h.
◆ LAN8651_MAC_NCFGR_CAF
#define LAN8651_MAC_NCFGR_CAF 0x00000010 |
Definition at line 402 of file lan8651_driver.h.
◆ LAN8651_MAC_NCFGR_DNVLAN
#define LAN8651_MAC_NCFGR_DNVLAN 0x00000004 |
Definition at line 403 of file lan8651_driver.h.
◆ LAN8651_MAC_NCFGR_EFRHD
#define LAN8651_MAC_NCFGR_EFRHD 0x02000000 |
Definition at line 395 of file lan8651_driver.h.
◆ LAN8651_MAC_NCFGR_IRXFCS
#define LAN8651_MAC_NCFGR_IRXFCS 0x04000000 |
Definition at line 394 of file lan8651_driver.h.
◆ LAN8651_MAC_NCFGR_LFERD
#define LAN8651_MAC_NCFGR_LFERD 0x00010000 |
Definition at line 397 of file lan8651_driver.h.
◆ LAN8651_MAC_NCFGR_MAXFS
#define LAN8651_MAC_NCFGR_MAXFS 0x00000100 |
Definition at line 398 of file lan8651_driver.h.
◆ LAN8651_MAC_NCFGR_MTIHEN
#define LAN8651_MAC_NCFGR_MTIHEN 0x00000040 |
Definition at line 400 of file lan8651_driver.h.
◆ LAN8651_MAC_NCFGR_NBC
#define LAN8651_MAC_NCFGR_NBC 0x00000020 |
Definition at line 401 of file lan8651_driver.h.
◆ LAN8651_MAC_NCFGR_RFCS
#define LAN8651_MAC_NCFGR_RFCS 0x00020000 |
Definition at line 396 of file lan8651_driver.h.
◆ LAN8651_MAC_NCFGR_RXBP
#define LAN8651_MAC_NCFGR_RXBP 0x20000000 |
Definition at line 393 of file lan8651_driver.h.
◆ LAN8651_MAC_NCFGR_UNIHEN
#define LAN8651_MAC_NCFGR_UNIHEN 0x00000080 |
Definition at line 399 of file lan8651_driver.h.
◆ LAN8651_MAC_NCR
#define LAN8651_MAC_NCR 0x01, 0x0000 |
Definition at line 141 of file lan8651_driver.h.
◆ LAN8651_MAC_NCR_LBL
#define LAN8651_MAC_NCR_LBL 0x00000002 |
Definition at line 390 of file lan8651_driver.h.
◆ LAN8651_MAC_NCR_RXEN
#define LAN8651_MAC_NCR_RXEN 0x00000004 |
Definition at line 389 of file lan8651_driver.h.
◆ LAN8651_MAC_NCR_TXEN
#define LAN8651_MAC_NCR_TXEN 0x00000008 |
Definition at line 388 of file lan8651_driver.h.
◆ LAN8651_MAC_SAB1
#define LAN8651_MAC_SAB1 0x01, 0x0022 |
Definition at line 145 of file lan8651_driver.h.
◆ LAN8651_MAC_SAB1_ADDR_31_0
#define LAN8651_MAC_SAB1_ADDR_31_0 0xFFFFFFFF |
Definition at line 406 of file lan8651_driver.h.
◆ LAN8651_MAC_SAB2
#define LAN8651_MAC_SAB2 0x01, 0x0024 |
Definition at line 147 of file lan8651_driver.h.
◆ LAN8651_MAC_SAB2_ADDR_31_0
#define LAN8651_MAC_SAB2_ADDR_31_0 0xFFFFFFFF |
Definition at line 413 of file lan8651_driver.h.
◆ LAN8651_MAC_SAB3
#define LAN8651_MAC_SAB3 0x01, 0x0026 |
Definition at line 149 of file lan8651_driver.h.
◆ LAN8651_MAC_SAB3_ADDR_31_0
#define LAN8651_MAC_SAB3_ADDR_31_0 0xFFFFFFFF |
Definition at line 420 of file lan8651_driver.h.
◆ LAN8651_MAC_SAB4
#define LAN8651_MAC_SAB4 0x01, 0x0028 |
Definition at line 151 of file lan8651_driver.h.
◆ LAN8651_MAC_SAB4_ADDR_31_0
#define LAN8651_MAC_SAB4_ADDR_31_0 0xFFFFFFFF |
Definition at line 427 of file lan8651_driver.h.
◆ LAN8651_MAC_SAMB1
#define LAN8651_MAC_SAMB1 0x01, 0x0032 |
Definition at line 157 of file lan8651_driver.h.
◆ LAN8651_MAC_SAMB1_ADDR_31_0
#define LAN8651_MAC_SAMB1_ADDR_31_0 0xFFFFFFFF |
Definition at line 450 of file lan8651_driver.h.
◆ LAN8651_MAC_SAMT1
#define LAN8651_MAC_SAMT1 0x01, 0x0033 |
Definition at line 158 of file lan8651_driver.h.
◆ LAN8651_MAC_SAMT1_ADDR_47_32
#define LAN8651_MAC_SAMT1_ADDR_47_32 0x0000FFFF |
Definition at line 453 of file lan8651_driver.h.
◆ LAN8651_MAC_SAT1
#define LAN8651_MAC_SAT1 0x01, 0x0023 |
Definition at line 146 of file lan8651_driver.h.
◆ LAN8651_MAC_SAT1_ADDR_47_32
#define LAN8651_MAC_SAT1_ADDR_47_32 0x0000FFFF |
Definition at line 410 of file lan8651_driver.h.
◆ LAN8651_MAC_SAT1_FLTTYP
#define LAN8651_MAC_SAT1_FLTTYP 0x00010000 |
Definition at line 409 of file lan8651_driver.h.
◆ LAN8651_MAC_SAT2
#define LAN8651_MAC_SAT2 0x01, 0x0025 |
Definition at line 148 of file lan8651_driver.h.
◆ LAN8651_MAC_SAT2_ADDR_47_32
#define LAN8651_MAC_SAT2_ADDR_47_32 0x0000FFFF |
Definition at line 417 of file lan8651_driver.h.
◆ LAN8651_MAC_SAT2_FLTTYP
#define LAN8651_MAC_SAT2_FLTTYP 0x00010000 |
Definition at line 416 of file lan8651_driver.h.
◆ LAN8651_MAC_SAT3
#define LAN8651_MAC_SAT3 0x01, 0x0027 |
Definition at line 150 of file lan8651_driver.h.
◆ LAN8651_MAC_SAT3_ADDR_47_32
#define LAN8651_MAC_SAT3_ADDR_47_32 0x0000FFFF |
Definition at line 424 of file lan8651_driver.h.
◆ LAN8651_MAC_SAT3_FLTTYP
#define LAN8651_MAC_SAT3_FLTTYP 0x00010000 |
Definition at line 423 of file lan8651_driver.h.
◆ LAN8651_MAC_SAT4
#define LAN8651_MAC_SAT4 0x01, 0x0029 |
Definition at line 152 of file lan8651_driver.h.
◆ LAN8651_MAC_SAT4_ADDR_47_32
#define LAN8651_MAC_SAT4_ADDR_47_32 0x0000FFFF |
Definition at line 431 of file lan8651_driver.h.
◆ LAN8651_MAC_SAT4_FLTTYP
#define LAN8651_MAC_SAT4_FLTTYP 0x00010000 |
Definition at line 430 of file lan8651_driver.h.
◆ LAN8651_MAC_TA
#define LAN8651_MAC_TA 0x01, 0x0076 |
Definition at line 163 of file lan8651_driver.h.
◆ LAN8651_MAC_TA_ADJ
#define LAN8651_MAC_TA_ADJ 0x80000000 |
Definition at line 469 of file lan8651_driver.h.
◆ LAN8651_MAC_TA_ITDT
#define LAN8651_MAC_TA_ITDT 0x3FFFFFFF |
Definition at line 470 of file lan8651_driver.h.
◆ LAN8651_MAC_TI
#define LAN8651_MAC_TI 0x01, 0x0077 |
Definition at line 164 of file lan8651_driver.h.
◆ LAN8651_MAC_TI_CNS
#define LAN8651_MAC_TI_CNS 0x000000FF |
Definition at line 473 of file lan8651_driver.h.
◆ LAN8651_MAC_TIDM1
#define LAN8651_MAC_TIDM1 0x01, 0x002A |
Definition at line 153 of file lan8651_driver.h.
◆ LAN8651_MAC_TIDM1_ENID
#define LAN8651_MAC_TIDM1_ENID 0x80000000 |
Definition at line 434 of file lan8651_driver.h.
◆ LAN8651_MAC_TIDM1_TID
#define LAN8651_MAC_TIDM1_TID 0x0000FFFF |
Definition at line 435 of file lan8651_driver.h.
◆ LAN8651_MAC_TIDM2
#define LAN8651_MAC_TIDM2 0x01, 0x002B |
Definition at line 154 of file lan8651_driver.h.
◆ LAN8651_MAC_TIDM2_ENID
#define LAN8651_MAC_TIDM2_ENID 0x80000000 |
Definition at line 438 of file lan8651_driver.h.
◆ LAN8651_MAC_TIDM2_TID
#define LAN8651_MAC_TIDM2_TID 0x0000FFFF |
Definition at line 439 of file lan8651_driver.h.
◆ LAN8651_MAC_TIDM3
#define LAN8651_MAC_TIDM3 0x01, 0x002C |
Definition at line 155 of file lan8651_driver.h.
◆ LAN8651_MAC_TIDM3_ENID
#define LAN8651_MAC_TIDM3_ENID 0x80000000 |
Definition at line 442 of file lan8651_driver.h.
◆ LAN8651_MAC_TIDM3_TID
#define LAN8651_MAC_TIDM3_TID 0x0000FFFF |
Definition at line 443 of file lan8651_driver.h.
◆ LAN8651_MAC_TIDM4
#define LAN8651_MAC_TIDM4 0x01, 0x002D |
Definition at line 156 of file lan8651_driver.h.
◆ LAN8651_MAC_TIDM4_ENID
#define LAN8651_MAC_TIDM4_ENID 0x80000000 |
Definition at line 446 of file lan8651_driver.h.
◆ LAN8651_MAC_TIDM4_TID
#define LAN8651_MAC_TIDM4_TID 0x0000FFFF |
Definition at line 447 of file lan8651_driver.h.
◆ LAN8651_MAC_TISUBN
#define LAN8651_MAC_TISUBN 0x01, 0x006F |
Definition at line 159 of file lan8651_driver.h.
◆ LAN8651_MAC_TISUBN_LSBTIR
#define LAN8651_MAC_TISUBN_LSBTIR 0xFF000000 |
Definition at line 456 of file lan8651_driver.h.
◆ LAN8651_MAC_TISUBN_MSBTIR
#define LAN8651_MAC_TISUBN_MSBTIR 0x0000FFFF |
Definition at line 457 of file lan8651_driver.h.
◆ LAN8651_MAC_TN
#define LAN8651_MAC_TN 0x01, 0x0075 |
Definition at line 162 of file lan8651_driver.h.
◆ LAN8651_MAC_TN_TNS
#define LAN8651_MAC_TN_TNS 0x3FFFFFFF |
Definition at line 466 of file lan8651_driver.h.
◆ LAN8651_MAC_TSH
#define LAN8651_MAC_TSH 0x01, 0x0070 |
Definition at line 160 of file lan8651_driver.h.
◆ LAN8651_MAC_TSH_TCS_47_32
#define LAN8651_MAC_TSH_TCS_47_32 0x0000FFFF |
Definition at line 460 of file lan8651_driver.h.
◆ LAN8651_MAC_TSL
#define LAN8651_MAC_TSL 0x01, 0x0074 |
Definition at line 161 of file lan8651_driver.h.
◆ LAN8651_MAC_TSL_TCS_31_0
#define LAN8651_MAC_TSL_TCS_31_0 0xFFFFFFFF |
Definition at line 463 of file lan8651_driver.h.
◆ LAN8651_MIDVER
#define LAN8651_MIDVER 0x04, 0xCA00 |
Definition at line 211 of file lan8651_driver.h.
◆ LAN8651_MIDVER_IDM
#define LAN8651_MIDVER_IDM 0xFF00 |
Definition at line 676 of file lan8651_driver.h.
◆ LAN8651_MIDVER_IDM_DEFAULT
#define LAN8651_MIDVER_IDM_DEFAULT 0x0A00 |
Definition at line 677 of file lan8651_driver.h.
◆ LAN8651_MIDVER_VER
#define LAN8651_MIDVER_VER 0x00FF |
Definition at line 678 of file lan8651_driver.h.
◆ LAN8651_MIDVER_VER_DEFAULT
#define LAN8651_MIDVER_VER_DEFAULT 0x0010 |
Definition at line 679 of file lan8651_driver.h.
◆ LAN8651_MISC
#define LAN8651_MISC 0x0A, 0x8C |
Definition at line 222 of file lan8651_driver.h.
◆ LAN8651_MISC_UV18FEN
#define LAN8651_MISC_UV18FEN 0x00001000 |
Definition at line 736 of file lan8651_driver.h.
◆ LAN8651_MISC_UV18FTM
#define LAN8651_MISC_UV18FTM 0x00000FFF |
Definition at line 737 of file lan8651_driver.h.
◆ LAN8651_MISC_UV18FTM_DEFAULT
#define LAN8651_MISC_UV18FTM_DEFAULT 0x00000040 |
Definition at line 738 of file lan8651_driver.h.
◆ LAN8651_MMDAD
#define LAN8651_MMDAD 0x00, 0xFF0E |
Definition at line 138 of file lan8651_driver.h.
◆ LAN8651_MMDAD_ADR_DATA
#define LAN8651_MMDAD_ADR_DATA 0xFFFF |
Definition at line 385 of file lan8651_driver.h.
◆ LAN8651_MMDCTRL
#define LAN8651_MMDCTRL 0x00, 0xFF0D |
Definition at line 137 of file lan8651_driver.h.
◆ LAN8651_MMDCTRL_DEVAD
#define LAN8651_MMDCTRL_DEVAD 0x001F |
Definition at line 379 of file lan8651_driver.h.
◆ LAN8651_MMDCTRL_DEVAD_PCS
#define LAN8651_MMDCTRL_DEVAD_PCS 0x0002 |
Definition at line 381 of file lan8651_driver.h.
◆ LAN8651_MMDCTRL_DEVAD_PMA_PMD
#define LAN8651_MMDCTRL_DEVAD_PMA_PMD 0x0001 |
Definition at line 380 of file lan8651_driver.h.
◆ LAN8651_MMDCTRL_DEVAD_VENDOR_SPECIFIC_2
#define LAN8651_MMDCTRL_DEVAD_VENDOR_SPECIFIC_2 0x001F |
Definition at line 382 of file lan8651_driver.h.
◆ LAN8651_MMDCTRL_FNCTN
#define LAN8651_MMDCTRL_FNCTN 0xC000 |
Definition at line 374 of file lan8651_driver.h.
◆ LAN8651_MMDCTRL_FNCTN_ADDR
#define LAN8651_MMDCTRL_FNCTN_ADDR 0x0000 |
Definition at line 375 of file lan8651_driver.h.
◆ LAN8651_MMDCTRL_FNCTN_DATA_NO_POST_INC
#define LAN8651_MMDCTRL_FNCTN_DATA_NO_POST_INC 0x4000 |
Definition at line 376 of file lan8651_driver.h.
◆ LAN8651_MMDCTRL_FNCTN_DATA_POST_INC_RW
#define LAN8651_MMDCTRL_FNCTN_DATA_POST_INC_RW 0x8000 |
Definition at line 377 of file lan8651_driver.h.
◆ LAN8651_MMDCTRL_FNCTN_DATA_POST_INC_W
#define LAN8651_MMDCTRL_FNCTN_DATA_POST_INC_W 0xC000 |
Definition at line 378 of file lan8651_driver.h.
◆ LAN8651_MMS_MAC
#define LAN8651_MMS_MAC 0x01 |
Definition at line 110 of file lan8651_driver.h.
◆ LAN8651_MMS_PHY_MISC
#define LAN8651_MMS_PHY_MISC 0x0A |
Definition at line 114 of file lan8651_driver.h.
◆ LAN8651_MMS_PHY_PCS
#define LAN8651_MMS_PHY_PCS 0x02 |
Definition at line 111 of file lan8651_driver.h.
◆ LAN8651_MMS_PHY_PMA_PMD
#define LAN8651_MMS_PHY_PMA_PMD 0x03 |
Definition at line 112 of file lan8651_driver.h.
◆ LAN8651_MMS_PHY_VS
#define LAN8651_MMS_PHY_VS 0x04 |
Definition at line 113 of file lan8651_driver.h.
◆ LAN8651_MMS_STD
#define LAN8651_MMS_STD 0x00 |
Definition at line 109 of file lan8651_driver.h.
◆ LAN8651_NODE_COUNT
#define LAN8651_NODE_COUNT 8 |
Definition at line 46 of file lan8651_driver.h.
◆ LAN8651_OA_BUFSTS
#define LAN8651_OA_BUFSTS 0x00, 0x000B |
Definition at line 124 of file lan8651_driver.h.
◆ LAN8651_OA_BUFSTS_RCA
#define LAN8651_OA_BUFSTS_RCA 0x000000FF |
Definition at line 295 of file lan8651_driver.h.
◆ LAN8651_OA_BUFSTS_TXC
#define LAN8651_OA_BUFSTS_TXC 0x0000FF00 |
Definition at line 294 of file lan8651_driver.h.
◆ LAN8651_OA_CONFIG0
#define LAN8651_OA_CONFIG0 0x00, 0x0004 |
Definition at line 121 of file lan8651_driver.h.
◆ LAN8651_OA_CONFIG0_CPS
#define LAN8651_OA_CONFIG0_CPS 0x00000007 |
Definition at line 271 of file lan8651_driver.h.
◆ LAN8651_OA_CONFIG0_CPS_32_BYTES
#define LAN8651_OA_CONFIG0_CPS_32_BYTES 0x00000005 |
Definition at line 272 of file lan8651_driver.h.
◆ LAN8651_OA_CONFIG0_CPS_64_BYTES
#define LAN8651_OA_CONFIG0_CPS_64_BYTES 0x00000006 |
Definition at line 273 of file lan8651_driver.h.
◆ LAN8651_OA_CONFIG0_FTSE
#define LAN8651_OA_CONFIG0_FTSE 0x00000080 |
Definition at line 267 of file lan8651_driver.h.
◆ LAN8651_OA_CONFIG0_FTSS
#define LAN8651_OA_CONFIG0_FTSS 0x00000040 |
Definition at line 268 of file lan8651_driver.h.
◆ LAN8651_OA_CONFIG0_PROTE
#define LAN8651_OA_CONFIG0_PROTE 0x00000020 |
Definition at line 269 of file lan8651_driver.h.
◆ LAN8651_OA_CONFIG0_RFA
#define LAN8651_OA_CONFIG0_RFA 0x00003000 |
Definition at line 255 of file lan8651_driver.h.
◆ LAN8651_OA_CONFIG0_RFA_CSARFE
#define LAN8651_OA_CONFIG0_RFA_CSARFE 0x00002000 |
Definition at line 258 of file lan8651_driver.h.
◆ LAN8651_OA_CONFIG0_RFA_DEFAULT
#define LAN8651_OA_CONFIG0_RFA_DEFAULT 0x00000000 |
Definition at line 256 of file lan8651_driver.h.
◆ LAN8651_OA_CONFIG0_RFA_INVALID
#define LAN8651_OA_CONFIG0_RFA_INVALID 0x00003000 |
Definition at line 259 of file lan8651_driver.h.
◆ LAN8651_OA_CONFIG0_RFA_ZARFE
#define LAN8651_OA_CONFIG0_RFA_ZARFE 0x00001000 |
Definition at line 257 of file lan8651_driver.h.
◆ LAN8651_OA_CONFIG0_RXCTE
#define LAN8651_OA_CONFIG0_RXCTE 0x00000100 |
Definition at line 266 of file lan8651_driver.h.
◆ LAN8651_OA_CONFIG0_SEQE
#define LAN8651_OA_CONFIG0_SEQE 0x00000010 |
Definition at line 270 of file lan8651_driver.h.
◆ LAN8651_OA_CONFIG0_SYNC
#define LAN8651_OA_CONFIG0_SYNC 0x00008000 |
Definition at line 253 of file lan8651_driver.h.
◆ LAN8651_OA_CONFIG0_TXCTE
#define LAN8651_OA_CONFIG0_TXCTE 0x00000200 |
Definition at line 265 of file lan8651_driver.h.
◆ LAN8651_OA_CONFIG0_TXCTHRESH
#define LAN8651_OA_CONFIG0_TXCTHRESH 0x00000C00 |
Definition at line 260 of file lan8651_driver.h.
◆ LAN8651_OA_CONFIG0_TXCTHRESH_16_CREDITS
#define LAN8651_OA_CONFIG0_TXCTHRESH_16_CREDITS 0x00000C00 |
Definition at line 264 of file lan8651_driver.h.
◆ LAN8651_OA_CONFIG0_TXCTHRESH_1_CREDIT
#define LAN8651_OA_CONFIG0_TXCTHRESH_1_CREDIT 0x00000000 |
Definition at line 261 of file lan8651_driver.h.
◆ LAN8651_OA_CONFIG0_TXCTHRESH_4_CREDITS
#define LAN8651_OA_CONFIG0_TXCTHRESH_4_CREDITS 0x00000400 |
Definition at line 262 of file lan8651_driver.h.
◆ LAN8651_OA_CONFIG0_TXCTHRESH_8_CREDITS
#define LAN8651_OA_CONFIG0_TXCTHRESH_8_CREDITS 0x00000800 |
Definition at line 263 of file lan8651_driver.h.
◆ LAN8651_OA_CONFIG0_TXFCSVE
#define LAN8651_OA_CONFIG0_TXFCSVE 0x00004000 |
Definition at line 254 of file lan8651_driver.h.
◆ LAN8651_OA_ID
#define LAN8651_OA_ID 0x00, 0x0000 |
Definition at line 117 of file lan8651_driver.h.
◆ LAN8651_OA_ID_MAJVER
#define LAN8651_OA_ID_MAJVER 0x000000F0 |
Definition at line 226 of file lan8651_driver.h.
◆ LAN8651_OA_ID_MAJVER_DEFAULT
#define LAN8651_OA_ID_MAJVER_DEFAULT 0x00000010 |
Definition at line 227 of file lan8651_driver.h.
◆ LAN8651_OA_ID_MINVER
#define LAN8651_OA_ID_MINVER 0x0000000F |
Definition at line 228 of file lan8651_driver.h.
◆ LAN8651_OA_ID_MINVER_DEFAULT
#define LAN8651_OA_ID_MINVER_DEFAULT 0x00000001 |
Definition at line 229 of file lan8651_driver.h.
◆ LAN8651_OA_IMASK0
#define LAN8651_OA_IMASK0 0x00, 0x000C |
Definition at line 125 of file lan8651_driver.h.
◆ LAN8651_OA_IMASK0_CPDEM
#define LAN8651_OA_IMASK0_CPDEM 0x00001000 |
Definition at line 298 of file lan8651_driver.h.
◆ LAN8651_OA_IMASK0_HDREM
#define LAN8651_OA_IMASK0_HDREM 0x00000020 |
Definition at line 305 of file lan8651_driver.h.
◆ LAN8651_OA_IMASK0_LOFEM
#define LAN8651_OA_IMASK0_LOFEM 0x00000010 |
Definition at line 306 of file lan8651_driver.h.
◆ LAN8651_OA_IMASK0_PHYINTM
#define LAN8651_OA_IMASK0_PHYINTM 0x00000080 |
Definition at line 303 of file lan8651_driver.h.
◆ LAN8651_OA_IMASK0_RESETCM
#define LAN8651_OA_IMASK0_RESETCM 0x00000040 |
Definition at line 304 of file lan8651_driver.h.
◆ LAN8651_OA_IMASK0_RXBOEM
#define LAN8651_OA_IMASK0_RXBOEM 0x00000008 |
Definition at line 307 of file lan8651_driver.h.
◆ LAN8651_OA_IMASK0_TTSCAAM
#define LAN8651_OA_IMASK0_TTSCAAM 0x00000100 |
Definition at line 302 of file lan8651_driver.h.
◆ LAN8651_OA_IMASK0_TTSCABM
#define LAN8651_OA_IMASK0_TTSCABM 0x00000200 |
Definition at line 301 of file lan8651_driver.h.
◆ LAN8651_OA_IMASK0_TTSCACM
#define LAN8651_OA_IMASK0_TTSCACM 0x00000400 |
Definition at line 300 of file lan8651_driver.h.
◆ LAN8651_OA_IMASK0_TXBOEM
#define LAN8651_OA_IMASK0_TXBOEM 0x00000002 |
Definition at line 309 of file lan8651_driver.h.
◆ LAN8651_OA_IMASK0_TXBUEM
#define LAN8651_OA_IMASK0_TXBUEM 0x00000004 |
Definition at line 308 of file lan8651_driver.h.
◆ LAN8651_OA_IMASK0_TXFCSEM
#define LAN8651_OA_IMASK0_TXFCSEM 0x00000800 |
Definition at line 299 of file lan8651_driver.h.
◆ LAN8651_OA_IMASK0_TXPEM
#define LAN8651_OA_IMASK0_TXPEM 0x00000001 |
Definition at line 310 of file lan8651_driver.h.
◆ LAN8651_OA_MASK1
#define LAN8651_OA_MASK1 0x00, 0x000D |
Definition at line 126 of file lan8651_driver.h.
◆ LAN8651_OA_MASK1_UV18
#define LAN8651_OA_MASK1_UV18 0x00080000 |
Definition at line 313 of file lan8651_driver.h.
◆ LAN8651_OA_PHYID
#define LAN8651_OA_PHYID 0x00, 0x0001 |
Definition at line 118 of file lan8651_driver.h.
◆ LAN8651_OA_PHYID_MODEL
#define LAN8651_OA_PHYID_MODEL 0x000003F0 |
Definition at line 234 of file lan8651_driver.h.
◆ LAN8651_OA_PHYID_MODEL_DEFAULT
#define LAN8651_OA_PHYID_MODEL_DEFAULT 0x000001B0 |
Definition at line 235 of file lan8651_driver.h.
◆ LAN8651_OA_PHYID_OUI
#define LAN8651_OA_PHYID_OUI 0xFFFFFC00 |
Definition at line 232 of file lan8651_driver.h.
◆ LAN8651_OA_PHYID_OUI_DEFAULT
#define LAN8651_OA_PHYID_OUI_DEFAULT 0x02003C00 |
Definition at line 233 of file lan8651_driver.h.
◆ LAN8651_OA_PHYID_REV
#define LAN8651_OA_PHYID_REV 0x0000000F |
Definition at line 236 of file lan8651_driver.h.
◆ LAN8651_OA_PHYID_REV_DEFAULT
#define LAN8651_OA_PHYID_REV_DEFAULT 0x00000003 |
Definition at line 237 of file lan8651_driver.h.
◆ LAN8651_OA_RESET
#define LAN8651_OA_RESET 0x00, 0x0003 |
Definition at line 120 of file lan8651_driver.h.
◆ LAN8651_OA_RESET_SWRESET
#define LAN8651_OA_RESET_SWRESET 0x00000001 |
Definition at line 250 of file lan8651_driver.h.
◆ LAN8651_OA_STATUS0
#define LAN8651_OA_STATUS0 0x00, 0x0008 |
Definition at line 122 of file lan8651_driver.h.
◆ LAN8651_OA_STATUS0_CPDE
#define LAN8651_OA_STATUS0_CPDE 0x00001000 |
Definition at line 276 of file lan8651_driver.h.
◆ LAN8651_OA_STATUS0_HDRE
#define LAN8651_OA_STATUS0_HDRE 0x00000020 |
Definition at line 283 of file lan8651_driver.h.
◆ LAN8651_OA_STATUS0_LOFE
#define LAN8651_OA_STATUS0_LOFE 0x00000010 |
Definition at line 284 of file lan8651_driver.h.
◆ LAN8651_OA_STATUS0_PHYINT
#define LAN8651_OA_STATUS0_PHYINT 0x00000080 |
Definition at line 281 of file lan8651_driver.h.
◆ LAN8651_OA_STATUS0_RESETC
#define LAN8651_OA_STATUS0_RESETC 0x00000040 |
Definition at line 282 of file lan8651_driver.h.
◆ LAN8651_OA_STATUS0_RXBOE
#define LAN8651_OA_STATUS0_RXBOE 0x00000008 |
Definition at line 285 of file lan8651_driver.h.
◆ LAN8651_OA_STATUS0_TTSCAA
#define LAN8651_OA_STATUS0_TTSCAA 0x00000100 |
Definition at line 280 of file lan8651_driver.h.
◆ LAN8651_OA_STATUS0_TTSCAB
#define LAN8651_OA_STATUS0_TTSCAB 0x00000200 |
Definition at line 279 of file lan8651_driver.h.
◆ LAN8651_OA_STATUS0_TTSCAC
#define LAN8651_OA_STATUS0_TTSCAC 0x00000400 |
Definition at line 278 of file lan8651_driver.h.
◆ LAN8651_OA_STATUS0_TXBOE
#define LAN8651_OA_STATUS0_TXBOE 0x00000002 |
Definition at line 287 of file lan8651_driver.h.
◆ LAN8651_OA_STATUS0_TXBUE
#define LAN8651_OA_STATUS0_TXBUE 0x00000004 |
Definition at line 286 of file lan8651_driver.h.
◆ LAN8651_OA_STATUS0_TXFSE
#define LAN8651_OA_STATUS0_TXFSE 0x00000800 |
Definition at line 277 of file lan8651_driver.h.
◆ LAN8651_OA_STATUS0_TXPE
#define LAN8651_OA_STATUS0_TXPE 0x00000001 |
Definition at line 288 of file lan8651_driver.h.
◆ LAN8651_OA_STATUS1
#define LAN8651_OA_STATUS1 0x00, 0x0009 |
Definition at line 123 of file lan8651_driver.h.
◆ LAN8651_OA_STATUS1_UV18
#define LAN8651_OA_STATUS1_UV18 0x00080000 |
Definition at line 291 of file lan8651_driver.h.
◆ LAN8651_OA_STDCAP
#define LAN8651_OA_STDCAP 0x00, 0x0002 |
Definition at line 119 of file lan8651_driver.h.
◆ LAN8651_OA_STDCAP_AIDC
#define LAN8651_OA_STDCAP_AIDC 0x00000020 |
Definition at line 245 of file lan8651_driver.h.
◆ LAN8651_OA_STDCAP_CTC
#define LAN8651_OA_STDCAP_CTC 0x00000080 |
Definition at line 243 of file lan8651_driver.h.
◆ LAN8651_OA_STDCAP_DPRAC
#define LAN8651_OA_STDCAP_DPRAC 0x00000100 |
Definition at line 242 of file lan8651_driver.h.
◆ LAN8651_OA_STDCAP_FTSC
#define LAN8651_OA_STDCAP_FTSC 0x00000040 |
Definition at line 244 of file lan8651_driver.h.
◆ LAN8651_OA_STDCAP_IPRAC
#define LAN8651_OA_STDCAP_IPRAC 0x00000200 |
Definition at line 241 of file lan8651_driver.h.
◆ LAN8651_OA_STDCAP_MINCPS
#define LAN8651_OA_STDCAP_MINCPS 0x00000007 |
Definition at line 247 of file lan8651_driver.h.
◆ LAN8651_OA_STDCAP_SEQC
#define LAN8651_OA_STDCAP_SEQC 0x00000010 |
Definition at line 246 of file lan8651_driver.h.
◆ LAN8651_OA_STDCAP_TXFCSVC
#define LAN8651_OA_STDCAP_TXFCSVC 0x00000400 |
Definition at line 240 of file lan8651_driver.h.
◆ LAN8651_PADCTRL
#define LAN8651_PADCTRL 0x0A, 0x88 |
Definition at line 221 of file lan8651_driver.h.
◆ LAN8651_PADCTRL_PDRV1
#define LAN8651_PADCTRL_PDRV1 0x0C000000 |
Definition at line 729 of file lan8651_driver.h.
◆ LAN8651_PADCTRL_PDRV1_HIGH
#define LAN8651_PADCTRL_PDRV1_HIGH 0x0C000000 |
Definition at line 733 of file lan8651_driver.h.
◆ LAN8651_PADCTRL_PDRV1_LOW
#define LAN8651_PADCTRL_PDRV1_LOW 0x00000000 |
Definition at line 730 of file lan8651_driver.h.
◆ LAN8651_PADCTRL_PDRV1_MEDIUM_HIGH
#define LAN8651_PADCTRL_PDRV1_MEDIUM_HIGH 0x08000000 |
Definition at line 732 of file lan8651_driver.h.
◆ LAN8651_PADCTRL_PDRV1_MEDIUM_LOW
#define LAN8651_PADCTRL_PDRV1_MEDIUM_LOW 0x04000000 |
Definition at line 731 of file lan8651_driver.h.
◆ LAN8651_PADCTRL_PDRV2
#define LAN8651_PADCTRL_PDRV2 0x30000000 |
Definition at line 724 of file lan8651_driver.h.
◆ LAN8651_PADCTRL_PDRV2_HIGH
#define LAN8651_PADCTRL_PDRV2_HIGH 0x30000000 |
Definition at line 728 of file lan8651_driver.h.
◆ LAN8651_PADCTRL_PDRV2_LOW
#define LAN8651_PADCTRL_PDRV2_LOW 0x00000000 |
Definition at line 725 of file lan8651_driver.h.
◆ LAN8651_PADCTRL_PDRV2_MEDIUM_HIGH
#define LAN8651_PADCTRL_PDRV2_MEDIUM_HIGH 0x20000000 |
Definition at line 727 of file lan8651_driver.h.
◆ LAN8651_PADCTRL_PDRV2_MEDIUM_LOW
#define LAN8651_PADCTRL_PDRV2_MEDIUM_LOW 0x10000000 |
Definition at line 726 of file lan8651_driver.h.
◆ LAN8651_PADCTRL_PDRV3
#define LAN8651_PADCTRL_PDRV3 0xC0000000 |
Definition at line 719 of file lan8651_driver.h.
◆ LAN8651_PADCTRL_PDRV3_HIGH
#define LAN8651_PADCTRL_PDRV3_HIGH 0xC0000000 |
Definition at line 723 of file lan8651_driver.h.
◆ LAN8651_PADCTRL_PDRV3_LOW
#define LAN8651_PADCTRL_PDRV3_LOW 0x00000000 |
Definition at line 720 of file lan8651_driver.h.
◆ LAN8651_PADCTRL_PDRV3_MEDIUM_HIGH
#define LAN8651_PADCTRL_PDRV3_MEDIUM_HIGH 0x80000000 |
Definition at line 722 of file lan8651_driver.h.
◆ LAN8651_PADCTRL_PDRV3_MEDIUM_LOW
#define LAN8651_PADCTRL_PDRV3_MEDIUM_LOW 0x40000000 |
Definition at line 721 of file lan8651_driver.h.
◆ LAN8651_PHY_ID1
#define LAN8651_PHY_ID1 0x00, 0xFF02 |
Definition at line 135 of file lan8651_driver.h.
◆ LAN8651_PHY_ID1_OUI_10_17
#define LAN8651_PHY_ID1_OUI_10_17 0x000000FF |
Definition at line 362 of file lan8651_driver.h.
◆ LAN8651_PHY_ID1_OUI_10_17_DEFAULT
#define LAN8651_PHY_ID1_OUI_10_17_DEFAULT 0x00000007 |
Definition at line 363 of file lan8651_driver.h.
◆ LAN8651_PHY_ID1_OUI_2_9
#define LAN8651_PHY_ID1_OUI_2_9 0x0000FF00 |
Definition at line 360 of file lan8651_driver.h.
◆ LAN8651_PHY_ID1_OUI_2_9_DEFAULT
#define LAN8651_PHY_ID1_OUI_2_9_DEFAULT 0x00000000 |
Definition at line 361 of file lan8651_driver.h.
◆ LAN8651_PHY_ID2
#define LAN8651_PHY_ID2 0x00, 0xFF03 |
Definition at line 136 of file lan8651_driver.h.
◆ LAN8651_PHY_ID2_MODEL
#define LAN8651_PHY_ID2_MODEL 0x000003F0 |
Definition at line 368 of file lan8651_driver.h.
◆ LAN8651_PHY_ID2_MODEL_DEFAULT
#define LAN8651_PHY_ID2_MODEL_DEFAULT 0x000001B0 |
Definition at line 369 of file lan8651_driver.h.
◆ LAN8651_PHY_ID2_OUI_18_23
#define LAN8651_PHY_ID2_OUI_18_23 0x0000FC00 |
Definition at line 366 of file lan8651_driver.h.
◆ LAN8651_PHY_ID2_OUI_18_23_DEFAULT
#define LAN8651_PHY_ID2_OUI_18_23_DEFAULT 0x0000C000 |
Definition at line 367 of file lan8651_driver.h.
◆ LAN8651_PHY_ID2_REV
#define LAN8651_PHY_ID2_REV 0x0000000F |
Definition at line 370 of file lan8651_driver.h.
◆ LAN8651_PHY_ID2_REV_3
#define LAN8651_PHY_ID2_REV_3 0x00000003 |
Definition at line 371 of file lan8651_driver.h.
◆ LAN8651_PLCA_BURST
#define LAN8651_PLCA_BURST 0x04, 0xCA05 |
Definition at line 216 of file lan8651_driver.h.
◆ LAN8651_PLCA_BURST_BTMR
#define LAN8651_PLCA_BURST_BTMR 0x00FF |
Definition at line 699 of file lan8651_driver.h.
◆ LAN8651_PLCA_BURST_BTMR_DEFAULT
#define LAN8651_PLCA_BURST_BTMR_DEFAULT 0x0080 |
Definition at line 700 of file lan8651_driver.h.
◆ LAN8651_PLCA_BURST_MAXBC
#define LAN8651_PLCA_BURST_MAXBC 0xFF00 |
Definition at line 697 of file lan8651_driver.h.
◆ LAN8651_PLCA_BURST_MAXBC_DEFAULT
#define LAN8651_PLCA_BURST_MAXBC_DEFAULT 0x0000 |
Definition at line 698 of file lan8651_driver.h.
◆ LAN8651_PLCA_CTRL0
#define LAN8651_PLCA_CTRL0 0x04, 0xCA01 |
Definition at line 212 of file lan8651_driver.h.
◆ LAN8651_PLCA_CTRL0_EN
#define LAN8651_PLCA_CTRL0_EN 0x8000 |
Definition at line 682 of file lan8651_driver.h.
◆ LAN8651_PLCA_CTRL0_RST
#define LAN8651_PLCA_CTRL0_RST 0x4000 |
Definition at line 683 of file lan8651_driver.h.
◆ LAN8651_PLCA_CTRL1
#define LAN8651_PLCA_CTRL1 0x04, 0xCA02 |
Definition at line 213 of file lan8651_driver.h.
◆ LAN8651_PLCA_CTRL1_ID
#define LAN8651_PLCA_CTRL1_ID 0x00FF |
Definition at line 687 of file lan8651_driver.h.
◆ LAN8651_PLCA_CTRL1_NCNT
#define LAN8651_PLCA_CTRL1_NCNT 0xFF00 |
Definition at line 686 of file lan8651_driver.h.
◆ LAN8651_PLCA_STS
#define LAN8651_PLCA_STS 0x04, 0xCA03 |
Definition at line 214 of file lan8651_driver.h.
◆ LAN8651_PLCA_STS_PST
#define LAN8651_PLCA_STS_PST 0x8000 |
Definition at line 690 of file lan8651_driver.h.
◆ LAN8651_PLCA_SUPPORT
#define LAN8651_PLCA_SUPPORT ENABLED |
Definition at line 39 of file lan8651_driver.h.
◆ LAN8651_PLCA_TOTMR
#define LAN8651_PLCA_TOTMR 0x04, 0xCA04 |
Definition at line 215 of file lan8651_driver.h.
◆ LAN8651_PLCA_TOTMR_TOTMR
#define LAN8651_PLCA_TOTMR_TOTMR 0x00FF |
Definition at line 693 of file lan8651_driver.h.
◆ LAN8651_PLCA_TOTMR_TOTMR_DEFAULT
#define LAN8651_PLCA_TOTMR_TOTMR_DEFAULT 0x0020 |
Definition at line 694 of file lan8651_driver.h.
◆ LAN8651_PRTMGMT2
#define LAN8651_PRTMGMT2 0x04, 0x003D |
Definition at line 205 of file lan8651_driver.h.
◆ LAN8651_PRTMGMT2_MIRXWDEN
#define LAN8651_PRTMGMT2_MIRXWDEN 0x2000 |
Definition at line 643 of file lan8651_driver.h.
◆ LAN8651_PRTMGMT2_MITXWDEN
#define LAN8651_PRTMGMT2_MITXWDEN 0x0800 |
Definition at line 645 of file lan8651_driver.h.
◆ LAN8651_PRTMGMT2_PRIWDEN
#define LAN8651_PRTMGMT2_PRIWDEN 0x1000 |
Definition at line 644 of file lan8651_driver.h.
◆ LAN8651_QRXCFG
#define LAN8651_QRXCFG 0x0A, 0x82 |
Definition at line 220 of file lan8651_driver.h.
◆ LAN8651_QRXCFG_BUFSZ
#define LAN8651_QRXCFG_BUFSZ 0x00700000 |
Definition at line 714 of file lan8651_driver.h.
◆ LAN8651_QRXCFG_BUFSZ_32_BYTES
#define LAN8651_QRXCFG_BUFSZ_32_BYTES 0x00000000 |
Definition at line 715 of file lan8651_driver.h.
◆ LAN8651_QRXCFG_BUFSZ_64_BYTES
#define LAN8651_QRXCFG_BUFSZ_64_BYTES 0x00100000 |
Definition at line 716 of file lan8651_driver.h.
◆ LAN8651_QTXCFG
#define LAN8651_QTXCFG 0x0A, 0x81 |
Definition at line 219 of file lan8651_driver.h.
◆ LAN8651_QTXCFG_BUFSZ
#define LAN8651_QTXCFG_BUFSZ 0x00700000 |
Definition at line 708 of file lan8651_driver.h.
◆ LAN8651_QTXCFG_BUFSZ_32_BYTES
#define LAN8651_QTXCFG_BUFSZ_32_BYTES 0x00000000 |
Definition at line 709 of file lan8651_driver.h.
◆ LAN8651_QTXCFG_BUFSZ_64_BYTES
#define LAN8651_QTXCFG_BUFSZ_64_BYTES 0x00100000 |
Definition at line 710 of file lan8651_driver.h.
◆ LAN8651_QTXCFG_CTTHR
#define LAN8651_QTXCFG_CTTHR 0xC0000000 |
Definition at line 703 of file lan8651_driver.h.
◆ LAN8651_QTXCFG_CTTHR_1_CHUNK
#define LAN8651_QTXCFG_CTTHR_1_CHUNK 0x00000000 |
Definition at line 704 of file lan8651_driver.h.
◆ LAN8651_QTXCFG_CTTHR_2_CHUNKS
#define LAN8651_QTXCFG_CTTHR_2_CHUNKS 0x40000000 |
Definition at line 705 of file lan8651_driver.h.
◆ LAN8651_QTXCFG_CTTHR_3_CHUNKS
#define LAN8651_QTXCFG_CTTHR_3_CHUNKS 0x80000000 |
Definition at line 706 of file lan8651_driver.h.
◆ LAN8651_QTXCFG_CTTHR_4_CHUNKS
#define LAN8651_QTXCFG_CTTHR_4_CHUNKS 0xC0000000 |
Definition at line 707 of file lan8651_driver.h.
◆ LAN8651_QTXCFG_MACFCSDIS
#define LAN8651_QTXCFG_MACFCSDIS 0x00080000 |
Definition at line 711 of file lan8651_driver.h.
◆ LAN8651_RX_FOOTER_DV
#define LAN8651_RX_FOOTER_DV 0x00200000 |
Definition at line 87 of file lan8651_driver.h.
◆ LAN8651_RX_FOOTER_EBO
#define LAN8651_RX_FOOTER_EBO 0x00003F00 |
Definition at line 92 of file lan8651_driver.h.
◆ LAN8651_RX_FOOTER_EV
#define LAN8651_RX_FOOTER_EV 0x00004000 |
Definition at line 91 of file lan8651_driver.h.
◆ LAN8651_RX_FOOTER_EXST
#define LAN8651_RX_FOOTER_EXST 0x80000000 |
Definition at line 82 of file lan8651_driver.h.
◆ LAN8651_RX_FOOTER_FD
#define LAN8651_RX_FOOTER_FD 0x00008000 |
Definition at line 90 of file lan8651_driver.h.
◆ LAN8651_RX_FOOTER_HDRB
#define LAN8651_RX_FOOTER_HDRB 0x40000000 |
Definition at line 83 of file lan8651_driver.h.
◆ LAN8651_RX_FOOTER_P
#define LAN8651_RX_FOOTER_P 0x00000001 |
Definition at line 96 of file lan8651_driver.h.
◆ LAN8651_RX_FOOTER_RCA
#define LAN8651_RX_FOOTER_RCA 0x1F000000 |
Definition at line 85 of file lan8651_driver.h.
◆ LAN8651_RX_FOOTER_RTSA
#define LAN8651_RX_FOOTER_RTSA 0x00000080 |
Definition at line 93 of file lan8651_driver.h.
◆ LAN8651_RX_FOOTER_RTSP
#define LAN8651_RX_FOOTER_RTSP 0x00000040 |
Definition at line 94 of file lan8651_driver.h.
◆ LAN8651_RX_FOOTER_SV
#define LAN8651_RX_FOOTER_SV 0x00100000 |
Definition at line 88 of file lan8651_driver.h.
◆ LAN8651_RX_FOOTER_SWO
#define LAN8651_RX_FOOTER_SWO 0x000F0000 |
Definition at line 89 of file lan8651_driver.h.
◆ LAN8651_RX_FOOTER_SYNC
#define LAN8651_RX_FOOTER_SYNC 0x20000000 |
Definition at line 84 of file lan8651_driver.h.
◆ LAN8651_RX_FOOTER_TXC
#define LAN8651_RX_FOOTER_TXC 0x0000003E |
Definition at line 95 of file lan8651_driver.h.
◆ LAN8651_RX_FOOTER_VS
#define LAN8651_RX_FOOTER_VS 0x00C00000 |
Definition at line 86 of file lan8651_driver.h.
◆ LAN8651_SLPCTL0
#define LAN8651_SLPCTL0 0x04, 0x0080 |
Definition at line 208 of file lan8651_driver.h.
◆ LAN8651_SLPCTL0_MDIWKEN
#define LAN8651_SLPCTL0_MDIWKEN 0x2000 |
Definition at line 656 of file lan8651_driver.h.
◆ LAN8651_SLPCTL0_SLPEN
#define LAN8651_SLPCTL0_SLPEN 0x8000 |
Definition at line 654 of file lan8651_driver.h.
◆ LAN8651_SLPCTL0_SLPINHDLY
#define LAN8651_SLPCTL0_SLPINHDLY 0x1800 |
Definition at line 657 of file lan8651_driver.h.
◆ LAN8651_SLPCTL0_SLPINHDLY_0MS
#define LAN8651_SLPCTL0_SLPINHDLY_0MS 0x0000 |
Definition at line 658 of file lan8651_driver.h.
◆ LAN8651_SLPCTL0_SLPINHDLY_100MS
#define LAN8651_SLPCTL0_SLPINHDLY_100MS 0x1000 |
Definition at line 660 of file lan8651_driver.h.
◆ LAN8651_SLPCTL0_SLPINHDLY_200MS
#define LAN8651_SLPCTL0_SLPINHDLY_200MS 0x1800 |
Definition at line 661 of file lan8651_driver.h.
◆ LAN8651_SLPCTL0_SLPINHDLY_50MS
#define LAN8651_SLPCTL0_SLPINHDLY_50MS 0x0800 |
Definition at line 659 of file lan8651_driver.h.
◆ LAN8651_SLPCTL0_WKINEN
#define LAN8651_SLPCTL0_WKINEN 0x4000 |
Definition at line 655 of file lan8651_driver.h.
◆ LAN8651_SLPCTL1
#define LAN8651_SLPCTL1 0x04, 0x0081 |
Definition at line 209 of file lan8651_driver.h.
◆ LAN8651_SLPCTL1_CLRWKI
#define LAN8651_SLPCTL1_CLRWKI 0x0008 |
Definition at line 666 of file lan8651_driver.h.
◆ LAN8651_SLPCTL1_MDIFWDEN
#define LAN8651_SLPCTL1_MDIFWDEN 0x0001 |
Definition at line 669 of file lan8651_driver.h.
◆ LAN8651_SLPCTL1_MWKFWD
#define LAN8651_SLPCTL1_MWKFWD 0x0004 |
Definition at line 667 of file lan8651_driver.h.
◆ LAN8651_SLPCTL1_WAKEIND
#define LAN8651_SLPCTL1_WAKEIND 0x0010 |
Definition at line 665 of file lan8651_driver.h.
◆ LAN8651_SLPCTL1_WIPOL
#define LAN8651_SLPCTL1_WIPOL 0x0020 |
Definition at line 664 of file lan8651_driver.h.
◆ LAN8651_SLPCTL1_WKOFWDEN
#define LAN8651_SLPCTL1_WKOFWDEN 0x0002 |
Definition at line 668 of file lan8651_driver.h.
◆ LAN8651_STATS0
#define LAN8651_STATS0 0x01, 0x0288 |
Definition at line 166 of file lan8651_driver.h.
◆ LAN8651_STATS0_LFER
#define LAN8651_STATS0_LFER 0x00FF0000 |
Definition at line 481 of file lan8651_driver.h.
◆ LAN8651_STATS0_OFRX
#define LAN8651_STATS0_OFRX 0x0000FF00 |
Definition at line 482 of file lan8651_driver.h.
◆ LAN8651_STATS0_RXSE
#define LAN8651_STATS0_RXSE 0xFF000000 |
Definition at line 480 of file lan8651_driver.h.
◆ LAN8651_STATS0_UFRX
#define LAN8651_STATS0_UFRX 0x000000FF |
Definition at line 483 of file lan8651_driver.h.
◆ LAN8651_STATS1
#define LAN8651_STATS1 0x01, 0x0289 |
Definition at line 167 of file lan8651_driver.h.
◆ LAN8651_STATS10
#define LAN8651_STATS10 0x01, 0x0292 |
Definition at line 176 of file lan8651_driver.h.
◆ LAN8651_STATS10_XCOL
#define LAN8651_STATS10_XCOL 0x000000FF |
Definition at line 526 of file lan8651_driver.h.
◆ LAN8651_STATS11
#define LAN8651_STATS11 0x01, 0x0293 |
Definition at line 177 of file lan8651_driver.h.
◆ LAN8651_STATS11_TFTX
#define LAN8651_STATS11_TFTX 0xFFFFFFFF |
Definition at line 529 of file lan8651_driver.h.
◆ LAN8651_STATS12
#define LAN8651_STATS12 0x01, 0x0294 |
Definition at line 178 of file lan8651_driver.h.
◆ LAN8651_STATS12_FTX
#define LAN8651_STATS12_FTX 0xFFFFFFFF |
Definition at line 532 of file lan8651_driver.h.
◆ LAN8651_STATS1_RXBOVR
#define LAN8651_STATS1_RXBOVR 0x00FF0000 |
Definition at line 487 of file lan8651_driver.h.
◆ LAN8651_STATS1_RXFOVR
#define LAN8651_STATS1_RXFOVR 0x0000FF00 |
Definition at line 488 of file lan8651_driver.h.
◆ LAN8651_STATS1_RXRER
#define LAN8651_STATS1_RXRER 0xFF000000 |
Definition at line 486 of file lan8651_driver.h.
◆ LAN8651_STATS2
#define LAN8651_STATS2 0x01, 0x028A |
Definition at line 168 of file lan8651_driver.h.
◆ LAN8651_STATS2_FCSE
#define LAN8651_STATS2_FCSE 0x000000FF |
Definition at line 491 of file lan8651_driver.h.
◆ LAN8651_STATS3
#define LAN8651_STATS3 0x01, 0x028B |
Definition at line 169 of file lan8651_driver.h.
◆ LAN8651_STATS3_TID1MCNT
#define LAN8651_STATS3_TID1MCNT 0x000000FF |
Definition at line 497 of file lan8651_driver.h.
◆ LAN8651_STATS3_TID2MCNT
#define LAN8651_STATS3_TID2MCNT 0x0000FF00 |
Definition at line 496 of file lan8651_driver.h.
◆ LAN8651_STATS3_TID3MCNT
#define LAN8651_STATS3_TID3MCNT 0x00FF0000 |
Definition at line 495 of file lan8651_driver.h.
◆ LAN8651_STATS3_TID4MCNT
#define LAN8651_STATS3_TID4MCNT 0xFF000000 |
Definition at line 494 of file lan8651_driver.h.
◆ LAN8651_STATS4
#define LAN8651_STATS4 0x01, 0x028C |
Definition at line 170 of file lan8651_driver.h.
◆ LAN8651_STATS4_SA1MCNT
#define LAN8651_STATS4_SA1MCNT 0x000000FF |
Definition at line 503 of file lan8651_driver.h.
◆ LAN8651_STATS4_SA2MCNT
#define LAN8651_STATS4_SA2MCNT 0x0000FF00 |
Definition at line 502 of file lan8651_driver.h.
◆ LAN8651_STATS4_SA3MCNT
#define LAN8651_STATS4_SA3MCNT 0x00FF0000 |
Definition at line 501 of file lan8651_driver.h.
◆ LAN8651_STATS4_SA4MCNT
#define LAN8651_STATS4_SA4MCNT 0xFF000000 |
Definition at line 500 of file lan8651_driver.h.
◆ LAN8651_STATS5
#define LAN8651_STATS5 0x01, 0x028D |
Definition at line 171 of file lan8651_driver.h.
◆ LAN8651_STATS5_BFRX
#define LAN8651_STATS5_BFRX 0x0000FF00 |
Definition at line 508 of file lan8651_driver.h.
◆ LAN8651_STATS5_MHMFRX
#define LAN8651_STATS5_MHMFRX 0x00FF0000 |
Definition at line 507 of file lan8651_driver.h.
◆ LAN8651_STATS5_UHMFRX
#define LAN8651_STATS5_UHMFRX 0xFF000000 |
Definition at line 506 of file lan8651_driver.h.
◆ LAN8651_STATS5_VTRX
#define LAN8651_STATS5_VTRX 0x000000FF |
Definition at line 509 of file lan8651_driver.h.
◆ LAN8651_STATS6
#define LAN8651_STATS6 0x01, 0x028E |
Definition at line 172 of file lan8651_driver.h.
◆ LAN8651_STATS6_TFRX
#define LAN8651_STATS6_TFRX 0xFFFFFFFF |
Definition at line 512 of file lan8651_driver.h.
◆ LAN8651_STATS7
#define LAN8651_STATS7 0x01, 0x028F |
Definition at line 173 of file lan8651_driver.h.
◆ LAN8651_STATS7_FRX
#define LAN8651_STATS7_FRX 0xFFFFFFFF |
Definition at line 515 of file lan8651_driver.h.
◆ LAN8651_STATS8
#define LAN8651_STATS8 0x01, 0x0290 |
Definition at line 174 of file lan8651_driver.h.
◆ LAN8651_STATS8_TXAIE
#define LAN8651_STATS8_TXAIE 0x000000FF |
Definition at line 518 of file lan8651_driver.h.
◆ LAN8651_STATS9
#define LAN8651_STATS9 0x01, 0x0291 |
Definition at line 175 of file lan8651_driver.h.
◆ LAN8651_STATS9_TXAEE
#define LAN8651_STATS9_TXAEE 0xFF000000 |
Definition at line 521 of file lan8651_driver.h.
◆ LAN8651_STATS9_TXBUR
#define LAN8651_STATS9_TXBUR 0x0000FF00 |
Definition at line 523 of file lan8651_driver.h.
◆ LAN8651_STATS9_TXFUR
#define LAN8651_STATS9_TXFUR 0x00FF0000 |
Definition at line 522 of file lan8651_driver.h.
◆ LAN8651_STS1
#define LAN8651_STS1 0x04, 0x0018 |
Definition at line 195 of file lan8651_driver.h.
◆ LAN8651_STS1_BCNBFTO
#define LAN8651_STS1_BCNBFTO 0x0010 |
Definition at line 592 of file lan8651_driver.h.
◆ LAN8651_STS1_DEC5B
#define LAN8651_STS1_DEC5B 0x0001 |
Definition at line 595 of file lan8651_driver.h.
◆ LAN8651_STS1_EMPCYC
#define LAN8651_STS1_EMPCYC 0x0080 |
Definition at line 589 of file lan8651_driver.h.
◆ LAN8651_STS1_ESDERR
#define LAN8651_STS1_ESDERR 0x0002 |
Definition at line 594 of file lan8651_driver.h.
◆ LAN8651_STS1_PLCASYM
#define LAN8651_STS1_PLCASYM 0x0004 |
Definition at line 593 of file lan8651_driver.h.
◆ LAN8651_STS1_PSTC
#define LAN8651_STS1_PSTC 0x0800 |
Definition at line 586 of file lan8651_driver.h.
◆ LAN8651_STS1_RXINTO
#define LAN8651_STS1_RXINTO 0x0040 |
Definition at line 590 of file lan8651_driver.h.
◆ LAN8651_STS1_TXCOL
#define LAN8651_STS1_TXCOL 0x0400 |
Definition at line 587 of file lan8651_driver.h.
◆ LAN8651_STS1_TXJAB
#define LAN8651_STS1_TXJAB 0x0200 |
Definition at line 588 of file lan8651_driver.h.
◆ LAN8651_STS1_UNEXPB
#define LAN8651_STS1_UNEXPB 0x0020 |
Definition at line 591 of file lan8651_driver.h.
◆ LAN8651_STS2
#define LAN8651_STS2 0x04, 0x0019 |
Definition at line 196 of file lan8651_driver.h.
◆ LAN8651_STS2_IWDTO
#define LAN8651_STS2_IWDTO 0x0020 |
Definition at line 602 of file lan8651_driver.h.
◆ LAN8651_STS2_OT
#define LAN8651_STS2_OT 0x0040 |
Definition at line 601 of file lan8651_driver.h.
◆ LAN8651_STS2_UV33
#define LAN8651_STS2_UV33 0x0100 |
Definition at line 600 of file lan8651_driver.h.
◆ LAN8651_STS2_WKEMDI
#define LAN8651_STS2_WKEMDI 0x0400 |
Definition at line 598 of file lan8651_driver.h.
◆ LAN8651_STS2_WKEWI
#define LAN8651_STS2_WKEWI 0x0200 |
Definition at line 599 of file lan8651_driver.h.
◆ LAN8651_STS3
#define LAN8651_STS3 0x04, 0x001A |
Definition at line 197 of file lan8651_driver.h.
◆ LAN8651_STS3_ERRTOID
#define LAN8651_STS3_ERRTOID 0x00FF |
Definition at line 605 of file lan8651_driver.h.
◆ LAN8651_T1PMAPMDCTL
#define LAN8651_T1PMAPMDCTL 0x03, 0x0834 |
Definition at line 188 of file lan8651_driver.h.
◆ LAN8651_T1PMAPMDCTL_TYPSEL
#define LAN8651_T1PMAPMDCTL_TYPSEL 0x000F |
Definition at line 553 of file lan8651_driver.h.
◆ LAN8651_T1PMAPMDCTL_TYPSEL_1000BT1
#define LAN8651_T1PMAPMDCTL_TYPSEL_1000BT1 0x0001 |
Definition at line 555 of file lan8651_driver.h.
◆ LAN8651_T1PMAPMDCTL_TYPSEL_100BT1
#define LAN8651_T1PMAPMDCTL_TYPSEL_100BT1 0x0000 |
Definition at line 554 of file lan8651_driver.h.
◆ LAN8651_T1PMAPMDCTL_TYPSEL_10BT1L
#define LAN8651_T1PMAPMDCTL_TYPSEL_10BT1L 0x0002 |
Definition at line 556 of file lan8651_driver.h.
◆ LAN8651_T1PMAPMDCTL_TYPSEL_10BT1S
#define LAN8651_T1PMAPMDCTL_TYPSEL_10BT1S 0x0003 |
Definition at line 557 of file lan8651_driver.h.
◆ LAN8651_T1PMAPMDEXTA
#define LAN8651_T1PMAPMDEXTA 0x03, 0x0012 |
Definition at line 187 of file lan8651_driver.h.
◆ LAN8651_T1PMAPMDEXTA_T1LABL
#define LAN8651_T1PMAPMDEXTA_T1LABL 0x0004 |
Definition at line 550 of file lan8651_driver.h.
◆ LAN8651_T1PMAPMDEXTA_T1SABL
#define LAN8651_T1PMAPMDEXTA_T1SABL 0x0008 |
Definition at line 549 of file lan8651_driver.h.
◆ LAN8651_T1SPCSCTL
#define LAN8651_T1SPCSCTL 0x02, 0x08F3 |
Definition at line 181 of file lan8651_driver.h.
◆ LAN8651_T1SPCSCTL_DUPLEX
#define LAN8651_T1SPCSCTL_DUPLEX 0x0100 |
Definition at line 537 of file lan8651_driver.h.
◆ LAN8651_T1SPCSCTL_LBE
#define LAN8651_T1SPCSCTL_LBE 0x4000 |
Definition at line 536 of file lan8651_driver.h.
◆ LAN8651_T1SPCSCTL_RST
#define LAN8651_T1SPCSCTL_RST 0x8000 |
Definition at line 535 of file lan8651_driver.h.
◆ LAN8651_T1SPCSDIAG1
#define LAN8651_T1SPCSDIAG1 0x02, 0x08F5 |
Definition at line 183 of file lan8651_driver.h.
◆ LAN8651_T1SPCSDIAG1_RMTJABCNT
#define LAN8651_T1SPCSDIAG1_RMTJABCNT 0xFFFF |
Definition at line 543 of file lan8651_driver.h.
◆ LAN8651_T1SPCSDIAG2
#define LAN8651_T1SPCSDIAG2 0x02, 0x08F6 |
Definition at line 184 of file lan8651_driver.h.
◆ LAN8651_T1SPCSDIAG2_CORTXCNT
#define LAN8651_T1SPCSDIAG2_CORTXCNT 0xFFFF |
Definition at line 546 of file lan8651_driver.h.
◆ LAN8651_T1SPCSSTS
#define LAN8651_T1SPCSSTS 0x02, 0x08F4 |
Definition at line 182 of file lan8651_driver.h.
◆ LAN8651_T1SPCSSTS_FAULT
#define LAN8651_T1SPCSSTS_FAULT 0x0080 |
Definition at line 540 of file lan8651_driver.h.
◆ LAN8651_T1SPMACTL
#define LAN8651_T1SPMACTL 0x03, 0x08F9 |
Definition at line 189 of file lan8651_driver.h.
◆ LAN8651_T1SPMACTL_LBE
#define LAN8651_T1SPMACTL_LBE 0x0001 |
Definition at line 564 of file lan8651_driver.h.
◆ LAN8651_T1SPMACTL_LPE
#define LAN8651_T1SPMACTL_LPE 0x0800 |
Definition at line 562 of file lan8651_driver.h.
◆ LAN8651_T1SPMACTL_MDE
#define LAN8651_T1SPMACTL_MDE 0x0400 |
Definition at line 563 of file lan8651_driver.h.
◆ LAN8651_T1SPMACTL_RST
#define LAN8651_T1SPMACTL_RST 0x8000 |
Definition at line 560 of file lan8651_driver.h.
◆ LAN8651_T1SPMACTL_TXD
#define LAN8651_T1SPMACTL_TXD 0x4000 |
Definition at line 561 of file lan8651_driver.h.
◆ LAN8651_T1SPMASTS
#define LAN8651_T1SPMASTS 0x03, 0x08FA |
Definition at line 190 of file lan8651_driver.h.
◆ LAN8651_T1SPMASTS_LBA
#define LAN8651_T1SPMASTS_LBA 0x2000 |
Definition at line 567 of file lan8651_driver.h.
◆ LAN8651_T1SPMASTS_LPA
#define LAN8651_T1SPMASTS_LPA 0x0800 |
Definition at line 568 of file lan8651_driver.h.
◆ LAN8651_T1SPMASTS_MDA
#define LAN8651_T1SPMASTS_MDA 0x0400 |
Definition at line 569 of file lan8651_driver.h.
◆ LAN8651_T1SPMASTS_RXFA
#define LAN8651_T1SPMASTS_RXFA 0x0200 |
Definition at line 570 of file lan8651_driver.h.
◆ LAN8651_T1SPMASTS_RXFD
#define LAN8651_T1SPMASTS_RXFD 0x0002 |
Definition at line 571 of file lan8651_driver.h.
◆ LAN8651_T1STSTCTL
#define LAN8651_T1STSTCTL 0x03, 0x08FB |
Definition at line 191 of file lan8651_driver.h.
◆ LAN8651_T1STSTCTL_TSTCTL
#define LAN8651_T1STSTCTL_TSTCTL 0xE000 |
Definition at line 574 of file lan8651_driver.h.
◆ LAN8651_T1STSTCTL_TSTCTL_NORMAL
#define LAN8651_T1STSTCTL_TSTCTL_NORMAL 0x0000 |
Definition at line 575 of file lan8651_driver.h.
◆ LAN8651_T1STSTCTL_TSTCTL_TEST_MODE_1
#define LAN8651_T1STSTCTL_TSTCTL_TEST_MODE_1 0x2000 |
Definition at line 576 of file lan8651_driver.h.
◆ LAN8651_T1STSTCTL_TSTCTL_TEST_MODE_2
#define LAN8651_T1STSTCTL_TSTCTL_TEST_MODE_2 0x4000 |
Definition at line 577 of file lan8651_driver.h.
◆ LAN8651_T1STSTCTL_TSTCTL_TEST_MODE_3
#define LAN8651_T1STSTCTL_TSTCTL_TEST_MODE_3 0x6000 |
Definition at line 578 of file lan8651_driver.h.
◆ LAN8651_T1STSTCTL_TSTCTL_TEST_MODE_4
#define LAN8651_T1STSTCTL_TSTCTL_TEST_MODE_4 0x8000 |
Definition at line 579 of file lan8651_driver.h.
◆ LAN8651_TOCNTH
#define LAN8651_TOCNTH 0x04, 0x0024 |
Definition at line 201 of file lan8651_driver.h.
◆ LAN8651_TOCNTH_TOCNT_31_16
#define LAN8651_TOCNTH_TOCNT_31_16 0xFFFF |
Definition at line 631 of file lan8651_driver.h.
◆ LAN8651_TOCNTL
#define LAN8651_TOCNTL 0x04, 0x0025 |
Definition at line 202 of file lan8651_driver.h.
◆ LAN8651_TOCNTL_TOCNT_15_0
#define LAN8651_TOCNTL_TOCNT_15_0 0xFFFF |
Definition at line 634 of file lan8651_driver.h.
◆ LAN8651_TTSCAH
#define LAN8651_TTSCAH 0x00, 0x0010 |
Definition at line 127 of file lan8651_driver.h.
◆ LAN8651_TTSCAH_TIMESTAMPA_63_32
#define LAN8651_TTSCAH_TIMESTAMPA_63_32 0xFFFFFFFF |
Definition at line 316 of file lan8651_driver.h.
◆ LAN8651_TTSCAL
#define LAN8651_TTSCAL 0x00, 0x0011 |
Definition at line 128 of file lan8651_driver.h.
◆ LAN8651_TTSCAL_TIMESTAMPA_31_0
#define LAN8651_TTSCAL_TIMESTAMPA_31_0 0xFFFFFFFF |
Definition at line 319 of file lan8651_driver.h.
◆ LAN8651_TTSCBH
#define LAN8651_TTSCBH 0x00, 0x0012 |
Definition at line 129 of file lan8651_driver.h.
◆ LAN8651_TTSCBH_TIMESTAMPB_63_32
#define LAN8651_TTSCBH_TIMESTAMPB_63_32 0xFFFFFFFF |
Definition at line 322 of file lan8651_driver.h.
◆ LAN8651_TTSCBL
#define LAN8651_TTSCBL 0x00, 0x0013 |
Definition at line 130 of file lan8651_driver.h.
◆ LAN8651_TTSCBL_TIMESTAMPB_31_0
#define LAN8651_TTSCBL_TIMESTAMPB_31_0 0xFFFFFFFF |
Definition at line 325 of file lan8651_driver.h.
◆ LAN8651_TTSCCH
#define LAN8651_TTSCCH 0x00, 0x0014 |
Definition at line 131 of file lan8651_driver.h.
◆ LAN8651_TTSCCH_TIMESTAMPC_63_32
#define LAN8651_TTSCCH_TIMESTAMPC_63_32 0xFFFFFFFF |
Definition at line 328 of file lan8651_driver.h.
◆ LAN8651_TTSCCL
#define LAN8651_TTSCCL 0x00, 0x0015 |
Definition at line 132 of file lan8651_driver.h.
◆ LAN8651_TTSCCL_TIMESTAMPC_31_0
#define LAN8651_TTSCCL_TIMESTAMPC_31_0 0xFFFFFFFF |
Definition at line 331 of file lan8651_driver.h.
◆ LAN8651_TX_HEADER_DNC
#define LAN8651_TX_HEADER_DNC 0x80000000 |
Definition at line 69 of file lan8651_driver.h.
◆ LAN8651_TX_HEADER_DV
#define LAN8651_TX_HEADER_DV 0x00200000 |
Definition at line 73 of file lan8651_driver.h.
◆ LAN8651_TX_HEADER_EBO
#define LAN8651_TX_HEADER_EBO 0x00003F00 |
Definition at line 77 of file lan8651_driver.h.
◆ LAN8651_TX_HEADER_EV
#define LAN8651_TX_HEADER_EV 0x00004000 |
Definition at line 76 of file lan8651_driver.h.
◆ LAN8651_TX_HEADER_NORX
#define LAN8651_TX_HEADER_NORX 0x20000000 |
Definition at line 71 of file lan8651_driver.h.
◆ LAN8651_TX_HEADER_P
#define LAN8651_TX_HEADER_P 0x00000001 |
Definition at line 79 of file lan8651_driver.h.
◆ LAN8651_TX_HEADER_SEQ
#define LAN8651_TX_HEADER_SEQ 0x40000000 |
Definition at line 70 of file lan8651_driver.h.
◆ LAN8651_TX_HEADER_SV
#define LAN8651_TX_HEADER_SV 0x00100000 |
Definition at line 74 of file lan8651_driver.h.
◆ LAN8651_TX_HEADER_SWO
#define LAN8651_TX_HEADER_SWO 0x000F0000 |
Definition at line 75 of file lan8651_driver.h.
◆ LAN8651_TX_HEADER_TSC
#define LAN8651_TX_HEADER_TSC 0x000000C0 |
Definition at line 78 of file lan8651_driver.h.
◆ LAN8651_TX_HEADER_VS
#define LAN8651_TX_HEADER_VS 0x00C00000 |
Definition at line 72 of file lan8651_driver.h.
Function Documentation
◆ lan8651CalcParity()
uint32_t lan8651CalcParity | ( | uint32_t | data | ) |
Calculate parity bit over a 32-bit data.
- Parameters
-
[in] data 32-bit bit stream
- Returns
- Odd parity bit computed over the supplied data
Definition at line 1011 of file lan8651_driver.c.
◆ lan8651Config()
void lan8651Config | ( | NetInterface * | interface | ) |
LAN8651 controller configuration.
- Parameters
-
[in] interface Underlying network interface
Definition at line 189 of file lan8651_driver.c.
◆ lan8651DisableIrq()
void lan8651DisableIrq | ( | NetInterface * | interface | ) |
Disable interrupts.
- Parameters
-
[in] interface Underlying network interface
Definition at line 348 of file lan8651_driver.c.
◆ lan8651DumpReg()
void lan8651DumpReg | ( | NetInterface * | interface, |
uint8_t | mms, | ||
uint16_t | address, | ||
uint_t | num | ||
) |
Dump registers for debugging purpose.
- Parameters
-
[in] interface Underlying network interface [in] mms Register memory map to access [in] address Start address [in] num Number of registers to dump
Definition at line 915 of file lan8651_driver.c.
◆ lan8651EnableIrq()
void lan8651EnableIrq | ( | NetInterface * | interface | ) |
Enable interrupts.
- Parameters
-
[in] interface Underlying network interface
Definition at line 333 of file lan8651_driver.c.
◆ lan8651EventHandler()
void lan8651EventHandler | ( | NetInterface * | interface | ) |
LAN8651 event handler.
- Parameters
-
[in] interface Underlying network interface
Definition at line 380 of file lan8651_driver.c.
◆ lan8651Init()
error_t lan8651Init | ( | NetInterface * | interface | ) |
LAN8651 controller initialization.
- Parameters
-
[in] interface Underlying network interface
- Returns
- Error code
Definition at line 71 of file lan8651_driver.c.
◆ lan8651InitHook()
void lan8651InitHook | ( | NetInterface * | interface | ) |
LAN8651 custom configuration.
- Parameters
-
[in] interface Underlying network interface
Definition at line 179 of file lan8651_driver.c.
◆ lan8651IrqHandler()
bool_t lan8651IrqHandler | ( | NetInterface * | interface | ) |
LAN8651 interrupt service routine.
- Parameters
-
[in] interface Underlying network interface
- Returns
- TRUE if a higher priority task must be woken. Else FALSE is returned
Definition at line 364 of file lan8651_driver.c.
◆ lan8651ReadIndirectReg()
int8_t lan8651ReadIndirectReg | ( | NetInterface * | interface, |
uint8_t | address | ||
) |
Read indirect register.
- Parameters
-
[in] interface Underlying network interface [in] address Register address
- Returns
- Indirect register value
Definition at line 994 of file lan8651_driver.c.
◆ lan8651ReadMmdReg()
uint16_t lan8651ReadMmdReg | ( | NetInterface * | interface, |
uint8_t | devAddr, | ||
uint16_t | regAddr | ||
) |
Read MMD register.
- Parameters
-
[in] interface Underlying network interface [in] devAddr Device address [in] regAddr Register address
- Returns
- MMD register value
Definition at line 968 of file lan8651_driver.c.
◆ lan8651ReadReg()
uint32_t lan8651ReadReg | ( | NetInterface * | interface, |
uint8_t | mms, | ||
uint16_t | address | ||
) |
Read register.
- Parameters
-
[in] interface Underlying network interface [in] mms Register memory map to access [in] address Register address
- Returns
- Register value
Definition at line 857 of file lan8651_driver.c.
◆ lan8651ReceivePacket()
error_t lan8651ReceivePacket | ( | NetInterface * | interface | ) |
Receive a packet.
- Parameters
-
[in] interface Underlying network interface
- Returns
- Error code
Definition at line 527 of file lan8651_driver.c.
◆ lan8651SendPacket()
error_t lan8651SendPacket | ( | NetInterface * | interface, |
const NetBuffer * | buffer, | ||
size_t | offset, | ||
NetTxAncillary * | ancillary | ||
) |
Send a packet.
- Parameters
-
[in] interface Underlying network interface [in] buffer Multi-part buffer containing the data to send [in] offset Offset to the first data byte [in] ancillary Additional options passed to the stack along with the packet
- Returns
- Error code
Definition at line 408 of file lan8651_driver.c.
◆ lan8651Tick()
void lan8651Tick | ( | NetInterface * | interface | ) |
LAN8651 timer handler.
- Parameters
-
[in] interface Underlying network interface
Definition at line 286 of file lan8651_driver.c.
◆ lan8651UpdateMacAddrFilter()
error_t lan8651UpdateMacAddrFilter | ( | NetInterface * | interface | ) |
Configure MAC address filtering.
- Parameters
-
[in] interface Underlying network interface
- Returns
- Error code
Definition at line 655 of file lan8651_driver.c.
◆ lan8651WriteMmdReg()
void lan8651WriteMmdReg | ( | NetInterface * | interface, |
uint8_t | devAddr, | ||
uint16_t | regAddr, | ||
uint16_t | data | ||
) |
Write MMD register.
- Parameters
-
[in] interface Underlying network interface [in] devAddr Device address [in] regAddr Register address [in] data MMD register value
Definition at line 941 of file lan8651_driver.c.
◆ lan8651WriteReg()
void lan8651WriteReg | ( | NetInterface * | interface, |
uint8_t | mms, | ||
uint16_t | address, | ||
uint32_t | data | ||
) |
Write register.
- Parameters
-
[in] interface Underlying network interface [in] mms Register memory map to access [in] address Register address [in] data Register value
Definition at line 803 of file lan8651_driver.c.
Variable Documentation
◆ lan8651Driver
|
extern |
LAN8651 driver.
Definition at line 44 of file lan8651_driver.c.