ncn26000_driver.h File Reference

NCN26000 10Base-T1S Ethernet PHY driver. More...

#include "core/nic.h"

Go to the source code of this file.

Macros

#define NCN26000_PHY_ADDR   0
 
#define NCN26000_PLCA_SUPPORT   ENABLED
 
#define NCN26000_NODE_COUNT   8
 
#define NCN26000_LOCAL_ID   1
 
#define NCN26000_CTRL   0x00
 
#define NCN26000_STATUS   0x01
 
#define NCN26000_PHYID1   0x02
 
#define NCN26000_PHYID2   0x03
 
#define NCN26000_MACR   0x0D
 
#define NCN26000_MAADR   0x0E
 
#define NCN26000_MIIM_IRQ_CTRL   0x10
 
#define NCN26000_MIIM_IRQ_STATUS   0x11
 
#define NCN26000_DIO_CONFIG   0x12
 
#define NCN26000_MMD1_DEV_IN_PACKAGE1   0x01, 0x0005
 
#define NCN26000_MMD1_DEV_IN_PACKAGE2   0x01, 0x0006
 
#define NCN26000_BASE_T1_EXTENDED_ABILITY   0x01, 0x0012
 
#define NCN26000_10BASE_T1S_PMA_CTRL   0x01, 0x08F9
 
#define NCN26000_10BASE_T1S_PMA_STATUS   0x01, 0x08FA
 
#define NCN26000_10BASE_T1S_TEST_MODE   0x01, 0x08FB
 
#define NCN26000_MMD3_DEV_IN_PACKAGE1   0x03, 0x0005
 
#define NCN26000_MMD3_DEV_IN_PACKAGE2   0x03, 0x0006
 
#define NCN26000_10BASE_T1S_PCS_CTRL   0x03, 0x08F3
 
#define NCN26000_10BASE_T1S_PCS_STATUS   0x03, 0x08F4
 
#define NCN26000_10BASE_T1S_PCS_DIAG1   0x03, 0x08F5
 
#define NCN26000_10BASE_T1S_PCS_DIAG2   0x03, 0x08F6
 
#define NCN26000_CHIP_REVISION   0x1E, 0x1000
 
#define NCN26000_PHY_TWEAKS   0x1E, 0x1001
 
#define NCN26000_CHIP_INFO   0x1E, 0x1004
 
#define NCN26000_NVM_HEALTH   0x1E, 0x1005
 
#define NCN26000_PHY_REVISION   0x1F, 0x8000
 
#define NCN26000_PHY_CONFIG1   0x1F, 0x8001
 
#define NCN26000_PLCA_EXTENSIONS   0x1F, 0x8002
 
#define NCN26000_PMA_TUNE0   0x1F, 0x8003
 
#define NCN26000_PMA_TUNE1   0x1F, 0x8004
 
#define NCN26000_PLCIDVER   0x1F, 0xCA00
 
#define NCN26000_PLCA_CTRL0   0x1F, 0xCA01
 
#define NCN26000_PLCA_CTRL1   0x1F, 0xCA02
 
#define NCN26000_PLCA_STATUS   0x1F, 0xCA03
 
#define NCN26000_PLCA_TX_OPPORTUNITY_TMR   0x1F, 0xCA04
 
#define NCN26000_PLCA_BURST_MODE   0x1F, 0xCA05
 
#define NCN26000_CTRL_RESET   0x8000
 
#define NCN26000_CTRL_LOOPBACK   0x4000
 
#define NCN26000_CTRL_SPEED_LSB   0x2000
 
#define NCN26000_CTRL_LINK_CTRL   0x1000
 
#define NCN26000_CTRL_LOW_POWER   0x0800
 
#define NCN26000_CTRL_ISOLATE   0x0400
 
#define NCN26000_CTRL_LINK_RESET   0x0200
 
#define NCN26000_CTRL_DUPLEX_MODE   0x0100
 
#define NCN26000_CTRL_COL_TEST   0x0080
 
#define NCN26000_CTRL_SPEED_MSB   0x0040
 
#define NCN26000_CTRL_UNIDIRECTIONAL_EN   0x0020
 
#define NCN26000_STATUS_10MBPS_HD   0x0800
 
#define NCN26000_STATUS_UNIDIRECTIONAL_ABLE   0x0080
 
#define NCN26000_STATUS_MF_PREAMBLE_SUPPR   0x0040
 
#define NCN26000_STATUS_LINK_NEGOTIATION_COMPLETE   0x0020
 
#define NCN26000_STATUS_REMOTE_FAULT   0x0010
 
#define NCN26000_STATUS_AN_ABLE   0x0008
 
#define NCN26000_STATUS_LINK_STATUS   0x0004
 
#define NCN26000_STATUS_JABBER_DETECT   0x0002
 
#define NCN26000_STATUS_EXTENDED_CAPABLE   0x0001
 
#define NCN26000_PHYID1_OUI_MSB   0xFFFF
 
#define NCN26000_PHYID1_OUI_MSB_DEFAULT   0x180F
 
#define NCN26000_PHYID2_OUI_LSB   0xFC00
 
#define NCN26000_PHYID2_OUI_LSB_DEFAULT   0xF400
 
#define NCN26000_PHYID2_IC_MODEL_NUM   0x03F0
 
#define NCN26000_PHYID2_IC_MODEL_NUM_DEFAULT   0x01A0
 
#define NCN26000_PHYID2_CHIP_REV_NUM   0x000F
 
#define NCN26000_PHYID2_CHIP_REV_NUM_DEFAULT   0x0001
 
#define NCN26000_MACR_FUNC   0xC000
 
#define NCN26000_MACR_FUNC_ADDR   0x0000
 
#define NCN26000_MACR_FUNC_DATA_NO_POST_INC   0x4000
 
#define NCN26000_MACR_FUNC_DATA_POST_INC_RW   0x8000
 
#define NCN26000_MACR_FUNC_DATA_POST_INC_W   0xC000
 
#define NCN26000_MACR_DEVADD   0x001F
 
#define NCN26000_MIIM_IRQ_CTRL_PHY_COL   0x0020
 
#define NCN26000_MIIM_IRQ_CTRL_PLCA_RECOVERY   0x0010
 
#define NCN26000_MIIM_IRQ_CTRL_REMOTE_JABBER   0x0008
 
#define NCN26000_MIIM_IRQ_CTRL_LOCAL_JABBER   0x0004
 
#define NCN26000_MIIM_IRQ_CTRL_PLCA_STATUS_CHANGE   0x0002
 
#define NCN26000_MIIM_IRQ_CTRL_LINK_STATUS   0x0001
 
#define NCN26000_MIIM_IRQ_STATUS_RESET   0x8000
 
#define NCN26000_MIIM_IRQ_STATUS_PHY_COL   0x0020
 
#define NCN26000_MIIM_IRQ_STATUS_PLCA_RECOVERY   0x0010
 
#define NCN26000_MIIM_IRQ_STATUS_REMOTE_JABBER   0x0008
 
#define NCN26000_MIIM_IRQ_STATUS_LOCAL_JABBER   0x0004
 
#define NCN26000_MIIM_IRQ_STATUS_PLCA_STATUS_CHANGE   0x0002
 
#define NCN26000_MIIM_IRQ_STATUS_LINK_STATUS   0x0001
 
#define NCN26000_DIO_CONFIG_SLEW_RATE1   0x8000
 
#define NCN26000_DIO_CONFIG_SLEW_RATE1_FAST   0x0000
 
#define NCN26000_DIO_CONFIG_SLEW_RATE1_SLOW   0x8000
 
#define NCN26000_DIO_CONFIG_PULL_EN1   0x4000
 
#define NCN26000_DIO_CONFIG_PULL_RES_TYPE1   0x2000
 
#define NCN26000_DIO_CONFIG_PULL_RES_TYPE1_PU   0x0000
 
#define NCN26000_DIO_CONFIG_PULL_RES_TYPE1_PD   0x2000
 
#define NCN26000_DIO_CONFIG_FN1   0x1E00
 
#define NCN26000_DIO_CONFIG_VAL1   0x0100
 
#define NCN26000_DIO_CONFIG_VAL1_DISABLE   0x0000
 
#define NCN26000_DIO_CONFIG_VAL1_GPIO   0x0100
 
#define NCN26000_DIO_CONFIG_VAL1_SFD_TX   0x0200
 
#define NCN26000_DIO_CONFIG_VAL1_SFD_RX   0x0300
 
#define NCN26000_DIO_CONFIG_VAL1_LED_LINK_CTRL   0x0400
 
#define NCN26000_DIO_CONFIG_VAL1_LED_PLCA_STATUS   0x0500
 
#define NCN26000_DIO_CONFIG_VAL1_LED_TX   0x0600
 
#define NCN26000_DIO_CONFIG_VAL1_LED_RX   0x0700
 
#define NCN26000_DIO_CONFIG_VAL1_CLK25M   0x0800
 
#define NCN26000_DIO_CONFIG_VAL1_SFD_RX_TX   0x0B00
 
#define NCN26000_DIO_CONFIG_VAL1_LED_TX_RX   0x0F00
 
#define NCN26000_DIO_CONFIG_SLEW_RATE0   0x0080
 
#define NCN26000_DIO_CONFIG_PULL_EN0   0x0040
 
#define NCN26000_DIO_CONFIG_PULL_RES_TYPE0   0x0020
 
#define NCN26000_DIO_CONFIG_FN0   0x001E
 
#define NCN26000_DIO_CONFIG_VAL0   0x0001
 
#define NCN26000_DIO_CONFIG_VAL0_DISABLE   0x0000
 
#define NCN26000_DIO_CONFIG_VAL0_GPIO   0x0001
 
#define NCN26000_DIO_CONFIG_VAL0_SFD_TX   0x0002
 
#define NCN26000_DIO_CONFIG_VAL0_SFD_RX   0x0003
 
#define NCN26000_DIO_CONFIG_VAL0_LED_LINK_CTRL   0x0004
 
#define NCN26000_DIO_CONFIG_VAL0_LED_PLCA_STATUS   0x0005
 
#define NCN26000_DIO_CONFIG_VAL0_LED_TX   0x0006
 
#define NCN26000_DIO_CONFIG_VAL0_LED_RX   0x0007
 
#define NCN26000_DIO_CONFIG_VAL0_CLK25M   0x0008
 
#define NCN26000_DIO_CONFIG_VAL0_SFD_RX_TX   0x000B
 
#define NCN26000_DIO_CONFIG_VAL0_LED_TX_RX   0x000F
 
#define NCN26000_MMD1_DEV_IN_PACKAGE1_PCS_PRESENT   0x0008
 
#define NCN26000_MMD1_DEV_IN_PACKAGE1_PMA_PRESENT   0x0002
 
#define NCN26000_MMD1_DEV_IN_PACKAGE1_C22_REGS_PRESENT   0x0001
 
#define NCN26000_BASE_T1_EXTENDED_ABILITY_10BASE_T1S   0x0008
 
#define NCN26000_10BASE_T1S_PMA_CTRL_PMA_RESET   0x8000
 
#define NCN26000_10BASE_T1S_PMA_CTRL_TRANSMIT_DIS   0x4000
 
#define NCN26000_10BASE_T1S_PMA_CTRL_LOW_POWER_MODE   0x0800
 
#define NCN26000_10BASE_T1S_PMA_CTRL_MULTI_DROP_EN   0x0400
 
#define NCN26000_10BASE_T1S_PMA_CTRL_LOOPBACK_MODE   0x0001
 
#define NCN26000_10BASE_T1S_PMA_STATUS_LOOPBACK_ABILITY   0x2000
 
#define NCN26000_10BASE_T1S_PMA_STATUS_LOW_POWER_ABILITY   0x0800
 
#define NCN26000_10BASE_T1S_PMA_STATUS_MULTI_DROP_ABILITY   0x0400
 
#define NCN26000_10BASE_T1S_PMA_STATUS_RECEIVE_FAULT_ABILITY   0x0200
 
#define NCN26000_10BASE_T1S_PMA_STATUS_REMOTE_JABBER   0x0002
 
#define NCN26000_10BASE_T1S_TEST_MODE_TEST_MODE   0xE000
 
#define NCN26000_10BASE_T1S_TEST_MODE_TEST_MODE_NORMAL   0x0000
 
#define NCN26000_10BASE_T1S_TEST_MODE_TEST_MODE_TX_OUT_VOLTAGE   0x2000
 
#define NCN26000_10BASE_T1S_TEST_MODE_TEST_MODE_TX_OUT_DROOP   0x4000
 
#define NCN26000_10BASE_T1S_TEST_MODE_TEST_MODE_TX_PSD_MASK   0x6000
 
#define NCN26000_10BASE_T1S_TEST_MODE_TEST_MODE_TX_HI_Z   0x8000
 
#define NCN26000_MMD3_DEV_IN_PACKAGE1_PCS_PRESENT   0x0008
 
#define NCN26000_MMD3_DEV_IN_PACKAGE1_PMA_PRESENT   0x0002
 
#define NCN26000_MMD3_DEV_IN_PACKAGE1_C22_REGS_PRESENT   0x0001
 
#define NCN26000_10BASE_T1S_PCS_CTRL_PCS_RESET   0x8000
 
#define NCN26000_10BASE_T1S_PCS_CTRL_LOOPBACK   0x4000
 
#define NCN26000_10BASE_T1S_PCS_STATUS_FAULT   0x0080
 
#define NCN26000_10BASE_T1S_PCS_DIAG1_PCS_REMOTE_JABBER_COUNT   0xFFFF
 
#define NCN26000_10BASE_T1S_PCS_DIAG2_PCS_PHY_COL_COUNT   0xFFFF
 
#define NCN26000_CHIP_REVISION_MAJOR_REV   0xF000
 
#define NCN26000_CHIP_REVISION_MINOR_REV   0x0F00
 
#define NCN26000_CHIP_REVISION_STAGE   0x00C0
 
#define NCN26000_CHIP_REVISION_PATCH   0x003F
 
#define NCN26000_PHY_TWEAKS_CD_THRESHOLD   0x3C00
 
#define NCN26000_PHY_TWEAKS_CD_THRESHOLD_150MVPP   0x0000
 
#define NCN26000_PHY_TWEAKS_CD_THRESHOLD_200MVPP   0x0400
 
#define NCN26000_PHY_TWEAKS_CD_THRESHOLD_250MVPP   0x0800
 
#define NCN26000_PHY_TWEAKS_CD_THRESHOLD_300MVPP   0x0C00
 
#define NCN26000_PHY_TWEAKS_CD_THRESHOLD_350MVPP   0x1000
 
#define NCN26000_PHY_TWEAKS_CD_THRESHOLD_400MVPP   0x1400
 
#define NCN26000_PHY_TWEAKS_CD_THRESHOLD_450MVPP   0x1800
 
#define NCN26000_PHY_TWEAKS_CD_THRESHOLD_500MVPP   0x1C00
 
#define NCN26000_PHY_TWEAKS_CD_THRESHOLD_550MVPP   0x2000
 
#define NCN26000_PHY_TWEAKS_CD_THRESHOLD_600MVPP   0x2400
 
#define NCN26000_PHY_TWEAKS_CD_THRESHOLD_650MVPP   0x2800
 
#define NCN26000_PHY_TWEAKS_CD_THRESHOLD_700MVPP   0x2C00
 
#define NCN26000_PHY_TWEAKS_CD_THRESHOLD_750MVPP   0x3000
 
#define NCN26000_PHY_TWEAKS_CD_THRESHOLD_800MVPP   0x3400
 
#define NCN26000_PHY_TWEAKS_CD_THRESHOLD_850MVPP   0x3800
 
#define NCN26000_PHY_TWEAKS_CD_THRESHOLD_900MVPP   0x3C00
 
#define NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD   0x03C0
 
#define NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_150MVPP   0x0000
 
#define NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_200MVPP   0x0040
 
#define NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_250MVPP   0x0080
 
#define NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_300MVPP   0x00C0
 
#define NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_350MVPP   0x0100
 
#define NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_400MVPP   0x0140
 
#define NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_450MVPP   0x0180
 
#define NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_500MVPP   0x01C0
 
#define NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_550MVPP   0x0200
 
#define NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_600MVPP   0x0240
 
#define NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_650MVPP   0x0280
 
#define NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_700MVPP   0x02C0
 
#define NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_750MVPP   0x0300
 
#define NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_800MVPP   0x0340
 
#define NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_850MVPP   0x0380
 
#define NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_900MVPP   0x03C0
 
#define NCN26000_PHY_TWEAKS_DIGITAL_SLEW_RATE   0x0020
 
#define NCN26000_PHY_TWEAKS_DIGITAL_SLEW_RATE_SLOW   0x0000
 
#define NCN26000_PHY_TWEAKS_DIGITAL_SLEW_RATE_FAST   0x0020
 
#define NCN26000_PHY_TWEAKS_CMC_COMP   0x0018
 
#define NCN26000_PHY_TWEAKS_CMC_COMP_0R_0_5R   0x0000
 
#define NCN26000_PHY_TWEAKS_CMC_COMP_0_5R_2_25R   0x0008
 
#define NCN26000_PHY_TWEAKS_CMC_COMP_2_25R_3_75R   0x0010
 
#define NCN26000_PHY_TWEAKS_CMC_COMP_3_75R_5R   0x0018
 
#define NCN26000_PHY_TWEAKS_TX_SLEW   0x0004
 
#define NCN26000_PHY_TWEAKS_TX_SLEW_SLOW   0x0000
 
#define NCN26000_PHY_TWEAKS_TX_SLEW_FAST   0x0004
 
#define NCN26000_CHIP_INFO_WAFER_Y   0x7F00
 
#define NCN26000_CHIP_INFO_WAFER_X   0x007F
 
#define NCN26000_NVM_HEALTH_RED_ZONE_NVM_WARNING   0x8000
 
#define NCN26000_NVM_HEALTH_RED_ZONE_NVM_ERROR   0x4000
 
#define NCN26000_NVM_HEALTH_YELLOW_ZONE_NVM_WARNING   0x2000
 
#define NCN26000_NVM_HEALTH_YELLOW_ZONE_NVM_ERROR   0x1000
 
#define NCN26000_NVM_HEALTH_GREEN_ZONE_NVM_WARNING   0x0800
 
#define NCN26000_NVM_HEALTH_GREEN_ZONE_NVM_ERROR   0x0400
 
#define NCN26000_PHY_REVISION_MAJOR_REV   0xF000
 
#define NCN26000_PHY_REVISION_MINOR_REV   0x0F00
 
#define NCN26000_PHY_REVISION_STAGE   0x00C0
 
#define NCN26000_PHY_REVISION_PATCH   0x003F
 
#define NCN26000_PHY_CONFIG1_PKT_LOOP   0x8000
 
#define NCN26000_PHY_CONFIG1_ENHANCED_NOISE_IMMUNITY   0x0080
 
#define NCN26000_PHY_CONFIG1_UNJAB_TMR_EN   0x0040
 
#define NCN26000_PHY_CONFIG1_SCRAMBLER_DIS   0x0004
 
#define NCN26000_PHY_CONFIG1_NO_COL_MASKING   0x0002
 
#define NCN26000_PHY_CONFIG1_RX_DELAYED   0x0001
 
#define NCN26000_PLCA_EXTENSIONS_PLCA_PRECEDENCE   0x8000
 
#define NCN26000_PLCA_EXTENSIONS_MII_EXTENSIONS_DIS   0x0800
 
#define NCN26000_PLCA_EXTENSIONS_COORDINATOR_MODE   0x0002
 
#define NCN26000_PLCA_EXTENSIONS_COORDINATOR_ROLE   0x0001
 
#define NCN26000_PMA_TUNE0_PLCA_BEACON_DETECT_THRESH   0x3F00
 
#define NCN26000_PMA_TUNE0_PLCA_BEACON_DETECT_THRESH_DEFAULT   0x2000
 
#define NCN26000_PMA_TUNE0_DRIFT_COMP_WINDOW_SELECT   0x0007
 
#define NCN26000_PMA_TUNE0_DRIFT_COMP_WINDOW_SELECT_31BITS   0x0002
 
#define NCN26000_PMA_TUNE0_DRIFT_COMP_WINDOW_SELECT_63BITS   0x0003
 
#define NCN26000_PMA_TUNE0_DRIFT_COMP_WINDOW_SELECT_127BITS   0x0004
 
#define NCN26000_PMA_TUNE0_DRIFT_COMP_WINDOW_SELECT_OPTIMIZED   0x0005
 
#define NCN26000_PMA_TUNE1_PKT_PREAMBLE_DETECT_THRESH   0x3F00
 
#define NCN26000_PMA_TUNE1_PKT_PREAMBLE_DETECT_THRESH_DEFAULT   0x3500
 
#define NCN26000_PMA_TUNE1_COMMIT_DETECT_THRESH   0x003F
 
#define NCN26000_PMA_TUNE1_COMMIT_DETECT_THRESH_DEFAULT   0x0020
 
#define NCN26000_PLCIDVER_MAPID   0xFF00
 
#define NCN26000_PLCIDVER_MAPVER   0x00FF
 
#define NCN26000_PLCA_CTRL0_EN   0x8000
 
#define NCN26000_PLCA_CTRL0_RESET   0x4000
 
#define NCN26000_PLCA_CTRL1_NCNT   0xFF00
 
#define NCN26000_PLCA_CTRL1_ID   0x00FF
 
#define NCN26000_PLCA_STATUS_PST   0x8000
 
#define NCN26000_PLCA_TX_OPPORTUNITY_TMR_TOTMR   0x00FF
 
#define NCN26000_PLCA_BURST_MODE_MAX_BURST_COUNT   0xFF00
 
#define NCN26000_PLCA_BURST_MODE_MAX_BURST_COUNT_DEFAULT   0x0000
 
#define NCN26000_PLCA_BURST_MODE_IFG_COMP_TMR   0x00FF
 
#define NCN26000_PLCA_BURST_MODE_IFG_COMP_TMR_DEFAULT   0x0080
 

Functions

error_t ncn26000Init (NetInterface *interface)
 NCN26000 PHY transceiver initialization. More...
 
void ncn26000InitHook (NetInterface *interface)
 NCN26000 custom configuration. More...
 
void ncn26000Tick (NetInterface *interface)
 NCN26000 timer handler. More...
 
void ncn26000EnableIrq (NetInterface *interface)
 Enable interrupts. More...
 
void ncn26000DisableIrq (NetInterface *interface)
 Disable interrupts. More...
 
void ncn26000EventHandler (NetInterface *interface)
 NCN26000 event handler. More...
 
void ncn26000WritePhyReg (NetInterface *interface, uint8_t address, uint16_t data)
 Write PHY register. More...
 
uint16_t ncn26000ReadPhyReg (NetInterface *interface, uint8_t address)
 Read PHY register. More...
 
void ncn26000DumpPhyReg (NetInterface *interface)
 Dump PHY registers for debugging purpose. More...
 
void ncn26000WriteMmdReg (NetInterface *interface, uint8_t devAddr, uint16_t regAddr, uint16_t data)
 Write MMD register. More...
 
uint16_t ncn26000ReadMmdReg (NetInterface *interface, uint8_t devAddr, uint16_t regAddr)
 Read MMD register. More...
 
void ncn26000ModifyMmdReg (NetInterface *interface, uint8_t devAddr, uint16_t regAddr, uint16_t mask, uint16_t data)
 Modify MMD register. More...
 

Variables

const PhyDriver ncn26000PhyDriver
 NCN26000 Ethernet PHY driver. More...
 

Detailed Description

NCN26000 10Base-T1S Ethernet PHY driver.

License

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

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

This file is part of CycloneTCP Open.

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

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

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

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

Definition in file ncn26000_driver.h.

Macro Definition Documentation

◆ NCN26000_10BASE_T1S_PCS_CTRL

#define NCN26000_10BASE_T1S_PCS_CTRL   0x03, 0x08F3

Definition at line 85 of file ncn26000_driver.h.

◆ NCN26000_10BASE_T1S_PCS_CTRL_LOOPBACK

#define NCN26000_10BASE_T1S_PCS_CTRL_LOOPBACK   0x4000

Definition at line 241 of file ncn26000_driver.h.

◆ NCN26000_10BASE_T1S_PCS_CTRL_PCS_RESET

#define NCN26000_10BASE_T1S_PCS_CTRL_PCS_RESET   0x8000

Definition at line 240 of file ncn26000_driver.h.

◆ NCN26000_10BASE_T1S_PCS_DIAG1

#define NCN26000_10BASE_T1S_PCS_DIAG1   0x03, 0x08F5

Definition at line 87 of file ncn26000_driver.h.

◆ NCN26000_10BASE_T1S_PCS_DIAG1_PCS_REMOTE_JABBER_COUNT

#define NCN26000_10BASE_T1S_PCS_DIAG1_PCS_REMOTE_JABBER_COUNT   0xFFFF

Definition at line 247 of file ncn26000_driver.h.

◆ NCN26000_10BASE_T1S_PCS_DIAG2

#define NCN26000_10BASE_T1S_PCS_DIAG2   0x03, 0x08F6

Definition at line 88 of file ncn26000_driver.h.

◆ NCN26000_10BASE_T1S_PCS_DIAG2_PCS_PHY_COL_COUNT

#define NCN26000_10BASE_T1S_PCS_DIAG2_PCS_PHY_COL_COUNT   0xFFFF

Definition at line 250 of file ncn26000_driver.h.

◆ NCN26000_10BASE_T1S_PCS_STATUS

#define NCN26000_10BASE_T1S_PCS_STATUS   0x03, 0x08F4

Definition at line 86 of file ncn26000_driver.h.

◆ NCN26000_10BASE_T1S_PCS_STATUS_FAULT

#define NCN26000_10BASE_T1S_PCS_STATUS_FAULT   0x0080

Definition at line 244 of file ncn26000_driver.h.

◆ NCN26000_10BASE_T1S_PMA_CTRL

#define NCN26000_10BASE_T1S_PMA_CTRL   0x01, 0x08F9

Definition at line 80 of file ncn26000_driver.h.

◆ NCN26000_10BASE_T1S_PMA_CTRL_LOOPBACK_MODE

#define NCN26000_10BASE_T1S_PMA_CTRL_LOOPBACK_MODE   0x0001

Definition at line 217 of file ncn26000_driver.h.

◆ NCN26000_10BASE_T1S_PMA_CTRL_LOW_POWER_MODE

#define NCN26000_10BASE_T1S_PMA_CTRL_LOW_POWER_MODE   0x0800

Definition at line 215 of file ncn26000_driver.h.

◆ NCN26000_10BASE_T1S_PMA_CTRL_MULTI_DROP_EN

#define NCN26000_10BASE_T1S_PMA_CTRL_MULTI_DROP_EN   0x0400

Definition at line 216 of file ncn26000_driver.h.

◆ NCN26000_10BASE_T1S_PMA_CTRL_PMA_RESET

#define NCN26000_10BASE_T1S_PMA_CTRL_PMA_RESET   0x8000

Definition at line 213 of file ncn26000_driver.h.

◆ NCN26000_10BASE_T1S_PMA_CTRL_TRANSMIT_DIS

#define NCN26000_10BASE_T1S_PMA_CTRL_TRANSMIT_DIS   0x4000

Definition at line 214 of file ncn26000_driver.h.

◆ NCN26000_10BASE_T1S_PMA_STATUS

#define NCN26000_10BASE_T1S_PMA_STATUS   0x01, 0x08FA

Definition at line 81 of file ncn26000_driver.h.

◆ NCN26000_10BASE_T1S_PMA_STATUS_LOOPBACK_ABILITY

#define NCN26000_10BASE_T1S_PMA_STATUS_LOOPBACK_ABILITY   0x2000

Definition at line 220 of file ncn26000_driver.h.

◆ NCN26000_10BASE_T1S_PMA_STATUS_LOW_POWER_ABILITY

#define NCN26000_10BASE_T1S_PMA_STATUS_LOW_POWER_ABILITY   0x0800

Definition at line 221 of file ncn26000_driver.h.

◆ NCN26000_10BASE_T1S_PMA_STATUS_MULTI_DROP_ABILITY

#define NCN26000_10BASE_T1S_PMA_STATUS_MULTI_DROP_ABILITY   0x0400

Definition at line 222 of file ncn26000_driver.h.

◆ NCN26000_10BASE_T1S_PMA_STATUS_RECEIVE_FAULT_ABILITY

#define NCN26000_10BASE_T1S_PMA_STATUS_RECEIVE_FAULT_ABILITY   0x0200

Definition at line 223 of file ncn26000_driver.h.

◆ NCN26000_10BASE_T1S_PMA_STATUS_REMOTE_JABBER

#define NCN26000_10BASE_T1S_PMA_STATUS_REMOTE_JABBER   0x0002

Definition at line 224 of file ncn26000_driver.h.

◆ NCN26000_10BASE_T1S_TEST_MODE

#define NCN26000_10BASE_T1S_TEST_MODE   0x01, 0x08FB

Definition at line 82 of file ncn26000_driver.h.

◆ NCN26000_10BASE_T1S_TEST_MODE_TEST_MODE

#define NCN26000_10BASE_T1S_TEST_MODE_TEST_MODE   0xE000

Definition at line 227 of file ncn26000_driver.h.

◆ NCN26000_10BASE_T1S_TEST_MODE_TEST_MODE_NORMAL

#define NCN26000_10BASE_T1S_TEST_MODE_TEST_MODE_NORMAL   0x0000

Definition at line 228 of file ncn26000_driver.h.

◆ NCN26000_10BASE_T1S_TEST_MODE_TEST_MODE_TX_HI_Z

#define NCN26000_10BASE_T1S_TEST_MODE_TEST_MODE_TX_HI_Z   0x8000

Definition at line 232 of file ncn26000_driver.h.

◆ NCN26000_10BASE_T1S_TEST_MODE_TEST_MODE_TX_OUT_DROOP

#define NCN26000_10BASE_T1S_TEST_MODE_TEST_MODE_TX_OUT_DROOP   0x4000

Definition at line 230 of file ncn26000_driver.h.

◆ NCN26000_10BASE_T1S_TEST_MODE_TEST_MODE_TX_OUT_VOLTAGE

#define NCN26000_10BASE_T1S_TEST_MODE_TEST_MODE_TX_OUT_VOLTAGE   0x2000

Definition at line 229 of file ncn26000_driver.h.

◆ NCN26000_10BASE_T1S_TEST_MODE_TEST_MODE_TX_PSD_MASK

#define NCN26000_10BASE_T1S_TEST_MODE_TEST_MODE_TX_PSD_MASK   0x6000

Definition at line 231 of file ncn26000_driver.h.

◆ NCN26000_BASE_T1_EXTENDED_ABILITY

#define NCN26000_BASE_T1_EXTENDED_ABILITY   0x01, 0x0012

Definition at line 79 of file ncn26000_driver.h.

◆ NCN26000_BASE_T1_EXTENDED_ABILITY_10BASE_T1S

#define NCN26000_BASE_T1_EXTENDED_ABILITY_10BASE_T1S   0x0008

Definition at line 210 of file ncn26000_driver.h.

◆ NCN26000_CHIP_INFO

#define NCN26000_CHIP_INFO   0x1E, 0x1004

Definition at line 91 of file ncn26000_driver.h.

◆ NCN26000_CHIP_INFO_WAFER_X

#define NCN26000_CHIP_INFO_WAFER_X   0x007F

Definition at line 307 of file ncn26000_driver.h.

◆ NCN26000_CHIP_INFO_WAFER_Y

#define NCN26000_CHIP_INFO_WAFER_Y   0x7F00

Definition at line 306 of file ncn26000_driver.h.

◆ NCN26000_CHIP_REVISION

#define NCN26000_CHIP_REVISION   0x1E, 0x1000

Definition at line 89 of file ncn26000_driver.h.

◆ NCN26000_CHIP_REVISION_MAJOR_REV

#define NCN26000_CHIP_REVISION_MAJOR_REV   0xF000

Definition at line 253 of file ncn26000_driver.h.

◆ NCN26000_CHIP_REVISION_MINOR_REV

#define NCN26000_CHIP_REVISION_MINOR_REV   0x0F00

Definition at line 254 of file ncn26000_driver.h.

◆ NCN26000_CHIP_REVISION_PATCH

#define NCN26000_CHIP_REVISION_PATCH   0x003F

Definition at line 256 of file ncn26000_driver.h.

◆ NCN26000_CHIP_REVISION_STAGE

#define NCN26000_CHIP_REVISION_STAGE   0x00C0

Definition at line 255 of file ncn26000_driver.h.

◆ NCN26000_CTRL

#define NCN26000_CTRL   0x00

Definition at line 66 of file ncn26000_driver.h.

◆ NCN26000_CTRL_COL_TEST

#define NCN26000_CTRL_COL_TEST   0x0080

Definition at line 114 of file ncn26000_driver.h.

◆ NCN26000_CTRL_DUPLEX_MODE

#define NCN26000_CTRL_DUPLEX_MODE   0x0100

Definition at line 113 of file ncn26000_driver.h.

◆ NCN26000_CTRL_ISOLATE

#define NCN26000_CTRL_ISOLATE   0x0400

Definition at line 111 of file ncn26000_driver.h.

◆ NCN26000_CTRL_LINK_CTRL

#define NCN26000_CTRL_LINK_CTRL   0x1000

Definition at line 109 of file ncn26000_driver.h.

◆ NCN26000_CTRL_LINK_RESET

#define NCN26000_CTRL_LINK_RESET   0x0200

Definition at line 112 of file ncn26000_driver.h.

◆ NCN26000_CTRL_LOOPBACK

#define NCN26000_CTRL_LOOPBACK   0x4000

Definition at line 107 of file ncn26000_driver.h.

◆ NCN26000_CTRL_LOW_POWER

#define NCN26000_CTRL_LOW_POWER   0x0800

Definition at line 110 of file ncn26000_driver.h.

◆ NCN26000_CTRL_RESET

#define NCN26000_CTRL_RESET   0x8000

Definition at line 106 of file ncn26000_driver.h.

◆ NCN26000_CTRL_SPEED_LSB

#define NCN26000_CTRL_SPEED_LSB   0x2000

Definition at line 108 of file ncn26000_driver.h.

◆ NCN26000_CTRL_SPEED_MSB

#define NCN26000_CTRL_SPEED_MSB   0x0040

Definition at line 115 of file ncn26000_driver.h.

◆ NCN26000_CTRL_UNIDIRECTIONAL_EN

#define NCN26000_CTRL_UNIDIRECTIONAL_EN   0x0020

Definition at line 116 of file ncn26000_driver.h.

◆ NCN26000_DIO_CONFIG

#define NCN26000_DIO_CONFIG   0x12

Definition at line 74 of file ncn26000_driver.h.

◆ NCN26000_DIO_CONFIG_FN0

#define NCN26000_DIO_CONFIG_FN0   0x001E

Definition at line 190 of file ncn26000_driver.h.

◆ NCN26000_DIO_CONFIG_FN1

#define NCN26000_DIO_CONFIG_FN1   0x1E00

Definition at line 174 of file ncn26000_driver.h.

◆ NCN26000_DIO_CONFIG_PULL_EN0

#define NCN26000_DIO_CONFIG_PULL_EN0   0x0040

Definition at line 188 of file ncn26000_driver.h.

◆ NCN26000_DIO_CONFIG_PULL_EN1

#define NCN26000_DIO_CONFIG_PULL_EN1   0x4000

Definition at line 170 of file ncn26000_driver.h.

◆ NCN26000_DIO_CONFIG_PULL_RES_TYPE0

#define NCN26000_DIO_CONFIG_PULL_RES_TYPE0   0x0020

Definition at line 189 of file ncn26000_driver.h.

◆ NCN26000_DIO_CONFIG_PULL_RES_TYPE1

#define NCN26000_DIO_CONFIG_PULL_RES_TYPE1   0x2000

Definition at line 171 of file ncn26000_driver.h.

◆ NCN26000_DIO_CONFIG_PULL_RES_TYPE1_PD

#define NCN26000_DIO_CONFIG_PULL_RES_TYPE1_PD   0x2000

Definition at line 173 of file ncn26000_driver.h.

◆ NCN26000_DIO_CONFIG_PULL_RES_TYPE1_PU

#define NCN26000_DIO_CONFIG_PULL_RES_TYPE1_PU   0x0000

Definition at line 172 of file ncn26000_driver.h.

◆ NCN26000_DIO_CONFIG_SLEW_RATE0

#define NCN26000_DIO_CONFIG_SLEW_RATE0   0x0080

Definition at line 187 of file ncn26000_driver.h.

◆ NCN26000_DIO_CONFIG_SLEW_RATE1

#define NCN26000_DIO_CONFIG_SLEW_RATE1   0x8000

Definition at line 167 of file ncn26000_driver.h.

◆ NCN26000_DIO_CONFIG_SLEW_RATE1_FAST

#define NCN26000_DIO_CONFIG_SLEW_RATE1_FAST   0x0000

Definition at line 168 of file ncn26000_driver.h.

◆ NCN26000_DIO_CONFIG_SLEW_RATE1_SLOW

#define NCN26000_DIO_CONFIG_SLEW_RATE1_SLOW   0x8000

Definition at line 169 of file ncn26000_driver.h.

◆ NCN26000_DIO_CONFIG_VAL0

#define NCN26000_DIO_CONFIG_VAL0   0x0001

Definition at line 191 of file ncn26000_driver.h.

◆ NCN26000_DIO_CONFIG_VAL0_CLK25M

#define NCN26000_DIO_CONFIG_VAL0_CLK25M   0x0008

Definition at line 200 of file ncn26000_driver.h.

◆ NCN26000_DIO_CONFIG_VAL0_DISABLE

#define NCN26000_DIO_CONFIG_VAL0_DISABLE   0x0000

Definition at line 192 of file ncn26000_driver.h.

◆ NCN26000_DIO_CONFIG_VAL0_GPIO

#define NCN26000_DIO_CONFIG_VAL0_GPIO   0x0001

Definition at line 193 of file ncn26000_driver.h.

◆ NCN26000_DIO_CONFIG_VAL0_LED_LINK_CTRL

#define NCN26000_DIO_CONFIG_VAL0_LED_LINK_CTRL   0x0004

Definition at line 196 of file ncn26000_driver.h.

◆ NCN26000_DIO_CONFIG_VAL0_LED_PLCA_STATUS

#define NCN26000_DIO_CONFIG_VAL0_LED_PLCA_STATUS   0x0005

Definition at line 197 of file ncn26000_driver.h.

◆ NCN26000_DIO_CONFIG_VAL0_LED_RX

#define NCN26000_DIO_CONFIG_VAL0_LED_RX   0x0007

Definition at line 199 of file ncn26000_driver.h.

◆ NCN26000_DIO_CONFIG_VAL0_LED_TX

#define NCN26000_DIO_CONFIG_VAL0_LED_TX   0x0006

Definition at line 198 of file ncn26000_driver.h.

◆ NCN26000_DIO_CONFIG_VAL0_LED_TX_RX

#define NCN26000_DIO_CONFIG_VAL0_LED_TX_RX   0x000F

Definition at line 202 of file ncn26000_driver.h.

◆ NCN26000_DIO_CONFIG_VAL0_SFD_RX

#define NCN26000_DIO_CONFIG_VAL0_SFD_RX   0x0003

Definition at line 195 of file ncn26000_driver.h.

◆ NCN26000_DIO_CONFIG_VAL0_SFD_RX_TX

#define NCN26000_DIO_CONFIG_VAL0_SFD_RX_TX   0x000B

Definition at line 201 of file ncn26000_driver.h.

◆ NCN26000_DIO_CONFIG_VAL0_SFD_TX

#define NCN26000_DIO_CONFIG_VAL0_SFD_TX   0x0002

Definition at line 194 of file ncn26000_driver.h.

◆ NCN26000_DIO_CONFIG_VAL1

#define NCN26000_DIO_CONFIG_VAL1   0x0100

Definition at line 175 of file ncn26000_driver.h.

◆ NCN26000_DIO_CONFIG_VAL1_CLK25M

#define NCN26000_DIO_CONFIG_VAL1_CLK25M   0x0800

Definition at line 184 of file ncn26000_driver.h.

◆ NCN26000_DIO_CONFIG_VAL1_DISABLE

#define NCN26000_DIO_CONFIG_VAL1_DISABLE   0x0000

Definition at line 176 of file ncn26000_driver.h.

◆ NCN26000_DIO_CONFIG_VAL1_GPIO

#define NCN26000_DIO_CONFIG_VAL1_GPIO   0x0100

Definition at line 177 of file ncn26000_driver.h.

◆ NCN26000_DIO_CONFIG_VAL1_LED_LINK_CTRL

#define NCN26000_DIO_CONFIG_VAL1_LED_LINK_CTRL   0x0400

Definition at line 180 of file ncn26000_driver.h.

◆ NCN26000_DIO_CONFIG_VAL1_LED_PLCA_STATUS

#define NCN26000_DIO_CONFIG_VAL1_LED_PLCA_STATUS   0x0500

Definition at line 181 of file ncn26000_driver.h.

◆ NCN26000_DIO_CONFIG_VAL1_LED_RX

#define NCN26000_DIO_CONFIG_VAL1_LED_RX   0x0700

Definition at line 183 of file ncn26000_driver.h.

◆ NCN26000_DIO_CONFIG_VAL1_LED_TX

#define NCN26000_DIO_CONFIG_VAL1_LED_TX   0x0600

Definition at line 182 of file ncn26000_driver.h.

◆ NCN26000_DIO_CONFIG_VAL1_LED_TX_RX

#define NCN26000_DIO_CONFIG_VAL1_LED_TX_RX   0x0F00

Definition at line 186 of file ncn26000_driver.h.

◆ NCN26000_DIO_CONFIG_VAL1_SFD_RX

#define NCN26000_DIO_CONFIG_VAL1_SFD_RX   0x0300

Definition at line 179 of file ncn26000_driver.h.

◆ NCN26000_DIO_CONFIG_VAL1_SFD_RX_TX

#define NCN26000_DIO_CONFIG_VAL1_SFD_RX_TX   0x0B00

Definition at line 185 of file ncn26000_driver.h.

◆ NCN26000_DIO_CONFIG_VAL1_SFD_TX

#define NCN26000_DIO_CONFIG_VAL1_SFD_TX   0x0200

Definition at line 178 of file ncn26000_driver.h.

◆ NCN26000_LOCAL_ID

#define NCN26000_LOCAL_ID   1

Definition at line 60 of file ncn26000_driver.h.

◆ NCN26000_MAADR

#define NCN26000_MAADR   0x0E

Definition at line 71 of file ncn26000_driver.h.

◆ NCN26000_MACR

#define NCN26000_MACR   0x0D

Definition at line 70 of file ncn26000_driver.h.

◆ NCN26000_MACR_DEVADD

#define NCN26000_MACR_DEVADD   0x001F

Definition at line 147 of file ncn26000_driver.h.

◆ NCN26000_MACR_FUNC

#define NCN26000_MACR_FUNC   0xC000

Definition at line 142 of file ncn26000_driver.h.

◆ NCN26000_MACR_FUNC_ADDR

#define NCN26000_MACR_FUNC_ADDR   0x0000

Definition at line 143 of file ncn26000_driver.h.

◆ NCN26000_MACR_FUNC_DATA_NO_POST_INC

#define NCN26000_MACR_FUNC_DATA_NO_POST_INC   0x4000

Definition at line 144 of file ncn26000_driver.h.

◆ NCN26000_MACR_FUNC_DATA_POST_INC_RW

#define NCN26000_MACR_FUNC_DATA_POST_INC_RW   0x8000

Definition at line 145 of file ncn26000_driver.h.

◆ NCN26000_MACR_FUNC_DATA_POST_INC_W

#define NCN26000_MACR_FUNC_DATA_POST_INC_W   0xC000

Definition at line 146 of file ncn26000_driver.h.

◆ NCN26000_MIIM_IRQ_CTRL

#define NCN26000_MIIM_IRQ_CTRL   0x10

Definition at line 72 of file ncn26000_driver.h.

◆ NCN26000_MIIM_IRQ_CTRL_LINK_STATUS

#define NCN26000_MIIM_IRQ_CTRL_LINK_STATUS   0x0001

Definition at line 155 of file ncn26000_driver.h.

◆ NCN26000_MIIM_IRQ_CTRL_LOCAL_JABBER

#define NCN26000_MIIM_IRQ_CTRL_LOCAL_JABBER   0x0004

Definition at line 153 of file ncn26000_driver.h.

◆ NCN26000_MIIM_IRQ_CTRL_PHY_COL

#define NCN26000_MIIM_IRQ_CTRL_PHY_COL   0x0020

Definition at line 150 of file ncn26000_driver.h.

◆ NCN26000_MIIM_IRQ_CTRL_PLCA_RECOVERY

#define NCN26000_MIIM_IRQ_CTRL_PLCA_RECOVERY   0x0010

Definition at line 151 of file ncn26000_driver.h.

◆ NCN26000_MIIM_IRQ_CTRL_PLCA_STATUS_CHANGE

#define NCN26000_MIIM_IRQ_CTRL_PLCA_STATUS_CHANGE   0x0002

Definition at line 154 of file ncn26000_driver.h.

◆ NCN26000_MIIM_IRQ_CTRL_REMOTE_JABBER

#define NCN26000_MIIM_IRQ_CTRL_REMOTE_JABBER   0x0008

Definition at line 152 of file ncn26000_driver.h.

◆ NCN26000_MIIM_IRQ_STATUS

#define NCN26000_MIIM_IRQ_STATUS   0x11

Definition at line 73 of file ncn26000_driver.h.

◆ NCN26000_MIIM_IRQ_STATUS_LINK_STATUS

#define NCN26000_MIIM_IRQ_STATUS_LINK_STATUS   0x0001

Definition at line 164 of file ncn26000_driver.h.

◆ NCN26000_MIIM_IRQ_STATUS_LOCAL_JABBER

#define NCN26000_MIIM_IRQ_STATUS_LOCAL_JABBER   0x0004

Definition at line 162 of file ncn26000_driver.h.

◆ NCN26000_MIIM_IRQ_STATUS_PHY_COL

#define NCN26000_MIIM_IRQ_STATUS_PHY_COL   0x0020

Definition at line 159 of file ncn26000_driver.h.

◆ NCN26000_MIIM_IRQ_STATUS_PLCA_RECOVERY

#define NCN26000_MIIM_IRQ_STATUS_PLCA_RECOVERY   0x0010

Definition at line 160 of file ncn26000_driver.h.

◆ NCN26000_MIIM_IRQ_STATUS_PLCA_STATUS_CHANGE

#define NCN26000_MIIM_IRQ_STATUS_PLCA_STATUS_CHANGE   0x0002

Definition at line 163 of file ncn26000_driver.h.

◆ NCN26000_MIIM_IRQ_STATUS_REMOTE_JABBER

#define NCN26000_MIIM_IRQ_STATUS_REMOTE_JABBER   0x0008

Definition at line 161 of file ncn26000_driver.h.

◆ NCN26000_MIIM_IRQ_STATUS_RESET

#define NCN26000_MIIM_IRQ_STATUS_RESET   0x8000

Definition at line 158 of file ncn26000_driver.h.

◆ NCN26000_MMD1_DEV_IN_PACKAGE1

#define NCN26000_MMD1_DEV_IN_PACKAGE1   0x01, 0x0005

Definition at line 77 of file ncn26000_driver.h.

◆ NCN26000_MMD1_DEV_IN_PACKAGE1_C22_REGS_PRESENT

#define NCN26000_MMD1_DEV_IN_PACKAGE1_C22_REGS_PRESENT   0x0001

Definition at line 207 of file ncn26000_driver.h.

◆ NCN26000_MMD1_DEV_IN_PACKAGE1_PCS_PRESENT

#define NCN26000_MMD1_DEV_IN_PACKAGE1_PCS_PRESENT   0x0008

Definition at line 205 of file ncn26000_driver.h.

◆ NCN26000_MMD1_DEV_IN_PACKAGE1_PMA_PRESENT

#define NCN26000_MMD1_DEV_IN_PACKAGE1_PMA_PRESENT   0x0002

Definition at line 206 of file ncn26000_driver.h.

◆ NCN26000_MMD1_DEV_IN_PACKAGE2

#define NCN26000_MMD1_DEV_IN_PACKAGE2   0x01, 0x0006

Definition at line 78 of file ncn26000_driver.h.

◆ NCN26000_MMD3_DEV_IN_PACKAGE1

#define NCN26000_MMD3_DEV_IN_PACKAGE1   0x03, 0x0005

Definition at line 83 of file ncn26000_driver.h.

◆ NCN26000_MMD3_DEV_IN_PACKAGE1_C22_REGS_PRESENT

#define NCN26000_MMD3_DEV_IN_PACKAGE1_C22_REGS_PRESENT   0x0001

Definition at line 237 of file ncn26000_driver.h.

◆ NCN26000_MMD3_DEV_IN_PACKAGE1_PCS_PRESENT

#define NCN26000_MMD3_DEV_IN_PACKAGE1_PCS_PRESENT   0x0008

Definition at line 235 of file ncn26000_driver.h.

◆ NCN26000_MMD3_DEV_IN_PACKAGE1_PMA_PRESENT

#define NCN26000_MMD3_DEV_IN_PACKAGE1_PMA_PRESENT   0x0002

Definition at line 236 of file ncn26000_driver.h.

◆ NCN26000_MMD3_DEV_IN_PACKAGE2

#define NCN26000_MMD3_DEV_IN_PACKAGE2   0x03, 0x0006

Definition at line 84 of file ncn26000_driver.h.

◆ NCN26000_NODE_COUNT

#define NCN26000_NODE_COUNT   8

Definition at line 53 of file ncn26000_driver.h.

◆ NCN26000_NVM_HEALTH

#define NCN26000_NVM_HEALTH   0x1E, 0x1005

Definition at line 92 of file ncn26000_driver.h.

◆ NCN26000_NVM_HEALTH_GREEN_ZONE_NVM_ERROR

#define NCN26000_NVM_HEALTH_GREEN_ZONE_NVM_ERROR   0x0400

Definition at line 315 of file ncn26000_driver.h.

◆ NCN26000_NVM_HEALTH_GREEN_ZONE_NVM_WARNING

#define NCN26000_NVM_HEALTH_GREEN_ZONE_NVM_WARNING   0x0800

Definition at line 314 of file ncn26000_driver.h.

◆ NCN26000_NVM_HEALTH_RED_ZONE_NVM_ERROR

#define NCN26000_NVM_HEALTH_RED_ZONE_NVM_ERROR   0x4000

Definition at line 311 of file ncn26000_driver.h.

◆ NCN26000_NVM_HEALTH_RED_ZONE_NVM_WARNING

#define NCN26000_NVM_HEALTH_RED_ZONE_NVM_WARNING   0x8000

Definition at line 310 of file ncn26000_driver.h.

◆ NCN26000_NVM_HEALTH_YELLOW_ZONE_NVM_ERROR

#define NCN26000_NVM_HEALTH_YELLOW_ZONE_NVM_ERROR   0x1000

Definition at line 313 of file ncn26000_driver.h.

◆ NCN26000_NVM_HEALTH_YELLOW_ZONE_NVM_WARNING

#define NCN26000_NVM_HEALTH_YELLOW_ZONE_NVM_WARNING   0x2000

Definition at line 312 of file ncn26000_driver.h.

◆ NCN26000_PHY_ADDR

#define NCN26000_PHY_ADDR   0

Definition at line 39 of file ncn26000_driver.h.

◆ NCN26000_PHY_CONFIG1

#define NCN26000_PHY_CONFIG1   0x1F, 0x8001

Definition at line 94 of file ncn26000_driver.h.

◆ NCN26000_PHY_CONFIG1_ENHANCED_NOISE_IMMUNITY

#define NCN26000_PHY_CONFIG1_ENHANCED_NOISE_IMMUNITY   0x0080

Definition at line 325 of file ncn26000_driver.h.

◆ NCN26000_PHY_CONFIG1_NO_COL_MASKING

#define NCN26000_PHY_CONFIG1_NO_COL_MASKING   0x0002

Definition at line 328 of file ncn26000_driver.h.

◆ NCN26000_PHY_CONFIG1_PKT_LOOP

#define NCN26000_PHY_CONFIG1_PKT_LOOP   0x8000

Definition at line 324 of file ncn26000_driver.h.

◆ NCN26000_PHY_CONFIG1_RX_DELAYED

#define NCN26000_PHY_CONFIG1_RX_DELAYED   0x0001

Definition at line 329 of file ncn26000_driver.h.

◆ NCN26000_PHY_CONFIG1_SCRAMBLER_DIS

#define NCN26000_PHY_CONFIG1_SCRAMBLER_DIS   0x0004

Definition at line 327 of file ncn26000_driver.h.

◆ NCN26000_PHY_CONFIG1_UNJAB_TMR_EN

#define NCN26000_PHY_CONFIG1_UNJAB_TMR_EN   0x0040

Definition at line 326 of file ncn26000_driver.h.

◆ NCN26000_PHY_REVISION

#define NCN26000_PHY_REVISION   0x1F, 0x8000

Definition at line 93 of file ncn26000_driver.h.

◆ NCN26000_PHY_REVISION_MAJOR_REV

#define NCN26000_PHY_REVISION_MAJOR_REV   0xF000

Definition at line 318 of file ncn26000_driver.h.

◆ NCN26000_PHY_REVISION_MINOR_REV

#define NCN26000_PHY_REVISION_MINOR_REV   0x0F00

Definition at line 319 of file ncn26000_driver.h.

◆ NCN26000_PHY_REVISION_PATCH

#define NCN26000_PHY_REVISION_PATCH   0x003F

Definition at line 321 of file ncn26000_driver.h.

◆ NCN26000_PHY_REVISION_STAGE

#define NCN26000_PHY_REVISION_STAGE   0x00C0

Definition at line 320 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS

#define NCN26000_PHY_TWEAKS   0x1E, 0x1001

Definition at line 90 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_CD_THRESHOLD

#define NCN26000_PHY_TWEAKS_CD_THRESHOLD   0x3C00

Definition at line 259 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_CD_THRESHOLD_150MVPP

#define NCN26000_PHY_TWEAKS_CD_THRESHOLD_150MVPP   0x0000

Definition at line 260 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_CD_THRESHOLD_200MVPP

#define NCN26000_PHY_TWEAKS_CD_THRESHOLD_200MVPP   0x0400

Definition at line 261 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_CD_THRESHOLD_250MVPP

#define NCN26000_PHY_TWEAKS_CD_THRESHOLD_250MVPP   0x0800

Definition at line 262 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_CD_THRESHOLD_300MVPP

#define NCN26000_PHY_TWEAKS_CD_THRESHOLD_300MVPP   0x0C00

Definition at line 263 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_CD_THRESHOLD_350MVPP

#define NCN26000_PHY_TWEAKS_CD_THRESHOLD_350MVPP   0x1000

Definition at line 264 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_CD_THRESHOLD_400MVPP

#define NCN26000_PHY_TWEAKS_CD_THRESHOLD_400MVPP   0x1400

Definition at line 265 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_CD_THRESHOLD_450MVPP

#define NCN26000_PHY_TWEAKS_CD_THRESHOLD_450MVPP   0x1800

Definition at line 266 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_CD_THRESHOLD_500MVPP

#define NCN26000_PHY_TWEAKS_CD_THRESHOLD_500MVPP   0x1C00

Definition at line 267 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_CD_THRESHOLD_550MVPP

#define NCN26000_PHY_TWEAKS_CD_THRESHOLD_550MVPP   0x2000

Definition at line 268 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_CD_THRESHOLD_600MVPP

#define NCN26000_PHY_TWEAKS_CD_THRESHOLD_600MVPP   0x2400

Definition at line 269 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_CD_THRESHOLD_650MVPP

#define NCN26000_PHY_TWEAKS_CD_THRESHOLD_650MVPP   0x2800

Definition at line 270 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_CD_THRESHOLD_700MVPP

#define NCN26000_PHY_TWEAKS_CD_THRESHOLD_700MVPP   0x2C00

Definition at line 271 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_CD_THRESHOLD_750MVPP

#define NCN26000_PHY_TWEAKS_CD_THRESHOLD_750MVPP   0x3000

Definition at line 272 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_CD_THRESHOLD_800MVPP

#define NCN26000_PHY_TWEAKS_CD_THRESHOLD_800MVPP   0x3400

Definition at line 273 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_CD_THRESHOLD_850MVPP

#define NCN26000_PHY_TWEAKS_CD_THRESHOLD_850MVPP   0x3800

Definition at line 274 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_CD_THRESHOLD_900MVPP

#define NCN26000_PHY_TWEAKS_CD_THRESHOLD_900MVPP   0x3C00

Definition at line 275 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_CMC_COMP

#define NCN26000_PHY_TWEAKS_CMC_COMP   0x0018

Definition at line 296 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_CMC_COMP_0_5R_2_25R

#define NCN26000_PHY_TWEAKS_CMC_COMP_0_5R_2_25R   0x0008

Definition at line 298 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_CMC_COMP_0R_0_5R

#define NCN26000_PHY_TWEAKS_CMC_COMP_0R_0_5R   0x0000

Definition at line 297 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_CMC_COMP_2_25R_3_75R

#define NCN26000_PHY_TWEAKS_CMC_COMP_2_25R_3_75R   0x0010

Definition at line 299 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_CMC_COMP_3_75R_5R

#define NCN26000_PHY_TWEAKS_CMC_COMP_3_75R_5R   0x0018

Definition at line 300 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_DIGITAL_SLEW_RATE

#define NCN26000_PHY_TWEAKS_DIGITAL_SLEW_RATE   0x0020

Definition at line 293 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_DIGITAL_SLEW_RATE_FAST

#define NCN26000_PHY_TWEAKS_DIGITAL_SLEW_RATE_FAST   0x0020

Definition at line 295 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_DIGITAL_SLEW_RATE_SLOW

#define NCN26000_PHY_TWEAKS_DIGITAL_SLEW_RATE_SLOW   0x0000

Definition at line 294 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD

#define NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD   0x03C0

Definition at line 276 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_150MVPP

#define NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_150MVPP   0x0000

Definition at line 277 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_200MVPP

#define NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_200MVPP   0x0040

Definition at line 278 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_250MVPP

#define NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_250MVPP   0x0080

Definition at line 279 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_300MVPP

#define NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_300MVPP   0x00C0

Definition at line 280 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_350MVPP

#define NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_350MVPP   0x0100

Definition at line 281 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_400MVPP

#define NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_400MVPP   0x0140

Definition at line 282 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_450MVPP

#define NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_450MVPP   0x0180

Definition at line 283 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_500MVPP

#define NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_500MVPP   0x01C0

Definition at line 284 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_550MVPP

#define NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_550MVPP   0x0200

Definition at line 285 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_600MVPP

#define NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_600MVPP   0x0240

Definition at line 286 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_650MVPP

#define NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_650MVPP   0x0280

Definition at line 287 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_700MVPP

#define NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_700MVPP   0x02C0

Definition at line 288 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_750MVPP

#define NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_750MVPP   0x0300

Definition at line 289 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_800MVPP

#define NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_800MVPP   0x0340

Definition at line 290 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_850MVPP

#define NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_850MVPP   0x0380

Definition at line 291 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_900MVPP

#define NCN26000_PHY_TWEAKS_RX_ED_THRESHOLD_900MVPP   0x03C0

Definition at line 292 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_TX_SLEW

#define NCN26000_PHY_TWEAKS_TX_SLEW   0x0004

Definition at line 301 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_TX_SLEW_FAST

#define NCN26000_PHY_TWEAKS_TX_SLEW_FAST   0x0004

Definition at line 303 of file ncn26000_driver.h.

◆ NCN26000_PHY_TWEAKS_TX_SLEW_SLOW

#define NCN26000_PHY_TWEAKS_TX_SLEW_SLOW   0x0000

Definition at line 302 of file ncn26000_driver.h.

◆ NCN26000_PHYID1

#define NCN26000_PHYID1   0x02

Definition at line 68 of file ncn26000_driver.h.

◆ NCN26000_PHYID1_OUI_MSB

#define NCN26000_PHYID1_OUI_MSB   0xFFFF

Definition at line 130 of file ncn26000_driver.h.

◆ NCN26000_PHYID1_OUI_MSB_DEFAULT

#define NCN26000_PHYID1_OUI_MSB_DEFAULT   0x180F

Definition at line 131 of file ncn26000_driver.h.

◆ NCN26000_PHYID2

#define NCN26000_PHYID2   0x03

Definition at line 69 of file ncn26000_driver.h.

◆ NCN26000_PHYID2_CHIP_REV_NUM

#define NCN26000_PHYID2_CHIP_REV_NUM   0x000F

Definition at line 138 of file ncn26000_driver.h.

◆ NCN26000_PHYID2_CHIP_REV_NUM_DEFAULT

#define NCN26000_PHYID2_CHIP_REV_NUM_DEFAULT   0x0001

Definition at line 139 of file ncn26000_driver.h.

◆ NCN26000_PHYID2_IC_MODEL_NUM

#define NCN26000_PHYID2_IC_MODEL_NUM   0x03F0

Definition at line 136 of file ncn26000_driver.h.

◆ NCN26000_PHYID2_IC_MODEL_NUM_DEFAULT

#define NCN26000_PHYID2_IC_MODEL_NUM_DEFAULT   0x01A0

Definition at line 137 of file ncn26000_driver.h.

◆ NCN26000_PHYID2_OUI_LSB

#define NCN26000_PHYID2_OUI_LSB   0xFC00

Definition at line 134 of file ncn26000_driver.h.

◆ NCN26000_PHYID2_OUI_LSB_DEFAULT

#define NCN26000_PHYID2_OUI_LSB_DEFAULT   0xF400

Definition at line 135 of file ncn26000_driver.h.

◆ NCN26000_PLCA_BURST_MODE

#define NCN26000_PLCA_BURST_MODE   0x1F, 0xCA05

Definition at line 103 of file ncn26000_driver.h.

◆ NCN26000_PLCA_BURST_MODE_IFG_COMP_TMR

#define NCN26000_PLCA_BURST_MODE_IFG_COMP_TMR   0x00FF

Definition at line 373 of file ncn26000_driver.h.

◆ NCN26000_PLCA_BURST_MODE_IFG_COMP_TMR_DEFAULT

#define NCN26000_PLCA_BURST_MODE_IFG_COMP_TMR_DEFAULT   0x0080

Definition at line 374 of file ncn26000_driver.h.

◆ NCN26000_PLCA_BURST_MODE_MAX_BURST_COUNT

#define NCN26000_PLCA_BURST_MODE_MAX_BURST_COUNT   0xFF00

Definition at line 371 of file ncn26000_driver.h.

◆ NCN26000_PLCA_BURST_MODE_MAX_BURST_COUNT_DEFAULT

#define NCN26000_PLCA_BURST_MODE_MAX_BURST_COUNT_DEFAULT   0x0000

Definition at line 372 of file ncn26000_driver.h.

◆ NCN26000_PLCA_CTRL0

#define NCN26000_PLCA_CTRL0   0x1F, 0xCA01

Definition at line 99 of file ncn26000_driver.h.

◆ NCN26000_PLCA_CTRL0_EN

#define NCN26000_PLCA_CTRL0_EN   0x8000

Definition at line 357 of file ncn26000_driver.h.

◆ NCN26000_PLCA_CTRL0_RESET

#define NCN26000_PLCA_CTRL0_RESET   0x4000

Definition at line 358 of file ncn26000_driver.h.

◆ NCN26000_PLCA_CTRL1

#define NCN26000_PLCA_CTRL1   0x1F, 0xCA02

Definition at line 100 of file ncn26000_driver.h.

◆ NCN26000_PLCA_CTRL1_ID

#define NCN26000_PLCA_CTRL1_ID   0x00FF

Definition at line 362 of file ncn26000_driver.h.

◆ NCN26000_PLCA_CTRL1_NCNT

#define NCN26000_PLCA_CTRL1_NCNT   0xFF00

Definition at line 361 of file ncn26000_driver.h.

◆ NCN26000_PLCA_EXTENSIONS

#define NCN26000_PLCA_EXTENSIONS   0x1F, 0x8002

Definition at line 95 of file ncn26000_driver.h.

◆ NCN26000_PLCA_EXTENSIONS_COORDINATOR_MODE

#define NCN26000_PLCA_EXTENSIONS_COORDINATOR_MODE   0x0002

Definition at line 334 of file ncn26000_driver.h.

◆ NCN26000_PLCA_EXTENSIONS_COORDINATOR_ROLE

#define NCN26000_PLCA_EXTENSIONS_COORDINATOR_ROLE   0x0001

Definition at line 335 of file ncn26000_driver.h.

◆ NCN26000_PLCA_EXTENSIONS_MII_EXTENSIONS_DIS

#define NCN26000_PLCA_EXTENSIONS_MII_EXTENSIONS_DIS   0x0800

Definition at line 333 of file ncn26000_driver.h.

◆ NCN26000_PLCA_EXTENSIONS_PLCA_PRECEDENCE

#define NCN26000_PLCA_EXTENSIONS_PLCA_PRECEDENCE   0x8000

Definition at line 332 of file ncn26000_driver.h.

◆ NCN26000_PLCA_STATUS

#define NCN26000_PLCA_STATUS   0x1F, 0xCA03

Definition at line 101 of file ncn26000_driver.h.

◆ NCN26000_PLCA_STATUS_PST

#define NCN26000_PLCA_STATUS_PST   0x8000

Definition at line 365 of file ncn26000_driver.h.

◆ NCN26000_PLCA_SUPPORT

#define NCN26000_PLCA_SUPPORT   ENABLED

Definition at line 46 of file ncn26000_driver.h.

◆ NCN26000_PLCA_TX_OPPORTUNITY_TMR

#define NCN26000_PLCA_TX_OPPORTUNITY_TMR   0x1F, 0xCA04

Definition at line 102 of file ncn26000_driver.h.

◆ NCN26000_PLCA_TX_OPPORTUNITY_TMR_TOTMR

#define NCN26000_PLCA_TX_OPPORTUNITY_TMR_TOTMR   0x00FF

Definition at line 368 of file ncn26000_driver.h.

◆ NCN26000_PLCIDVER

#define NCN26000_PLCIDVER   0x1F, 0xCA00

Definition at line 98 of file ncn26000_driver.h.

◆ NCN26000_PLCIDVER_MAPID

#define NCN26000_PLCIDVER_MAPID   0xFF00

Definition at line 353 of file ncn26000_driver.h.

◆ NCN26000_PLCIDVER_MAPVER

#define NCN26000_PLCIDVER_MAPVER   0x00FF

Definition at line 354 of file ncn26000_driver.h.

◆ NCN26000_PMA_TUNE0

#define NCN26000_PMA_TUNE0   0x1F, 0x8003

Definition at line 96 of file ncn26000_driver.h.

◆ NCN26000_PMA_TUNE0_DRIFT_COMP_WINDOW_SELECT

#define NCN26000_PMA_TUNE0_DRIFT_COMP_WINDOW_SELECT   0x0007

Definition at line 340 of file ncn26000_driver.h.

◆ NCN26000_PMA_TUNE0_DRIFT_COMP_WINDOW_SELECT_127BITS

#define NCN26000_PMA_TUNE0_DRIFT_COMP_WINDOW_SELECT_127BITS   0x0004

Definition at line 343 of file ncn26000_driver.h.

◆ NCN26000_PMA_TUNE0_DRIFT_COMP_WINDOW_SELECT_31BITS

#define NCN26000_PMA_TUNE0_DRIFT_COMP_WINDOW_SELECT_31BITS   0x0002

Definition at line 341 of file ncn26000_driver.h.

◆ NCN26000_PMA_TUNE0_DRIFT_COMP_WINDOW_SELECT_63BITS

#define NCN26000_PMA_TUNE0_DRIFT_COMP_WINDOW_SELECT_63BITS   0x0003

Definition at line 342 of file ncn26000_driver.h.

◆ NCN26000_PMA_TUNE0_DRIFT_COMP_WINDOW_SELECT_OPTIMIZED

#define NCN26000_PMA_TUNE0_DRIFT_COMP_WINDOW_SELECT_OPTIMIZED   0x0005

Definition at line 344 of file ncn26000_driver.h.

◆ NCN26000_PMA_TUNE0_PLCA_BEACON_DETECT_THRESH

#define NCN26000_PMA_TUNE0_PLCA_BEACON_DETECT_THRESH   0x3F00

Definition at line 338 of file ncn26000_driver.h.

◆ NCN26000_PMA_TUNE0_PLCA_BEACON_DETECT_THRESH_DEFAULT

#define NCN26000_PMA_TUNE0_PLCA_BEACON_DETECT_THRESH_DEFAULT   0x2000

Definition at line 339 of file ncn26000_driver.h.

◆ NCN26000_PMA_TUNE1

#define NCN26000_PMA_TUNE1   0x1F, 0x8004

Definition at line 97 of file ncn26000_driver.h.

◆ NCN26000_PMA_TUNE1_COMMIT_DETECT_THRESH

#define NCN26000_PMA_TUNE1_COMMIT_DETECT_THRESH   0x003F

Definition at line 349 of file ncn26000_driver.h.

◆ NCN26000_PMA_TUNE1_COMMIT_DETECT_THRESH_DEFAULT

#define NCN26000_PMA_TUNE1_COMMIT_DETECT_THRESH_DEFAULT   0x0020

Definition at line 350 of file ncn26000_driver.h.

◆ NCN26000_PMA_TUNE1_PKT_PREAMBLE_DETECT_THRESH

#define NCN26000_PMA_TUNE1_PKT_PREAMBLE_DETECT_THRESH   0x3F00

Definition at line 347 of file ncn26000_driver.h.

◆ NCN26000_PMA_TUNE1_PKT_PREAMBLE_DETECT_THRESH_DEFAULT

#define NCN26000_PMA_TUNE1_PKT_PREAMBLE_DETECT_THRESH_DEFAULT   0x3500

Definition at line 348 of file ncn26000_driver.h.

◆ NCN26000_STATUS

#define NCN26000_STATUS   0x01

Definition at line 67 of file ncn26000_driver.h.

◆ NCN26000_STATUS_10MBPS_HD

#define NCN26000_STATUS_10MBPS_HD   0x0800

Definition at line 119 of file ncn26000_driver.h.

◆ NCN26000_STATUS_AN_ABLE

#define NCN26000_STATUS_AN_ABLE   0x0008

Definition at line 124 of file ncn26000_driver.h.

◆ NCN26000_STATUS_EXTENDED_CAPABLE

#define NCN26000_STATUS_EXTENDED_CAPABLE   0x0001

Definition at line 127 of file ncn26000_driver.h.

◆ NCN26000_STATUS_JABBER_DETECT

#define NCN26000_STATUS_JABBER_DETECT   0x0002

Definition at line 126 of file ncn26000_driver.h.

◆ NCN26000_STATUS_LINK_NEGOTIATION_COMPLETE

#define NCN26000_STATUS_LINK_NEGOTIATION_COMPLETE   0x0020

Definition at line 122 of file ncn26000_driver.h.

◆ NCN26000_STATUS_LINK_STATUS

#define NCN26000_STATUS_LINK_STATUS   0x0004

Definition at line 125 of file ncn26000_driver.h.

◆ NCN26000_STATUS_MF_PREAMBLE_SUPPR

#define NCN26000_STATUS_MF_PREAMBLE_SUPPR   0x0040

Definition at line 121 of file ncn26000_driver.h.

◆ NCN26000_STATUS_REMOTE_FAULT

#define NCN26000_STATUS_REMOTE_FAULT   0x0010

Definition at line 123 of file ncn26000_driver.h.

◆ NCN26000_STATUS_UNIDIRECTIONAL_ABLE

#define NCN26000_STATUS_UNIDIRECTIONAL_ABLE   0x0080

Definition at line 120 of file ncn26000_driver.h.

Function Documentation

◆ ncn26000DisableIrq()

void ncn26000DisableIrq ( NetInterface interface)

Disable interrupts.

Parameters
[in]interfaceUnderlying network interface

Definition at line 192 of file ncn26000_driver.c.

◆ ncn26000DumpPhyReg()

void ncn26000DumpPhyReg ( NetInterface interface)

Dump PHY registers for debugging purpose.

Parameters
[in]interfaceUnderlying network interface

Definition at line 305 of file ncn26000_driver.c.

◆ ncn26000EnableIrq()

void ncn26000EnableIrq ( NetInterface interface)

Enable interrupts.

Parameters
[in]interfaceUnderlying network interface

Definition at line 177 of file ncn26000_driver.c.

◆ ncn26000EventHandler()

void ncn26000EventHandler ( NetInterface interface)

NCN26000 event handler.

Parameters
[in]interfaceUnderlying network interface

Definition at line 207 of file ncn26000_driver.c.

◆ ncn26000Init()

error_t ncn26000Init ( NetInterface interface)

NCN26000 PHY transceiver initialization.

Parameters
[in]interfaceUnderlying network interface
Returns
Error code

Definition at line 60 of file ncn26000_driver.c.

◆ ncn26000InitHook()

void ncn26000InitHook ( NetInterface interface)

NCN26000 custom configuration.

Parameters
[in]interfaceUnderlying network interface

Definition at line 105 of file ncn26000_driver.c.

◆ ncn26000ModifyMmdReg()

void ncn26000ModifyMmdReg ( NetInterface interface,
uint8_t  devAddr,
uint16_t  regAddr,
uint16_t  mask,
uint16_t  data 
)

Modify MMD register.

Parameters
[in]interfaceUnderlying network interface
[in]devAddrDevice address
[in]regAddrRegister address
[in]mask16-bit mask
[in]data16-bit value

Definition at line 385 of file ncn26000_driver.c.

◆ ncn26000ReadMmdReg()

uint16_t ncn26000ReadMmdReg ( NetInterface interface,
uint8_t  devAddr,
uint16_t  regAddr 
)

Read MMD register.

Parameters
[in]interfaceUnderlying network interface
[in]devAddrDevice address
[in]regAddrRegister address
Returns
MMD register value

Definition at line 357 of file ncn26000_driver.c.

◆ ncn26000ReadPhyReg()

uint16_t ncn26000ReadPhyReg ( NetInterface interface,
uint8_t  address 
)

Read PHY register.

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

Definition at line 279 of file ncn26000_driver.c.

◆ ncn26000Tick()

void ncn26000Tick ( NetInterface interface)

NCN26000 timer handler.

Parameters
[in]interfaceUnderlying network interface

Definition at line 132 of file ncn26000_driver.c.

◆ ncn26000WriteMmdReg()

void ncn26000WriteMmdReg ( NetInterface interface,
uint8_t  devAddr,
uint16_t  regAddr,
uint16_t  data 
)

Write MMD register.

Parameters
[in]interfaceUnderlying network interface
[in]devAddrDevice address
[in]regAddrRegister address
[in]dataMMD register value

Definition at line 330 of file ncn26000_driver.c.

◆ ncn26000WritePhyReg()

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

Write PHY register.

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

Definition at line 255 of file ncn26000_driver.c.

Variable Documentation

◆ ncn26000PhyDriver

const PhyDriver ncn26000PhyDriver
extern

NCN26000 Ethernet PHY driver.

Definition at line 44 of file ncn26000_driver.c.