ncn26010_driver.h File Reference

Onsemi NCN26010 10Base-T1S Ethernet controller. More...

#include "core/nic.h"

Go to the source code of this file.

Macros

#define NCN26010_PLCA_SUPPORT   ENABLED
 
#define NCN26010_NODE_COUNT   8
 
#define NCN26010_LOCAL_ID   1
 
#define NCN26010_ETH_RX_BUFFER_SIZE   1536
 
#define NCN26010_CHUNK_PAYLOAD_SIZE   64
 
#define NCN26010_TX_HEADER_DNC   0x80000000
 
#define NCN26010_TX_HEADER_SEQ   0x40000000
 
#define NCN26010_TX_HEADER_NORX   0x20000000
 
#define NCN26010_TX_HEADER_VS   0x00C00000
 
#define NCN26010_TX_HEADER_DV   0x00200000
 
#define NCN26010_TX_HEADER_SV   0x00100000
 
#define NCN26010_TX_HEADER_SWO   0x000F0000
 
#define NCN26010_TX_HEADER_EV   0x00004000
 
#define NCN26010_TX_HEADER_EBO   0x00003F00
 
#define NCN26010_TX_HEADER_TSC   0x000000C0
 
#define NCN26010_TX_HEADER_P   0x00000001
 
#define NCN26010_RX_FOOTER_EXST   0x80000000
 
#define NCN26010_RX_FOOTER_HDRB   0x40000000
 
#define NCN26010_RX_FOOTER_SYNC   0x20000000
 
#define NCN26010_RX_FOOTER_RCA   0x1F000000
 
#define NCN26010_RX_FOOTER_VS   0x00C00000
 
#define NCN26010_RX_FOOTER_DV   0x00200000
 
#define NCN26010_RX_FOOTER_SV   0x00100000
 
#define NCN26010_RX_FOOTER_SWO   0x000F0000
 
#define NCN26010_RX_FOOTER_FD   0x00008000
 
#define NCN26010_RX_FOOTER_EV   0x00004000
 
#define NCN26010_RX_FOOTER_EBO   0x00003F00
 
#define NCN26010_RX_FOOTER_RTSA   0x00000080
 
#define NCN26010_RX_FOOTER_RTSP   0x00000040
 
#define NCN26010_RX_FOOTER_TXC   0x0000003E
 
#define NCN26010_RX_FOOTER_P   0x00000001
 
#define NCN26010_CTRL_HEADER_DNC   0x80000000
 
#define NCN26010_CTRL_HEADER_HDRB   0x40000000
 
#define NCN26010_CTRL_HEADER_WNR   0x20000000
 
#define NCN26010_CTRL_HEADER_AID   0x10000000
 
#define NCN26010_CTRL_HEADER_MMS   0x0F000000
 
#define NCN26010_CTRL_HEADER_ADDR   0x00FFFF00
 
#define NCN26010_CTRL_HEADER_LEN   0x000000FE
 
#define NCN26010_CTRL_HEADER_P   0x00000001
 
#define NCN26010_MMS_STD   0x00
 
#define NCN26010_MMS_MAC   0x01
 
#define NCN26010_MMS_PHY_PCS   0x02
 
#define NCN26010_MMS_PHY_PMA_PMD   0x03
 
#define NCN26010_MMS_PHY_PLCA   0x04
 
#define NCN26010_MMS_PHY_VS   0x0C
 
#define NCN26010_IDVER   0x00, 0x0000
 
#define NCN26010_PHYID   0x00, 0x0001
 
#define NCN26010_STDCAP   0x00, 0x0002
 
#define NCN26010_RESET   0x00, 0x0003
 
#define NCN26010_CONFIG0   0x00, 0x0004
 
#define NCN26010_STATUS0   0x00, 0x0008
 
#define NCN26010_BUFSTS   0x00, 0x000B
 
#define NCN26010_IMSK0   0x00, 0x000C
 
#define NCN26010_PHYCTRL   0x00, 0xFF00
 
#define NCN26010_PHYSTATUS   0x00, 0xFF01
 
#define NCN26010_PHYID0   0x00, 0xFF02
 
#define NCN26010_PHYID1   0x00, 0xFF03
 
#define NCN26010_MACCTRL0   0x01, 0x0000
 
#define NCN26010_ADDRFILT0L   0x01, 0x0010
 
#define NCN26010_ADDRFILT0H   0x01, 0x0011
 
#define NCN26010_ADDRFILT1L   0x01, 0x0012
 
#define NCN26010_ADDRFILT1H   0x01, 0x0013
 
#define NCN26010_ADDRFILT2L   0x01, 0x0014
 
#define NCN26010_ADDRFILT2H   0x01, 0x0015
 
#define NCN26010_ADDRFILT3L   0x01, 0x0016
 
#define NCN26010_ADDRFILT3H   0x01, 0x0017
 
#define NCN26010_ADDRMASK0L   0x01, 0x0020
 
#define NCN26010_ADDRMASK0H   0x01, 0x0021
 
#define NCN26010_ADDRMASK1L   0x01, 0x0022
 
#define NCN26010_ADDRMASK1H   0x01, 0x0023
 
#define NCN26010_ADDRMASK2L   0x01, 0x0024
 
#define NCN26010_ADDRMASK2H   0x01, 0x0025
 
#define NCN26010_ADDRMASK3L   0x01, 0x0026
 
#define NCN26010_ADDRMASK3H   0x01, 0x0027
 
#define NCN26010_STOCTETSTXL   0x01, 0x0030
 
#define NCN26010_STOCTETSTXH   0x01, 0x0031
 
#define NCN26010_STFRAMESTXOK   0x01, 0x0032
 
#define NCN26010_STBCASTTXOK   0x01, 0x0033
 
#define NCN26010_STMCASTTXOK   0x01, 0x0034
 
#define NCN26010_STFRAMESTX64   0x01, 0x0035
 
#define NCN26010_STFRAMESTX65   0x01, 0x0036
 
#define NCN26010_STFRAMESTX128   0x01, 0x0037
 
#define NCN26010_STFRAMESTX256   0x01, 0x0038
 
#define NCN26010_STFRAMESTX512   0x01, 0x0039
 
#define NCN26010_STFRAMESTX1024   0x01, 0x003A
 
#define NCN26010_STUNDERFLOW   0x01, 0x003B
 
#define NCN26010_STSINGLECOL   0x01, 0x003C
 
#define NCN26010_STMULTICOL   0x01, 0x003D
 
#define NCN26010_STEXCESSCOL   0x01, 0x003E
 
#define NCN26010_STDEFERREDTX   0x01, 0x003F
 
#define NCN26010_STCRSERR   0x01, 0x0040
 
#define NCN26010_STOCTETSRXL   0x01, 0x0041
 
#define NCN26010_STOCTETSRXH   0x01, 0x0042
 
#define NCN26010_STFRAMESRXOK   0x01, 0x0043
 
#define NCN26010_STBCASTRXOK   0x01, 0x0044
 
#define NCN26010_STMCASTRXOK   0x01, 0x0045
 
#define NCN26010_STFRAMESRX64   0x01, 0x0046
 
#define NCN26010_STFRAMESRX65   0x01, 0x0047
 
#define NCN26010_STFRAMESRX128   0x01, 0x0048
 
#define NCN26010_STFRAMESRX256   0x01, 0x0049
 
#define NCN26010_STFRAMESRX512   0x01, 0x004A
 
#define NCN26010_STFRAMESRX1024   0x01, 0x004B
 
#define NCN26010_STRUNTSERR   0x01, 0x004C
 
#define NCN26010_STRXTOOLONG   0x01, 0x004D
 
#define NCN26010_STFCSERRS   0x01, 0x004E
 
#define NCN26010_STSYMBOLERRS   0x01, 0x004F
 
#define NCN26010_STALIGNERRS   0x01, 0x0050
 
#define NCN26010_STRXOVERFLOW   0x01, 0x0051
 
#define NCN26010_STRXDROPPED   0x01, 0x0052
 
#define NCN26010_PCS_DEVINPKG1   0x02, 0x0005
 
#define NCN26010_PCS_DEVINPKG2   0x02, 0x0006
 
#define NCN26010_T1SPCSCTRL   0x02, 0x08F3
 
#define NCN26010_T1SPCSSTATUS   0x02, 0x08F4
 
#define NCN26010_T1SPCSRMTJAB   0x02, 0x08F5
 
#define NCN26010_T1SPCSPHYCOL   0x02, 0x08F6
 
#define NCN26010_PMA_DEVINPKG1   0x03, 0x0005
 
#define NCN26010_PMA_DEVINPKG2   0x03, 0x0006
 
#define NCN26010_BASET1EXTABLTY   0x03, 0x0012
 
#define NCN26010_T1SPMACTRL   0x03, 0x08F9
 
#define NCN26010_T1SPMASTS   0x03, 0x08FA
 
#define NCN26010_T1STMCTL   0x03, 0x08FB
 
#define NCN26010_CHIPREV   0x04, 0x8000
 
#define NCN26010_PHYCFG1   0x04, 0x8001
 
#define NCN26010_PLCAEXT   0x04, 0x8002
 
#define NCN26010_PMATUNE0   0x04, 0x8003
 
#define NCN26010_PMATUNE1   0x04, 0x8004
 
#define NCN26010_PLCAREGMAP   0x04, 0xCA00
 
#define NCN26010_PLCACTRL0   0x04, 0xCA01
 
#define NCN26010_PLCACTRL1   0x04, 0xCA02
 
#define NCN26010_PLCASTS   0x04, 0xCA03
 
#define NCN26010_PLCATOTMR   0x04, 0xCA04
 
#define NCN26010_PLCABURST   0x04, 0xCA05
 
#define NCN26010_MIIMIRQCTRL   0x0C, 0x0010
 
#define NCN26010_MIIMIRQSTS   0x0C, 0x0011
 
#define NCN26010_DIOCFG   0x0C, 0x0012
 
#define NCN26010_PHYTWEAK   0x0C, 0x1001
 
#define NCN26010_MACID0   0x0C, 0x1002
 
#define NCN26010_MACID1   0x0C, 0x1003
 
#define NCN26010_CHIPINFO   0x0C, 0x1004
 
#define NCN26010_NVMHEALTH   0x0C, 0x1005
 
#define NCN26010_IDVER_MAJVER   0x000000F0
 
#define NCN26010_IDVER_MAJVER_DEFAULT   0x00000010
 
#define NCN26010_IDVER_MINVER   0x0000000F
 
#define NCN26010_IDVER_MINVER_DEFAULT   0x00000001
 
#define NCN26010_PHYID_OUI   0xFFFFFC00
 
#define NCN26010_PHYID_OUI_DEFAULT   0x180FF400
 
#define NCN26010_PHYID_MODEL   0x000003F0
 
#define NCN26010_PHYID_MODEL_DEFAULT   0x000001A0
 
#define NCN26010_PHYID_REV   0x0000000F
 
#define NCN26010_PHYID_REV_DEFAULT   0x00000001
 
#define NCN26010_STDCAP_TXFCSVC   0x00000400
 
#define NCN26010_STDCAP_IPRAC   0x00000200
 
#define NCN26010_STDCAP_DPRAC   0x00000100
 
#define NCN26010_STDCAP_CTC   0x00000080
 
#define NCN26010_STDCAP_FTC   0x00000040
 
#define NCN26010_STDCAP_AIDC   0x00000020
 
#define NCN26010_STDCAP_SEQ   0x00000010
 
#define NCN26010_STDCAP_MINCPS   0x00000007
 
#define NCN26010_RESET_RESET   0x00000001
 
#define NCN26010_CONFIG0_SYNC   0x00008000
 
#define NCN26010_CONFIG0_TXFCSVE   0x00004000
 
#define NCN26010_CONFIG0_CSARFE   0x00002000
 
#define NCN26010_CONFIG0_ZARFE   0x00001000
 
#define NCN26010_CONFIG0_TXCTHRESH   0x00000C00
 
#define NCN26010_CONFIG0_TXCTHRESH_1_CREDIT   0x00000000
 
#define NCN26010_CONFIG0_TXCTHRESH_4_CREDITS   0x00000400
 
#define NCN26010_CONFIG0_TXCTHRESH_8_CREDITS   0x00000800
 
#define NCN26010_CONFIG0_TXCTHRESH_16_CREDITS   0x00000C00
 
#define NCN26010_CONFIG0_TXCTE   0x00000200
 
#define NCN26010_CONFIG0_RXCTE   0x00000100
 
#define NCN26010_CONFIG0_FTSE   0x00000080
 
#define NCN26010_CONFIG0_FTSS   0x00000040
 
#define NCN26010_CONFIG0_PROTE   0x00000020
 
#define NCN26010_CONFIG0_CPS   0x00000007
 
#define NCN26010_CONFIG0_CPS_8_BYTES   0x00000003
 
#define NCN26010_CONFIG0_CPS_16_BYTES   0x00000004
 
#define NCN26010_CONFIG0_CPS_32_BYTES   0x00000005
 
#define NCN26010_CONFIG0_CPS_64_BYTES   0x00000006
 
#define NCN26010_STATUS0_CDPE   0x00001000
 
#define NCN26010_STATUS0_TXFCSE   0x00000800
 
#define NCN26010_STATUS0_TTSCAC   0x00000400
 
#define NCN26010_STATUS0_TTSCAB   0x00000200
 
#define NCN26010_STATUS0_TTSCAA   0x00000100
 
#define NCN26010_STATUS0_PHYINT   0x00000080
 
#define NCN26010_STATUS0_RESETC   0x00000040
 
#define NCN26010_STATUS0_HDRE   0x00000020
 
#define NCN26010_STATUS0_LOFE   0x00000010
 
#define NCN26010_STATUS0_RXBOE   0x00000008
 
#define NCN26010_STATUS0_TXBUE   0x00000004
 
#define NCN26010_STATUS0_TXBOE   0x00000002
 
#define NCN26010_STATUS0_TXPE   0x00000001
 
#define NCN26010_BUFSTS_TXC   0x0000FF00
 
#define NCN26010_BUFSTS_RCA   0x000000FF
 
#define NCN26010_IMSK0_CDPEM   0x00001000
 
#define NCN26010_IMSK0_TXFCSEM   0x00000800
 
#define NCN26010_IMSK0_PHYINTM   0x00000080
 
#define NCN26010_IMSK0_RESETCM   0x00000040
 
#define NCN26010_IMSK0_HDREM   0x00000020
 
#define NCN26010_IMSK0_LOFEM   0x00000010
 
#define NCN26010_IMSK0_RXDOEM   0x00000008
 
#define NCN26010_IMSK0_TXBUEM   0x00000004
 
#define NCN26010_IMSK0_TXBOEM   0x00000002
 
#define NCN26010_IMSK0_TXPEM   0x00000001
 
#define NCN26010_PHYCTRL_RESET   0x00008000
 
#define NCN26010_PHYCTRL_LOOPBACK   0x00004000
 
#define NCN26010_PHYCTRL_SPEED_LSB   0x00002000
 
#define NCN26010_PHYCTRL_LINK_CONTROL   0x00001000
 
#define NCN26010_PHYCTRL_ISOLATE   0x00000400
 
#define NCN26010_PHYCTRL_LINK_RESET   0x00000200
 
#define NCN26010_PHYCTRL_DUPLEX_MODE   0x00000100
 
#define NCN26010_PHYCTRL_COLLISION_TEST   0x00000080
 
#define NCN26010_PHYCTRL_SPEED_MSB   0x00000040
 
#define NCN26010_PHYSTATUS_10_HALF_DUPLEX   0x00000800
 
#define NCN26010_PHYSTATUS_UNIDIRECTIONAL_ABILITY   0x00000080
 
#define NCN26010_PHYSTATUS_MF_PREAMBLE_SUPPR   0x00000040
 
#define NCN26010_PHYSTATUS_LINK_NEGOTIATION_COMPLETE   0x00000020
 
#define NCN26010_PHYSTATUS_REMOTE_FAULT   0x00000010
 
#define NCN26010_PHYSTATUS_AUTO_NEGOTIATION_ABILITY   0x00000008
 
#define NCN26010_PHYSTATUS_LINK_STATUS   0x00000004
 
#define NCN26010_PHYSTATUS_JABBER_DETECT   0x00000002
 
#define NCN26010_PHYSTATUS_EXTENDED_CAPABILITY   0x00000001
 
#define NCN26010_PHYID0_OUI_MSB   0x0000FFFF
 
#define NCN26010_PHYID0_OUI_MSB_DEFAULT   0x0000180F
 
#define NCN26010_PHYID1_OUI_LSB   0x0000FC00
 
#define NCN26010_PHYID1_OUI_LSB_DEFAULT   0x0000D400
 
#define NCN26010_PHYID1_MODEL_NUM   0x000003F0
 
#define NCN26010_PHYID1_MODEL_NUM_DEFAULT   0x000001A0
 
#define NCN26010_PHYID1_REV_NUM   0x0000000F
 
#define NCN26010_PHYID1_REV_NUM_DEFAULT   0x00000001
 
#define NCN26010_MACCTRL0_IPGNF   0x00200000
 
#define NCN26010_MACCTRL0_BKOD   0x00100000
 
#define NCN26010_MACCTRL0_NFCSF   0x00080000
 
#define NCN26010_MACCTRL0_MCSF   0x00040000
 
#define NCN26010_MACCTRL0_BCSF   0x00020000
 
#define NCN26010_MACCTRL0_ADRF   0x00010000
 
#define NCN26010_MACCTRL0_FCSA   0x00000100
 
#define NCN26010_MACCTRL0_TXEN   0x00000002
 
#define NCN26010_MACCTRL0_RXEN   0x00000001
 
#define NCN26010_ADDRFILTnL_ADDRFILT_31_0   0xFFFFFFFF
 
#define NCN26010_ADDRFILTnH_EN   0x80000000
 
#define NCN26010_ADDRFILTnH_ADDRFILT_47_32   0x0000FFFF
 
#define NCN26010_ADDRMASKnL_ADDRMASK_31_0   0xFFFFFFFF
 
#define NCN26010_ADDRMASKnH_ADDRMASK_47_32   0x00008000
 
#define NCN26010_STOCTETSTXL_STOCTETSTXL_31_0   0xFFFFFFFF
 
#define NCN26010_STOCTETSTXH_STOCTETSTXL_47_32   0x0000FFFF
 
#define NCN26010_STUNDERFLOW_STUNDERFLOW   0x000003FF
 
#define NCN26010_STSINGLECOL_STSINGLECOL   0x0003FFFF
 
#define NCN26010_STMULTICOL_STMULTICOL   0x0003FFFF
 
#define NCN26010_STEXCESSCOL_STEXCESSCOL   0x000003FF
 
#define NCN26010_STDEFERREDTX_STDEFERREDTX   0x0003FFFF
 
#define NCN26010_STCRSERR_STCRSERR   0x000003FF
 
#define NCN26010_STOCTETSRXL_STOCTETSRX_31_0   0xFFFFFFFF
 
#define NCN26010_STOCTETSRXH_STOCTETSRX_47_32   0x0000FFFF
 
#define NCN26010_STRUNTSERR_STRUNTERR   0x000003FF
 
#define NCN26010_STRXTOOLONG_STRXTOOLONG   0x000003FF
 
#define NCN26010_STFCSERRS_STFCSERRS   0x000003FF
 
#define NCN26010_STSYMBOLERRS_STSYMBOLERRS   0x000003FF
 
#define NCN26010_STALIGNERRS_STALIGNERRS   0x000003FF
 
#define NCN26010_STRXOVERFLOW_STRXOVERFLOW   0x000003FF
 
#define NCN26010_PCS_DEVINPKG1_PCS_PRESENT   0x0008
 
#define NCN26010_PCS_DEVINPKG1_PMA_PRESENT   0x0002
 
#define NCN26010_PCS_DEVINPKG1_CLAUSE_22_REGS_PRESENT   0x0001
 
#define NCN26010_T1SPCSCTRL_PCS_RESET   0x8000
 
#define NCN26010_T1SPCSCTRL_LOOPBACK   0x4000
 
#define NCN26010_T1SPCSSTATUS_FAULT   0x0080
 
#define NCN26010_T1SPCSRMTJAB_PCS_REMOTE_JABBER_COUNT   0xFFFF
 
#define NCN26010_T1SPCSPHYCOL_PCS_PHY_COL_COUNT   0xFFFF
 
#define NCN26010_PMA_DEVINPKG1_PCS_PRESENT   0x0008
 
#define NCN26010_PMA_DEVINPKG1_PMA_PRESENT   0x0002
 
#define NCN26010_PMA_DEVINPKG1_CLAUSE_22_REGS_PRESENT   0x0001
 
#define NCN26010_BASET1EXTABLTY_10BASE_T1S   0x0008
 
#define NCN26010_T1SPMACTRL_PMA_RESET   0x8000
 
#define NCN26010_T1SPMACTRL_TX_DIS   0x4000
 
#define NCN26010_T1SPMACTRL_LOW_POWER_MODE   0x0800
 
#define NCN26010_T1SPMACTRL_MULTI_DROP_EN   0x0400
 
#define NCN26010_T1SPMACTRL_LOOPBACK_MODE   0x0001
 
#define NCN26010_T1SPMASTS_LOOPBACK_ABILITY   0x2000
 
#define NCN26010_T1SPMASTS_LOW_POWER_ABILITY   0x0800
 
#define NCN26010_T1SPMASTS_MULTI_DROP_ABILITY   0x0400
 
#define NCN26010_T1SPMASTS_RECEIVE_FAULT_ABILITY   0x0200
 
#define NCN26010_T1SPMASTS_REMOTE_JABBER   0x0002
 
#define NCN26010_T1STMCTL_TEST_MODE   0xE000
 
#define NCN26010_T1STMCTL_TEST_MODE_NORMAL   0x0000
 
#define NCN26010_T1STMCTL_TEST_MODE_TX_OUT_VOLTAGE_TEST   0x2000
 
#define NCN26010_T1STMCTL_TEST_MODE_TX_OUT_DROP_TEST   0x4000
 
#define NCN26010_T1STMCTL_TEST_MODE_TX_PSD_MASK   0x6000
 
#define NCN26010_T1STMCTL_TEST_MODE_TX_HIGH_Z_TEST   0x8000
 
#define NCN26010_CHIPREV_MAJOR_REV   0xF000
 
#define NCN26010_CHIPREV_MAJOR_REV_DEFAULT   0x1000
 
#define NCN26010_CHIPREV_MINOR_REV   0x0F00
 
#define NCN26010_CHIPREV_MINOR_REV_DEFAULT   0x0000
 
#define NCN26010_CHIPREV_STAGE   0x00C0
 
#define NCN26010_CHIPREV_STAGE_DEFAULT   0x00C0
 
#define NCN26010_CHIPREV_PATCH   0x003F
 
#define NCN26010_CHIPREV_PATCH_DEFAULT   0x0001
 
#define NCN26010_PHYCFG1_ENHANCED_NOISE_IMMUNITY   0x0080
 
#define NCN26010_PHYCFG1_UNJAB_TIMER_EN   0x0040
 
#define NCN26010_PHYCFG1_SCRAMBLER_DIS   0x0004
 
#define NCN26010_PHYCFG1_NO_COL_MASKING   0x0002
 
#define NCN26010_PHYCFG1_RX_DELAY   0x0001
 
#define NCN26010_PLCAEXT_PLCA_PRECEDENCE   0x8000
 
#define NCN26010_PLCAEXT_COORDINATOR_MODE   0x0002
 
#define NCN26010_PLCAEXT_COORDINATOR_ROLE   0x0001
 
#define NCN26010_PMATUNE0_PLCA_BEACON_DETECT_THRESHOLD   0x3F00
 
#define NCN26010_PMATUNE0_DRIFT_COMPENSATION_WIN_SEL   0x0007
 
#define NCN26010_PMATUNE1_PKT_PREAMBLE_DETEC_THRESHOLD   0x3F00
 
#define NCN26010_PMATUNE1_COMMIT_DETECT_THRESHOLD   0x003F
 
#define NCN26010_PLCAREGMAP_MAPID   0xFF00
 
#define NCN26010_PLCAREGMAP_MAPVER   0x00FF
 
#define NCN26010_PLCACTRL0_PCLA_EN   0x8000
 
#define NCN26010_PLCACTRL0_PLCA_RESET   0x4000
 
#define NCN26010_PLCACTRL1_NCNT   0xFF00
 
#define NCN26010_PLCACTRL1_ID   0x00FF
 
#define NCN26010_PLCASTS_PST   0x8000
 
#define NCN26010_PLCATOTMR_TOTMR   0x00FF
 
#define NCN26010_PLCATOTMR_TOTMR_DEFAULT   0x0018
 
#define NCN26010_PLCABURST_MAXBC   0xFF00
 
#define NCN26010_PLCABURST_MAXBC_DEFAULT   0x0000
 
#define NCN26010_PLCABURST_BTMR   0x00FF
 
#define NCN26010_PLCABURST_BTMR_DEFAULT   0x0080
 
#define NCN26010_MIIMIRQCTRL_PHY_COL_REPORT   0x0020
 
#define NCN26010_MIIMIRQCTRL_PLCA_RECOVERY_REPORT   0x0010
 
#define NCN26010_MIIMIRQCTRL_REMOTE_JABBER_REPORT   0x0008
 
#define NCN26010_MIIMIRQCTRL_LOCAL_JABBER_REPORT   0x0004
 
#define NCN26010_MIIMIRQCTRL_PLCA_STATUS_CHANGE_REPORT   0x0002
 
#define NCN26010_MIIMIRQCTRL_LINK_STATUS_CHANGE_REPORT   0x0001
 
#define NCN26010_MIIMIRQSTS_RESET_STATUS   0x8000
 
#define NCN26010_MIIMIRQSTS_PHY_COL   0x0020
 
#define NCN26010_MIIMIRQSTS_PLCA_RECOVERY   0x0010
 
#define NCN26010_MIIMIRQSTS_REMOTE_JABBER   0x0008
 
#define NCN26010_MIIMIRQSTS_LOCAL_JABBER   0x0004
 
#define NCN26010_MIIMIRQSTS_PLCA_STATUS_CHANGE   0x0002
 
#define NCN26010_MIIMIRQSTS_LINK_STATUS_CHANGE   0x0001
 
#define NCN26010_DIOCFG_SLEW_RATE_1   0x8000
 
#define NCN26010_DIOCFG_PULL_EN_1   0x4000
 
#define NCN26010_DIOCFG_PULL_TYPE_1   0x2000
 
#define NCN26010_DIOCFG_PULL_TYPE_1_PULL_UP   0x0000
 
#define NCN26010_DIOCFG_PULL_TYPE_1_PULL_DOWN   0x2000
 
#define NCN26010_DIOCFG_FN1   0x1E00
 
#define NCN26010_DIOCFG_FN1_DISABLE   0x0000
 
#define NCN26010_DIOCFG_FN1_GPIO   0x0200
 
#define NCN26010_DIOCFG_FN1_SFD_TX   0x0400
 
#define NCN26010_DIOCFG_FN1_SFD_RX   0x0600
 
#define NCN26010_DIOCFG_FN1_LED_LINK_CTRL   0x0800
 
#define NCN26010_DIOCFG_FN1_LED_PLCA_STATUS   0x0A00
 
#define NCN26010_DIOCFG_FN1_LED_TX   0x0C00
 
#define NCN26010_DIOCFG_FN1_LED_RX   0x0E00
 
#define NCN26010_DIOCFG_FN1_CLK25M   0x1000
 
#define NCN26010_DIOCFG_FN1_SFD_RX_TX   0x1600
 
#define NCN26010_DIOCFG_FN1_LED_TX_RX   0x1E00
 
#define NCN26010_DIOCFG_VAL1   0x0100
 
#define NCN26010_DIOCFG_SLEW_RATE_0   0x0080
 
#define NCN26010_DIOCFG_PULL_EN_0   0x0040
 
#define NCN26010_DIOCFG_PULL_TYPE_0   0x0020
 
#define NCN26010_DIOCFG_PULL_TYPE_0_PULL_UP   0x0000
 
#define NCN26010_DIOCFG_PULL_TYPE_0_PULL_DOWN   0x0020
 
#define NCN26010_DIOCFG_FN0   0x001E
 
#define NCN26010_DIOCFG_FN0_DISABLE   0x0000
 
#define NCN26010_DIOCFG_FN0_GPIO   0x0002
 
#define NCN26010_DIOCFG_FN0_SFD_TX   0x0004
 
#define NCN26010_DIOCFG_FN0_SFD_RX   0x0006
 
#define NCN26010_DIOCFG_FN0_LED_LINK_CTRL   0x0008
 
#define NCN26010_DIOCFG_FN0_LED_PLCA_STATUS   0x000A
 
#define NCN26010_DIOCFG_FN0_LED_TX   0x000C
 
#define NCN26010_DIOCFG_FN0_LED_RX   0x000E
 
#define NCN26010_DIOCFG_FN0_CLK25M   0x0010
 
#define NCN26010_DIOCFG_FN0_SFD_RX_TX   0x0016
 
#define NCN26010_DIOCFG_FN0_LED_TX_RX   0x001E
 
#define NCN26010_DIOCFG_VAL0   0x0001
 
#define NCN26010_PHYTWEAK_TX_GAIN   0xC000
 
#define NCN26010_PHYTWEAK_TX_GAIN_1000_MVPP   0x0000
 
#define NCN26010_PHYTWEAK_TX_GAIN_1100_MVPP   0x4000
 
#define NCN26010_PHYTWEAK_TX_GAIN_900_MVPP   0x8000
 
#define NCN26010_PHYTWEAK_TX_GAIN_800_MVPP   0xC000
 
#define NCN26010_PHYTWEAK_RX_CD_THRESHOLD   0x3C00
 
#define NCN26010_PHYTWEAK_RX_CD_THRESHOLD_150_MVPP   0x0000
 
#define NCN26010_PHYTWEAK_RX_CD_THRESHOLD_200_MVPP   0x0400
 
#define NCN26010_PHYTWEAK_RX_CD_THRESHOLD_250_MVPP   0x0800
 
#define NCN26010_PHYTWEAK_RX_CD_THRESHOLD_300_MVPP   0x0C00
 
#define NCN26010_PHYTWEAK_RX_CD_THRESHOLD_350_MVPP   0x1000
 
#define NCN26010_PHYTWEAK_RX_CD_THRESHOLD_400_MVPP   0x1400
 
#define NCN26010_PHYTWEAK_RX_CD_THRESHOLD_450_MVPP   0x1800
 
#define NCN26010_PHYTWEAK_RX_CD_THRESHOLD_500_MVPP   0x1C00
 
#define NCN26010_PHYTWEAK_RX_CD_THRESHOLD_550_MVPP   0x2000
 
#define NCN26010_PHYTWEAK_RX_CD_THRESHOLD_600_MVPP   0x2400
 
#define NCN26010_PHYTWEAK_RX_CD_THRESHOLD_650_MVPP   0x2800
 
#define NCN26010_PHYTWEAK_RX_CD_THRESHOLD_700_MVPP   0x2C00
 
#define NCN26010_PHYTWEAK_RX_CD_THRESHOLD_750_MVPP   0x3000
 
#define NCN26010_PHYTWEAK_RX_CD_THRESHOLD_800_MVPP   0x3400
 
#define NCN26010_PHYTWEAK_RX_CD_THRESHOLD_850_MVPP   0x3800
 
#define NCN26010_PHYTWEAK_RX_CD_THRESHOLD_900_MVPP   0x3C00
 
#define NCN26010_PHYTWEAK_RX_ED_THRESHOLD   0x03C0
 
#define NCN26010_PHYTWEAK_RX_ED_THRESHOLD_150_MVPP   0x0000
 
#define NCN26010_PHYTWEAK_RX_ED_THRESHOLD_200_MVPP   0x0040
 
#define NCN26010_PHYTWEAK_RX_ED_THRESHOLD_250_MVPP   0x0080
 
#define NCN26010_PHYTWEAK_RX_ED_THRESHOLD_300_MVPP   0x00C0
 
#define NCN26010_PHYTWEAK_RX_ED_THRESHOLD_350_MVPP   0x0100
 
#define NCN26010_PHYTWEAK_RX_ED_THRESHOLD_400_MVPP   0x0140
 
#define NCN26010_PHYTWEAK_RX_ED_THRESHOLD_450_MVPP   0x0180
 
#define NCN26010_PHYTWEAK_RX_ED_THRESHOLD_500_MVPP   0x01C0
 
#define NCN26010_PHYTWEAK_RX_ED_THRESHOLD_550_MVPP   0x0200
 
#define NCN26010_PHYTWEAK_RX_ED_THRESHOLD_600_MVPP   0x0240
 
#define NCN26010_PHYTWEAK_RX_ED_THRESHOLD_650_MVPP   0x0280
 
#define NCN26010_PHYTWEAK_RX_ED_THRESHOLD_700_MVPP   0x02C0
 
#define NCN26010_PHYTWEAK_RX_ED_THRESHOLD_750_MVPP   0x0300
 
#define NCN26010_PHYTWEAK_RX_ED_THRESHOLD_800_MVPP   0x0340
 
#define NCN26010_PHYTWEAK_RX_ED_THRESHOLD_850_MVPP   0x0380
 
#define NCN26010_PHYTWEAK_RX_ED_THRESHOLD_900_MVPP   0x03C0
 
#define NCN26010_PHYTWEAK_DIGITAL_SLEW_RATE   0x0020
 
#define NCN26010_PHYTWEAK_DIGITAL_SLEW_RATE_SLOW   0x0000
 
#define NCN26010_PHYTWEAK_DIGITAL_SLEW_RATE_FAST   0x0020
 
#define NCN26010_PHYTWEAK_CMC_COMPENSATION   0x0018
 
#define NCN26010_PHYTWEAK_CMC_COMPENSATION_0_TO_0_5_R   0x0000
 
#define NCN26010_PHYTWEAK_CMC_COMPENSATION_0_5_TO_2_25_R   0x0008
 
#define NCN26010_PHYTWEAK_CMC_COMPENSATION_2_25_TO_3_75_R   0x0010
 
#define NCN26010_PHYTWEAK_CMC_COMPENSATION_3_75_TO_5_R   0x0018
 
#define NCN26010_PHYTWEAK_TX_SLEW   0x0004
 
#define NCN26010_PHYTWEAK_TX_SLEW_SLOW   0x0000
 
#define NCN26010_PHYTWEAK_TX_SLEW_FAST   0x0004
 
#define NCN26010_PHYTWEAK_CLK_OUT_EN   0x0001
 
#define NCN26010_MACID0_MACID_15_0   0xFFFF
 
#define NCN26010_MACID1_MACID_23_16   0x00FF
 
#define NCN26010_CHIPINFO_WAFER_Y   0x7F00
 
#define NCN26010_CHIPINFO_WAFER_X   0x007F
 
#define NCN26010_NVMHEALTH_RED_ZONE_NVM_WARNING   0x8000
 
#define NCN26010_NVMHEALTH_RED_ZONE_NVM_ERROR   0x4000
 
#define NCN26010_NVMHEALTH_YELLOW_ZONE_NVM_WARNING   0x2000
 
#define NCN26010_NVMHEALTH_YELLOW_ZONE_NVM_ERROR   0x1000
 
#define NCN26010_NVMHEALTH_GREEN_ZONE_NVM_WARNING   0x0800
 
#define NCN26010_NVMHEALTH_GREEN_ZONE_NVM_ERROR   0x0400
 

Functions

error_t ncn26010Init (NetInterface *interface)
 NCN26010 controller initialization. More...
 
void ncn26010InitHook (NetInterface *interface)
 NCN26010 custom configuration. More...
 
void ncn26010Tick (NetInterface *interface)
 NCN26010 timer handler. More...
 
void ncn26010EnableIrq (NetInterface *interface)
 Enable interrupts. More...
 
void ncn26010DisableIrq (NetInterface *interface)
 Disable interrupts. More...
 
bool_t ncn26010IrqHandler (NetInterface *interface)
 NCN26010 interrupt service routine. More...
 
void ncn26010EventHandler (NetInterface *interface)
 NCN26010 event handler. More...
 
error_t ncn26010SendPacket (NetInterface *interface, const NetBuffer *buffer, size_t offset, NetTxAncillary *ancillary)
 Send a packet. More...
 
error_t ncn26010ReceivePacket (NetInterface *interface)
 Receive a packet. More...
 
error_t ncn26010UpdateMacAddrFilter (NetInterface *interface)
 Configure MAC address filtering. More...
 
void ncn26010WriteReg (NetInterface *interface, uint8_t mms, uint16_t address, uint32_t data)
 Write register. More...
 
uint32_t ncn26010ReadReg (NetInterface *interface, uint8_t mms, uint16_t address)
 Read register. More...
 
void ncn26010DumpReg (NetInterface *interface, uint8_t mms, uint16_t address, uint_t num)
 Dump registers for debugging purpose. More...
 
uint32_t ncn26010CalcParity (uint32_t data)
 Calculate parity bit over a 32-bit data. More...
 

Variables

const NicDriver ncn26010Driver
 NCN26010 driver. More...
 

Detailed Description

Onsemi NCN26010 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.

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

Definition in file ncn26010_driver.h.

Macro Definition Documentation

◆ NCN26010_ADDRFILT0H

#define NCN26010_ADDRFILT0H   0x01, 0x0011

Definition at line 133 of file ncn26010_driver.h.

◆ NCN26010_ADDRFILT0L

#define NCN26010_ADDRFILT0L   0x01, 0x0010

Definition at line 132 of file ncn26010_driver.h.

◆ NCN26010_ADDRFILT1H

#define NCN26010_ADDRFILT1H   0x01, 0x0013

Definition at line 135 of file ncn26010_driver.h.

◆ NCN26010_ADDRFILT1L

#define NCN26010_ADDRFILT1L   0x01, 0x0012

Definition at line 134 of file ncn26010_driver.h.

◆ NCN26010_ADDRFILT2H

#define NCN26010_ADDRFILT2H   0x01, 0x0015

Definition at line 137 of file ncn26010_driver.h.

◆ NCN26010_ADDRFILT2L

#define NCN26010_ADDRFILT2L   0x01, 0x0014

Definition at line 136 of file ncn26010_driver.h.

◆ NCN26010_ADDRFILT3H

#define NCN26010_ADDRFILT3H   0x01, 0x0017

Definition at line 139 of file ncn26010_driver.h.

◆ NCN26010_ADDRFILT3L

#define NCN26010_ADDRFILT3L   0x01, 0x0016

Definition at line 138 of file ncn26010_driver.h.

◆ NCN26010_ADDRFILTnH_ADDRFILT_47_32

#define NCN26010_ADDRFILTnH_ADDRFILT_47_32   0x0000FFFF

Definition at line 352 of file ncn26010_driver.h.

◆ NCN26010_ADDRFILTnH_EN

#define NCN26010_ADDRFILTnH_EN   0x80000000

Definition at line 351 of file ncn26010_driver.h.

◆ NCN26010_ADDRFILTnL_ADDRFILT_31_0

#define NCN26010_ADDRFILTnL_ADDRFILT_31_0   0xFFFFFFFF

Definition at line 348 of file ncn26010_driver.h.

◆ NCN26010_ADDRMASK0H

#define NCN26010_ADDRMASK0H   0x01, 0x0021

Definition at line 141 of file ncn26010_driver.h.

◆ NCN26010_ADDRMASK0L

#define NCN26010_ADDRMASK0L   0x01, 0x0020

Definition at line 140 of file ncn26010_driver.h.

◆ NCN26010_ADDRMASK1H

#define NCN26010_ADDRMASK1H   0x01, 0x0023

Definition at line 143 of file ncn26010_driver.h.

◆ NCN26010_ADDRMASK1L

#define NCN26010_ADDRMASK1L   0x01, 0x0022

Definition at line 142 of file ncn26010_driver.h.

◆ NCN26010_ADDRMASK2H

#define NCN26010_ADDRMASK2H   0x01, 0x0025

Definition at line 145 of file ncn26010_driver.h.

◆ NCN26010_ADDRMASK2L

#define NCN26010_ADDRMASK2L   0x01, 0x0024

Definition at line 144 of file ncn26010_driver.h.

◆ NCN26010_ADDRMASK3H

#define NCN26010_ADDRMASK3H   0x01, 0x0027

Definition at line 147 of file ncn26010_driver.h.

◆ NCN26010_ADDRMASK3L

#define NCN26010_ADDRMASK3L   0x01, 0x0026

Definition at line 146 of file ncn26010_driver.h.

◆ NCN26010_ADDRMASKnH_ADDRMASK_47_32

#define NCN26010_ADDRMASKnH_ADDRMASK_47_32   0x00008000

Definition at line 358 of file ncn26010_driver.h.

◆ NCN26010_ADDRMASKnL_ADDRMASK_31_0

#define NCN26010_ADDRMASKnL_ADDRMASK_31_0   0xFFFFFFFF

Definition at line 355 of file ncn26010_driver.h.

◆ NCN26010_BASET1EXTABLTY

#define NCN26010_BASET1EXTABLTY   0x03, 0x0012

Definition at line 195 of file ncn26010_driver.h.

◆ NCN26010_BASET1EXTABLTY_10BASE_T1S

#define NCN26010_BASET1EXTABLTY_10BASE_T1S   0x0008

Definition at line 432 of file ncn26010_driver.h.

◆ NCN26010_BUFSTS

#define NCN26010_BUFSTS   0x00, 0x000B

Definition at line 123 of file ncn26010_driver.h.

◆ NCN26010_BUFSTS_RCA

#define NCN26010_BUFSTS_RCA   0x000000FF

Definition at line 288 of file ncn26010_driver.h.

◆ NCN26010_BUFSTS_TXC

#define NCN26010_BUFSTS_TXC   0x0000FF00

Definition at line 287 of file ncn26010_driver.h.

◆ NCN26010_CHIPINFO

#define NCN26010_CHIPINFO   0x0C, 0x1004

Definition at line 220 of file ncn26010_driver.h.

◆ NCN26010_CHIPINFO_WAFER_X

#define NCN26010_CHIPINFO_WAFER_X   0x007F

Definition at line 627 of file ncn26010_driver.h.

◆ NCN26010_CHIPINFO_WAFER_Y

#define NCN26010_CHIPINFO_WAFER_Y   0x7F00

Definition at line 626 of file ncn26010_driver.h.

◆ NCN26010_CHIPREV

#define NCN26010_CHIPREV   0x04, 0x8000

Definition at line 201 of file ncn26010_driver.h.

◆ NCN26010_CHIPREV_MAJOR_REV

#define NCN26010_CHIPREV_MAJOR_REV   0xF000

Definition at line 457 of file ncn26010_driver.h.

◆ NCN26010_CHIPREV_MAJOR_REV_DEFAULT

#define NCN26010_CHIPREV_MAJOR_REV_DEFAULT   0x1000

Definition at line 458 of file ncn26010_driver.h.

◆ NCN26010_CHIPREV_MINOR_REV

#define NCN26010_CHIPREV_MINOR_REV   0x0F00

Definition at line 459 of file ncn26010_driver.h.

◆ NCN26010_CHIPREV_MINOR_REV_DEFAULT

#define NCN26010_CHIPREV_MINOR_REV_DEFAULT   0x0000

Definition at line 460 of file ncn26010_driver.h.

◆ NCN26010_CHIPREV_PATCH

#define NCN26010_CHIPREV_PATCH   0x003F

Definition at line 463 of file ncn26010_driver.h.

◆ NCN26010_CHIPREV_PATCH_DEFAULT

#define NCN26010_CHIPREV_PATCH_DEFAULT   0x0001

Definition at line 464 of file ncn26010_driver.h.

◆ NCN26010_CHIPREV_STAGE

#define NCN26010_CHIPREV_STAGE   0x00C0

Definition at line 461 of file ncn26010_driver.h.

◆ NCN26010_CHIPREV_STAGE_DEFAULT

#define NCN26010_CHIPREV_STAGE_DEFAULT   0x00C0

Definition at line 462 of file ncn26010_driver.h.

◆ NCN26010_CHUNK_PAYLOAD_SIZE

#define NCN26010_CHUNK_PAYLOAD_SIZE   64

Definition at line 66 of file ncn26010_driver.h.

◆ NCN26010_CONFIG0

#define NCN26010_CONFIG0   0x00, 0x0004

Definition at line 121 of file ncn26010_driver.h.

◆ NCN26010_CONFIG0_CPS

#define NCN26010_CONFIG0_CPS   0x00000007

Definition at line 265 of file ncn26010_driver.h.

◆ NCN26010_CONFIG0_CPS_16_BYTES

#define NCN26010_CONFIG0_CPS_16_BYTES   0x00000004

Definition at line 267 of file ncn26010_driver.h.

◆ NCN26010_CONFIG0_CPS_32_BYTES

#define NCN26010_CONFIG0_CPS_32_BYTES   0x00000005

Definition at line 268 of file ncn26010_driver.h.

◆ NCN26010_CONFIG0_CPS_64_BYTES

#define NCN26010_CONFIG0_CPS_64_BYTES   0x00000006

Definition at line 269 of file ncn26010_driver.h.

◆ NCN26010_CONFIG0_CPS_8_BYTES

#define NCN26010_CONFIG0_CPS_8_BYTES   0x00000003

Definition at line 266 of file ncn26010_driver.h.

◆ NCN26010_CONFIG0_CSARFE

#define NCN26010_CONFIG0_CSARFE   0x00002000

Definition at line 253 of file ncn26010_driver.h.

◆ NCN26010_CONFIG0_FTSE

#define NCN26010_CONFIG0_FTSE   0x00000080

Definition at line 262 of file ncn26010_driver.h.

◆ NCN26010_CONFIG0_FTSS

#define NCN26010_CONFIG0_FTSS   0x00000040

Definition at line 263 of file ncn26010_driver.h.

◆ NCN26010_CONFIG0_PROTE

#define NCN26010_CONFIG0_PROTE   0x00000020

Definition at line 264 of file ncn26010_driver.h.

◆ NCN26010_CONFIG0_RXCTE

#define NCN26010_CONFIG0_RXCTE   0x00000100

Definition at line 261 of file ncn26010_driver.h.

◆ NCN26010_CONFIG0_SYNC

#define NCN26010_CONFIG0_SYNC   0x00008000

Definition at line 251 of file ncn26010_driver.h.

◆ NCN26010_CONFIG0_TXCTE

#define NCN26010_CONFIG0_TXCTE   0x00000200

Definition at line 260 of file ncn26010_driver.h.

◆ NCN26010_CONFIG0_TXCTHRESH

#define NCN26010_CONFIG0_TXCTHRESH   0x00000C00

Definition at line 255 of file ncn26010_driver.h.

◆ NCN26010_CONFIG0_TXCTHRESH_16_CREDITS

#define NCN26010_CONFIG0_TXCTHRESH_16_CREDITS   0x00000C00

Definition at line 259 of file ncn26010_driver.h.

◆ NCN26010_CONFIG0_TXCTHRESH_1_CREDIT

#define NCN26010_CONFIG0_TXCTHRESH_1_CREDIT   0x00000000

Definition at line 256 of file ncn26010_driver.h.

◆ NCN26010_CONFIG0_TXCTHRESH_4_CREDITS

#define NCN26010_CONFIG0_TXCTHRESH_4_CREDITS   0x00000400

Definition at line 257 of file ncn26010_driver.h.

◆ NCN26010_CONFIG0_TXCTHRESH_8_CREDITS

#define NCN26010_CONFIG0_TXCTHRESH_8_CREDITS   0x00000800

Definition at line 258 of file ncn26010_driver.h.

◆ NCN26010_CONFIG0_TXFCSVE

#define NCN26010_CONFIG0_TXFCSVE   0x00004000

Definition at line 252 of file ncn26010_driver.h.

◆ NCN26010_CONFIG0_ZARFE

#define NCN26010_CONFIG0_ZARFE   0x00001000

Definition at line 254 of file ncn26010_driver.h.

◆ NCN26010_CTRL_HEADER_ADDR

#define NCN26010_CTRL_HEADER_ADDR   0x00FFFF00

Definition at line 104 of file ncn26010_driver.h.

◆ NCN26010_CTRL_HEADER_AID

#define NCN26010_CTRL_HEADER_AID   0x10000000

Definition at line 102 of file ncn26010_driver.h.

◆ NCN26010_CTRL_HEADER_DNC

#define NCN26010_CTRL_HEADER_DNC   0x80000000

Definition at line 99 of file ncn26010_driver.h.

◆ NCN26010_CTRL_HEADER_HDRB

#define NCN26010_CTRL_HEADER_HDRB   0x40000000

Definition at line 100 of file ncn26010_driver.h.

◆ NCN26010_CTRL_HEADER_LEN

#define NCN26010_CTRL_HEADER_LEN   0x000000FE

Definition at line 105 of file ncn26010_driver.h.

◆ NCN26010_CTRL_HEADER_MMS

#define NCN26010_CTRL_HEADER_MMS   0x0F000000

Definition at line 103 of file ncn26010_driver.h.

◆ NCN26010_CTRL_HEADER_P

#define NCN26010_CTRL_HEADER_P   0x00000001

Definition at line 106 of file ncn26010_driver.h.

◆ NCN26010_CTRL_HEADER_WNR

#define NCN26010_CTRL_HEADER_WNR   0x20000000

Definition at line 101 of file ncn26010_driver.h.

◆ NCN26010_DIOCFG

#define NCN26010_DIOCFG   0x0C, 0x0012

Definition at line 216 of file ncn26010_driver.h.

◆ NCN26010_DIOCFG_FN0

#define NCN26010_DIOCFG_FN0   0x001E

Definition at line 552 of file ncn26010_driver.h.

◆ NCN26010_DIOCFG_FN0_CLK25M

#define NCN26010_DIOCFG_FN0_CLK25M   0x0010

Definition at line 561 of file ncn26010_driver.h.

◆ NCN26010_DIOCFG_FN0_DISABLE

#define NCN26010_DIOCFG_FN0_DISABLE   0x0000

Definition at line 553 of file ncn26010_driver.h.

◆ NCN26010_DIOCFG_FN0_GPIO

#define NCN26010_DIOCFG_FN0_GPIO   0x0002

Definition at line 554 of file ncn26010_driver.h.

◆ NCN26010_DIOCFG_FN0_LED_LINK_CTRL

#define NCN26010_DIOCFG_FN0_LED_LINK_CTRL   0x0008

Definition at line 557 of file ncn26010_driver.h.

◆ NCN26010_DIOCFG_FN0_LED_PLCA_STATUS

#define NCN26010_DIOCFG_FN0_LED_PLCA_STATUS   0x000A

Definition at line 558 of file ncn26010_driver.h.

◆ NCN26010_DIOCFG_FN0_LED_RX

#define NCN26010_DIOCFG_FN0_LED_RX   0x000E

Definition at line 560 of file ncn26010_driver.h.

◆ NCN26010_DIOCFG_FN0_LED_TX

#define NCN26010_DIOCFG_FN0_LED_TX   0x000C

Definition at line 559 of file ncn26010_driver.h.

◆ NCN26010_DIOCFG_FN0_LED_TX_RX

#define NCN26010_DIOCFG_FN0_LED_TX_RX   0x001E

Definition at line 563 of file ncn26010_driver.h.

◆ NCN26010_DIOCFG_FN0_SFD_RX

#define NCN26010_DIOCFG_FN0_SFD_RX   0x0006

Definition at line 556 of file ncn26010_driver.h.

◆ NCN26010_DIOCFG_FN0_SFD_RX_TX

#define NCN26010_DIOCFG_FN0_SFD_RX_TX   0x0016

Definition at line 562 of file ncn26010_driver.h.

◆ NCN26010_DIOCFG_FN0_SFD_TX

#define NCN26010_DIOCFG_FN0_SFD_TX   0x0004

Definition at line 555 of file ncn26010_driver.h.

◆ NCN26010_DIOCFG_FN1

#define NCN26010_DIOCFG_FN1   0x1E00

Definition at line 534 of file ncn26010_driver.h.

◆ NCN26010_DIOCFG_FN1_CLK25M

#define NCN26010_DIOCFG_FN1_CLK25M   0x1000

Definition at line 543 of file ncn26010_driver.h.

◆ NCN26010_DIOCFG_FN1_DISABLE

#define NCN26010_DIOCFG_FN1_DISABLE   0x0000

Definition at line 535 of file ncn26010_driver.h.

◆ NCN26010_DIOCFG_FN1_GPIO

#define NCN26010_DIOCFG_FN1_GPIO   0x0200

Definition at line 536 of file ncn26010_driver.h.

◆ NCN26010_DIOCFG_FN1_LED_LINK_CTRL

#define NCN26010_DIOCFG_FN1_LED_LINK_CTRL   0x0800

Definition at line 539 of file ncn26010_driver.h.

◆ NCN26010_DIOCFG_FN1_LED_PLCA_STATUS

#define NCN26010_DIOCFG_FN1_LED_PLCA_STATUS   0x0A00

Definition at line 540 of file ncn26010_driver.h.

◆ NCN26010_DIOCFG_FN1_LED_RX

#define NCN26010_DIOCFG_FN1_LED_RX   0x0E00

Definition at line 542 of file ncn26010_driver.h.

◆ NCN26010_DIOCFG_FN1_LED_TX

#define NCN26010_DIOCFG_FN1_LED_TX   0x0C00

Definition at line 541 of file ncn26010_driver.h.

◆ NCN26010_DIOCFG_FN1_LED_TX_RX

#define NCN26010_DIOCFG_FN1_LED_TX_RX   0x1E00

Definition at line 545 of file ncn26010_driver.h.

◆ NCN26010_DIOCFG_FN1_SFD_RX

#define NCN26010_DIOCFG_FN1_SFD_RX   0x0600

Definition at line 538 of file ncn26010_driver.h.

◆ NCN26010_DIOCFG_FN1_SFD_RX_TX

#define NCN26010_DIOCFG_FN1_SFD_RX_TX   0x1600

Definition at line 544 of file ncn26010_driver.h.

◆ NCN26010_DIOCFG_FN1_SFD_TX

#define NCN26010_DIOCFG_FN1_SFD_TX   0x0400

Definition at line 537 of file ncn26010_driver.h.

◆ NCN26010_DIOCFG_PULL_EN_0

#define NCN26010_DIOCFG_PULL_EN_0   0x0040

Definition at line 548 of file ncn26010_driver.h.

◆ NCN26010_DIOCFG_PULL_EN_1

#define NCN26010_DIOCFG_PULL_EN_1   0x4000

Definition at line 530 of file ncn26010_driver.h.

◆ NCN26010_DIOCFG_PULL_TYPE_0

#define NCN26010_DIOCFG_PULL_TYPE_0   0x0020

Definition at line 549 of file ncn26010_driver.h.

◆ NCN26010_DIOCFG_PULL_TYPE_0_PULL_DOWN

#define NCN26010_DIOCFG_PULL_TYPE_0_PULL_DOWN   0x0020

Definition at line 551 of file ncn26010_driver.h.

◆ NCN26010_DIOCFG_PULL_TYPE_0_PULL_UP

#define NCN26010_DIOCFG_PULL_TYPE_0_PULL_UP   0x0000

Definition at line 550 of file ncn26010_driver.h.

◆ NCN26010_DIOCFG_PULL_TYPE_1

#define NCN26010_DIOCFG_PULL_TYPE_1   0x2000

Definition at line 531 of file ncn26010_driver.h.

◆ NCN26010_DIOCFG_PULL_TYPE_1_PULL_DOWN

#define NCN26010_DIOCFG_PULL_TYPE_1_PULL_DOWN   0x2000

Definition at line 533 of file ncn26010_driver.h.

◆ NCN26010_DIOCFG_PULL_TYPE_1_PULL_UP

#define NCN26010_DIOCFG_PULL_TYPE_1_PULL_UP   0x0000

Definition at line 532 of file ncn26010_driver.h.

◆ NCN26010_DIOCFG_SLEW_RATE_0

#define NCN26010_DIOCFG_SLEW_RATE_0   0x0080

Definition at line 547 of file ncn26010_driver.h.

◆ NCN26010_DIOCFG_SLEW_RATE_1

#define NCN26010_DIOCFG_SLEW_RATE_1   0x8000

Definition at line 529 of file ncn26010_driver.h.

◆ NCN26010_DIOCFG_VAL0

#define NCN26010_DIOCFG_VAL0   0x0001

Definition at line 564 of file ncn26010_driver.h.

◆ NCN26010_DIOCFG_VAL1

#define NCN26010_DIOCFG_VAL1   0x0100

Definition at line 546 of file ncn26010_driver.h.

◆ NCN26010_ETH_RX_BUFFER_SIZE

#define NCN26010_ETH_RX_BUFFER_SIZE   1536

Definition at line 60 of file ncn26010_driver.h.

◆ NCN26010_IDVER

#define NCN26010_IDVER   0x00, 0x0000

Definition at line 117 of file ncn26010_driver.h.

◆ NCN26010_IDVER_MAJVER

#define NCN26010_IDVER_MAJVER   0x000000F0

Definition at line 224 of file ncn26010_driver.h.

◆ NCN26010_IDVER_MAJVER_DEFAULT

#define NCN26010_IDVER_MAJVER_DEFAULT   0x00000010

Definition at line 225 of file ncn26010_driver.h.

◆ NCN26010_IDVER_MINVER

#define NCN26010_IDVER_MINVER   0x0000000F

Definition at line 226 of file ncn26010_driver.h.

◆ NCN26010_IDVER_MINVER_DEFAULT

#define NCN26010_IDVER_MINVER_DEFAULT   0x00000001

Definition at line 227 of file ncn26010_driver.h.

◆ NCN26010_IMSK0

#define NCN26010_IMSK0   0x00, 0x000C

Definition at line 124 of file ncn26010_driver.h.

◆ NCN26010_IMSK0_CDPEM

#define NCN26010_IMSK0_CDPEM   0x00001000

Definition at line 291 of file ncn26010_driver.h.

◆ NCN26010_IMSK0_HDREM

#define NCN26010_IMSK0_HDREM   0x00000020

Definition at line 295 of file ncn26010_driver.h.

◆ NCN26010_IMSK0_LOFEM

#define NCN26010_IMSK0_LOFEM   0x00000010

Definition at line 296 of file ncn26010_driver.h.

◆ NCN26010_IMSK0_PHYINTM

#define NCN26010_IMSK0_PHYINTM   0x00000080

Definition at line 293 of file ncn26010_driver.h.

◆ NCN26010_IMSK0_RESETCM

#define NCN26010_IMSK0_RESETCM   0x00000040

Definition at line 294 of file ncn26010_driver.h.

◆ NCN26010_IMSK0_RXDOEM

#define NCN26010_IMSK0_RXDOEM   0x00000008

Definition at line 297 of file ncn26010_driver.h.

◆ NCN26010_IMSK0_TXBOEM

#define NCN26010_IMSK0_TXBOEM   0x00000002

Definition at line 299 of file ncn26010_driver.h.

◆ NCN26010_IMSK0_TXBUEM

#define NCN26010_IMSK0_TXBUEM   0x00000004

Definition at line 298 of file ncn26010_driver.h.

◆ NCN26010_IMSK0_TXFCSEM

#define NCN26010_IMSK0_TXFCSEM   0x00000800

Definition at line 292 of file ncn26010_driver.h.

◆ NCN26010_IMSK0_TXPEM

#define NCN26010_IMSK0_TXPEM   0x00000001

Definition at line 300 of file ncn26010_driver.h.

◆ NCN26010_LOCAL_ID

#define NCN26010_LOCAL_ID   1

Definition at line 53 of file ncn26010_driver.h.

◆ NCN26010_MACCTRL0

#define NCN26010_MACCTRL0   0x01, 0x0000

Definition at line 131 of file ncn26010_driver.h.

◆ NCN26010_MACCTRL0_ADRF

#define NCN26010_MACCTRL0_ADRF   0x00010000

Definition at line 342 of file ncn26010_driver.h.

◆ NCN26010_MACCTRL0_BCSF

#define NCN26010_MACCTRL0_BCSF   0x00020000

Definition at line 341 of file ncn26010_driver.h.

◆ NCN26010_MACCTRL0_BKOD

#define NCN26010_MACCTRL0_BKOD   0x00100000

Definition at line 338 of file ncn26010_driver.h.

◆ NCN26010_MACCTRL0_FCSA

#define NCN26010_MACCTRL0_FCSA   0x00000100

Definition at line 343 of file ncn26010_driver.h.

◆ NCN26010_MACCTRL0_IPGNF

#define NCN26010_MACCTRL0_IPGNF   0x00200000

Definition at line 337 of file ncn26010_driver.h.

◆ NCN26010_MACCTRL0_MCSF

#define NCN26010_MACCTRL0_MCSF   0x00040000

Definition at line 340 of file ncn26010_driver.h.

◆ NCN26010_MACCTRL0_NFCSF

#define NCN26010_MACCTRL0_NFCSF   0x00080000

Definition at line 339 of file ncn26010_driver.h.

◆ NCN26010_MACCTRL0_RXEN

#define NCN26010_MACCTRL0_RXEN   0x00000001

Definition at line 345 of file ncn26010_driver.h.

◆ NCN26010_MACCTRL0_TXEN

#define NCN26010_MACCTRL0_TXEN   0x00000002

Definition at line 344 of file ncn26010_driver.h.

◆ NCN26010_MACID0

#define NCN26010_MACID0   0x0C, 0x1002

Definition at line 218 of file ncn26010_driver.h.

◆ NCN26010_MACID0_MACID_15_0

#define NCN26010_MACID0_MACID_15_0   0xFFFF

Definition at line 620 of file ncn26010_driver.h.

◆ NCN26010_MACID1

#define NCN26010_MACID1   0x0C, 0x1003

Definition at line 219 of file ncn26010_driver.h.

◆ NCN26010_MACID1_MACID_23_16

#define NCN26010_MACID1_MACID_23_16   0x00FF

Definition at line 623 of file ncn26010_driver.h.

◆ NCN26010_MIIMIRQCTRL

#define NCN26010_MIIMIRQCTRL   0x0C, 0x0010

Definition at line 214 of file ncn26010_driver.h.

◆ NCN26010_MIIMIRQCTRL_LINK_STATUS_CHANGE_REPORT

#define NCN26010_MIIMIRQCTRL_LINK_STATUS_CHANGE_REPORT   0x0001

Definition at line 517 of file ncn26010_driver.h.

◆ NCN26010_MIIMIRQCTRL_LOCAL_JABBER_REPORT

#define NCN26010_MIIMIRQCTRL_LOCAL_JABBER_REPORT   0x0004

Definition at line 515 of file ncn26010_driver.h.

◆ NCN26010_MIIMIRQCTRL_PHY_COL_REPORT

#define NCN26010_MIIMIRQCTRL_PHY_COL_REPORT   0x0020

Definition at line 512 of file ncn26010_driver.h.

◆ NCN26010_MIIMIRQCTRL_PLCA_RECOVERY_REPORT

#define NCN26010_MIIMIRQCTRL_PLCA_RECOVERY_REPORT   0x0010

Definition at line 513 of file ncn26010_driver.h.

◆ NCN26010_MIIMIRQCTRL_PLCA_STATUS_CHANGE_REPORT

#define NCN26010_MIIMIRQCTRL_PLCA_STATUS_CHANGE_REPORT   0x0002

Definition at line 516 of file ncn26010_driver.h.

◆ NCN26010_MIIMIRQCTRL_REMOTE_JABBER_REPORT

#define NCN26010_MIIMIRQCTRL_REMOTE_JABBER_REPORT   0x0008

Definition at line 514 of file ncn26010_driver.h.

◆ NCN26010_MIIMIRQSTS

#define NCN26010_MIIMIRQSTS   0x0C, 0x0011

Definition at line 215 of file ncn26010_driver.h.

◆ NCN26010_MIIMIRQSTS_LINK_STATUS_CHANGE

#define NCN26010_MIIMIRQSTS_LINK_STATUS_CHANGE   0x0001

Definition at line 526 of file ncn26010_driver.h.

◆ NCN26010_MIIMIRQSTS_LOCAL_JABBER

#define NCN26010_MIIMIRQSTS_LOCAL_JABBER   0x0004

Definition at line 524 of file ncn26010_driver.h.

◆ NCN26010_MIIMIRQSTS_PHY_COL

#define NCN26010_MIIMIRQSTS_PHY_COL   0x0020

Definition at line 521 of file ncn26010_driver.h.

◆ NCN26010_MIIMIRQSTS_PLCA_RECOVERY

#define NCN26010_MIIMIRQSTS_PLCA_RECOVERY   0x0010

Definition at line 522 of file ncn26010_driver.h.

◆ NCN26010_MIIMIRQSTS_PLCA_STATUS_CHANGE

#define NCN26010_MIIMIRQSTS_PLCA_STATUS_CHANGE   0x0002

Definition at line 525 of file ncn26010_driver.h.

◆ NCN26010_MIIMIRQSTS_REMOTE_JABBER

#define NCN26010_MIIMIRQSTS_REMOTE_JABBER   0x0008

Definition at line 523 of file ncn26010_driver.h.

◆ NCN26010_MIIMIRQSTS_RESET_STATUS

#define NCN26010_MIIMIRQSTS_RESET_STATUS   0x8000

Definition at line 520 of file ncn26010_driver.h.

◆ NCN26010_MMS_MAC

#define NCN26010_MMS_MAC   0x01

Definition at line 110 of file ncn26010_driver.h.

◆ NCN26010_MMS_PHY_PCS

#define NCN26010_MMS_PHY_PCS   0x02

Definition at line 111 of file ncn26010_driver.h.

◆ NCN26010_MMS_PHY_PLCA

#define NCN26010_MMS_PHY_PLCA   0x04

Definition at line 113 of file ncn26010_driver.h.

◆ NCN26010_MMS_PHY_PMA_PMD

#define NCN26010_MMS_PHY_PMA_PMD   0x03

Definition at line 112 of file ncn26010_driver.h.

◆ NCN26010_MMS_PHY_VS

#define NCN26010_MMS_PHY_VS   0x0C

Definition at line 114 of file ncn26010_driver.h.

◆ NCN26010_MMS_STD

#define NCN26010_MMS_STD   0x00

Definition at line 109 of file ncn26010_driver.h.

◆ NCN26010_NODE_COUNT

#define NCN26010_NODE_COUNT   8

Definition at line 46 of file ncn26010_driver.h.

◆ NCN26010_NVMHEALTH

#define NCN26010_NVMHEALTH   0x0C, 0x1005

Definition at line 221 of file ncn26010_driver.h.

◆ NCN26010_NVMHEALTH_GREEN_ZONE_NVM_ERROR

#define NCN26010_NVMHEALTH_GREEN_ZONE_NVM_ERROR   0x0400

Definition at line 635 of file ncn26010_driver.h.

◆ NCN26010_NVMHEALTH_GREEN_ZONE_NVM_WARNING

#define NCN26010_NVMHEALTH_GREEN_ZONE_NVM_WARNING   0x0800

Definition at line 634 of file ncn26010_driver.h.

◆ NCN26010_NVMHEALTH_RED_ZONE_NVM_ERROR

#define NCN26010_NVMHEALTH_RED_ZONE_NVM_ERROR   0x4000

Definition at line 631 of file ncn26010_driver.h.

◆ NCN26010_NVMHEALTH_RED_ZONE_NVM_WARNING

#define NCN26010_NVMHEALTH_RED_ZONE_NVM_WARNING   0x8000

Definition at line 630 of file ncn26010_driver.h.

◆ NCN26010_NVMHEALTH_YELLOW_ZONE_NVM_ERROR

#define NCN26010_NVMHEALTH_YELLOW_ZONE_NVM_ERROR   0x1000

Definition at line 633 of file ncn26010_driver.h.

◆ NCN26010_NVMHEALTH_YELLOW_ZONE_NVM_WARNING

#define NCN26010_NVMHEALTH_YELLOW_ZONE_NVM_WARNING   0x2000

Definition at line 632 of file ncn26010_driver.h.

◆ NCN26010_PCS_DEVINPKG1

#define NCN26010_PCS_DEVINPKG1   0x02, 0x0005

Definition at line 185 of file ncn26010_driver.h.

◆ NCN26010_PCS_DEVINPKG1_CLAUSE_22_REGS_PRESENT

#define NCN26010_PCS_DEVINPKG1_CLAUSE_22_REGS_PRESENT   0x0001

Definition at line 411 of file ncn26010_driver.h.

◆ NCN26010_PCS_DEVINPKG1_PCS_PRESENT

#define NCN26010_PCS_DEVINPKG1_PCS_PRESENT   0x0008

Definition at line 409 of file ncn26010_driver.h.

◆ NCN26010_PCS_DEVINPKG1_PMA_PRESENT

#define NCN26010_PCS_DEVINPKG1_PMA_PRESENT   0x0002

Definition at line 410 of file ncn26010_driver.h.

◆ NCN26010_PCS_DEVINPKG2

#define NCN26010_PCS_DEVINPKG2   0x02, 0x0006

Definition at line 186 of file ncn26010_driver.h.

◆ NCN26010_PHYCFG1

#define NCN26010_PHYCFG1   0x04, 0x8001

Definition at line 202 of file ncn26010_driver.h.

◆ NCN26010_PHYCFG1_ENHANCED_NOISE_IMMUNITY

#define NCN26010_PHYCFG1_ENHANCED_NOISE_IMMUNITY   0x0080

Definition at line 467 of file ncn26010_driver.h.

◆ NCN26010_PHYCFG1_NO_COL_MASKING

#define NCN26010_PHYCFG1_NO_COL_MASKING   0x0002

Definition at line 470 of file ncn26010_driver.h.

◆ NCN26010_PHYCFG1_RX_DELAY

#define NCN26010_PHYCFG1_RX_DELAY   0x0001

Definition at line 471 of file ncn26010_driver.h.

◆ NCN26010_PHYCFG1_SCRAMBLER_DIS

#define NCN26010_PHYCFG1_SCRAMBLER_DIS   0x0004

Definition at line 469 of file ncn26010_driver.h.

◆ NCN26010_PHYCFG1_UNJAB_TIMER_EN

#define NCN26010_PHYCFG1_UNJAB_TIMER_EN   0x0040

Definition at line 468 of file ncn26010_driver.h.

◆ NCN26010_PHYCTRL

#define NCN26010_PHYCTRL   0x00, 0xFF00

Definition at line 125 of file ncn26010_driver.h.

◆ NCN26010_PHYCTRL_COLLISION_TEST

#define NCN26010_PHYCTRL_COLLISION_TEST   0x00000080

Definition at line 310 of file ncn26010_driver.h.

◆ NCN26010_PHYCTRL_DUPLEX_MODE

#define NCN26010_PHYCTRL_DUPLEX_MODE   0x00000100

Definition at line 309 of file ncn26010_driver.h.

◆ NCN26010_PHYCTRL_ISOLATE

#define NCN26010_PHYCTRL_ISOLATE   0x00000400

Definition at line 307 of file ncn26010_driver.h.

◆ NCN26010_PHYCTRL_LINK_CONTROL

#define NCN26010_PHYCTRL_LINK_CONTROL   0x00001000

Definition at line 306 of file ncn26010_driver.h.

◆ NCN26010_PHYCTRL_LINK_RESET

#define NCN26010_PHYCTRL_LINK_RESET   0x00000200

Definition at line 308 of file ncn26010_driver.h.

◆ NCN26010_PHYCTRL_LOOPBACK

#define NCN26010_PHYCTRL_LOOPBACK   0x00004000

Definition at line 304 of file ncn26010_driver.h.

◆ NCN26010_PHYCTRL_RESET

#define NCN26010_PHYCTRL_RESET   0x00008000

Definition at line 303 of file ncn26010_driver.h.

◆ NCN26010_PHYCTRL_SPEED_LSB

#define NCN26010_PHYCTRL_SPEED_LSB   0x00002000

Definition at line 305 of file ncn26010_driver.h.

◆ NCN26010_PHYCTRL_SPEED_MSB

#define NCN26010_PHYCTRL_SPEED_MSB   0x00000040

Definition at line 311 of file ncn26010_driver.h.

◆ NCN26010_PHYID

#define NCN26010_PHYID   0x00, 0x0001

Definition at line 118 of file ncn26010_driver.h.

◆ NCN26010_PHYID0

#define NCN26010_PHYID0   0x00, 0xFF02

Definition at line 127 of file ncn26010_driver.h.

◆ NCN26010_PHYID0_OUI_MSB

#define NCN26010_PHYID0_OUI_MSB   0x0000FFFF

Definition at line 325 of file ncn26010_driver.h.

◆ NCN26010_PHYID0_OUI_MSB_DEFAULT

#define NCN26010_PHYID0_OUI_MSB_DEFAULT   0x0000180F

Definition at line 326 of file ncn26010_driver.h.

◆ NCN26010_PHYID1

#define NCN26010_PHYID1   0x00, 0xFF03

Definition at line 128 of file ncn26010_driver.h.

◆ NCN26010_PHYID1_MODEL_NUM

#define NCN26010_PHYID1_MODEL_NUM   0x000003F0

Definition at line 331 of file ncn26010_driver.h.

◆ NCN26010_PHYID1_MODEL_NUM_DEFAULT

#define NCN26010_PHYID1_MODEL_NUM_DEFAULT   0x000001A0

Definition at line 332 of file ncn26010_driver.h.

◆ NCN26010_PHYID1_OUI_LSB

#define NCN26010_PHYID1_OUI_LSB   0x0000FC00

Definition at line 329 of file ncn26010_driver.h.

◆ NCN26010_PHYID1_OUI_LSB_DEFAULT

#define NCN26010_PHYID1_OUI_LSB_DEFAULT   0x0000D400

Definition at line 330 of file ncn26010_driver.h.

◆ NCN26010_PHYID1_REV_NUM

#define NCN26010_PHYID1_REV_NUM   0x0000000F

Definition at line 333 of file ncn26010_driver.h.

◆ NCN26010_PHYID1_REV_NUM_DEFAULT

#define NCN26010_PHYID1_REV_NUM_DEFAULT   0x00000001

Definition at line 334 of file ncn26010_driver.h.

◆ NCN26010_PHYID_MODEL

#define NCN26010_PHYID_MODEL   0x000003F0

Definition at line 232 of file ncn26010_driver.h.

◆ NCN26010_PHYID_MODEL_DEFAULT

#define NCN26010_PHYID_MODEL_DEFAULT   0x000001A0

Definition at line 233 of file ncn26010_driver.h.

◆ NCN26010_PHYID_OUI

#define NCN26010_PHYID_OUI   0xFFFFFC00

Definition at line 230 of file ncn26010_driver.h.

◆ NCN26010_PHYID_OUI_DEFAULT

#define NCN26010_PHYID_OUI_DEFAULT   0x180FF400

Definition at line 231 of file ncn26010_driver.h.

◆ NCN26010_PHYID_REV

#define NCN26010_PHYID_REV   0x0000000F

Definition at line 234 of file ncn26010_driver.h.

◆ NCN26010_PHYID_REV_DEFAULT

#define NCN26010_PHYID_REV_DEFAULT   0x00000001

Definition at line 235 of file ncn26010_driver.h.

◆ NCN26010_PHYSTATUS

#define NCN26010_PHYSTATUS   0x00, 0xFF01

Definition at line 126 of file ncn26010_driver.h.

◆ NCN26010_PHYSTATUS_10_HALF_DUPLEX

#define NCN26010_PHYSTATUS_10_HALF_DUPLEX   0x00000800

Definition at line 314 of file ncn26010_driver.h.

◆ NCN26010_PHYSTATUS_AUTO_NEGOTIATION_ABILITY

#define NCN26010_PHYSTATUS_AUTO_NEGOTIATION_ABILITY   0x00000008

Definition at line 319 of file ncn26010_driver.h.

◆ NCN26010_PHYSTATUS_EXTENDED_CAPABILITY

#define NCN26010_PHYSTATUS_EXTENDED_CAPABILITY   0x00000001

Definition at line 322 of file ncn26010_driver.h.

◆ NCN26010_PHYSTATUS_JABBER_DETECT

#define NCN26010_PHYSTATUS_JABBER_DETECT   0x00000002

Definition at line 321 of file ncn26010_driver.h.

◆ NCN26010_PHYSTATUS_LINK_NEGOTIATION_COMPLETE

#define NCN26010_PHYSTATUS_LINK_NEGOTIATION_COMPLETE   0x00000020

Definition at line 317 of file ncn26010_driver.h.

◆ NCN26010_PHYSTATUS_LINK_STATUS

#define NCN26010_PHYSTATUS_LINK_STATUS   0x00000004

Definition at line 320 of file ncn26010_driver.h.

◆ NCN26010_PHYSTATUS_MF_PREAMBLE_SUPPR

#define NCN26010_PHYSTATUS_MF_PREAMBLE_SUPPR   0x00000040

Definition at line 316 of file ncn26010_driver.h.

◆ NCN26010_PHYSTATUS_REMOTE_FAULT

#define NCN26010_PHYSTATUS_REMOTE_FAULT   0x00000010

Definition at line 318 of file ncn26010_driver.h.

◆ NCN26010_PHYSTATUS_UNIDIRECTIONAL_ABILITY

#define NCN26010_PHYSTATUS_UNIDIRECTIONAL_ABILITY   0x00000080

Definition at line 315 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK

#define NCN26010_PHYTWEAK   0x0C, 0x1001

Definition at line 217 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_CLK_OUT_EN

#define NCN26010_PHYTWEAK_CLK_OUT_EN   0x0001

Definition at line 617 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_CMC_COMPENSATION

#define NCN26010_PHYTWEAK_CMC_COMPENSATION   0x0018

Definition at line 609 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_CMC_COMPENSATION_0_5_TO_2_25_R

#define NCN26010_PHYTWEAK_CMC_COMPENSATION_0_5_TO_2_25_R   0x0008

Definition at line 611 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_CMC_COMPENSATION_0_TO_0_5_R

#define NCN26010_PHYTWEAK_CMC_COMPENSATION_0_TO_0_5_R   0x0000

Definition at line 610 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_CMC_COMPENSATION_2_25_TO_3_75_R

#define NCN26010_PHYTWEAK_CMC_COMPENSATION_2_25_TO_3_75_R   0x0010

Definition at line 612 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_CMC_COMPENSATION_3_75_TO_5_R

#define NCN26010_PHYTWEAK_CMC_COMPENSATION_3_75_TO_5_R   0x0018

Definition at line 613 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_DIGITAL_SLEW_RATE

#define NCN26010_PHYTWEAK_DIGITAL_SLEW_RATE   0x0020

Definition at line 606 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_DIGITAL_SLEW_RATE_FAST

#define NCN26010_PHYTWEAK_DIGITAL_SLEW_RATE_FAST   0x0020

Definition at line 608 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_DIGITAL_SLEW_RATE_SLOW

#define NCN26010_PHYTWEAK_DIGITAL_SLEW_RATE_SLOW   0x0000

Definition at line 607 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_RX_CD_THRESHOLD

#define NCN26010_PHYTWEAK_RX_CD_THRESHOLD   0x3C00

Definition at line 572 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_RX_CD_THRESHOLD_150_MVPP

#define NCN26010_PHYTWEAK_RX_CD_THRESHOLD_150_MVPP   0x0000

Definition at line 573 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_RX_CD_THRESHOLD_200_MVPP

#define NCN26010_PHYTWEAK_RX_CD_THRESHOLD_200_MVPP   0x0400

Definition at line 574 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_RX_CD_THRESHOLD_250_MVPP

#define NCN26010_PHYTWEAK_RX_CD_THRESHOLD_250_MVPP   0x0800

Definition at line 575 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_RX_CD_THRESHOLD_300_MVPP

#define NCN26010_PHYTWEAK_RX_CD_THRESHOLD_300_MVPP   0x0C00

Definition at line 576 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_RX_CD_THRESHOLD_350_MVPP

#define NCN26010_PHYTWEAK_RX_CD_THRESHOLD_350_MVPP   0x1000

Definition at line 577 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_RX_CD_THRESHOLD_400_MVPP

#define NCN26010_PHYTWEAK_RX_CD_THRESHOLD_400_MVPP   0x1400

Definition at line 578 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_RX_CD_THRESHOLD_450_MVPP

#define NCN26010_PHYTWEAK_RX_CD_THRESHOLD_450_MVPP   0x1800

Definition at line 579 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_RX_CD_THRESHOLD_500_MVPP

#define NCN26010_PHYTWEAK_RX_CD_THRESHOLD_500_MVPP   0x1C00

Definition at line 580 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_RX_CD_THRESHOLD_550_MVPP

#define NCN26010_PHYTWEAK_RX_CD_THRESHOLD_550_MVPP   0x2000

Definition at line 581 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_RX_CD_THRESHOLD_600_MVPP

#define NCN26010_PHYTWEAK_RX_CD_THRESHOLD_600_MVPP   0x2400

Definition at line 582 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_RX_CD_THRESHOLD_650_MVPP

#define NCN26010_PHYTWEAK_RX_CD_THRESHOLD_650_MVPP   0x2800

Definition at line 583 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_RX_CD_THRESHOLD_700_MVPP

#define NCN26010_PHYTWEAK_RX_CD_THRESHOLD_700_MVPP   0x2C00

Definition at line 584 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_RX_CD_THRESHOLD_750_MVPP

#define NCN26010_PHYTWEAK_RX_CD_THRESHOLD_750_MVPP   0x3000

Definition at line 585 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_RX_CD_THRESHOLD_800_MVPP

#define NCN26010_PHYTWEAK_RX_CD_THRESHOLD_800_MVPP   0x3400

Definition at line 586 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_RX_CD_THRESHOLD_850_MVPP

#define NCN26010_PHYTWEAK_RX_CD_THRESHOLD_850_MVPP   0x3800

Definition at line 587 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_RX_CD_THRESHOLD_900_MVPP

#define NCN26010_PHYTWEAK_RX_CD_THRESHOLD_900_MVPP   0x3C00

Definition at line 588 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_RX_ED_THRESHOLD

#define NCN26010_PHYTWEAK_RX_ED_THRESHOLD   0x03C0

Definition at line 589 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_RX_ED_THRESHOLD_150_MVPP

#define NCN26010_PHYTWEAK_RX_ED_THRESHOLD_150_MVPP   0x0000

Definition at line 590 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_RX_ED_THRESHOLD_200_MVPP

#define NCN26010_PHYTWEAK_RX_ED_THRESHOLD_200_MVPP   0x0040

Definition at line 591 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_RX_ED_THRESHOLD_250_MVPP

#define NCN26010_PHYTWEAK_RX_ED_THRESHOLD_250_MVPP   0x0080

Definition at line 592 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_RX_ED_THRESHOLD_300_MVPP

#define NCN26010_PHYTWEAK_RX_ED_THRESHOLD_300_MVPP   0x00C0

Definition at line 593 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_RX_ED_THRESHOLD_350_MVPP

#define NCN26010_PHYTWEAK_RX_ED_THRESHOLD_350_MVPP   0x0100

Definition at line 594 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_RX_ED_THRESHOLD_400_MVPP

#define NCN26010_PHYTWEAK_RX_ED_THRESHOLD_400_MVPP   0x0140

Definition at line 595 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_RX_ED_THRESHOLD_450_MVPP

#define NCN26010_PHYTWEAK_RX_ED_THRESHOLD_450_MVPP   0x0180

Definition at line 596 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_RX_ED_THRESHOLD_500_MVPP

#define NCN26010_PHYTWEAK_RX_ED_THRESHOLD_500_MVPP   0x01C0

Definition at line 597 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_RX_ED_THRESHOLD_550_MVPP

#define NCN26010_PHYTWEAK_RX_ED_THRESHOLD_550_MVPP   0x0200

Definition at line 598 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_RX_ED_THRESHOLD_600_MVPP

#define NCN26010_PHYTWEAK_RX_ED_THRESHOLD_600_MVPP   0x0240

Definition at line 599 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_RX_ED_THRESHOLD_650_MVPP

#define NCN26010_PHYTWEAK_RX_ED_THRESHOLD_650_MVPP   0x0280

Definition at line 600 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_RX_ED_THRESHOLD_700_MVPP

#define NCN26010_PHYTWEAK_RX_ED_THRESHOLD_700_MVPP   0x02C0

Definition at line 601 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_RX_ED_THRESHOLD_750_MVPP

#define NCN26010_PHYTWEAK_RX_ED_THRESHOLD_750_MVPP   0x0300

Definition at line 602 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_RX_ED_THRESHOLD_800_MVPP

#define NCN26010_PHYTWEAK_RX_ED_THRESHOLD_800_MVPP   0x0340

Definition at line 603 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_RX_ED_THRESHOLD_850_MVPP

#define NCN26010_PHYTWEAK_RX_ED_THRESHOLD_850_MVPP   0x0380

Definition at line 604 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_RX_ED_THRESHOLD_900_MVPP

#define NCN26010_PHYTWEAK_RX_ED_THRESHOLD_900_MVPP   0x03C0

Definition at line 605 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_TX_GAIN

#define NCN26010_PHYTWEAK_TX_GAIN   0xC000

Definition at line 567 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_TX_GAIN_1000_MVPP

#define NCN26010_PHYTWEAK_TX_GAIN_1000_MVPP   0x0000

Definition at line 568 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_TX_GAIN_1100_MVPP

#define NCN26010_PHYTWEAK_TX_GAIN_1100_MVPP   0x4000

Definition at line 569 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_TX_GAIN_800_MVPP

#define NCN26010_PHYTWEAK_TX_GAIN_800_MVPP   0xC000

Definition at line 571 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_TX_GAIN_900_MVPP

#define NCN26010_PHYTWEAK_TX_GAIN_900_MVPP   0x8000

Definition at line 570 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_TX_SLEW

#define NCN26010_PHYTWEAK_TX_SLEW   0x0004

Definition at line 614 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_TX_SLEW_FAST

#define NCN26010_PHYTWEAK_TX_SLEW_FAST   0x0004

Definition at line 616 of file ncn26010_driver.h.

◆ NCN26010_PHYTWEAK_TX_SLEW_SLOW

#define NCN26010_PHYTWEAK_TX_SLEW_SLOW   0x0000

Definition at line 615 of file ncn26010_driver.h.

◆ NCN26010_PLCA_SUPPORT

#define NCN26010_PLCA_SUPPORT   ENABLED

Definition at line 39 of file ncn26010_driver.h.

◆ NCN26010_PLCABURST

#define NCN26010_PLCABURST   0x04, 0xCA05

Definition at line 211 of file ncn26010_driver.h.

◆ NCN26010_PLCABURST_BTMR

#define NCN26010_PLCABURST_BTMR   0x00FF

Definition at line 508 of file ncn26010_driver.h.

◆ NCN26010_PLCABURST_BTMR_DEFAULT

#define NCN26010_PLCABURST_BTMR_DEFAULT   0x0080

Definition at line 509 of file ncn26010_driver.h.

◆ NCN26010_PLCABURST_MAXBC

#define NCN26010_PLCABURST_MAXBC   0xFF00

Definition at line 506 of file ncn26010_driver.h.

◆ NCN26010_PLCABURST_MAXBC_DEFAULT

#define NCN26010_PLCABURST_MAXBC_DEFAULT   0x0000

Definition at line 507 of file ncn26010_driver.h.

◆ NCN26010_PLCACTRL0

#define NCN26010_PLCACTRL0   0x04, 0xCA01

Definition at line 207 of file ncn26010_driver.h.

◆ NCN26010_PLCACTRL0_PCLA_EN

#define NCN26010_PLCACTRL0_PCLA_EN   0x8000

Definition at line 491 of file ncn26010_driver.h.

◆ NCN26010_PLCACTRL0_PLCA_RESET

#define NCN26010_PLCACTRL0_PLCA_RESET   0x4000

Definition at line 492 of file ncn26010_driver.h.

◆ NCN26010_PLCACTRL1

#define NCN26010_PLCACTRL1   0x04, 0xCA02

Definition at line 208 of file ncn26010_driver.h.

◆ NCN26010_PLCACTRL1_ID

#define NCN26010_PLCACTRL1_ID   0x00FF

Definition at line 496 of file ncn26010_driver.h.

◆ NCN26010_PLCACTRL1_NCNT

#define NCN26010_PLCACTRL1_NCNT   0xFF00

Definition at line 495 of file ncn26010_driver.h.

◆ NCN26010_PLCAEXT

#define NCN26010_PLCAEXT   0x04, 0x8002

Definition at line 203 of file ncn26010_driver.h.

◆ NCN26010_PLCAEXT_COORDINATOR_MODE

#define NCN26010_PLCAEXT_COORDINATOR_MODE   0x0002

Definition at line 475 of file ncn26010_driver.h.

◆ NCN26010_PLCAEXT_COORDINATOR_ROLE

#define NCN26010_PLCAEXT_COORDINATOR_ROLE   0x0001

Definition at line 476 of file ncn26010_driver.h.

◆ NCN26010_PLCAEXT_PLCA_PRECEDENCE

#define NCN26010_PLCAEXT_PLCA_PRECEDENCE   0x8000

Definition at line 474 of file ncn26010_driver.h.

◆ NCN26010_PLCAREGMAP

#define NCN26010_PLCAREGMAP   0x04, 0xCA00

Definition at line 206 of file ncn26010_driver.h.

◆ NCN26010_PLCAREGMAP_MAPID

#define NCN26010_PLCAREGMAP_MAPID   0xFF00

Definition at line 487 of file ncn26010_driver.h.

◆ NCN26010_PLCAREGMAP_MAPVER

#define NCN26010_PLCAREGMAP_MAPVER   0x00FF

Definition at line 488 of file ncn26010_driver.h.

◆ NCN26010_PLCASTS

#define NCN26010_PLCASTS   0x04, 0xCA03

Definition at line 209 of file ncn26010_driver.h.

◆ NCN26010_PLCASTS_PST

#define NCN26010_PLCASTS_PST   0x8000

Definition at line 499 of file ncn26010_driver.h.

◆ NCN26010_PLCATOTMR

#define NCN26010_PLCATOTMR   0x04, 0xCA04

Definition at line 210 of file ncn26010_driver.h.

◆ NCN26010_PLCATOTMR_TOTMR

#define NCN26010_PLCATOTMR_TOTMR   0x00FF

Definition at line 502 of file ncn26010_driver.h.

◆ NCN26010_PLCATOTMR_TOTMR_DEFAULT

#define NCN26010_PLCATOTMR_TOTMR_DEFAULT   0x0018

Definition at line 503 of file ncn26010_driver.h.

◆ NCN26010_PMA_DEVINPKG1

#define NCN26010_PMA_DEVINPKG1   0x03, 0x0005

Definition at line 193 of file ncn26010_driver.h.

◆ NCN26010_PMA_DEVINPKG1_CLAUSE_22_REGS_PRESENT

#define NCN26010_PMA_DEVINPKG1_CLAUSE_22_REGS_PRESENT   0x0001

Definition at line 429 of file ncn26010_driver.h.

◆ NCN26010_PMA_DEVINPKG1_PCS_PRESENT

#define NCN26010_PMA_DEVINPKG1_PCS_PRESENT   0x0008

Definition at line 427 of file ncn26010_driver.h.

◆ NCN26010_PMA_DEVINPKG1_PMA_PRESENT

#define NCN26010_PMA_DEVINPKG1_PMA_PRESENT   0x0002

Definition at line 428 of file ncn26010_driver.h.

◆ NCN26010_PMA_DEVINPKG2

#define NCN26010_PMA_DEVINPKG2   0x03, 0x0006

Definition at line 194 of file ncn26010_driver.h.

◆ NCN26010_PMATUNE0

#define NCN26010_PMATUNE0   0x04, 0x8003

Definition at line 204 of file ncn26010_driver.h.

◆ NCN26010_PMATUNE0_DRIFT_COMPENSATION_WIN_SEL

#define NCN26010_PMATUNE0_DRIFT_COMPENSATION_WIN_SEL   0x0007

Definition at line 480 of file ncn26010_driver.h.

◆ NCN26010_PMATUNE0_PLCA_BEACON_DETECT_THRESHOLD

#define NCN26010_PMATUNE0_PLCA_BEACON_DETECT_THRESHOLD   0x3F00

Definition at line 479 of file ncn26010_driver.h.

◆ NCN26010_PMATUNE1

#define NCN26010_PMATUNE1   0x04, 0x8004

Definition at line 205 of file ncn26010_driver.h.

◆ NCN26010_PMATUNE1_COMMIT_DETECT_THRESHOLD

#define NCN26010_PMATUNE1_COMMIT_DETECT_THRESHOLD   0x003F

Definition at line 484 of file ncn26010_driver.h.

◆ NCN26010_PMATUNE1_PKT_PREAMBLE_DETEC_THRESHOLD

#define NCN26010_PMATUNE1_PKT_PREAMBLE_DETEC_THRESHOLD   0x3F00

Definition at line 483 of file ncn26010_driver.h.

◆ NCN26010_RESET

#define NCN26010_RESET   0x00, 0x0003

Definition at line 120 of file ncn26010_driver.h.

◆ NCN26010_RESET_RESET

#define NCN26010_RESET_RESET   0x00000001

Definition at line 248 of file ncn26010_driver.h.

◆ NCN26010_RX_FOOTER_DV

#define NCN26010_RX_FOOTER_DV   0x00200000

Definition at line 87 of file ncn26010_driver.h.

◆ NCN26010_RX_FOOTER_EBO

#define NCN26010_RX_FOOTER_EBO   0x00003F00

Definition at line 92 of file ncn26010_driver.h.

◆ NCN26010_RX_FOOTER_EV

#define NCN26010_RX_FOOTER_EV   0x00004000

Definition at line 91 of file ncn26010_driver.h.

◆ NCN26010_RX_FOOTER_EXST

#define NCN26010_RX_FOOTER_EXST   0x80000000

Definition at line 82 of file ncn26010_driver.h.

◆ NCN26010_RX_FOOTER_FD

#define NCN26010_RX_FOOTER_FD   0x00008000

Definition at line 90 of file ncn26010_driver.h.

◆ NCN26010_RX_FOOTER_HDRB

#define NCN26010_RX_FOOTER_HDRB   0x40000000

Definition at line 83 of file ncn26010_driver.h.

◆ NCN26010_RX_FOOTER_P

#define NCN26010_RX_FOOTER_P   0x00000001

Definition at line 96 of file ncn26010_driver.h.

◆ NCN26010_RX_FOOTER_RCA

#define NCN26010_RX_FOOTER_RCA   0x1F000000

Definition at line 85 of file ncn26010_driver.h.

◆ NCN26010_RX_FOOTER_RTSA

#define NCN26010_RX_FOOTER_RTSA   0x00000080

Definition at line 93 of file ncn26010_driver.h.

◆ NCN26010_RX_FOOTER_RTSP

#define NCN26010_RX_FOOTER_RTSP   0x00000040

Definition at line 94 of file ncn26010_driver.h.

◆ NCN26010_RX_FOOTER_SV

#define NCN26010_RX_FOOTER_SV   0x00100000

Definition at line 88 of file ncn26010_driver.h.

◆ NCN26010_RX_FOOTER_SWO

#define NCN26010_RX_FOOTER_SWO   0x000F0000

Definition at line 89 of file ncn26010_driver.h.

◆ NCN26010_RX_FOOTER_SYNC

#define NCN26010_RX_FOOTER_SYNC   0x20000000

Definition at line 84 of file ncn26010_driver.h.

◆ NCN26010_RX_FOOTER_TXC

#define NCN26010_RX_FOOTER_TXC   0x0000003E

Definition at line 95 of file ncn26010_driver.h.

◆ NCN26010_RX_FOOTER_VS

#define NCN26010_RX_FOOTER_VS   0x00C00000

Definition at line 86 of file ncn26010_driver.h.

◆ NCN26010_STALIGNERRS

#define NCN26010_STALIGNERRS   0x01, 0x0050

Definition at line 180 of file ncn26010_driver.h.

◆ NCN26010_STALIGNERRS_STALIGNERRS

#define NCN26010_STALIGNERRS_STALIGNERRS   0x000003FF

Definition at line 403 of file ncn26010_driver.h.

◆ NCN26010_STATUS0

#define NCN26010_STATUS0   0x00, 0x0008

Definition at line 122 of file ncn26010_driver.h.

◆ NCN26010_STATUS0_CDPE

#define NCN26010_STATUS0_CDPE   0x00001000

Definition at line 272 of file ncn26010_driver.h.

◆ NCN26010_STATUS0_HDRE

#define NCN26010_STATUS0_HDRE   0x00000020

Definition at line 279 of file ncn26010_driver.h.

◆ NCN26010_STATUS0_LOFE

#define NCN26010_STATUS0_LOFE   0x00000010

Definition at line 280 of file ncn26010_driver.h.

◆ NCN26010_STATUS0_PHYINT

#define NCN26010_STATUS0_PHYINT   0x00000080

Definition at line 277 of file ncn26010_driver.h.

◆ NCN26010_STATUS0_RESETC

#define NCN26010_STATUS0_RESETC   0x00000040

Definition at line 278 of file ncn26010_driver.h.

◆ NCN26010_STATUS0_RXBOE

#define NCN26010_STATUS0_RXBOE   0x00000008

Definition at line 281 of file ncn26010_driver.h.

◆ NCN26010_STATUS0_TTSCAA

#define NCN26010_STATUS0_TTSCAA   0x00000100

Definition at line 276 of file ncn26010_driver.h.

◆ NCN26010_STATUS0_TTSCAB

#define NCN26010_STATUS0_TTSCAB   0x00000200

Definition at line 275 of file ncn26010_driver.h.

◆ NCN26010_STATUS0_TTSCAC

#define NCN26010_STATUS0_TTSCAC   0x00000400

Definition at line 274 of file ncn26010_driver.h.

◆ NCN26010_STATUS0_TXBOE

#define NCN26010_STATUS0_TXBOE   0x00000002

Definition at line 283 of file ncn26010_driver.h.

◆ NCN26010_STATUS0_TXBUE

#define NCN26010_STATUS0_TXBUE   0x00000004

Definition at line 282 of file ncn26010_driver.h.

◆ NCN26010_STATUS0_TXFCSE

#define NCN26010_STATUS0_TXFCSE   0x00000800

Definition at line 273 of file ncn26010_driver.h.

◆ NCN26010_STATUS0_TXPE

#define NCN26010_STATUS0_TXPE   0x00000001

Definition at line 284 of file ncn26010_driver.h.

◆ NCN26010_STBCASTRXOK

#define NCN26010_STBCASTRXOK   0x01, 0x0044

Definition at line 168 of file ncn26010_driver.h.

◆ NCN26010_STBCASTTXOK

#define NCN26010_STBCASTTXOK   0x01, 0x0033

Definition at line 151 of file ncn26010_driver.h.

◆ NCN26010_STCRSERR

#define NCN26010_STCRSERR   0x01, 0x0040

Definition at line 164 of file ncn26010_driver.h.

◆ NCN26010_STCRSERR_STCRSERR

#define NCN26010_STCRSERR_STCRSERR   0x000003FF

Definition at line 382 of file ncn26010_driver.h.

◆ NCN26010_STDCAP

#define NCN26010_STDCAP   0x00, 0x0002

Definition at line 119 of file ncn26010_driver.h.

◆ NCN26010_STDCAP_AIDC

#define NCN26010_STDCAP_AIDC   0x00000020

Definition at line 243 of file ncn26010_driver.h.

◆ NCN26010_STDCAP_CTC

#define NCN26010_STDCAP_CTC   0x00000080

Definition at line 241 of file ncn26010_driver.h.

◆ NCN26010_STDCAP_DPRAC

#define NCN26010_STDCAP_DPRAC   0x00000100

Definition at line 240 of file ncn26010_driver.h.

◆ NCN26010_STDCAP_FTC

#define NCN26010_STDCAP_FTC   0x00000040

Definition at line 242 of file ncn26010_driver.h.

◆ NCN26010_STDCAP_IPRAC

#define NCN26010_STDCAP_IPRAC   0x00000200

Definition at line 239 of file ncn26010_driver.h.

◆ NCN26010_STDCAP_MINCPS

#define NCN26010_STDCAP_MINCPS   0x00000007

Definition at line 245 of file ncn26010_driver.h.

◆ NCN26010_STDCAP_SEQ

#define NCN26010_STDCAP_SEQ   0x00000010

Definition at line 244 of file ncn26010_driver.h.

◆ NCN26010_STDCAP_TXFCSVC

#define NCN26010_STDCAP_TXFCSVC   0x00000400

Definition at line 238 of file ncn26010_driver.h.

◆ NCN26010_STDEFERREDTX

#define NCN26010_STDEFERREDTX   0x01, 0x003F

Definition at line 163 of file ncn26010_driver.h.

◆ NCN26010_STDEFERREDTX_STDEFERREDTX

#define NCN26010_STDEFERREDTX_STDEFERREDTX   0x0003FFFF

Definition at line 379 of file ncn26010_driver.h.

◆ NCN26010_STEXCESSCOL

#define NCN26010_STEXCESSCOL   0x01, 0x003E

Definition at line 162 of file ncn26010_driver.h.

◆ NCN26010_STEXCESSCOL_STEXCESSCOL

#define NCN26010_STEXCESSCOL_STEXCESSCOL   0x000003FF

Definition at line 376 of file ncn26010_driver.h.

◆ NCN26010_STFCSERRS

#define NCN26010_STFCSERRS   0x01, 0x004E

Definition at line 178 of file ncn26010_driver.h.

◆ NCN26010_STFCSERRS_STFCSERRS

#define NCN26010_STFCSERRS_STFCSERRS   0x000003FF

Definition at line 397 of file ncn26010_driver.h.

◆ NCN26010_STFRAMESRX1024

#define NCN26010_STFRAMESRX1024   0x01, 0x004B

Definition at line 175 of file ncn26010_driver.h.

◆ NCN26010_STFRAMESRX128

#define NCN26010_STFRAMESRX128   0x01, 0x0048

Definition at line 172 of file ncn26010_driver.h.

◆ NCN26010_STFRAMESRX256

#define NCN26010_STFRAMESRX256   0x01, 0x0049

Definition at line 173 of file ncn26010_driver.h.

◆ NCN26010_STFRAMESRX512

#define NCN26010_STFRAMESRX512   0x01, 0x004A

Definition at line 174 of file ncn26010_driver.h.

◆ NCN26010_STFRAMESRX64

#define NCN26010_STFRAMESRX64   0x01, 0x0046

Definition at line 170 of file ncn26010_driver.h.

◆ NCN26010_STFRAMESRX65

#define NCN26010_STFRAMESRX65   0x01, 0x0047

Definition at line 171 of file ncn26010_driver.h.

◆ NCN26010_STFRAMESRXOK

#define NCN26010_STFRAMESRXOK   0x01, 0x0043

Definition at line 167 of file ncn26010_driver.h.

◆ NCN26010_STFRAMESTX1024

#define NCN26010_STFRAMESTX1024   0x01, 0x003A

Definition at line 158 of file ncn26010_driver.h.

◆ NCN26010_STFRAMESTX128

#define NCN26010_STFRAMESTX128   0x01, 0x0037

Definition at line 155 of file ncn26010_driver.h.

◆ NCN26010_STFRAMESTX256

#define NCN26010_STFRAMESTX256   0x01, 0x0038

Definition at line 156 of file ncn26010_driver.h.

◆ NCN26010_STFRAMESTX512

#define NCN26010_STFRAMESTX512   0x01, 0x0039

Definition at line 157 of file ncn26010_driver.h.

◆ NCN26010_STFRAMESTX64

#define NCN26010_STFRAMESTX64   0x01, 0x0035

Definition at line 153 of file ncn26010_driver.h.

◆ NCN26010_STFRAMESTX65

#define NCN26010_STFRAMESTX65   0x01, 0x0036

Definition at line 154 of file ncn26010_driver.h.

◆ NCN26010_STFRAMESTXOK

#define NCN26010_STFRAMESTXOK   0x01, 0x0032

Definition at line 150 of file ncn26010_driver.h.

◆ NCN26010_STMCASTRXOK

#define NCN26010_STMCASTRXOK   0x01, 0x0045

Definition at line 169 of file ncn26010_driver.h.

◆ NCN26010_STMCASTTXOK

#define NCN26010_STMCASTTXOK   0x01, 0x0034

Definition at line 152 of file ncn26010_driver.h.

◆ NCN26010_STMULTICOL

#define NCN26010_STMULTICOL   0x01, 0x003D

Definition at line 161 of file ncn26010_driver.h.

◆ NCN26010_STMULTICOL_STMULTICOL

#define NCN26010_STMULTICOL_STMULTICOL   0x0003FFFF

Definition at line 373 of file ncn26010_driver.h.

◆ NCN26010_STOCTETSRXH

#define NCN26010_STOCTETSRXH   0x01, 0x0042

Definition at line 166 of file ncn26010_driver.h.

◆ NCN26010_STOCTETSRXH_STOCTETSRX_47_32

#define NCN26010_STOCTETSRXH_STOCTETSRX_47_32   0x0000FFFF

Definition at line 388 of file ncn26010_driver.h.

◆ NCN26010_STOCTETSRXL

#define NCN26010_STOCTETSRXL   0x01, 0x0041

Definition at line 165 of file ncn26010_driver.h.

◆ NCN26010_STOCTETSRXL_STOCTETSRX_31_0

#define NCN26010_STOCTETSRXL_STOCTETSRX_31_0   0xFFFFFFFF

Definition at line 385 of file ncn26010_driver.h.

◆ NCN26010_STOCTETSTXH

#define NCN26010_STOCTETSTXH   0x01, 0x0031

Definition at line 149 of file ncn26010_driver.h.

◆ NCN26010_STOCTETSTXH_STOCTETSTXL_47_32

#define NCN26010_STOCTETSTXH_STOCTETSTXL_47_32   0x0000FFFF

Definition at line 364 of file ncn26010_driver.h.

◆ NCN26010_STOCTETSTXL

#define NCN26010_STOCTETSTXL   0x01, 0x0030

Definition at line 148 of file ncn26010_driver.h.

◆ NCN26010_STOCTETSTXL_STOCTETSTXL_31_0

#define NCN26010_STOCTETSTXL_STOCTETSTXL_31_0   0xFFFFFFFF

Definition at line 361 of file ncn26010_driver.h.

◆ NCN26010_STRUNTSERR

#define NCN26010_STRUNTSERR   0x01, 0x004C

Definition at line 176 of file ncn26010_driver.h.

◆ NCN26010_STRUNTSERR_STRUNTERR

#define NCN26010_STRUNTSERR_STRUNTERR   0x000003FF

Definition at line 391 of file ncn26010_driver.h.

◆ NCN26010_STRXDROPPED

#define NCN26010_STRXDROPPED   0x01, 0x0052

Definition at line 182 of file ncn26010_driver.h.

◆ NCN26010_STRXOVERFLOW

#define NCN26010_STRXOVERFLOW   0x01, 0x0051

Definition at line 181 of file ncn26010_driver.h.

◆ NCN26010_STRXOVERFLOW_STRXOVERFLOW

#define NCN26010_STRXOVERFLOW_STRXOVERFLOW   0x000003FF

Definition at line 406 of file ncn26010_driver.h.

◆ NCN26010_STRXTOOLONG

#define NCN26010_STRXTOOLONG   0x01, 0x004D

Definition at line 177 of file ncn26010_driver.h.

◆ NCN26010_STRXTOOLONG_STRXTOOLONG

#define NCN26010_STRXTOOLONG_STRXTOOLONG   0x000003FF

Definition at line 394 of file ncn26010_driver.h.

◆ NCN26010_STSINGLECOL

#define NCN26010_STSINGLECOL   0x01, 0x003C

Definition at line 160 of file ncn26010_driver.h.

◆ NCN26010_STSINGLECOL_STSINGLECOL

#define NCN26010_STSINGLECOL_STSINGLECOL   0x0003FFFF

Definition at line 370 of file ncn26010_driver.h.

◆ NCN26010_STSYMBOLERRS

#define NCN26010_STSYMBOLERRS   0x01, 0x004F

Definition at line 179 of file ncn26010_driver.h.

◆ NCN26010_STSYMBOLERRS_STSYMBOLERRS

#define NCN26010_STSYMBOLERRS_STSYMBOLERRS   0x000003FF

Definition at line 400 of file ncn26010_driver.h.

◆ NCN26010_STUNDERFLOW

#define NCN26010_STUNDERFLOW   0x01, 0x003B

Definition at line 159 of file ncn26010_driver.h.

◆ NCN26010_STUNDERFLOW_STUNDERFLOW

#define NCN26010_STUNDERFLOW_STUNDERFLOW   0x000003FF

Definition at line 367 of file ncn26010_driver.h.

◆ NCN26010_T1SPCSCTRL

#define NCN26010_T1SPCSCTRL   0x02, 0x08F3

Definition at line 187 of file ncn26010_driver.h.

◆ NCN26010_T1SPCSCTRL_LOOPBACK

#define NCN26010_T1SPCSCTRL_LOOPBACK   0x4000

Definition at line 415 of file ncn26010_driver.h.

◆ NCN26010_T1SPCSCTRL_PCS_RESET

#define NCN26010_T1SPCSCTRL_PCS_RESET   0x8000

Definition at line 414 of file ncn26010_driver.h.

◆ NCN26010_T1SPCSPHYCOL

#define NCN26010_T1SPCSPHYCOL   0x02, 0x08F6

Definition at line 190 of file ncn26010_driver.h.

◆ NCN26010_T1SPCSPHYCOL_PCS_PHY_COL_COUNT

#define NCN26010_T1SPCSPHYCOL_PCS_PHY_COL_COUNT   0xFFFF

Definition at line 424 of file ncn26010_driver.h.

◆ NCN26010_T1SPCSRMTJAB

#define NCN26010_T1SPCSRMTJAB   0x02, 0x08F5

Definition at line 189 of file ncn26010_driver.h.

◆ NCN26010_T1SPCSRMTJAB_PCS_REMOTE_JABBER_COUNT

#define NCN26010_T1SPCSRMTJAB_PCS_REMOTE_JABBER_COUNT   0xFFFF

Definition at line 421 of file ncn26010_driver.h.

◆ NCN26010_T1SPCSSTATUS

#define NCN26010_T1SPCSSTATUS   0x02, 0x08F4

Definition at line 188 of file ncn26010_driver.h.

◆ NCN26010_T1SPCSSTATUS_FAULT

#define NCN26010_T1SPCSSTATUS_FAULT   0x0080

Definition at line 418 of file ncn26010_driver.h.

◆ NCN26010_T1SPMACTRL

#define NCN26010_T1SPMACTRL   0x03, 0x08F9

Definition at line 196 of file ncn26010_driver.h.

◆ NCN26010_T1SPMACTRL_LOOPBACK_MODE

#define NCN26010_T1SPMACTRL_LOOPBACK_MODE   0x0001

Definition at line 439 of file ncn26010_driver.h.

◆ NCN26010_T1SPMACTRL_LOW_POWER_MODE

#define NCN26010_T1SPMACTRL_LOW_POWER_MODE   0x0800

Definition at line 437 of file ncn26010_driver.h.

◆ NCN26010_T1SPMACTRL_MULTI_DROP_EN

#define NCN26010_T1SPMACTRL_MULTI_DROP_EN   0x0400

Definition at line 438 of file ncn26010_driver.h.

◆ NCN26010_T1SPMACTRL_PMA_RESET

#define NCN26010_T1SPMACTRL_PMA_RESET   0x8000

Definition at line 435 of file ncn26010_driver.h.

◆ NCN26010_T1SPMACTRL_TX_DIS

#define NCN26010_T1SPMACTRL_TX_DIS   0x4000

Definition at line 436 of file ncn26010_driver.h.

◆ NCN26010_T1SPMASTS

#define NCN26010_T1SPMASTS   0x03, 0x08FA

Definition at line 197 of file ncn26010_driver.h.

◆ NCN26010_T1SPMASTS_LOOPBACK_ABILITY

#define NCN26010_T1SPMASTS_LOOPBACK_ABILITY   0x2000

Definition at line 442 of file ncn26010_driver.h.

◆ NCN26010_T1SPMASTS_LOW_POWER_ABILITY

#define NCN26010_T1SPMASTS_LOW_POWER_ABILITY   0x0800

Definition at line 443 of file ncn26010_driver.h.

◆ NCN26010_T1SPMASTS_MULTI_DROP_ABILITY

#define NCN26010_T1SPMASTS_MULTI_DROP_ABILITY   0x0400

Definition at line 444 of file ncn26010_driver.h.

◆ NCN26010_T1SPMASTS_RECEIVE_FAULT_ABILITY

#define NCN26010_T1SPMASTS_RECEIVE_FAULT_ABILITY   0x0200

Definition at line 445 of file ncn26010_driver.h.

◆ NCN26010_T1SPMASTS_REMOTE_JABBER

#define NCN26010_T1SPMASTS_REMOTE_JABBER   0x0002

Definition at line 446 of file ncn26010_driver.h.

◆ NCN26010_T1STMCTL

#define NCN26010_T1STMCTL   0x03, 0x08FB

Definition at line 198 of file ncn26010_driver.h.

◆ NCN26010_T1STMCTL_TEST_MODE

#define NCN26010_T1STMCTL_TEST_MODE   0xE000

Definition at line 449 of file ncn26010_driver.h.

◆ NCN26010_T1STMCTL_TEST_MODE_NORMAL

#define NCN26010_T1STMCTL_TEST_MODE_NORMAL   0x0000

Definition at line 450 of file ncn26010_driver.h.

◆ NCN26010_T1STMCTL_TEST_MODE_TX_HIGH_Z_TEST

#define NCN26010_T1STMCTL_TEST_MODE_TX_HIGH_Z_TEST   0x8000

Definition at line 454 of file ncn26010_driver.h.

◆ NCN26010_T1STMCTL_TEST_MODE_TX_OUT_DROP_TEST

#define NCN26010_T1STMCTL_TEST_MODE_TX_OUT_DROP_TEST   0x4000

Definition at line 452 of file ncn26010_driver.h.

◆ NCN26010_T1STMCTL_TEST_MODE_TX_OUT_VOLTAGE_TEST

#define NCN26010_T1STMCTL_TEST_MODE_TX_OUT_VOLTAGE_TEST   0x2000

Definition at line 451 of file ncn26010_driver.h.

◆ NCN26010_T1STMCTL_TEST_MODE_TX_PSD_MASK

#define NCN26010_T1STMCTL_TEST_MODE_TX_PSD_MASK   0x6000

Definition at line 453 of file ncn26010_driver.h.

◆ NCN26010_TX_HEADER_DNC

#define NCN26010_TX_HEADER_DNC   0x80000000

Definition at line 69 of file ncn26010_driver.h.

◆ NCN26010_TX_HEADER_DV

#define NCN26010_TX_HEADER_DV   0x00200000

Definition at line 73 of file ncn26010_driver.h.

◆ NCN26010_TX_HEADER_EBO

#define NCN26010_TX_HEADER_EBO   0x00003F00

Definition at line 77 of file ncn26010_driver.h.

◆ NCN26010_TX_HEADER_EV

#define NCN26010_TX_HEADER_EV   0x00004000

Definition at line 76 of file ncn26010_driver.h.

◆ NCN26010_TX_HEADER_NORX

#define NCN26010_TX_HEADER_NORX   0x20000000

Definition at line 71 of file ncn26010_driver.h.

◆ NCN26010_TX_HEADER_P

#define NCN26010_TX_HEADER_P   0x00000001

Definition at line 79 of file ncn26010_driver.h.

◆ NCN26010_TX_HEADER_SEQ

#define NCN26010_TX_HEADER_SEQ   0x40000000

Definition at line 70 of file ncn26010_driver.h.

◆ NCN26010_TX_HEADER_SV

#define NCN26010_TX_HEADER_SV   0x00100000

Definition at line 74 of file ncn26010_driver.h.

◆ NCN26010_TX_HEADER_SWO

#define NCN26010_TX_HEADER_SWO   0x000F0000

Definition at line 75 of file ncn26010_driver.h.

◆ NCN26010_TX_HEADER_TSC

#define NCN26010_TX_HEADER_TSC   0x000000C0

Definition at line 78 of file ncn26010_driver.h.

◆ NCN26010_TX_HEADER_VS

#define NCN26010_TX_HEADER_VS   0x00C00000

Definition at line 72 of file ncn26010_driver.h.

Function Documentation

◆ ncn26010CalcParity()

uint32_t ncn26010CalcParity ( uint32_t  data)

Calculate parity bit over a 32-bit data.

Parameters
[in]data32-bit bit stream
Returns
Odd parity bit computed over the supplied data

Definition at line 872 of file ncn26010_driver.c.

◆ ncn26010DisableIrq()

void ncn26010DisableIrq ( NetInterface interface)

Disable interrupts.

Parameters
[in]interfaceUnderlying network interface

Definition at line 281 of file ncn26010_driver.c.

◆ ncn26010DumpReg()

void ncn26010DumpReg ( NetInterface interface,
uint8_t  mms,
uint16_t  address,
uint_t  num 
)

Dump registers for debugging purpose.

Parameters
[in]interfaceUnderlying network interface
[in]mmsRegister memory map to access
[in]addressStart address
[in]numNumber of registers to dump

Definition at line 848 of file ncn26010_driver.c.

◆ ncn26010EnableIrq()

void ncn26010EnableIrq ( NetInterface interface)

Enable interrupts.

Parameters
[in]interfaceUnderlying network interface

Definition at line 266 of file ncn26010_driver.c.

◆ ncn26010EventHandler()

void ncn26010EventHandler ( NetInterface interface)

NCN26010 event handler.

Parameters
[in]interfaceUnderlying network interface

Definition at line 313 of file ncn26010_driver.c.

◆ ncn26010Init()

error_t ncn26010Init ( NetInterface interface)

NCN26010 controller initialization.

Parameters
[in]interfaceUnderlying network interface
Returns
Error code

Definition at line 71 of file ncn26010_driver.c.

◆ ncn26010InitHook()

void ncn26010InitHook ( NetInterface interface)

NCN26010 custom configuration.

Parameters
[in]interfaceUnderlying network interface

Definition at line 200 of file ncn26010_driver.c.

◆ ncn26010IrqHandler()

bool_t ncn26010IrqHandler ( NetInterface interface)

NCN26010 interrupt service routine.

Parameters
[in]interfaceUnderlying network interface
Returns
TRUE if a higher priority task must be woken. Else FALSE is returned

Definition at line 297 of file ncn26010_driver.c.

◆ ncn26010ReadReg()

uint32_t ncn26010ReadReg ( NetInterface interface,
uint8_t  mms,
uint16_t  address 
)

Read register.

Parameters
[in]interfaceUnderlying network interface
[in]mmsRegister memory map to access
[in]addressRegister address
Returns
Register value

Definition at line 790 of file ncn26010_driver.c.

◆ ncn26010ReceivePacket()

error_t ncn26010ReceivePacket ( NetInterface interface)

Receive a packet.

Parameters
[in]interfaceUnderlying network interface
Returns
Error code

Definition at line 461 of file ncn26010_driver.c.

◆ ncn26010SendPacket()

error_t ncn26010SendPacket ( NetInterface interface,
const NetBuffer buffer,
size_t  offset,
NetTxAncillary ancillary 
)

Send a packet.

Parameters
[in]interfaceUnderlying network interface
[in]bufferMulti-part buffer containing the data to send
[in]offsetOffset to the first data byte
[in]ancillaryAdditional options passed to the stack along with the packet
Returns
Error code

Definition at line 342 of file ncn26010_driver.c.

◆ ncn26010Tick()

void ncn26010Tick ( NetInterface interface)

NCN26010 timer handler.

Parameters
[in]interfaceUnderlying network interface

Definition at line 226 of file ncn26010_driver.c.

◆ ncn26010UpdateMacAddrFilter()

error_t ncn26010UpdateMacAddrFilter ( NetInterface interface)

Configure MAC address filtering.

Parameters
[in]interfaceUnderlying network interface
Returns
Error code

Definition at line 589 of file ncn26010_driver.c.

◆ ncn26010WriteReg()

void ncn26010WriteReg ( NetInterface interface,
uint8_t  mms,
uint16_t  address,
uint32_t  data 
)

Write register.

Parameters
[in]interfaceUnderlying network interface
[in]mmsRegister memory map to access
[in]addressRegister address
[in]dataRegister value

Definition at line 736 of file ncn26010_driver.c.

Variable Documentation

◆ ncn26010Driver

const NicDriver ncn26010Driver
extern

NCN26010 driver.

Definition at line 44 of file ncn26010_driver.c.