w6100_driver.h File Reference

WIZnet W6100 Ethernet controller. More...

#include "core/nic.h"

Go to the source code of this file.

Macros

#define W6100_ETH_TX_BUFFER_SIZE   1536
 
#define W6100_ETH_RX_BUFFER_SIZE   1536
 
#define W6100_CTRL_BSB   0xF8
 
#define W6100_CTRL_BSB_COMMON_REG   0x00
 
#define W6100_CTRL_BSB_S0_REG   0x08
 
#define W6100_CTRL_BSB_S0_TX_BUFFER   0x10
 
#define W6100_CTRL_BSB_S0_RX_BUFFER   0x18
 
#define W6100_CTRL_BSB_S1_REG   0x28
 
#define W6100_CTRL_BSB_S1_TX_BUFFER   0x30
 
#define W6100_CTRL_BSB_S1_RX_BUFFER   0x38
 
#define W6100_CTRL_BSB_S2_REG   0x48
 
#define W6100_CTRL_BSB_S2_TX_BUFFER   0x50
 
#define W6100_CTRL_BSB_S2_RX_BUFFER   0x58
 
#define W6100_CTRL_BSB_S3_REG   0x68
 
#define W6100_CTRL_BSB_S3_TX_BUFFER   0x70
 
#define W6100_CTRL_BSB_S3_RX_BUFFER   0x78
 
#define W6100_CTRL_BSB_S4_REG   0x88
 
#define W6100_CTRL_BSB_S4_TX_BUFFER   0x90
 
#define W6100_CTRL_BSB_S4_RX_BUFFER   0x98
 
#define W6100_CTRL_BSB_S5_REG   0xA8
 
#define W6100_CTRL_BSB_S5_TX_BUFFER   0xB0
 
#define W6100_CTRL_BSB_S5_RX_BUFFER   0xB8
 
#define W6100_CTRL_BSB_S6_REG   0xC8
 
#define W6100_CTRL_BSB_S6_TX_BUFFER   0xD0
 
#define W6100_CTRL_BSB_S6_RX_BUFFER   0xD8
 
#define W6100_CTRL_BSB_S7_REG   0xE8
 
#define W6100_CTRL_BSB_S7_TX_BUFFER   0xF0
 
#define W6100_CTRL_BSB_S7_RX_BUFFER   0xF8
 
#define W6100_CTRL_RWB   0x04
 
#define W6100_CTRL_RWB_READ   0x00
 
#define W6100_CTRL_RWB_WRITE   0x04
 
#define W6100_CTRL_OM   0x03
 
#define W6100_CTRL_OM_VDM   0x00
 
#define W6100_CTRL_OM_FDM1   0x01
 
#define W6100_CTRL_OM_FDM2   0x02
 
#define W6100_CTRL_OM_FDM4   0x03
 
#define W6100_CIDR0   0x0000
 
#define W6100_CIDR1   0x0001
 
#define W6100_VER0   0x0002
 
#define W6100_VER1   0x0003
 
#define W6100_SYSR   0x2000
 
#define W6100_SYCR0   0x2004
 
#define W6100_SYCR1   0x2005
 
#define W6100_TCNTR0   0x2016
 
#define W6100_TCNTR1   0x2017
 
#define W6100_TCNTCLR   0x2020
 
#define W6100_IR   0x2100
 
#define W6100_SIR   0x2101
 
#define W6100_SLIR   0x2102
 
#define W6100_IMR   0x2104
 
#define W6100_IRCLR   0x2108
 
#define W6100_SIMR   0x2114
 
#define W6100_SLIMR   0x2124
 
#define W6100_SLIRCLR   0x2128
 
#define W6100_SLPSR   0x212C
 
#define W6100_SLCR   0x2130
 
#define W6100_PHYSR   0x3000
 
#define W6100_PHYRAR   0x3008
 
#define W6100_PHYDIR0   0x300C
 
#define W6100_PHYDIR1   0x300D
 
#define W6100_PHYDOR0   0x3010
 
#define W6100_PHYDOR1   0x3011
 
#define W6100_PHYACR   0x3014
 
#define W6100_PHYDIVR   0x3018
 
#define W6100_PHYCR0   0x301C
 
#define W6100_PHYCR1   0x301D
 
#define W6100_NET4MR   0x4000
 
#define W6100_NET6MR   0x4004
 
#define W6100_NETMR   0x4008
 
#define W6100_NETMR2   0x4009
 
#define W6100_PTMR   0x4100
 
#define W6100_PMNR   0x4104
 
#define W6100_PHAR0   0x4108
 
#define W6100_PHAR1   0x4109
 
#define W6100_PHAR2   0x410A
 
#define W6100_PHAR3   0x410B
 
#define W6100_PHAR4   0x410C
 
#define W6100_PHAR5   0x410D
 
#define W6100_PSIDR0   0x4110
 
#define W6100_PSIDR1   0x4111
 
#define W6100_PMRUR0   0x4114
 
#define W6100_PMRUR1   0x4115
 
#define W6100_SHAR0   0x4120
 
#define W6100_SHAR1   0x4121
 
#define W6100_SHAR2   0x4122
 
#define W6100_SHAR3   0x4123
 
#define W6100_SHAR4   0x4124
 
#define W6100_SHAR5   0x4125
 
#define W6100_GAR0   0x4130
 
#define W6100_GAR1   0x4131
 
#define W6100_GAR2   0x4132
 
#define W6100_GAR3   0x4133
 
#define W6100_SUBR0   0x4134
 
#define W6100_SUBR1   0x4135
 
#define W6100_SUBR2   0x4136
 
#define W6100_SUBR3   0x4137
 
#define W6100_SIPR0   0x4138
 
#define W6100_SIPR1   0x4139
 
#define W6100_SIPR2   0x413A
 
#define W6100_SIPR3   0x413B
 
#define W6100_LLAR0   0x4140
 
#define W6100_LLAR1   0x4141
 
#define W6100_LLAR2   0x4142
 
#define W6100_LLAR3   0x4143
 
#define W6100_LLAR4   0x4144
 
#define W6100_LLAR5   0x4145
 
#define W6100_LLAR6   0x4146
 
#define W6100_LLAR7   0x4147
 
#define W6100_LLAR8   0x4148
 
#define W6100_LLAR9   0x4149
 
#define W6100_LLAR10   0x414A
 
#define W6100_LLAR11   0x414B
 
#define W6100_LLAR12   0x414C
 
#define W6100_LLAR13   0x414D
 
#define W6100_LLAR14   0x414E
 
#define W6100_LLAR15   0x414F
 
#define W6100_GUAR0   0x4150
 
#define W6100_GUAR1   0x4151
 
#define W6100_GUAR2   0x4152
 
#define W6100_GUAR3   0x4153
 
#define W6100_GUAR4   0x4154
 
#define W6100_GUAR5   0x4155
 
#define W6100_GUAR6   0x4156
 
#define W6100_GUAR7   0x4157
 
#define W6100_GUAR8   0x4158
 
#define W6100_GUAR9   0x4159
 
#define W6100_GUAR10   0x415A
 
#define W6100_GUAR11   0x415B
 
#define W6100_GUAR12   0x415C
 
#define W6100_GUAR13   0x415D
 
#define W6100_GUAR14   0x415E
 
#define W6100_GUAR15   0x415F
 
#define W6100_SUB6R0   0x4160
 
#define W6100_SUB6R1   0x4161
 
#define W6100_SUB6R2   0x4162
 
#define W6100_SUB6R3   0x4163
 
#define W6100_SUB6R4   0x4164
 
#define W6100_SUB6R5   0x4165
 
#define W6100_SUB6R6   0x4166
 
#define W6100_SUB6R7   0x4167
 
#define W6100_SUB6R8   0x4168
 
#define W6100_SUB6R9   0x4169
 
#define W6100_SUB6R10   0x416A
 
#define W6100_SUB6R11   0x416B
 
#define W6100_SUB6R12   0x416C
 
#define W6100_SUB6R13   0x416D
 
#define W6100_SUB6R14   0x416E
 
#define W6100_SUB6R15   0x416F
 
#define W6100_GA6R0   0x4170
 
#define W6100_GA6R1   0x4171
 
#define W6100_GA6R2   0x4172
 
#define W6100_GA6R3   0x4173
 
#define W6100_GA6R4   0x4174
 
#define W6100_GA6R5   0x4175
 
#define W6100_GA6R6   0x4176
 
#define W6100_GA6R7   0x4177
 
#define W6100_GA6R8   0x4178
 
#define W6100_GA6R9   0x4179
 
#define W6100_GA6R10   0x417A
 
#define W6100_GA6R11   0x417B
 
#define W6100_GA6R12   0x417C
 
#define W6100_GA6R13   0x417D
 
#define W6100_GA6R14   0x417E
 
#define W6100_GA6R15   0x417F
 
#define W6100_SLDIP6R0   0x4180
 
#define W6100_SLDIP6R1   0x4181
 
#define W6100_SLDIP6R2   0x4182
 
#define W6100_SLDIP6R3   0x4183
 
#define W6100_SLDIP6R4   0x4184
 
#define W6100_SLDIP6R5   0x4185
 
#define W6100_SLDIP6R6   0x4186
 
#define W6100_SLDIP6R7   0x4187
 
#define W6100_SLDIP6R8   0x4188
 
#define W6100_SLDIP6R9   0x4189
 
#define W6100_SLDIP6R10   0x418A
 
#define W6100_SLDIP6R11   0x418B
 
#define W6100_SLDIP6R12   0x418C
 
#define W6100_SLDIP6R13   0x418D
 
#define W6100_SLDIP6R14   0x418E
 
#define W6100_SLDIP6R15   0x418F
 
#define W6100_SLDHAR0   0x4190
 
#define W6100_SLDHAR1   0x4191
 
#define W6100_SLDHAR2   0x4192
 
#define W6100_SLDHAR3   0x4193
 
#define W6100_SLDHAR4   0x4194
 
#define W6100_SLDHAR5   0x4195
 
#define W6100_PINGIDR0   0x4198
 
#define W6100_PINGIDR1   0x4199
 
#define W6100_PINGSEQR0   0x419C
 
#define W6100_PINGSEQR1   0x419D
 
#define W6100_UIPR0   0x41A0
 
#define W6100_UIPR1   0x41A1
 
#define W6100_UIPR2   0x41A2
 
#define W6100_UIPR3   0x41A3
 
#define W6100_UPORTR0   0x41A4
 
#define W6100_UPORTR1   0x41A5
 
#define W6100_UIP6R0   0x41B0
 
#define W6100_UIP6R1   0x41B1
 
#define W6100_UIP6R2   0x41B2
 
#define W6100_UIP6R3   0x41B3
 
#define W6100_UIP6R4   0x41B4
 
#define W6100_UIP6R5   0x41B5
 
#define W6100_UIP6R6   0x41B6
 
#define W6100_UIP6R7   0x41B7
 
#define W6100_UIP6R8   0x41B8
 
#define W6100_UIP6R9   0x41B9
 
#define W6100_UIP6R10   0x41BA
 
#define W6100_UIP6R11   0x41BB
 
#define W6100_UIP6R12   0x41BC
 
#define W6100_UIP6R13   0x41BD
 
#define W6100_UIP6R14   0x41BE
 
#define W6100_UIP6R15   0x41BF
 
#define W6100_UPORT6R0   0x41C0
 
#define W6100_UPORT6R1   0x41C1
 
#define W6100_INTPTMR0   0x41C5
 
#define W6100_INTPTMR1   0x41C6
 
#define W6100_PLR   0x41D0
 
#define W6100_PFR   0x41D4
 
#define W6100_VLTR0   0x41D8
 
#define W6100_VLTR1   0x41D9
 
#define W6100_VLTR2   0x41DA
 
#define W6100_VLTR3   0x41DB
 
#define W6100_PLTR0   0x41DC
 
#define W6100_PLTR1   0x41DD
 
#define W6100_PLTR2   0x41DE
 
#define W6100_PLTR3   0x41DF
 
#define W6100_PAR0   0x41E0
 
#define W6100_PAR1   0x41E1
 
#define W6100_PAR2   0x41E2
 
#define W6100_PAR3   0x41E3
 
#define W6100_PAR4   0x41E4
 
#define W6100_PAR5   0x41E5
 
#define W6100_PAR6   0x41E6
 
#define W6100_PAR7   0x41E7
 
#define W6100_PAR8   0x41E8
 
#define W6100_PAR9   0x41E9
 
#define W6100_PAR10   0x41EA
 
#define W6100_PAR11   0x41EB
 
#define W6100_PAR12   0x41EC
 
#define W6100_PAR13   0x41ED
 
#define W6100_PAR14   0x41EE
 
#define W6100_PAR15   0x41EF
 
#define W6100_ICMP6BLKR   0x41F0
 
#define W6100_CHPLCKR   0x41F4
 
#define W6100_NETLCKR   0x41F5
 
#define W6100_PHYLCKR   0x41F6
 
#define W6100_RTR0   0x4200
 
#define W6100_RTR1   0x4201
 
#define W6100_RCR   0x4204
 
#define W6100_SLRTR0   0x4208
 
#define W6100_SLRTR1   0x4209
 
#define W6100_SLRCR   0x420C
 
#define W6100_SLHOPR   0x420F
 
#define W6100_Sn_MR   0x0000
 
#define W6100_Sn_PSR   0x0004
 
#define W6100_Sn_CR   0x0010
 
#define W6100_Sn_IR   0x0020
 
#define W6100_Sn_IMR   0x0024
 
#define W6100_Sn_IRCLR   0x0028
 
#define W6100_Sn_SR   0x0030
 
#define W6100_Sn_ESR   0x0031
 
#define W6100_Sn_PNR   0x0100
 
#define W6100_Sn_TOSR   0x0104
 
#define W6100_Sn_TTLR   0x0108
 
#define W6100_Sn_FRGR0   0x010C
 
#define W6100_Sn_FRGR1   0x010D
 
#define W6100_Sn_MSSR0   0x0110
 
#define W6100_Sn_MSSR1   0x0111
 
#define W6100_Sn_PORTR0   0x0114
 
#define W6100_Sn_PORTR1   0x0115
 
#define W6100_Sn_DHAR0   0x0118
 
#define W6100_Sn_DHAR1   0x0119
 
#define W6100_Sn_DHAR2   0x011A
 
#define W6100_Sn_DHAR3   0x011B
 
#define W6100_Sn_DHAR4   0x011C
 
#define W6100_Sn_DHAR5   0x011D
 
#define W6100_Sn_DIPR0   0x0120
 
#define W6100_Sn_DIPR1   0x0121
 
#define W6100_Sn_DIPR2   0x0122
 
#define W6100_Sn_DIPR3   0x0123
 
#define W6100_Sn_DIP6R0   0x0130
 
#define W6100_Sn_DIP6R1   0x0131
 
#define W6100_Sn_DIP6R2   0x0132
 
#define W6100_Sn_DIP6R3   0x0133
 
#define W6100_Sn_DIP6R4   0x0134
 
#define W6100_Sn_DIP6R5   0x0135
 
#define W6100_Sn_DIP6R6   0x0136
 
#define W6100_Sn_DIP6R7   0x0137
 
#define W6100_Sn_DIP6R8   0x0138
 
#define W6100_Sn_DIP6R9   0x0139
 
#define W6100_Sn_DIP6R10   0x013A
 
#define W6100_Sn_DIP6R11   0x013B
 
#define W6100_Sn_DIP6R12   0x013C
 
#define W6100_Sn_DIP6R13   0x013D
 
#define W6100_Sn_DIP6R14   0x013E
 
#define W6100_Sn_DIP6R15   0x013F
 
#define W6100_Sn_DPORTR0   0x0140
 
#define W6100_Sn_DPORTR1   0x0141
 
#define W6100_Sn_MR2   0x0144
 
#define W6100_Sn_RTR0   0x0180
 
#define W6100_Sn_RTR1   0x0181
 
#define W6100_Sn_RCR   0x0184
 
#define W6100_Sn_KPALVTR   0x0188
 
#define W6100_Sn_TX_BSR   0x0200
 
#define W6100_Sn_TX_FSR0   0x0204
 
#define W6100_Sn_TX_FSR1   0x0205
 
#define W6100_Sn_TX_RD0   0x0208
 
#define W6100_Sn_TX_RD1   0x0209
 
#define W6100_Sn_TX_WR0   0x020C
 
#define W6100_Sn_TX_WR1   0x020D
 
#define W6100_Sn_RX_BSR   0x0220
 
#define W6100_Sn_RX_RSR0   0x0224
 
#define W6100_Sn_RX_RSR1   0x0225
 
#define W6100_Sn_RX_RD0   0x0228
 
#define W6100_Sn_RX_RD1   0x0229
 
#define W6100_Sn_RX_WR0   0x022C
 
#define W6100_Sn_RX_WR1   0x022D
 
#define W6100_CIDR0_DEFAULT   0x61
 
#define W6100_CIDR1_DEFAULT   0x00
 
#define W6100_VER0_DEFAULT   0x46
 
#define W6100_VER1_DEFAULT   0x61
 
#define W6100_SYSR_CHPL   0x80
 
#define W6100_SYSR_NETL   0x40
 
#define W6100_SYSR_PHYL   0x20
 
#define W6100_SYSR_IND   0x02
 
#define W6100_SYSR_SPI   0x01
 
#define W6100_SYCR0_RST   0x80
 
#define W6100_SYCR1_IEN   0x80
 
#define W6100_SYCR1_CLKSEL   0x01
 
#define W6100_IR_WOL   0x80
 
#define W6100_IR_UNR6   0x10
 
#define W6100_IR_IPCONF   0x04
 
#define W6100_IR_UNR4   0x02
 
#define W6100_IR_PTERM   0x01
 
#define W6100_SIR_S7_INT   0x80
 
#define W6100_SIR_S6_INT   0x40
 
#define W6100_SIR_S5_INT   0x20
 
#define W6100_SIR_S4_INT   0x10
 
#define W6100_SIR_S3_INT   0x08
 
#define W6100_SIR_S2_INT   0x04
 
#define W6100_SIR_S1_INT   0x02
 
#define W6100_SIR_S0_INT   0x01
 
#define W6100_SLIR_TOUT   0x80
 
#define W6100_SLIR_ARP4   0x40
 
#define W6100_SLIR_PING4   0x20
 
#define W6100_SLIR_ARP6   0x10
 
#define W6100_SLIR_PING6   0x08
 
#define W6100_SLIR_NS   0x04
 
#define W6100_SLIR_RS   0x02
 
#define W6100_SLIR_RA   0x01
 
#define W6100_IMR_WOL   0x80
 
#define W6100_IMR_UNR6   0x10
 
#define W6100_IMR_IPCONF   0x04
 
#define W6100_IMR_UNR4   0x02
 
#define W6100_IMR_PTERM   0x01
 
#define W6100_IRCLR_WOL   0x80
 
#define W6100_IRCLR_UNR6   0x10
 
#define W6100_IRCLR_IPCONF   0x04
 
#define W6100_IRCLR_UNR4   0x02
 
#define W6100_IRCLR_PTERM   0x01
 
#define W6100_SIMR_S7_INT   0x80
 
#define W6100_SIMR_S6_INT   0x40
 
#define W6100_SIMR_S5_INT   0x20
 
#define W6100_SIMR_S4_INT   0x10
 
#define W6100_SIMR_S3_INT   0x08
 
#define W6100_SIMR_S2_INT   0x04
 
#define W6100_SIMR_S1_INT   0x02
 
#define W6100_SIMR_S0_INT   0x01
 
#define W6100_SLIMR_TOUT   0x80
 
#define W6100_SLIMR_ARP4   0x40
 
#define W6100_SLIMR_PING4   0x20
 
#define W6100_SLIMR_ARP6   0x10
 
#define W6100_SLIMR_PING6   0x08
 
#define W6100_SLIMR_NS   0x04
 
#define W6100_SLIMR_RS   0x02
 
#define W6100_SLIMR_RA   0x01
 
#define W6100_SLIRCLR_TOUT   0x80
 
#define W6100_SLIRCLR_ARP4   0x40
 
#define W6100_SLIRCLR_PING4   0x20
 
#define W6100_SLIRCLR_ARP6   0x10
 
#define W6100_SLIRCLR_PING6   0x08
 
#define W6100_SLIRCLR_NS   0x04
 
#define W6100_SLIRCLR_RS   0x02
 
#define W6100_SLIRCLR_RA   0x01
 
#define W6100_SLPSR_AUTO   0x00
 
#define W6100_SLPSR_LLA   0x02
 
#define W6100_SLPSR_GUA   0x03
 
#define W6100_SLCR_ARP4   0x40
 
#define W6100_SLCR_PING4   0x20
 
#define W6100_SLCR_ARP6   0x10
 
#define W6100_SLCR_PING6   0x08
 
#define W6100_SLCR_NS   0x04
 
#define W6100_SLCR_RS   0x02
 
#define W6100_SLCR_NA   0x01
 
#define W6100_PHYSR_CAB   0x80
 
#define W6100_PHYSR_MODE   0x38
 
#define W6100_PHYSR_MODE_AN   0x00
 
#define W6100_PHYSR_MODE_100BTX_FD   0x20
 
#define W6100_PHYSR_MODE_100BTX_HD   0x28
 
#define W6100_PHYSR_MODE_10BT_FD   0x30
 
#define W6100_PHYSR_MODE_10BT_HD   0x38
 
#define W6100_PHYSR_DPX   0x04
 
#define W6100_PHYSR_SPD   0x02
 
#define W6100_PHYSR_LNK   0x01
 
#define W6100_PHYRAR_ADDR   0x1F
 
#define W6100_PHYDIVR_DIV32   0x00
 
#define W6100_PHYDIVR_DIV64   0x01
 
#define W6100_PHYDIVR_DIV128   0x02
 
#define W6100_PHYCR0_MODE   0x07
 
#define W6100_PHYCR0_MODE_AN   0x00
 
#define W6100_PHYCR0_MODE_100BTX_FD   0x04
 
#define W6100_PHYCR0_MODE_100BTX_HD   0x05
 
#define W6100_PHYCR0_MODE_10BT_FD   0x06
 
#define W6100_PHYCR0_MODE_10BT_HD   0x07
 
#define W6100_PHYCR1_PWDN   0x20
 
#define W6100_PHYCR1_TE   0x08
 
#define W6100_PHYCR1_RST   0x01
 
#define W6100_NET4MR_UNRB   0x08
 
#define W6100_NET4MR_PARP   0x04
 
#define W6100_NET4MR_RSTB   0x02
 
#define W6100_NET4MR_PB   0x01
 
#define W6100_NET6MR_UNRB   0x08
 
#define W6100_NET6MR_PARP   0x04
 
#define W6100_NET6MR_RSTB   0x02
 
#define W6100_NET6MR_PB   0x01
 
#define W6100_NETMR_ANB   0x20
 
#define W6100_NETMR_M6B   0x10
 
#define W6100_NETMR_WOL   0x04
 
#define W6100_NETMR_IP6B   0x02
 
#define W6100_NETMR_IP4B   0x01
 
#define W6100_NETMR2_DHAS   0x80
 
#define W6100_NETMR2_PPPOE   0x01
 
#define W6100_ICMP6BLKR_PING6   0x10
 
#define W6100_ICMP6BLKR_MLD   0x08
 
#define W6100_ICMP6BLKR_RA   0x04
 
#define W6100_ICMP6BLKR_NA   0x02
 
#define W6100_ICMP6BLKR_NS   0x01
 
#define W6100_CHPLCKR_LOCK   0x00
 
#define W6100_CHPLCKR_UNLOCK   0xCE
 
#define W6100_NETLCKR_UNLOCK   0x3A
 
#define W6100_NETLCKR_LOCK   0xC5
 
#define W6100_PHYLCKR_LOCK   0x00
 
#define W6100_PHYLCKR_UNLOCK   0x53
 
#define W6100_Sn_MR_MULTI   0x80
 
#define W6100_Sn_MR_MF   0x80
 
#define W6100_Sn_MR_BRDB   0x40
 
#define W6100_Sn_MR_FPSH   0x40
 
#define W6100_Sn_MR_ND   0x20
 
#define W6100_Sn_MR_MC   0x20
 
#define W6100_Sn_MR_SMB   0x20
 
#define W6100_Sn_MR_MMB   0x20
 
#define W6100_Sn_MR_UNIB   0x10
 
#define W6100_Sn_MR_MMB6   0x10
 
#define W6100_Sn_MR_PROTOCOL   0x0F
 
#define W6100_Sn_MR_PROTOCOL_CLOSED   0x00
 
#define W6100_Sn_MR_PROTOCOL_TCP4   0x01
 
#define W6100_Sn_MR_PROTOCOL_UDP4   0x02
 
#define W6100_Sn_MR_PROTOCOL_IPRAW4   0x03
 
#define W6100_Sn_MR_PROTOCOL_MACRAW   0x07
 
#define W6100_Sn_MR_PROTOCOL_TCP6   0x09
 
#define W6100_Sn_MR_PROTOCOL_UDP6   0x0A
 
#define W6100_Sn_MR_PROTOCOL_IPRAW6   0x0B
 
#define W6100_Sn_MR_PROTOCOL_TCPD   0x0D
 
#define W6100_Sn_MR_PROTOCOL_UDPD   0x0F
 
#define W6100_Sn_PSR_AUTO   0x00
 
#define W6100_Sn_PSR_LLA   0x02
 
#define W6100_Sn_PSR_GUA   0x03
 
#define W6100_Sn_CR_OPEN   0x01
 
#define W6100_Sn_CR_LISTEN   0x02
 
#define W6100_Sn_CR_CONNECT   0x04
 
#define W6100_Sn_CR_DISCON   0x08
 
#define W6100_Sn_CR_CLOSE   0x10
 
#define W6100_Sn_CR_SEND   0x20
 
#define W6100_Sn_CR_SEND_KEEP   0x22
 
#define W6100_Sn_CR_RECV   0x40
 
#define W6100_Sn_CR_CONNECT6   0x84
 
#define W6100_Sn_CR_SEND6   0xA6
 
#define W6100_Sn_IR_SENDOK   0x10
 
#define W6100_Sn_IR_TIMEOUT   0x08
 
#define W6100_Sn_IR_RECV   0x04
 
#define W6100_Sn_IR_DISCON   0x02
 
#define W6100_Sn_IR_CON   0x01
 
#define W6100_Sn_IMR_SENDOK   0x10
 
#define W6100_Sn_IMR_TIMEOUT   0x08
 
#define W6100_Sn_IMR_RECV   0x04
 
#define W6100_Sn_IMR_DISCON   0x02
 
#define W6100_Sn_IMR_CON   0x01
 
#define W6100_Sn_IRCLR_SENDOK   0x10
 
#define W6100_Sn_IRCLR_TIMEOUT   0x08
 
#define W6100_Sn_IRCLR_RECV   0x04
 
#define W6100_Sn_IRCLR_DISCON   0x02
 
#define W6100_Sn_IRCLR_CON   0x01
 
#define W6100_Sn_SR_SOCK_CLOSED   0x00
 
#define W6100_Sn_SR_SOCK_INIT   0x13
 
#define W6100_Sn_SR_SOCK_LISTEN   0x14
 
#define W6100_Sn_SR_SOCK_SYNSENT   0x15
 
#define W6100_Sn_SR_SOCK_SYNRECV   0x16
 
#define W6100_Sn_SR_SOCK_ESTABLISHED   0x17
 
#define W6100_Sn_SR_SOCK_FIN_WAIT   0x18
 
#define W6100_Sn_SR_SOCK_TIME_WAIT   0x1B
 
#define W6100_Sn_SR_SOCK_CLOSE_WAIT   0x1C
 
#define W6100_Sn_SR_SOCK_LAST_ACK   0x1D
 
#define W6100_Sn_SR_SOCK_UDP   0x22
 
#define W6100_Sn_SR_SOCK_IPRAW   0x32
 
#define W6100_Sn_SR_SOCK_IPRAW6   0x33
 
#define W6100_Sn_SR_SOCK_MACRAW   0x42
 
#define W6100_Sn_ESR_TCPM   0x04
 
#define W6100_Sn_ESR_TCPM_TCP4   0x00
 
#define W6100_Sn_ESR_TCPM_TCP6   0x04
 
#define W6100_Sn_ESR_TCPOP   0x02
 
#define W6100_Sn_ESR_TCPOP_CLIENT   0x00
 
#define W6100_Sn_ESR_TCPOP_SERVER   0x02
 
#define W6100_Sn_ESR_IP6T   0x01
 
#define W6100_Sn_ESR_IP6T_LLA   0x00
 
#define W6100_Sn_ESR_IP6T_GUA   0x01
 
#define W6100_Sn_MR2_DHAM   0x02
 
#define W6100_Sn_MR2_FARP   0x01
 
#define W6100_Sn_TX_BSR_0KB   0x00
 
#define W6100_Sn_TX_BSR_1KB   0x01
 
#define W6100_Sn_TX_BSR_2KB   0x02
 
#define W6100_Sn_TX_BSR_4KB   0x04
 
#define W6100_Sn_TX_BSR_8KB   0x08
 
#define W6100_Sn_TX_BSR_16KB   0x10
 
#define W6100_Sn_RX_BSR_0KB   0x00
 
#define W6100_Sn_RX_BSR_1KB   0x01
 
#define W6100_Sn_RX_BSR_2KB   0x02
 
#define W6100_Sn_RX_BSR_4KB   0x04
 
#define W6100_Sn_RX_BSR_8KB   0x08
 
#define W6100_Sn_RX_BSR_16KB   0x10
 
#define W6100_CTRL_BSB_Sn_REG(n)   (0x08 + (n) * 0x20)
 
#define W6100_CTRL_BSB_Sn_TX_BUFFER(n)   (0x10 + (n) * 0x20)
 
#define W6100_CTRL_BSB_Sn_RX_BUFFER(n)   (0x18 + (n) * 0x20)
 

Functions

error_t w6100Init (NetInterface *interface)
 W6100 controller initialization. More...
 
void w6100InitHook (NetInterface *interface)
 W6100 custom configuration. More...
 
void w6100Tick (NetInterface *interface)
 W6100 timer handler. More...
 
void w6100EnableIrq (NetInterface *interface)
 Enable interrupts. More...
 
void w6100DisableIrq (NetInterface *interface)
 Disable interrupts. More...
 
bool_t w6100IrqHandler (NetInterface *interface)
 W6100 interrupt service routine. More...
 
void w6100EventHandler (NetInterface *interface)
 W6100 event handler. More...
 
error_t w6100SendPacket (NetInterface *interface, const NetBuffer *buffer, size_t offset, NetTxAncillary *ancillary)
 Send a packet. More...
 
error_t w6100ReceivePacket (NetInterface *interface)
 Receive a packet. More...
 
error_t w6100UpdateMacAddrFilter (NetInterface *interface)
 Configure MAC address filtering. More...
 
void w6100WriteReg8 (NetInterface *interface, uint8_t control, uint16_t address, uint8_t data)
 Write 8-bit register. More...
 
uint8_t w6100ReadReg8 (NetInterface *interface, uint8_t control, uint16_t address)
 Read 8-bit register. More...
 
void w6100WriteReg16 (NetInterface *interface, uint8_t control, uint16_t address, uint16_t data)
 Write 16-bit register. More...
 
uint16_t w6100ReadReg16 (NetInterface *interface, uint8_t control, uint16_t address)
 Read 16-bit register. More...
 
void w6100WriteBuffer (NetInterface *interface, uint8_t control, uint16_t address, const uint8_t *data, size_t length)
 Write TX buffer. More...
 
void w6100ReadBuffer (NetInterface *interface, uint8_t control, uint16_t address, uint8_t *data, size_t length)
 Read RX buffer. More...
 
void w6100DumpReg (NetInterface *interface)
 Dump registers for debugging purpose. More...
 

Variables

const NicDriver w6100Driver
 W6100 driver. More...
 

Detailed Description

WIZnet W6100 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 w6100_driver.h.

Macro Definition Documentation

◆ W6100_CHPLCKR

#define W6100_CHPLCKR   0x41F4

Definition at line 295 of file w6100_driver.h.

◆ W6100_CHPLCKR_LOCK

#define W6100_CHPLCKR_LOCK   0x00

Definition at line 547 of file w6100_driver.h.

◆ W6100_CHPLCKR_UNLOCK

#define W6100_CHPLCKR_UNLOCK   0xCE

Definition at line 548 of file w6100_driver.h.

◆ W6100_CIDR0

#define W6100_CIDR0   0x0000

Definition at line 88 of file w6100_driver.h.

◆ W6100_CIDR0_DEFAULT

#define W6100_CIDR0_DEFAULT   0x61

Definition at line 373 of file w6100_driver.h.

◆ W6100_CIDR1

#define W6100_CIDR1   0x0001

Definition at line 89 of file w6100_driver.h.

◆ W6100_CIDR1_DEFAULT

#define W6100_CIDR1_DEFAULT   0x00

Definition at line 376 of file w6100_driver.h.

◆ W6100_CTRL_BSB

#define W6100_CTRL_BSB   0xF8

Definition at line 52 of file w6100_driver.h.

◆ W6100_CTRL_BSB_COMMON_REG

#define W6100_CTRL_BSB_COMMON_REG   0x00

Definition at line 53 of file w6100_driver.h.

◆ W6100_CTRL_BSB_S0_REG

#define W6100_CTRL_BSB_S0_REG   0x08

Definition at line 54 of file w6100_driver.h.

◆ W6100_CTRL_BSB_S0_RX_BUFFER

#define W6100_CTRL_BSB_S0_RX_BUFFER   0x18

Definition at line 56 of file w6100_driver.h.

◆ W6100_CTRL_BSB_S0_TX_BUFFER

#define W6100_CTRL_BSB_S0_TX_BUFFER   0x10

Definition at line 55 of file w6100_driver.h.

◆ W6100_CTRL_BSB_S1_REG

#define W6100_CTRL_BSB_S1_REG   0x28

Definition at line 57 of file w6100_driver.h.

◆ W6100_CTRL_BSB_S1_RX_BUFFER

#define W6100_CTRL_BSB_S1_RX_BUFFER   0x38

Definition at line 59 of file w6100_driver.h.

◆ W6100_CTRL_BSB_S1_TX_BUFFER

#define W6100_CTRL_BSB_S1_TX_BUFFER   0x30

Definition at line 58 of file w6100_driver.h.

◆ W6100_CTRL_BSB_S2_REG

#define W6100_CTRL_BSB_S2_REG   0x48

Definition at line 60 of file w6100_driver.h.

◆ W6100_CTRL_BSB_S2_RX_BUFFER

#define W6100_CTRL_BSB_S2_RX_BUFFER   0x58

Definition at line 62 of file w6100_driver.h.

◆ W6100_CTRL_BSB_S2_TX_BUFFER

#define W6100_CTRL_BSB_S2_TX_BUFFER   0x50

Definition at line 61 of file w6100_driver.h.

◆ W6100_CTRL_BSB_S3_REG

#define W6100_CTRL_BSB_S3_REG   0x68

Definition at line 63 of file w6100_driver.h.

◆ W6100_CTRL_BSB_S3_RX_BUFFER

#define W6100_CTRL_BSB_S3_RX_BUFFER   0x78

Definition at line 65 of file w6100_driver.h.

◆ W6100_CTRL_BSB_S3_TX_BUFFER

#define W6100_CTRL_BSB_S3_TX_BUFFER   0x70

Definition at line 64 of file w6100_driver.h.

◆ W6100_CTRL_BSB_S4_REG

#define W6100_CTRL_BSB_S4_REG   0x88

Definition at line 66 of file w6100_driver.h.

◆ W6100_CTRL_BSB_S4_RX_BUFFER

#define W6100_CTRL_BSB_S4_RX_BUFFER   0x98

Definition at line 68 of file w6100_driver.h.

◆ W6100_CTRL_BSB_S4_TX_BUFFER

#define W6100_CTRL_BSB_S4_TX_BUFFER   0x90

Definition at line 67 of file w6100_driver.h.

◆ W6100_CTRL_BSB_S5_REG

#define W6100_CTRL_BSB_S5_REG   0xA8

Definition at line 69 of file w6100_driver.h.

◆ W6100_CTRL_BSB_S5_RX_BUFFER

#define W6100_CTRL_BSB_S5_RX_BUFFER   0xB8

Definition at line 71 of file w6100_driver.h.

◆ W6100_CTRL_BSB_S5_TX_BUFFER

#define W6100_CTRL_BSB_S5_TX_BUFFER   0xB0

Definition at line 70 of file w6100_driver.h.

◆ W6100_CTRL_BSB_S6_REG

#define W6100_CTRL_BSB_S6_REG   0xC8

Definition at line 72 of file w6100_driver.h.

◆ W6100_CTRL_BSB_S6_RX_BUFFER

#define W6100_CTRL_BSB_S6_RX_BUFFER   0xD8

Definition at line 74 of file w6100_driver.h.

◆ W6100_CTRL_BSB_S6_TX_BUFFER

#define W6100_CTRL_BSB_S6_TX_BUFFER   0xD0

Definition at line 73 of file w6100_driver.h.

◆ W6100_CTRL_BSB_S7_REG

#define W6100_CTRL_BSB_S7_REG   0xE8

Definition at line 75 of file w6100_driver.h.

◆ W6100_CTRL_BSB_S7_RX_BUFFER

#define W6100_CTRL_BSB_S7_RX_BUFFER   0xF8

Definition at line 77 of file w6100_driver.h.

◆ W6100_CTRL_BSB_S7_TX_BUFFER

#define W6100_CTRL_BSB_S7_TX_BUFFER   0xF0

Definition at line 76 of file w6100_driver.h.

◆ W6100_CTRL_BSB_Sn_REG

#define W6100_CTRL_BSB_Sn_REG (   n)    (0x08 + (n) * 0x20)

Definition at line 667 of file w6100_driver.h.

◆ W6100_CTRL_BSB_Sn_RX_BUFFER

#define W6100_CTRL_BSB_Sn_RX_BUFFER (   n)    (0x18 + (n) * 0x20)

Definition at line 669 of file w6100_driver.h.

◆ W6100_CTRL_BSB_Sn_TX_BUFFER

#define W6100_CTRL_BSB_Sn_TX_BUFFER (   n)    (0x10 + (n) * 0x20)

Definition at line 668 of file w6100_driver.h.

◆ W6100_CTRL_OM

#define W6100_CTRL_OM   0x03

Definition at line 81 of file w6100_driver.h.

◆ W6100_CTRL_OM_FDM1

#define W6100_CTRL_OM_FDM1   0x01

Definition at line 83 of file w6100_driver.h.

◆ W6100_CTRL_OM_FDM2

#define W6100_CTRL_OM_FDM2   0x02

Definition at line 84 of file w6100_driver.h.

◆ W6100_CTRL_OM_FDM4

#define W6100_CTRL_OM_FDM4   0x03

Definition at line 85 of file w6100_driver.h.

◆ W6100_CTRL_OM_VDM

#define W6100_CTRL_OM_VDM   0x00

Definition at line 82 of file w6100_driver.h.

◆ W6100_CTRL_RWB

#define W6100_CTRL_RWB   0x04

Definition at line 78 of file w6100_driver.h.

◆ W6100_CTRL_RWB_READ

#define W6100_CTRL_RWB_READ   0x00

Definition at line 79 of file w6100_driver.h.

◆ W6100_CTRL_RWB_WRITE

#define W6100_CTRL_RWB_WRITE   0x04

Definition at line 80 of file w6100_driver.h.

◆ W6100_ETH_RX_BUFFER_SIZE

#define W6100_ETH_RX_BUFFER_SIZE   1536

Definition at line 46 of file w6100_driver.h.

◆ W6100_ETH_TX_BUFFER_SIZE

#define W6100_ETH_TX_BUFFER_SIZE   1536

Definition at line 39 of file w6100_driver.h.

◆ W6100_GA6R0

#define W6100_GA6R0   0x4170

Definition at line 200 of file w6100_driver.h.

◆ W6100_GA6R1

#define W6100_GA6R1   0x4171

Definition at line 201 of file w6100_driver.h.

◆ W6100_GA6R10

#define W6100_GA6R10   0x417A

Definition at line 210 of file w6100_driver.h.

◆ W6100_GA6R11

#define W6100_GA6R11   0x417B

Definition at line 211 of file w6100_driver.h.

◆ W6100_GA6R12

#define W6100_GA6R12   0x417C

Definition at line 212 of file w6100_driver.h.

◆ W6100_GA6R13

#define W6100_GA6R13   0x417D

Definition at line 213 of file w6100_driver.h.

◆ W6100_GA6R14

#define W6100_GA6R14   0x417E

Definition at line 214 of file w6100_driver.h.

◆ W6100_GA6R15

#define W6100_GA6R15   0x417F

Definition at line 215 of file w6100_driver.h.

◆ W6100_GA6R2

#define W6100_GA6R2   0x4172

Definition at line 202 of file w6100_driver.h.

◆ W6100_GA6R3

#define W6100_GA6R3   0x4173

Definition at line 203 of file w6100_driver.h.

◆ W6100_GA6R4

#define W6100_GA6R4   0x4174

Definition at line 204 of file w6100_driver.h.

◆ W6100_GA6R5

#define W6100_GA6R5   0x4175

Definition at line 205 of file w6100_driver.h.

◆ W6100_GA6R6

#define W6100_GA6R6   0x4176

Definition at line 206 of file w6100_driver.h.

◆ W6100_GA6R7

#define W6100_GA6R7   0x4177

Definition at line 207 of file w6100_driver.h.

◆ W6100_GA6R8

#define W6100_GA6R8   0x4178

Definition at line 208 of file w6100_driver.h.

◆ W6100_GA6R9

#define W6100_GA6R9   0x4179

Definition at line 209 of file w6100_driver.h.

◆ W6100_GAR0

#define W6100_GAR0   0x4130

Definition at line 140 of file w6100_driver.h.

◆ W6100_GAR1

#define W6100_GAR1   0x4131

Definition at line 141 of file w6100_driver.h.

◆ W6100_GAR2

#define W6100_GAR2   0x4132

Definition at line 142 of file w6100_driver.h.

◆ W6100_GAR3

#define W6100_GAR3   0x4133

Definition at line 143 of file w6100_driver.h.

◆ W6100_GUAR0

#define W6100_GUAR0   0x4150

Definition at line 168 of file w6100_driver.h.

◆ W6100_GUAR1

#define W6100_GUAR1   0x4151

Definition at line 169 of file w6100_driver.h.

◆ W6100_GUAR10

#define W6100_GUAR10   0x415A

Definition at line 178 of file w6100_driver.h.

◆ W6100_GUAR11

#define W6100_GUAR11   0x415B

Definition at line 179 of file w6100_driver.h.

◆ W6100_GUAR12

#define W6100_GUAR12   0x415C

Definition at line 180 of file w6100_driver.h.

◆ W6100_GUAR13

#define W6100_GUAR13   0x415D

Definition at line 181 of file w6100_driver.h.

◆ W6100_GUAR14

#define W6100_GUAR14   0x415E

Definition at line 182 of file w6100_driver.h.

◆ W6100_GUAR15

#define W6100_GUAR15   0x415F

Definition at line 183 of file w6100_driver.h.

◆ W6100_GUAR2

#define W6100_GUAR2   0x4152

Definition at line 170 of file w6100_driver.h.

◆ W6100_GUAR3

#define W6100_GUAR3   0x4153

Definition at line 171 of file w6100_driver.h.

◆ W6100_GUAR4

#define W6100_GUAR4   0x4154

Definition at line 172 of file w6100_driver.h.

◆ W6100_GUAR5

#define W6100_GUAR5   0x4155

Definition at line 173 of file w6100_driver.h.

◆ W6100_GUAR6

#define W6100_GUAR6   0x4156

Definition at line 174 of file w6100_driver.h.

◆ W6100_GUAR7

#define W6100_GUAR7   0x4157

Definition at line 175 of file w6100_driver.h.

◆ W6100_GUAR8

#define W6100_GUAR8   0x4158

Definition at line 176 of file w6100_driver.h.

◆ W6100_GUAR9

#define W6100_GUAR9   0x4159

Definition at line 177 of file w6100_driver.h.

◆ W6100_ICMP6BLKR

#define W6100_ICMP6BLKR   0x41F0

Definition at line 294 of file w6100_driver.h.

◆ W6100_ICMP6BLKR_MLD

#define W6100_ICMP6BLKR_MLD   0x08

Definition at line 541 of file w6100_driver.h.

◆ W6100_ICMP6BLKR_NA

#define W6100_ICMP6BLKR_NA   0x02

Definition at line 543 of file w6100_driver.h.

◆ W6100_ICMP6BLKR_NS

#define W6100_ICMP6BLKR_NS   0x01

Definition at line 544 of file w6100_driver.h.

◆ W6100_ICMP6BLKR_PING6

#define W6100_ICMP6BLKR_PING6   0x10

Definition at line 540 of file w6100_driver.h.

◆ W6100_ICMP6BLKR_RA

#define W6100_ICMP6BLKR_RA   0x04

Definition at line 542 of file w6100_driver.h.

◆ W6100_IMR

#define W6100_IMR   0x2104

Definition at line 101 of file w6100_driver.h.

◆ W6100_IMR_IPCONF

#define W6100_IMR_IPCONF   0x04

Definition at line 428 of file w6100_driver.h.

◆ W6100_IMR_PTERM

#define W6100_IMR_PTERM   0x01

Definition at line 430 of file w6100_driver.h.

◆ W6100_IMR_UNR4

#define W6100_IMR_UNR4   0x02

Definition at line 429 of file w6100_driver.h.

◆ W6100_IMR_UNR6

#define W6100_IMR_UNR6   0x10

Definition at line 427 of file w6100_driver.h.

◆ W6100_IMR_WOL

#define W6100_IMR_WOL   0x80

Definition at line 426 of file w6100_driver.h.

◆ W6100_INTPTMR0

#define W6100_INTPTMR0   0x41C5

Definition at line 266 of file w6100_driver.h.

◆ W6100_INTPTMR1

#define W6100_INTPTMR1   0x41C6

Definition at line 267 of file w6100_driver.h.

◆ W6100_IR

#define W6100_IR   0x2100

Definition at line 98 of file w6100_driver.h.

◆ W6100_IR_IPCONF

#define W6100_IR_IPCONF   0x04

Definition at line 401 of file w6100_driver.h.

◆ W6100_IR_PTERM

#define W6100_IR_PTERM   0x01

Definition at line 403 of file w6100_driver.h.

◆ W6100_IR_UNR4

#define W6100_IR_UNR4   0x02

Definition at line 402 of file w6100_driver.h.

◆ W6100_IR_UNR6

#define W6100_IR_UNR6   0x10

Definition at line 400 of file w6100_driver.h.

◆ W6100_IR_WOL

#define W6100_IR_WOL   0x80

Definition at line 399 of file w6100_driver.h.

◆ W6100_IRCLR

#define W6100_IRCLR   0x2108

Definition at line 102 of file w6100_driver.h.

◆ W6100_IRCLR_IPCONF

#define W6100_IRCLR_IPCONF   0x04

Definition at line 435 of file w6100_driver.h.

◆ W6100_IRCLR_PTERM

#define W6100_IRCLR_PTERM   0x01

Definition at line 437 of file w6100_driver.h.

◆ W6100_IRCLR_UNR4

#define W6100_IRCLR_UNR4   0x02

Definition at line 436 of file w6100_driver.h.

◆ W6100_IRCLR_UNR6

#define W6100_IRCLR_UNR6   0x10

Definition at line 434 of file w6100_driver.h.

◆ W6100_IRCLR_WOL

#define W6100_IRCLR_WOL   0x80

Definition at line 433 of file w6100_driver.h.

◆ W6100_LLAR0

#define W6100_LLAR0   0x4140

Definition at line 152 of file w6100_driver.h.

◆ W6100_LLAR1

#define W6100_LLAR1   0x4141

Definition at line 153 of file w6100_driver.h.

◆ W6100_LLAR10

#define W6100_LLAR10   0x414A

Definition at line 162 of file w6100_driver.h.

◆ W6100_LLAR11

#define W6100_LLAR11   0x414B

Definition at line 163 of file w6100_driver.h.

◆ W6100_LLAR12

#define W6100_LLAR12   0x414C

Definition at line 164 of file w6100_driver.h.

◆ W6100_LLAR13

#define W6100_LLAR13   0x414D

Definition at line 165 of file w6100_driver.h.

◆ W6100_LLAR14

#define W6100_LLAR14   0x414E

Definition at line 166 of file w6100_driver.h.

◆ W6100_LLAR15

#define W6100_LLAR15   0x414F

Definition at line 167 of file w6100_driver.h.

◆ W6100_LLAR2

#define W6100_LLAR2   0x4142

Definition at line 154 of file w6100_driver.h.

◆ W6100_LLAR3

#define W6100_LLAR3   0x4143

Definition at line 155 of file w6100_driver.h.

◆ W6100_LLAR4

#define W6100_LLAR4   0x4144

Definition at line 156 of file w6100_driver.h.

◆ W6100_LLAR5

#define W6100_LLAR5   0x4145

Definition at line 157 of file w6100_driver.h.

◆ W6100_LLAR6

#define W6100_LLAR6   0x4146

Definition at line 158 of file w6100_driver.h.

◆ W6100_LLAR7

#define W6100_LLAR7   0x4147

Definition at line 159 of file w6100_driver.h.

◆ W6100_LLAR8

#define W6100_LLAR8   0x4148

Definition at line 160 of file w6100_driver.h.

◆ W6100_LLAR9

#define W6100_LLAR9   0x4149

Definition at line 161 of file w6100_driver.h.

◆ W6100_NET4MR

#define W6100_NET4MR   0x4000

Definition at line 118 of file w6100_driver.h.

◆ W6100_NET4MR_PARP

#define W6100_NET4MR_PARP   0x04

Definition at line 518 of file w6100_driver.h.

◆ W6100_NET4MR_PB

#define W6100_NET4MR_PB   0x01

Definition at line 520 of file w6100_driver.h.

◆ W6100_NET4MR_RSTB

#define W6100_NET4MR_RSTB   0x02

Definition at line 519 of file w6100_driver.h.

◆ W6100_NET4MR_UNRB

#define W6100_NET4MR_UNRB   0x08

Definition at line 517 of file w6100_driver.h.

◆ W6100_NET6MR

#define W6100_NET6MR   0x4004

Definition at line 119 of file w6100_driver.h.

◆ W6100_NET6MR_PARP

#define W6100_NET6MR_PARP   0x04

Definition at line 524 of file w6100_driver.h.

◆ W6100_NET6MR_PB

#define W6100_NET6MR_PB   0x01

Definition at line 526 of file w6100_driver.h.

◆ W6100_NET6MR_RSTB

#define W6100_NET6MR_RSTB   0x02

Definition at line 525 of file w6100_driver.h.

◆ W6100_NET6MR_UNRB

#define W6100_NET6MR_UNRB   0x08

Definition at line 523 of file w6100_driver.h.

◆ W6100_NETLCKR

#define W6100_NETLCKR   0x41F5

Definition at line 296 of file w6100_driver.h.

◆ W6100_NETLCKR_LOCK

#define W6100_NETLCKR_LOCK   0xC5

Definition at line 552 of file w6100_driver.h.

◆ W6100_NETLCKR_UNLOCK

#define W6100_NETLCKR_UNLOCK   0x3A

Definition at line 551 of file w6100_driver.h.

◆ W6100_NETMR

#define W6100_NETMR   0x4008

Definition at line 120 of file w6100_driver.h.

◆ W6100_NETMR2

#define W6100_NETMR2   0x4009

Definition at line 121 of file w6100_driver.h.

◆ W6100_NETMR2_DHAS

#define W6100_NETMR2_DHAS   0x80

Definition at line 536 of file w6100_driver.h.

◆ W6100_NETMR2_PPPOE

#define W6100_NETMR2_PPPOE   0x01

Definition at line 537 of file w6100_driver.h.

◆ W6100_NETMR_ANB

#define W6100_NETMR_ANB   0x20

Definition at line 529 of file w6100_driver.h.

◆ W6100_NETMR_IP4B

#define W6100_NETMR_IP4B   0x01

Definition at line 533 of file w6100_driver.h.

◆ W6100_NETMR_IP6B

#define W6100_NETMR_IP6B   0x02

Definition at line 532 of file w6100_driver.h.

◆ W6100_NETMR_M6B

#define W6100_NETMR_M6B   0x10

Definition at line 530 of file w6100_driver.h.

◆ W6100_NETMR_WOL

#define W6100_NETMR_WOL   0x04

Definition at line 531 of file w6100_driver.h.

◆ W6100_PAR0

#define W6100_PAR0   0x41E0

Definition at line 278 of file w6100_driver.h.

◆ W6100_PAR1

#define W6100_PAR1   0x41E1

Definition at line 279 of file w6100_driver.h.

◆ W6100_PAR10

#define W6100_PAR10   0x41EA

Definition at line 288 of file w6100_driver.h.

◆ W6100_PAR11

#define W6100_PAR11   0x41EB

Definition at line 289 of file w6100_driver.h.

◆ W6100_PAR12

#define W6100_PAR12   0x41EC

Definition at line 290 of file w6100_driver.h.

◆ W6100_PAR13

#define W6100_PAR13   0x41ED

Definition at line 291 of file w6100_driver.h.

◆ W6100_PAR14

#define W6100_PAR14   0x41EE

Definition at line 292 of file w6100_driver.h.

◆ W6100_PAR15

#define W6100_PAR15   0x41EF

Definition at line 293 of file w6100_driver.h.

◆ W6100_PAR2

#define W6100_PAR2   0x41E2

Definition at line 280 of file w6100_driver.h.

◆ W6100_PAR3

#define W6100_PAR3   0x41E3

Definition at line 281 of file w6100_driver.h.

◆ W6100_PAR4

#define W6100_PAR4   0x41E4

Definition at line 282 of file w6100_driver.h.

◆ W6100_PAR5

#define W6100_PAR5   0x41E5

Definition at line 283 of file w6100_driver.h.

◆ W6100_PAR6

#define W6100_PAR6   0x41E6

Definition at line 284 of file w6100_driver.h.

◆ W6100_PAR7

#define W6100_PAR7   0x41E7

Definition at line 285 of file w6100_driver.h.

◆ W6100_PAR8

#define W6100_PAR8   0x41E8

Definition at line 286 of file w6100_driver.h.

◆ W6100_PAR9

#define W6100_PAR9   0x41E9

Definition at line 287 of file w6100_driver.h.

◆ W6100_PFR

#define W6100_PFR   0x41D4

Definition at line 269 of file w6100_driver.h.

◆ W6100_PHAR0

#define W6100_PHAR0   0x4108

Definition at line 124 of file w6100_driver.h.

◆ W6100_PHAR1

#define W6100_PHAR1   0x4109

Definition at line 125 of file w6100_driver.h.

◆ W6100_PHAR2

#define W6100_PHAR2   0x410A

Definition at line 126 of file w6100_driver.h.

◆ W6100_PHAR3

#define W6100_PHAR3   0x410B

Definition at line 127 of file w6100_driver.h.

◆ W6100_PHAR4

#define W6100_PHAR4   0x410C

Definition at line 128 of file w6100_driver.h.

◆ W6100_PHAR5

#define W6100_PHAR5   0x410D

Definition at line 129 of file w6100_driver.h.

◆ W6100_PHYACR

#define W6100_PHYACR   0x3014

Definition at line 114 of file w6100_driver.h.

◆ W6100_PHYCR0

#define W6100_PHYCR0   0x301C

Definition at line 116 of file w6100_driver.h.

◆ W6100_PHYCR0_MODE

#define W6100_PHYCR0_MODE   0x07

Definition at line 504 of file w6100_driver.h.

◆ W6100_PHYCR0_MODE_100BTX_FD

#define W6100_PHYCR0_MODE_100BTX_FD   0x04

Definition at line 506 of file w6100_driver.h.

◆ W6100_PHYCR0_MODE_100BTX_HD

#define W6100_PHYCR0_MODE_100BTX_HD   0x05

Definition at line 507 of file w6100_driver.h.

◆ W6100_PHYCR0_MODE_10BT_FD

#define W6100_PHYCR0_MODE_10BT_FD   0x06

Definition at line 508 of file w6100_driver.h.

◆ W6100_PHYCR0_MODE_10BT_HD

#define W6100_PHYCR0_MODE_10BT_HD   0x07

Definition at line 509 of file w6100_driver.h.

◆ W6100_PHYCR0_MODE_AN

#define W6100_PHYCR0_MODE_AN   0x00

Definition at line 505 of file w6100_driver.h.

◆ W6100_PHYCR1

#define W6100_PHYCR1   0x301D

Definition at line 117 of file w6100_driver.h.

◆ W6100_PHYCR1_PWDN

#define W6100_PHYCR1_PWDN   0x20

Definition at line 512 of file w6100_driver.h.

◆ W6100_PHYCR1_RST

#define W6100_PHYCR1_RST   0x01

Definition at line 514 of file w6100_driver.h.

◆ W6100_PHYCR1_TE

#define W6100_PHYCR1_TE   0x08

Definition at line 513 of file w6100_driver.h.

◆ W6100_PHYDIR0

#define W6100_PHYDIR0   0x300C

Definition at line 110 of file w6100_driver.h.

◆ W6100_PHYDIR1

#define W6100_PHYDIR1   0x300D

Definition at line 111 of file w6100_driver.h.

◆ W6100_PHYDIVR

#define W6100_PHYDIVR   0x3018

Definition at line 115 of file w6100_driver.h.

◆ W6100_PHYDIVR_DIV128

#define W6100_PHYDIVR_DIV128   0x02

Definition at line 501 of file w6100_driver.h.

◆ W6100_PHYDIVR_DIV32

#define W6100_PHYDIVR_DIV32   0x00

Definition at line 499 of file w6100_driver.h.

◆ W6100_PHYDIVR_DIV64

#define W6100_PHYDIVR_DIV64   0x01

Definition at line 500 of file w6100_driver.h.

◆ W6100_PHYDOR0

#define W6100_PHYDOR0   0x3010

Definition at line 112 of file w6100_driver.h.

◆ W6100_PHYDOR1

#define W6100_PHYDOR1   0x3011

Definition at line 113 of file w6100_driver.h.

◆ W6100_PHYLCKR

#define W6100_PHYLCKR   0x41F6

Definition at line 297 of file w6100_driver.h.

◆ W6100_PHYLCKR_LOCK

#define W6100_PHYLCKR_LOCK   0x00

Definition at line 555 of file w6100_driver.h.

◆ W6100_PHYLCKR_UNLOCK

#define W6100_PHYLCKR_UNLOCK   0x53

Definition at line 556 of file w6100_driver.h.

◆ W6100_PHYRAR

#define W6100_PHYRAR   0x3008

Definition at line 109 of file w6100_driver.h.

◆ W6100_PHYRAR_ADDR

#define W6100_PHYRAR_ADDR   0x1F

Definition at line 496 of file w6100_driver.h.

◆ W6100_PHYSR

#define W6100_PHYSR   0x3000

Definition at line 108 of file w6100_driver.h.

◆ W6100_PHYSR_CAB

#define W6100_PHYSR_CAB   0x80

Definition at line 484 of file w6100_driver.h.

◆ W6100_PHYSR_DPX

#define W6100_PHYSR_DPX   0x04

Definition at line 491 of file w6100_driver.h.

◆ W6100_PHYSR_LNK

#define W6100_PHYSR_LNK   0x01

Definition at line 493 of file w6100_driver.h.

◆ W6100_PHYSR_MODE

#define W6100_PHYSR_MODE   0x38

Definition at line 485 of file w6100_driver.h.

◆ W6100_PHYSR_MODE_100BTX_FD

#define W6100_PHYSR_MODE_100BTX_FD   0x20

Definition at line 487 of file w6100_driver.h.

◆ W6100_PHYSR_MODE_100BTX_HD

#define W6100_PHYSR_MODE_100BTX_HD   0x28

Definition at line 488 of file w6100_driver.h.

◆ W6100_PHYSR_MODE_10BT_FD

#define W6100_PHYSR_MODE_10BT_FD   0x30

Definition at line 489 of file w6100_driver.h.

◆ W6100_PHYSR_MODE_10BT_HD

#define W6100_PHYSR_MODE_10BT_HD   0x38

Definition at line 490 of file w6100_driver.h.

◆ W6100_PHYSR_MODE_AN

#define W6100_PHYSR_MODE_AN   0x00

Definition at line 486 of file w6100_driver.h.

◆ W6100_PHYSR_SPD

#define W6100_PHYSR_SPD   0x02

Definition at line 492 of file w6100_driver.h.

◆ W6100_PINGIDR0

#define W6100_PINGIDR0   0x4198

Definition at line 238 of file w6100_driver.h.

◆ W6100_PINGIDR1

#define W6100_PINGIDR1   0x4199

Definition at line 239 of file w6100_driver.h.

◆ W6100_PINGSEQR0

#define W6100_PINGSEQR0   0x419C

Definition at line 240 of file w6100_driver.h.

◆ W6100_PINGSEQR1

#define W6100_PINGSEQR1   0x419D

Definition at line 241 of file w6100_driver.h.

◆ W6100_PLR

#define W6100_PLR   0x41D0

Definition at line 268 of file w6100_driver.h.

◆ W6100_PLTR0

#define W6100_PLTR0   0x41DC

Definition at line 274 of file w6100_driver.h.

◆ W6100_PLTR1

#define W6100_PLTR1   0x41DD

Definition at line 275 of file w6100_driver.h.

◆ W6100_PLTR2

#define W6100_PLTR2   0x41DE

Definition at line 276 of file w6100_driver.h.

◆ W6100_PLTR3

#define W6100_PLTR3   0x41DF

Definition at line 277 of file w6100_driver.h.

◆ W6100_PMNR

#define W6100_PMNR   0x4104

Definition at line 123 of file w6100_driver.h.

◆ W6100_PMRUR0

#define W6100_PMRUR0   0x4114

Definition at line 132 of file w6100_driver.h.

◆ W6100_PMRUR1

#define W6100_PMRUR1   0x4115

Definition at line 133 of file w6100_driver.h.

◆ W6100_PSIDR0

#define W6100_PSIDR0   0x4110

Definition at line 130 of file w6100_driver.h.

◆ W6100_PSIDR1

#define W6100_PSIDR1   0x4111

Definition at line 131 of file w6100_driver.h.

◆ W6100_PTMR

#define W6100_PTMR   0x4100

Definition at line 122 of file w6100_driver.h.

◆ W6100_RCR

#define W6100_RCR   0x4204

Definition at line 300 of file w6100_driver.h.

◆ W6100_RTR0

#define W6100_RTR0   0x4200

Definition at line 298 of file w6100_driver.h.

◆ W6100_RTR1

#define W6100_RTR1   0x4201

Definition at line 299 of file w6100_driver.h.

◆ W6100_SHAR0

#define W6100_SHAR0   0x4120

Definition at line 134 of file w6100_driver.h.

◆ W6100_SHAR1

#define W6100_SHAR1   0x4121

Definition at line 135 of file w6100_driver.h.

◆ W6100_SHAR2

#define W6100_SHAR2   0x4122

Definition at line 136 of file w6100_driver.h.

◆ W6100_SHAR3

#define W6100_SHAR3   0x4123

Definition at line 137 of file w6100_driver.h.

◆ W6100_SHAR4

#define W6100_SHAR4   0x4124

Definition at line 138 of file w6100_driver.h.

◆ W6100_SHAR5

#define W6100_SHAR5   0x4125

Definition at line 139 of file w6100_driver.h.

◆ W6100_SIMR

#define W6100_SIMR   0x2114

Definition at line 103 of file w6100_driver.h.

◆ W6100_SIMR_S0_INT

#define W6100_SIMR_S0_INT   0x01

Definition at line 447 of file w6100_driver.h.

◆ W6100_SIMR_S1_INT

#define W6100_SIMR_S1_INT   0x02

Definition at line 446 of file w6100_driver.h.

◆ W6100_SIMR_S2_INT

#define W6100_SIMR_S2_INT   0x04

Definition at line 445 of file w6100_driver.h.

◆ W6100_SIMR_S3_INT

#define W6100_SIMR_S3_INT   0x08

Definition at line 444 of file w6100_driver.h.

◆ W6100_SIMR_S4_INT

#define W6100_SIMR_S4_INT   0x10

Definition at line 443 of file w6100_driver.h.

◆ W6100_SIMR_S5_INT

#define W6100_SIMR_S5_INT   0x20

Definition at line 442 of file w6100_driver.h.

◆ W6100_SIMR_S6_INT

#define W6100_SIMR_S6_INT   0x40

Definition at line 441 of file w6100_driver.h.

◆ W6100_SIMR_S7_INT

#define W6100_SIMR_S7_INT   0x80

Definition at line 440 of file w6100_driver.h.

◆ W6100_SIPR0

#define W6100_SIPR0   0x4138

Definition at line 148 of file w6100_driver.h.

◆ W6100_SIPR1

#define W6100_SIPR1   0x4139

Definition at line 149 of file w6100_driver.h.

◆ W6100_SIPR2

#define W6100_SIPR2   0x413A

Definition at line 150 of file w6100_driver.h.

◆ W6100_SIPR3

#define W6100_SIPR3   0x413B

Definition at line 151 of file w6100_driver.h.

◆ W6100_SIR

#define W6100_SIR   0x2101

Definition at line 99 of file w6100_driver.h.

◆ W6100_SIR_S0_INT

#define W6100_SIR_S0_INT   0x01

Definition at line 413 of file w6100_driver.h.

◆ W6100_SIR_S1_INT

#define W6100_SIR_S1_INT   0x02

Definition at line 412 of file w6100_driver.h.

◆ W6100_SIR_S2_INT

#define W6100_SIR_S2_INT   0x04

Definition at line 411 of file w6100_driver.h.

◆ W6100_SIR_S3_INT

#define W6100_SIR_S3_INT   0x08

Definition at line 410 of file w6100_driver.h.

◆ W6100_SIR_S4_INT

#define W6100_SIR_S4_INT   0x10

Definition at line 409 of file w6100_driver.h.

◆ W6100_SIR_S5_INT

#define W6100_SIR_S5_INT   0x20

Definition at line 408 of file w6100_driver.h.

◆ W6100_SIR_S6_INT

#define W6100_SIR_S6_INT   0x40

Definition at line 407 of file w6100_driver.h.

◆ W6100_SIR_S7_INT

#define W6100_SIR_S7_INT   0x80

Definition at line 406 of file w6100_driver.h.

◆ W6100_SLCR

#define W6100_SLCR   0x2130

Definition at line 107 of file w6100_driver.h.

◆ W6100_SLCR_ARP4

#define W6100_SLCR_ARP4   0x40

Definition at line 475 of file w6100_driver.h.

◆ W6100_SLCR_ARP6

#define W6100_SLCR_ARP6   0x10

Definition at line 477 of file w6100_driver.h.

◆ W6100_SLCR_NA

#define W6100_SLCR_NA   0x01

Definition at line 481 of file w6100_driver.h.

◆ W6100_SLCR_NS

#define W6100_SLCR_NS   0x04

Definition at line 479 of file w6100_driver.h.

◆ W6100_SLCR_PING4

#define W6100_SLCR_PING4   0x20

Definition at line 476 of file w6100_driver.h.

◆ W6100_SLCR_PING6

#define W6100_SLCR_PING6   0x08

Definition at line 478 of file w6100_driver.h.

◆ W6100_SLCR_RS

#define W6100_SLCR_RS   0x02

Definition at line 480 of file w6100_driver.h.

◆ W6100_SLDHAR0

#define W6100_SLDHAR0   0x4190

Definition at line 232 of file w6100_driver.h.

◆ W6100_SLDHAR1

#define W6100_SLDHAR1   0x4191

Definition at line 233 of file w6100_driver.h.

◆ W6100_SLDHAR2

#define W6100_SLDHAR2   0x4192

Definition at line 234 of file w6100_driver.h.

◆ W6100_SLDHAR3

#define W6100_SLDHAR3   0x4193

Definition at line 235 of file w6100_driver.h.

◆ W6100_SLDHAR4

#define W6100_SLDHAR4   0x4194

Definition at line 236 of file w6100_driver.h.

◆ W6100_SLDHAR5

#define W6100_SLDHAR5   0x4195

Definition at line 237 of file w6100_driver.h.

◆ W6100_SLDIP6R0

#define W6100_SLDIP6R0   0x4180

Definition at line 216 of file w6100_driver.h.

◆ W6100_SLDIP6R1

#define W6100_SLDIP6R1   0x4181

Definition at line 217 of file w6100_driver.h.

◆ W6100_SLDIP6R10

#define W6100_SLDIP6R10   0x418A

Definition at line 226 of file w6100_driver.h.

◆ W6100_SLDIP6R11

#define W6100_SLDIP6R11   0x418B

Definition at line 227 of file w6100_driver.h.

◆ W6100_SLDIP6R12

#define W6100_SLDIP6R12   0x418C

Definition at line 228 of file w6100_driver.h.

◆ W6100_SLDIP6R13

#define W6100_SLDIP6R13   0x418D

Definition at line 229 of file w6100_driver.h.

◆ W6100_SLDIP6R14

#define W6100_SLDIP6R14   0x418E

Definition at line 230 of file w6100_driver.h.

◆ W6100_SLDIP6R15

#define W6100_SLDIP6R15   0x418F

Definition at line 231 of file w6100_driver.h.

◆ W6100_SLDIP6R2

#define W6100_SLDIP6R2   0x4182

Definition at line 218 of file w6100_driver.h.

◆ W6100_SLDIP6R3

#define W6100_SLDIP6R3   0x4183

Definition at line 219 of file w6100_driver.h.

◆ W6100_SLDIP6R4

#define W6100_SLDIP6R4   0x4184

Definition at line 220 of file w6100_driver.h.

◆ W6100_SLDIP6R5

#define W6100_SLDIP6R5   0x4185

Definition at line 221 of file w6100_driver.h.

◆ W6100_SLDIP6R6

#define W6100_SLDIP6R6   0x4186

Definition at line 222 of file w6100_driver.h.

◆ W6100_SLDIP6R7

#define W6100_SLDIP6R7   0x4187

Definition at line 223 of file w6100_driver.h.

◆ W6100_SLDIP6R8

#define W6100_SLDIP6R8   0x4188

Definition at line 224 of file w6100_driver.h.

◆ W6100_SLDIP6R9

#define W6100_SLDIP6R9   0x4189

Definition at line 225 of file w6100_driver.h.

◆ W6100_SLHOPR

#define W6100_SLHOPR   0x420F

Definition at line 304 of file w6100_driver.h.

◆ W6100_SLIMR

#define W6100_SLIMR   0x2124

Definition at line 104 of file w6100_driver.h.

◆ W6100_SLIMR_ARP4

#define W6100_SLIMR_ARP4   0x40

Definition at line 451 of file w6100_driver.h.

◆ W6100_SLIMR_ARP6

#define W6100_SLIMR_ARP6   0x10

Definition at line 453 of file w6100_driver.h.

◆ W6100_SLIMR_NS

#define W6100_SLIMR_NS   0x04

Definition at line 455 of file w6100_driver.h.

◆ W6100_SLIMR_PING4

#define W6100_SLIMR_PING4   0x20

Definition at line 452 of file w6100_driver.h.

◆ W6100_SLIMR_PING6

#define W6100_SLIMR_PING6   0x08

Definition at line 454 of file w6100_driver.h.

◆ W6100_SLIMR_RA

#define W6100_SLIMR_RA   0x01

Definition at line 457 of file w6100_driver.h.

◆ W6100_SLIMR_RS

#define W6100_SLIMR_RS   0x02

Definition at line 456 of file w6100_driver.h.

◆ W6100_SLIMR_TOUT

#define W6100_SLIMR_TOUT   0x80

Definition at line 450 of file w6100_driver.h.

◆ W6100_SLIR

#define W6100_SLIR   0x2102

Definition at line 100 of file w6100_driver.h.

◆ W6100_SLIR_ARP4

#define W6100_SLIR_ARP4   0x40

Definition at line 417 of file w6100_driver.h.

◆ W6100_SLIR_ARP6

#define W6100_SLIR_ARP6   0x10

Definition at line 419 of file w6100_driver.h.

◆ W6100_SLIR_NS

#define W6100_SLIR_NS   0x04

Definition at line 421 of file w6100_driver.h.

◆ W6100_SLIR_PING4

#define W6100_SLIR_PING4   0x20

Definition at line 418 of file w6100_driver.h.

◆ W6100_SLIR_PING6

#define W6100_SLIR_PING6   0x08

Definition at line 420 of file w6100_driver.h.

◆ W6100_SLIR_RA

#define W6100_SLIR_RA   0x01

Definition at line 423 of file w6100_driver.h.

◆ W6100_SLIR_RS

#define W6100_SLIR_RS   0x02

Definition at line 422 of file w6100_driver.h.

◆ W6100_SLIR_TOUT

#define W6100_SLIR_TOUT   0x80

Definition at line 416 of file w6100_driver.h.

◆ W6100_SLIRCLR

#define W6100_SLIRCLR   0x2128

Definition at line 105 of file w6100_driver.h.

◆ W6100_SLIRCLR_ARP4

#define W6100_SLIRCLR_ARP4   0x40

Definition at line 461 of file w6100_driver.h.

◆ W6100_SLIRCLR_ARP6

#define W6100_SLIRCLR_ARP6   0x10

Definition at line 463 of file w6100_driver.h.

◆ W6100_SLIRCLR_NS

#define W6100_SLIRCLR_NS   0x04

Definition at line 465 of file w6100_driver.h.

◆ W6100_SLIRCLR_PING4

#define W6100_SLIRCLR_PING4   0x20

Definition at line 462 of file w6100_driver.h.

◆ W6100_SLIRCLR_PING6

#define W6100_SLIRCLR_PING6   0x08

Definition at line 464 of file w6100_driver.h.

◆ W6100_SLIRCLR_RA

#define W6100_SLIRCLR_RA   0x01

Definition at line 467 of file w6100_driver.h.

◆ W6100_SLIRCLR_RS

#define W6100_SLIRCLR_RS   0x02

Definition at line 466 of file w6100_driver.h.

◆ W6100_SLIRCLR_TOUT

#define W6100_SLIRCLR_TOUT   0x80

Definition at line 460 of file w6100_driver.h.

◆ W6100_SLPSR

#define W6100_SLPSR   0x212C

Definition at line 106 of file w6100_driver.h.

◆ W6100_SLPSR_AUTO

#define W6100_SLPSR_AUTO   0x00

Definition at line 470 of file w6100_driver.h.

◆ W6100_SLPSR_GUA

#define W6100_SLPSR_GUA   0x03

Definition at line 472 of file w6100_driver.h.

◆ W6100_SLPSR_LLA

#define W6100_SLPSR_LLA   0x02

Definition at line 471 of file w6100_driver.h.

◆ W6100_SLRCR

#define W6100_SLRCR   0x420C

Definition at line 303 of file w6100_driver.h.

◆ W6100_SLRTR0

#define W6100_SLRTR0   0x4208

Definition at line 301 of file w6100_driver.h.

◆ W6100_SLRTR1

#define W6100_SLRTR1   0x4209

Definition at line 302 of file w6100_driver.h.

◆ W6100_Sn_CR

#define W6100_Sn_CR   0x0010

Definition at line 309 of file w6100_driver.h.

◆ W6100_Sn_CR_CLOSE

#define W6100_Sn_CR_CLOSE   0x10

Definition at line 591 of file w6100_driver.h.

◆ W6100_Sn_CR_CONNECT

#define W6100_Sn_CR_CONNECT   0x04

Definition at line 589 of file w6100_driver.h.

◆ W6100_Sn_CR_CONNECT6

#define W6100_Sn_CR_CONNECT6   0x84

Definition at line 595 of file w6100_driver.h.

◆ W6100_Sn_CR_DISCON

#define W6100_Sn_CR_DISCON   0x08

Definition at line 590 of file w6100_driver.h.

◆ W6100_Sn_CR_LISTEN

#define W6100_Sn_CR_LISTEN   0x02

Definition at line 588 of file w6100_driver.h.

◆ W6100_Sn_CR_OPEN

#define W6100_Sn_CR_OPEN   0x01

Definition at line 587 of file w6100_driver.h.

◆ W6100_Sn_CR_RECV

#define W6100_Sn_CR_RECV   0x40

Definition at line 594 of file w6100_driver.h.

◆ W6100_Sn_CR_SEND

#define W6100_Sn_CR_SEND   0x20

Definition at line 592 of file w6100_driver.h.

◆ W6100_Sn_CR_SEND6

#define W6100_Sn_CR_SEND6   0xA6

Definition at line 596 of file w6100_driver.h.

◆ W6100_Sn_CR_SEND_KEEP

#define W6100_Sn_CR_SEND_KEEP   0x22

Definition at line 593 of file w6100_driver.h.

◆ W6100_Sn_DHAR0

#define W6100_Sn_DHAR0   0x0118

Definition at line 324 of file w6100_driver.h.

◆ W6100_Sn_DHAR1

#define W6100_Sn_DHAR1   0x0119

Definition at line 325 of file w6100_driver.h.

◆ W6100_Sn_DHAR2

#define W6100_Sn_DHAR2   0x011A

Definition at line 326 of file w6100_driver.h.

◆ W6100_Sn_DHAR3

#define W6100_Sn_DHAR3   0x011B

Definition at line 327 of file w6100_driver.h.

◆ W6100_Sn_DHAR4

#define W6100_Sn_DHAR4   0x011C

Definition at line 328 of file w6100_driver.h.

◆ W6100_Sn_DHAR5

#define W6100_Sn_DHAR5   0x011D

Definition at line 329 of file w6100_driver.h.

◆ W6100_Sn_DIP6R0

#define W6100_Sn_DIP6R0   0x0130

Definition at line 334 of file w6100_driver.h.

◆ W6100_Sn_DIP6R1

#define W6100_Sn_DIP6R1   0x0131

Definition at line 335 of file w6100_driver.h.

◆ W6100_Sn_DIP6R10

#define W6100_Sn_DIP6R10   0x013A

Definition at line 344 of file w6100_driver.h.

◆ W6100_Sn_DIP6R11

#define W6100_Sn_DIP6R11   0x013B

Definition at line 345 of file w6100_driver.h.

◆ W6100_Sn_DIP6R12

#define W6100_Sn_DIP6R12   0x013C

Definition at line 346 of file w6100_driver.h.

◆ W6100_Sn_DIP6R13

#define W6100_Sn_DIP6R13   0x013D

Definition at line 347 of file w6100_driver.h.

◆ W6100_Sn_DIP6R14

#define W6100_Sn_DIP6R14   0x013E

Definition at line 348 of file w6100_driver.h.

◆ W6100_Sn_DIP6R15

#define W6100_Sn_DIP6R15   0x013F

Definition at line 349 of file w6100_driver.h.

◆ W6100_Sn_DIP6R2

#define W6100_Sn_DIP6R2   0x0132

Definition at line 336 of file w6100_driver.h.

◆ W6100_Sn_DIP6R3

#define W6100_Sn_DIP6R3   0x0133

Definition at line 337 of file w6100_driver.h.

◆ W6100_Sn_DIP6R4

#define W6100_Sn_DIP6R4   0x0134

Definition at line 338 of file w6100_driver.h.

◆ W6100_Sn_DIP6R5

#define W6100_Sn_DIP6R5   0x0135

Definition at line 339 of file w6100_driver.h.

◆ W6100_Sn_DIP6R6

#define W6100_Sn_DIP6R6   0x0136

Definition at line 340 of file w6100_driver.h.

◆ W6100_Sn_DIP6R7

#define W6100_Sn_DIP6R7   0x0137

Definition at line 341 of file w6100_driver.h.

◆ W6100_Sn_DIP6R8

#define W6100_Sn_DIP6R8   0x0138

Definition at line 342 of file w6100_driver.h.

◆ W6100_Sn_DIP6R9

#define W6100_Sn_DIP6R9   0x0139

Definition at line 343 of file w6100_driver.h.

◆ W6100_Sn_DIPR0

#define W6100_Sn_DIPR0   0x0120

Definition at line 330 of file w6100_driver.h.

◆ W6100_Sn_DIPR1

#define W6100_Sn_DIPR1   0x0121

Definition at line 331 of file w6100_driver.h.

◆ W6100_Sn_DIPR2

#define W6100_Sn_DIPR2   0x0122

Definition at line 332 of file w6100_driver.h.

◆ W6100_Sn_DIPR3

#define W6100_Sn_DIPR3   0x0123

Definition at line 333 of file w6100_driver.h.

◆ W6100_Sn_DPORTR0

#define W6100_Sn_DPORTR0   0x0140

Definition at line 350 of file w6100_driver.h.

◆ W6100_Sn_DPORTR1

#define W6100_Sn_DPORTR1   0x0141

Definition at line 351 of file w6100_driver.h.

◆ W6100_Sn_ESR

#define W6100_Sn_ESR   0x0031

Definition at line 314 of file w6100_driver.h.

◆ W6100_Sn_ESR_IP6T

#define W6100_Sn_ESR_IP6T   0x01

Definition at line 642 of file w6100_driver.h.

◆ W6100_Sn_ESR_IP6T_GUA

#define W6100_Sn_ESR_IP6T_GUA   0x01

Definition at line 644 of file w6100_driver.h.

◆ W6100_Sn_ESR_IP6T_LLA

#define W6100_Sn_ESR_IP6T_LLA   0x00

Definition at line 643 of file w6100_driver.h.

◆ W6100_Sn_ESR_TCPM

#define W6100_Sn_ESR_TCPM   0x04

Definition at line 636 of file w6100_driver.h.

◆ W6100_Sn_ESR_TCPM_TCP4

#define W6100_Sn_ESR_TCPM_TCP4   0x00

Definition at line 637 of file w6100_driver.h.

◆ W6100_Sn_ESR_TCPM_TCP6

#define W6100_Sn_ESR_TCPM_TCP6   0x04

Definition at line 638 of file w6100_driver.h.

◆ W6100_Sn_ESR_TCPOP

#define W6100_Sn_ESR_TCPOP   0x02

Definition at line 639 of file w6100_driver.h.

◆ W6100_Sn_ESR_TCPOP_CLIENT

#define W6100_Sn_ESR_TCPOP_CLIENT   0x00

Definition at line 640 of file w6100_driver.h.

◆ W6100_Sn_ESR_TCPOP_SERVER

#define W6100_Sn_ESR_TCPOP_SERVER   0x02

Definition at line 641 of file w6100_driver.h.

◆ W6100_Sn_FRGR0

#define W6100_Sn_FRGR0   0x010C

Definition at line 318 of file w6100_driver.h.

◆ W6100_Sn_FRGR1

#define W6100_Sn_FRGR1   0x010D

Definition at line 319 of file w6100_driver.h.

◆ W6100_Sn_IMR

#define W6100_Sn_IMR   0x0024

Definition at line 311 of file w6100_driver.h.

◆ W6100_Sn_IMR_CON

#define W6100_Sn_IMR_CON   0x01

Definition at line 610 of file w6100_driver.h.

◆ W6100_Sn_IMR_DISCON

#define W6100_Sn_IMR_DISCON   0x02

Definition at line 609 of file w6100_driver.h.

◆ W6100_Sn_IMR_RECV

#define W6100_Sn_IMR_RECV   0x04

Definition at line 608 of file w6100_driver.h.

◆ W6100_Sn_IMR_SENDOK

#define W6100_Sn_IMR_SENDOK   0x10

Definition at line 606 of file w6100_driver.h.

◆ W6100_Sn_IMR_TIMEOUT

#define W6100_Sn_IMR_TIMEOUT   0x08

Definition at line 607 of file w6100_driver.h.

◆ W6100_Sn_IR

#define W6100_Sn_IR   0x0020

Definition at line 310 of file w6100_driver.h.

◆ W6100_Sn_IR_CON

#define W6100_Sn_IR_CON   0x01

Definition at line 603 of file w6100_driver.h.

◆ W6100_Sn_IR_DISCON

#define W6100_Sn_IR_DISCON   0x02

Definition at line 602 of file w6100_driver.h.

◆ W6100_Sn_IR_RECV

#define W6100_Sn_IR_RECV   0x04

Definition at line 601 of file w6100_driver.h.

◆ W6100_Sn_IR_SENDOK

#define W6100_Sn_IR_SENDOK   0x10

Definition at line 599 of file w6100_driver.h.

◆ W6100_Sn_IR_TIMEOUT

#define W6100_Sn_IR_TIMEOUT   0x08

Definition at line 600 of file w6100_driver.h.

◆ W6100_Sn_IRCLR

#define W6100_Sn_IRCLR   0x0028

Definition at line 312 of file w6100_driver.h.

◆ W6100_Sn_IRCLR_CON

#define W6100_Sn_IRCLR_CON   0x01

Definition at line 617 of file w6100_driver.h.

◆ W6100_Sn_IRCLR_DISCON

#define W6100_Sn_IRCLR_DISCON   0x02

Definition at line 616 of file w6100_driver.h.

◆ W6100_Sn_IRCLR_RECV

#define W6100_Sn_IRCLR_RECV   0x04

Definition at line 615 of file w6100_driver.h.

◆ W6100_Sn_IRCLR_SENDOK

#define W6100_Sn_IRCLR_SENDOK   0x10

Definition at line 613 of file w6100_driver.h.

◆ W6100_Sn_IRCLR_TIMEOUT

#define W6100_Sn_IRCLR_TIMEOUT   0x08

Definition at line 614 of file w6100_driver.h.

◆ W6100_Sn_KPALVTR

#define W6100_Sn_KPALVTR   0x0188

Definition at line 356 of file w6100_driver.h.

◆ W6100_Sn_MR

#define W6100_Sn_MR   0x0000

Definition at line 307 of file w6100_driver.h.

◆ W6100_Sn_MR2

#define W6100_Sn_MR2   0x0144

Definition at line 352 of file w6100_driver.h.

◆ W6100_Sn_MR2_DHAM

#define W6100_Sn_MR2_DHAM   0x02

Definition at line 647 of file w6100_driver.h.

◆ W6100_Sn_MR2_FARP

#define W6100_Sn_MR2_FARP   0x01

Definition at line 648 of file w6100_driver.h.

◆ W6100_Sn_MR_BRDB

#define W6100_Sn_MR_BRDB   0x40

Definition at line 561 of file w6100_driver.h.

◆ W6100_Sn_MR_FPSH

#define W6100_Sn_MR_FPSH   0x40

Definition at line 562 of file w6100_driver.h.

◆ W6100_Sn_MR_MC

#define W6100_Sn_MR_MC   0x20

Definition at line 564 of file w6100_driver.h.

◆ W6100_Sn_MR_MF

#define W6100_Sn_MR_MF   0x80

Definition at line 560 of file w6100_driver.h.

◆ W6100_Sn_MR_MMB

#define W6100_Sn_MR_MMB   0x20

Definition at line 566 of file w6100_driver.h.

◆ W6100_Sn_MR_MMB6

#define W6100_Sn_MR_MMB6   0x10

Definition at line 568 of file w6100_driver.h.

◆ W6100_Sn_MR_MULTI

#define W6100_Sn_MR_MULTI   0x80

Definition at line 559 of file w6100_driver.h.

◆ W6100_Sn_MR_ND

#define W6100_Sn_MR_ND   0x20

Definition at line 563 of file w6100_driver.h.

◆ W6100_Sn_MR_PROTOCOL

#define W6100_Sn_MR_PROTOCOL   0x0F

Definition at line 569 of file w6100_driver.h.

◆ W6100_Sn_MR_PROTOCOL_CLOSED

#define W6100_Sn_MR_PROTOCOL_CLOSED   0x00

Definition at line 570 of file w6100_driver.h.

◆ W6100_Sn_MR_PROTOCOL_IPRAW4

#define W6100_Sn_MR_PROTOCOL_IPRAW4   0x03

Definition at line 573 of file w6100_driver.h.

◆ W6100_Sn_MR_PROTOCOL_IPRAW6

#define W6100_Sn_MR_PROTOCOL_IPRAW6   0x0B

Definition at line 577 of file w6100_driver.h.

◆ W6100_Sn_MR_PROTOCOL_MACRAW

#define W6100_Sn_MR_PROTOCOL_MACRAW   0x07

Definition at line 574 of file w6100_driver.h.

◆ W6100_Sn_MR_PROTOCOL_TCP4

#define W6100_Sn_MR_PROTOCOL_TCP4   0x01

Definition at line 571 of file w6100_driver.h.

◆ W6100_Sn_MR_PROTOCOL_TCP6

#define W6100_Sn_MR_PROTOCOL_TCP6   0x09

Definition at line 575 of file w6100_driver.h.

◆ W6100_Sn_MR_PROTOCOL_TCPD

#define W6100_Sn_MR_PROTOCOL_TCPD   0x0D

Definition at line 578 of file w6100_driver.h.

◆ W6100_Sn_MR_PROTOCOL_UDP4

#define W6100_Sn_MR_PROTOCOL_UDP4   0x02

Definition at line 572 of file w6100_driver.h.

◆ W6100_Sn_MR_PROTOCOL_UDP6

#define W6100_Sn_MR_PROTOCOL_UDP6   0x0A

Definition at line 576 of file w6100_driver.h.

◆ W6100_Sn_MR_PROTOCOL_UDPD

#define W6100_Sn_MR_PROTOCOL_UDPD   0x0F

Definition at line 579 of file w6100_driver.h.

◆ W6100_Sn_MR_SMB

#define W6100_Sn_MR_SMB   0x20

Definition at line 565 of file w6100_driver.h.

◆ W6100_Sn_MR_UNIB

#define W6100_Sn_MR_UNIB   0x10

Definition at line 567 of file w6100_driver.h.

◆ W6100_Sn_MSSR0

#define W6100_Sn_MSSR0   0x0110

Definition at line 320 of file w6100_driver.h.

◆ W6100_Sn_MSSR1

#define W6100_Sn_MSSR1   0x0111

Definition at line 321 of file w6100_driver.h.

◆ W6100_Sn_PNR

#define W6100_Sn_PNR   0x0100

Definition at line 315 of file w6100_driver.h.

◆ W6100_Sn_PORTR0

#define W6100_Sn_PORTR0   0x0114

Definition at line 322 of file w6100_driver.h.

◆ W6100_Sn_PORTR1

#define W6100_Sn_PORTR1   0x0115

Definition at line 323 of file w6100_driver.h.

◆ W6100_Sn_PSR

#define W6100_Sn_PSR   0x0004

Definition at line 308 of file w6100_driver.h.

◆ W6100_Sn_PSR_AUTO

#define W6100_Sn_PSR_AUTO   0x00

Definition at line 582 of file w6100_driver.h.

◆ W6100_Sn_PSR_GUA

#define W6100_Sn_PSR_GUA   0x03

Definition at line 584 of file w6100_driver.h.

◆ W6100_Sn_PSR_LLA

#define W6100_Sn_PSR_LLA   0x02

Definition at line 583 of file w6100_driver.h.

◆ W6100_Sn_RCR

#define W6100_Sn_RCR   0x0184

Definition at line 355 of file w6100_driver.h.

◆ W6100_Sn_RTR0

#define W6100_Sn_RTR0   0x0180

Definition at line 353 of file w6100_driver.h.

◆ W6100_Sn_RTR1

#define W6100_Sn_RTR1   0x0181

Definition at line 354 of file w6100_driver.h.

◆ W6100_Sn_RX_BSR

#define W6100_Sn_RX_BSR   0x0220

Definition at line 364 of file w6100_driver.h.

◆ W6100_Sn_RX_BSR_0KB

#define W6100_Sn_RX_BSR_0KB   0x00

Definition at line 659 of file w6100_driver.h.

◆ W6100_Sn_RX_BSR_16KB

#define W6100_Sn_RX_BSR_16KB   0x10

Definition at line 664 of file w6100_driver.h.

◆ W6100_Sn_RX_BSR_1KB

#define W6100_Sn_RX_BSR_1KB   0x01

Definition at line 660 of file w6100_driver.h.

◆ W6100_Sn_RX_BSR_2KB

#define W6100_Sn_RX_BSR_2KB   0x02

Definition at line 661 of file w6100_driver.h.

◆ W6100_Sn_RX_BSR_4KB

#define W6100_Sn_RX_BSR_4KB   0x04

Definition at line 662 of file w6100_driver.h.

◆ W6100_Sn_RX_BSR_8KB

#define W6100_Sn_RX_BSR_8KB   0x08

Definition at line 663 of file w6100_driver.h.

◆ W6100_Sn_RX_RD0

#define W6100_Sn_RX_RD0   0x0228

Definition at line 367 of file w6100_driver.h.

◆ W6100_Sn_RX_RD1

#define W6100_Sn_RX_RD1   0x0229

Definition at line 368 of file w6100_driver.h.

◆ W6100_Sn_RX_RSR0

#define W6100_Sn_RX_RSR0   0x0224

Definition at line 365 of file w6100_driver.h.

◆ W6100_Sn_RX_RSR1

#define W6100_Sn_RX_RSR1   0x0225

Definition at line 366 of file w6100_driver.h.

◆ W6100_Sn_RX_WR0

#define W6100_Sn_RX_WR0   0x022C

Definition at line 369 of file w6100_driver.h.

◆ W6100_Sn_RX_WR1

#define W6100_Sn_RX_WR1   0x022D

Definition at line 370 of file w6100_driver.h.

◆ W6100_Sn_SR

#define W6100_Sn_SR   0x0030

Definition at line 313 of file w6100_driver.h.

◆ W6100_Sn_SR_SOCK_CLOSE_WAIT

#define W6100_Sn_SR_SOCK_CLOSE_WAIT   0x1C

Definition at line 628 of file w6100_driver.h.

◆ W6100_Sn_SR_SOCK_CLOSED

#define W6100_Sn_SR_SOCK_CLOSED   0x00

Definition at line 620 of file w6100_driver.h.

◆ W6100_Sn_SR_SOCK_ESTABLISHED

#define W6100_Sn_SR_SOCK_ESTABLISHED   0x17

Definition at line 625 of file w6100_driver.h.

◆ W6100_Sn_SR_SOCK_FIN_WAIT

#define W6100_Sn_SR_SOCK_FIN_WAIT   0x18

Definition at line 626 of file w6100_driver.h.

◆ W6100_Sn_SR_SOCK_INIT

#define W6100_Sn_SR_SOCK_INIT   0x13

Definition at line 621 of file w6100_driver.h.

◆ W6100_Sn_SR_SOCK_IPRAW

#define W6100_Sn_SR_SOCK_IPRAW   0x32

Definition at line 631 of file w6100_driver.h.

◆ W6100_Sn_SR_SOCK_IPRAW6

#define W6100_Sn_SR_SOCK_IPRAW6   0x33

Definition at line 632 of file w6100_driver.h.

◆ W6100_Sn_SR_SOCK_LAST_ACK

#define W6100_Sn_SR_SOCK_LAST_ACK   0x1D

Definition at line 629 of file w6100_driver.h.

◆ W6100_Sn_SR_SOCK_LISTEN

#define W6100_Sn_SR_SOCK_LISTEN   0x14

Definition at line 622 of file w6100_driver.h.

◆ W6100_Sn_SR_SOCK_MACRAW

#define W6100_Sn_SR_SOCK_MACRAW   0x42

Definition at line 633 of file w6100_driver.h.

◆ W6100_Sn_SR_SOCK_SYNRECV

#define W6100_Sn_SR_SOCK_SYNRECV   0x16

Definition at line 624 of file w6100_driver.h.

◆ W6100_Sn_SR_SOCK_SYNSENT

#define W6100_Sn_SR_SOCK_SYNSENT   0x15

Definition at line 623 of file w6100_driver.h.

◆ W6100_Sn_SR_SOCK_TIME_WAIT

#define W6100_Sn_SR_SOCK_TIME_WAIT   0x1B

Definition at line 627 of file w6100_driver.h.

◆ W6100_Sn_SR_SOCK_UDP

#define W6100_Sn_SR_SOCK_UDP   0x22

Definition at line 630 of file w6100_driver.h.

◆ W6100_Sn_TOSR

#define W6100_Sn_TOSR   0x0104

Definition at line 316 of file w6100_driver.h.

◆ W6100_Sn_TTLR

#define W6100_Sn_TTLR   0x0108

Definition at line 317 of file w6100_driver.h.

◆ W6100_Sn_TX_BSR

#define W6100_Sn_TX_BSR   0x0200

Definition at line 357 of file w6100_driver.h.

◆ W6100_Sn_TX_BSR_0KB

#define W6100_Sn_TX_BSR_0KB   0x00

Definition at line 651 of file w6100_driver.h.

◆ W6100_Sn_TX_BSR_16KB

#define W6100_Sn_TX_BSR_16KB   0x10

Definition at line 656 of file w6100_driver.h.

◆ W6100_Sn_TX_BSR_1KB

#define W6100_Sn_TX_BSR_1KB   0x01

Definition at line 652 of file w6100_driver.h.

◆ W6100_Sn_TX_BSR_2KB

#define W6100_Sn_TX_BSR_2KB   0x02

Definition at line 653 of file w6100_driver.h.

◆ W6100_Sn_TX_BSR_4KB

#define W6100_Sn_TX_BSR_4KB   0x04

Definition at line 654 of file w6100_driver.h.

◆ W6100_Sn_TX_BSR_8KB

#define W6100_Sn_TX_BSR_8KB   0x08

Definition at line 655 of file w6100_driver.h.

◆ W6100_Sn_TX_FSR0

#define W6100_Sn_TX_FSR0   0x0204

Definition at line 358 of file w6100_driver.h.

◆ W6100_Sn_TX_FSR1

#define W6100_Sn_TX_FSR1   0x0205

Definition at line 359 of file w6100_driver.h.

◆ W6100_Sn_TX_RD0

#define W6100_Sn_TX_RD0   0x0208

Definition at line 360 of file w6100_driver.h.

◆ W6100_Sn_TX_RD1

#define W6100_Sn_TX_RD1   0x0209

Definition at line 361 of file w6100_driver.h.

◆ W6100_Sn_TX_WR0

#define W6100_Sn_TX_WR0   0x020C

Definition at line 362 of file w6100_driver.h.

◆ W6100_Sn_TX_WR1

#define W6100_Sn_TX_WR1   0x020D

Definition at line 363 of file w6100_driver.h.

◆ W6100_SUB6R0

#define W6100_SUB6R0   0x4160

Definition at line 184 of file w6100_driver.h.

◆ W6100_SUB6R1

#define W6100_SUB6R1   0x4161

Definition at line 185 of file w6100_driver.h.

◆ W6100_SUB6R10

#define W6100_SUB6R10   0x416A

Definition at line 194 of file w6100_driver.h.

◆ W6100_SUB6R11

#define W6100_SUB6R11   0x416B

Definition at line 195 of file w6100_driver.h.

◆ W6100_SUB6R12

#define W6100_SUB6R12   0x416C

Definition at line 196 of file w6100_driver.h.

◆ W6100_SUB6R13

#define W6100_SUB6R13   0x416D

Definition at line 197 of file w6100_driver.h.

◆ W6100_SUB6R14

#define W6100_SUB6R14   0x416E

Definition at line 198 of file w6100_driver.h.

◆ W6100_SUB6R15

#define W6100_SUB6R15   0x416F

Definition at line 199 of file w6100_driver.h.

◆ W6100_SUB6R2

#define W6100_SUB6R2   0x4162

Definition at line 186 of file w6100_driver.h.

◆ W6100_SUB6R3

#define W6100_SUB6R3   0x4163

Definition at line 187 of file w6100_driver.h.

◆ W6100_SUB6R4

#define W6100_SUB6R4   0x4164

Definition at line 188 of file w6100_driver.h.

◆ W6100_SUB6R5

#define W6100_SUB6R5   0x4165

Definition at line 189 of file w6100_driver.h.

◆ W6100_SUB6R6

#define W6100_SUB6R6   0x4166

Definition at line 190 of file w6100_driver.h.

◆ W6100_SUB6R7

#define W6100_SUB6R7   0x4167

Definition at line 191 of file w6100_driver.h.

◆ W6100_SUB6R8

#define W6100_SUB6R8   0x4168

Definition at line 192 of file w6100_driver.h.

◆ W6100_SUB6R9

#define W6100_SUB6R9   0x4169

Definition at line 193 of file w6100_driver.h.

◆ W6100_SUBR0

#define W6100_SUBR0   0x4134

Definition at line 144 of file w6100_driver.h.

◆ W6100_SUBR1

#define W6100_SUBR1   0x4135

Definition at line 145 of file w6100_driver.h.

◆ W6100_SUBR2

#define W6100_SUBR2   0x4136

Definition at line 146 of file w6100_driver.h.

◆ W6100_SUBR3

#define W6100_SUBR3   0x4137

Definition at line 147 of file w6100_driver.h.

◆ W6100_SYCR0

#define W6100_SYCR0   0x2004

Definition at line 93 of file w6100_driver.h.

◆ W6100_SYCR0_RST

#define W6100_SYCR0_RST   0x80

Definition at line 392 of file w6100_driver.h.

◆ W6100_SYCR1

#define W6100_SYCR1   0x2005

Definition at line 94 of file w6100_driver.h.

◆ W6100_SYCR1_CLKSEL

#define W6100_SYCR1_CLKSEL   0x01

Definition at line 396 of file w6100_driver.h.

◆ W6100_SYCR1_IEN

#define W6100_SYCR1_IEN   0x80

Definition at line 395 of file w6100_driver.h.

◆ W6100_SYSR

#define W6100_SYSR   0x2000

Definition at line 92 of file w6100_driver.h.

◆ W6100_SYSR_CHPL

#define W6100_SYSR_CHPL   0x80

Definition at line 385 of file w6100_driver.h.

◆ W6100_SYSR_IND

#define W6100_SYSR_IND   0x02

Definition at line 388 of file w6100_driver.h.

◆ W6100_SYSR_NETL

#define W6100_SYSR_NETL   0x40

Definition at line 386 of file w6100_driver.h.

◆ W6100_SYSR_PHYL

#define W6100_SYSR_PHYL   0x20

Definition at line 387 of file w6100_driver.h.

◆ W6100_SYSR_SPI

#define W6100_SYSR_SPI   0x01

Definition at line 389 of file w6100_driver.h.

◆ W6100_TCNTCLR

#define W6100_TCNTCLR   0x2020

Definition at line 97 of file w6100_driver.h.

◆ W6100_TCNTR0

#define W6100_TCNTR0   0x2016

Definition at line 95 of file w6100_driver.h.

◆ W6100_TCNTR1

#define W6100_TCNTR1   0x2017

Definition at line 96 of file w6100_driver.h.

◆ W6100_UIP6R0

#define W6100_UIP6R0   0x41B0

Definition at line 248 of file w6100_driver.h.

◆ W6100_UIP6R1

#define W6100_UIP6R1   0x41B1

Definition at line 249 of file w6100_driver.h.

◆ W6100_UIP6R10

#define W6100_UIP6R10   0x41BA

Definition at line 258 of file w6100_driver.h.

◆ W6100_UIP6R11

#define W6100_UIP6R11   0x41BB

Definition at line 259 of file w6100_driver.h.

◆ W6100_UIP6R12

#define W6100_UIP6R12   0x41BC

Definition at line 260 of file w6100_driver.h.

◆ W6100_UIP6R13

#define W6100_UIP6R13   0x41BD

Definition at line 261 of file w6100_driver.h.

◆ W6100_UIP6R14

#define W6100_UIP6R14   0x41BE

Definition at line 262 of file w6100_driver.h.

◆ W6100_UIP6R15

#define W6100_UIP6R15   0x41BF

Definition at line 263 of file w6100_driver.h.

◆ W6100_UIP6R2

#define W6100_UIP6R2   0x41B2

Definition at line 250 of file w6100_driver.h.

◆ W6100_UIP6R3

#define W6100_UIP6R3   0x41B3

Definition at line 251 of file w6100_driver.h.

◆ W6100_UIP6R4

#define W6100_UIP6R4   0x41B4

Definition at line 252 of file w6100_driver.h.

◆ W6100_UIP6R5

#define W6100_UIP6R5   0x41B5

Definition at line 253 of file w6100_driver.h.

◆ W6100_UIP6R6

#define W6100_UIP6R6   0x41B6

Definition at line 254 of file w6100_driver.h.

◆ W6100_UIP6R7

#define W6100_UIP6R7   0x41B7

Definition at line 255 of file w6100_driver.h.

◆ W6100_UIP6R8

#define W6100_UIP6R8   0x41B8

Definition at line 256 of file w6100_driver.h.

◆ W6100_UIP6R9

#define W6100_UIP6R9   0x41B9

Definition at line 257 of file w6100_driver.h.

◆ W6100_UIPR0

#define W6100_UIPR0   0x41A0

Definition at line 242 of file w6100_driver.h.

◆ W6100_UIPR1

#define W6100_UIPR1   0x41A1

Definition at line 243 of file w6100_driver.h.

◆ W6100_UIPR2

#define W6100_UIPR2   0x41A2

Definition at line 244 of file w6100_driver.h.

◆ W6100_UIPR3

#define W6100_UIPR3   0x41A3

Definition at line 245 of file w6100_driver.h.

◆ W6100_UPORT6R0

#define W6100_UPORT6R0   0x41C0

Definition at line 264 of file w6100_driver.h.

◆ W6100_UPORT6R1

#define W6100_UPORT6R1   0x41C1

Definition at line 265 of file w6100_driver.h.

◆ W6100_UPORTR0

#define W6100_UPORTR0   0x41A4

Definition at line 246 of file w6100_driver.h.

◆ W6100_UPORTR1

#define W6100_UPORTR1   0x41A5

Definition at line 247 of file w6100_driver.h.

◆ W6100_VER0

#define W6100_VER0   0x0002

Definition at line 90 of file w6100_driver.h.

◆ W6100_VER0_DEFAULT

#define W6100_VER0_DEFAULT   0x46

Definition at line 379 of file w6100_driver.h.

◆ W6100_VER1

#define W6100_VER1   0x0003

Definition at line 91 of file w6100_driver.h.

◆ W6100_VER1_DEFAULT

#define W6100_VER1_DEFAULT   0x61

Definition at line 382 of file w6100_driver.h.

◆ W6100_VLTR0

#define W6100_VLTR0   0x41D8

Definition at line 270 of file w6100_driver.h.

◆ W6100_VLTR1

#define W6100_VLTR1   0x41D9

Definition at line 271 of file w6100_driver.h.

◆ W6100_VLTR2

#define W6100_VLTR2   0x41DA

Definition at line 272 of file w6100_driver.h.

◆ W6100_VLTR3

#define W6100_VLTR3   0x41DB

Definition at line 273 of file w6100_driver.h.

Function Documentation

◆ w6100DisableIrq()

void w6100DisableIrq ( NetInterface interface)

Disable interrupts.

Parameters
[in]interfaceUnderlying network interface

Definition at line 278 of file w6100_driver.c.

◆ w6100DumpReg()

void w6100DumpReg ( NetInterface interface)

Dump registers for debugging purpose.

Parameters
[in]interfaceUnderlying network interface

Definition at line 740 of file w6100_driver.c.

◆ w6100EnableIrq()

void w6100EnableIrq ( NetInterface interface)

Enable interrupts.

Parameters
[in]interfaceUnderlying network interface

Definition at line 263 of file w6100_driver.c.

◆ w6100EventHandler()

void w6100EventHandler ( NetInterface interface)

W6100 event handler.

Parameters
[in]interfaceUnderlying network interface

Definition at line 356 of file w6100_driver.c.

◆ w6100Init()

error_t w6100Init ( NetInterface interface)

W6100 controller initialization.

Parameters
[in]interfaceUnderlying network interface
Returns
Error code

Definition at line 71 of file w6100_driver.c.

◆ w6100InitHook()

void w6100InitHook ( NetInterface interface)

W6100 custom configuration.

Parameters
[in]interfaceUnderlying network interface

Definition at line 196 of file w6100_driver.c.

◆ w6100IrqHandler()

bool_t w6100IrqHandler ( NetInterface interface)

W6100 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 294 of file w6100_driver.c.

◆ w6100ReadBuffer()

void w6100ReadBuffer ( NetInterface interface,
uint8_t  control,
uint16_t  address,
uint8_t *  data,
size_t  length 
)

Read RX buffer.

Parameters
[in]interfaceUnderlying network interface
[in]controlControl byte
[in]addressBuffer address
[out]dataBuffer where to store the incoming data
[in]lengthNumber of data to read

Definition at line 708 of file w6100_driver.c.

◆ w6100ReadReg16()

uint16_t w6100ReadReg16 ( NetInterface interface,
uint8_t  control,
uint16_t  address 
)

Read 16-bit register.

Parameters
[in]interfaceUnderlying network interface
[in]controlControl byte
[in]addressRegister address
Returns
Register value

Definition at line 635 of file w6100_driver.c.

◆ w6100ReadReg8()

uint8_t w6100ReadReg8 ( NetInterface interface,
uint8_t  control,
uint16_t  address 
)

Read 8-bit register.

Parameters
[in]interfaceUnderlying network interface
[in]controlControl byte
[in]addressRegister address
Returns
Register value

Definition at line 569 of file w6100_driver.c.

◆ w6100ReceivePacket()

error_t w6100ReceivePacket ( NetInterface interface)

Receive a packet.

Parameters
[in]interfaceUnderlying network interface
Returns
Error code

Definition at line 446 of file w6100_driver.c.

◆ w6100SendPacket()

error_t w6100SendPacket ( 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 381 of file w6100_driver.c.

◆ w6100Tick()

void w6100Tick ( NetInterface interface)

W6100 timer handler.

Parameters
[in]interfaceUnderlying network interface

Definition at line 206 of file w6100_driver.c.

◆ w6100UpdateMacAddrFilter()

error_t w6100UpdateMacAddrFilter ( NetInterface interface)

Configure MAC address filtering.

Parameters
[in]interfaceUnderlying network interface
Returns
Error code

Definition at line 524 of file w6100_driver.c.

◆ w6100WriteBuffer()

void w6100WriteBuffer ( NetInterface interface,
uint8_t  control,
uint16_t  address,
const uint8_t *  data,
size_t  length 
)

Write TX buffer.

Parameters
[in]interfaceUnderlying network interface
[in]controlControl byte
[in]addressBuffer address
[in]dataPointer to the data being written
[in]lengthNumber of data to write

Definition at line 672 of file w6100_driver.c.

◆ w6100WriteReg16()

void w6100WriteReg16 ( NetInterface interface,
uint8_t  control,
uint16_t  address,
uint16_t  data 
)

Write 16-bit register.

Parameters
[in]interfaceUnderlying network interface
[in]controlControl byte
[in]addressRegister address
[in]dataRegister value

Definition at line 604 of file w6100_driver.c.

◆ w6100WriteReg8()

void w6100WriteReg8 ( NetInterface interface,
uint8_t  control,
uint16_t  address,
uint8_t  data 
)

Write 8-bit register.

Parameters
[in]interfaceUnderlying network interface
[in]controlControl byte
[in]addressRegister address
[in]dataRegister value

Definition at line 539 of file w6100_driver.c.

Variable Documentation

◆ w6100Driver

const NicDriver w6100Driver
extern

W6100 driver.

Definition at line 44 of file w6100_driver.c.