w5200_driver.h File Reference

WIZnet W5200 Ethernet controller. More...

#include "core/nic.h"

Go to the source code of this file.

Macros

#define W5200_ETH_TX_BUFFER_SIZE   1536
 
#define W5200_ETH_RX_BUFFER_SIZE   1536
 
#define W5200_OP_READ   0x00
 
#define W5200_OP_WRITE   0x80
 
#define W5200_MR   0x00
 
#define W5200_GAR0   0x01
 
#define W5200_GAR1   0x02
 
#define W5200_GAR2   0x03
 
#define W5200_GAR3   0x04
 
#define W5200_SUBR0   0x05
 
#define W5200_SUBR1   0x06
 
#define W5200_SUBR2   0x07
 
#define W5200_SUBR3   0x08
 
#define W5200_SHAR0   0x09
 
#define W5200_SHAR1   0x0A
 
#define W5200_SHAR2   0x0B
 
#define W5200_SHAR3   0x0C
 
#define W5200_SHAR4   0x0D
 
#define W5200_SHAR5   0x0E
 
#define W5200_SIPR0   0x0F
 
#define W5200_SIPR1   0x10
 
#define W5200_SIPR2   0x11
 
#define W5200_SIPR3   0x12
 
#define W5200_IR   0x15
 
#define W5200_IMR   0x16
 
#define W5200_RTR0   0x17
 
#define W5200_RTR1   0x18
 
#define W5200_RCR   0x19
 
#define W5200_PATR0   0x1C
 
#define W5200_PATR1   0x1D
 
#define W5200_PPPALGO   0x1E
 
#define W5200_VERSIONR   0x1F
 
#define W5200_PTIMER   0x28
 
#define W5200_PMAGIC   0x29
 
#define W5200_INTLEVEL0   0x30
 
#define W5200_INTLEVEL1   0x31
 
#define W5200_IR2   0x34
 
#define W5200_PSTATUS   0x35
 
#define W5200_IMR2   0x36
 
#define W5200_S0_MR   0x4000
 
#define W5200_S0_CR   0x4001
 
#define W5200_S0_IR   0x4002
 
#define W5200_S0_SR   0x4003
 
#define W5200_S0_PORT0   0x4004
 
#define W5200_S0_PORT1   0x4005
 
#define W5200_S0_DHAR0   0x4006
 
#define W5200_S0_DHAR1   0x4007
 
#define W5200_S0_DHAR2   0x4008
 
#define W5200_S0_DHAR3   0x4009
 
#define W5200_S0_DHAR4   0x400A
 
#define W5200_S0_DHAR5   0x400B
 
#define W5200_S0_DIPR0   0x400C
 
#define W5200_S0_DIPR1   0x400D
 
#define W5200_S0_DIPR2   0x400E
 
#define W5200_S0_DIPR3   0x400F
 
#define W5200_S0_DPORT0   0x4010
 
#define W5200_S0_DPORT1   0x4011
 
#define W5200_S0_MSSR0   0x4012
 
#define W5200_S0_MSSR1   0x4013
 
#define W5200_S0_PROTO   0x4014
 
#define W5200_S0_TOS   0x4015
 
#define W5200_S0_TTL   0x4016
 
#define W5200_S0_RXMEM_SIZE   0x401E
 
#define W5200_S0_TXMEM_SIZE   0x401F
 
#define W5200_S0_TX_FSR0   0x4020
 
#define W5200_S0_TX_FSR1   0x4021
 
#define W5200_S0_TX_RD0   0x4022
 
#define W5200_S0_TX_RD1   0x4023
 
#define W5200_S0_TX_WR0   0x4024
 
#define W5200_S0_TX_WR1   0x4025
 
#define W5200_S0_RX_RSR0   0x4026
 
#define W5200_S0_RX_RSR1   0x4027
 
#define W5200_S0_RX_RD0   0x4028
 
#define W5200_S0_RX_RD1   0x4029
 
#define W5200_S0_RX_WR0   0x402A
 
#define W5200_S0_RX_WR1   0x402B
 
#define W5200_S0_IMR   0x402C
 
#define W5200_S0_FRAG0   0x402D
 
#define W5200_S0_FRAG1   0x402E
 
#define W5200_S1_MR   0x4100
 
#define W5200_S1_CR   0x4101
 
#define W5200_S1_IR   0x4102
 
#define W5200_S1_SR   0x4103
 
#define W5200_S1_PORT0   0x4104
 
#define W5200_S1_PORT1   0x4105
 
#define W5200_S1_DHAR0   0x4106
 
#define W5200_S1_DHAR1   0x4107
 
#define W5200_S1_DHAR2   0x4108
 
#define W5200_S1_DHAR3   0x4109
 
#define W5200_S1_DHAR4   0x410A
 
#define W5200_S1_DHAR5   0x410B
 
#define W5200_S1_DIPR0   0x410C
 
#define W5200_S1_DIPR1   0x410D
 
#define W5200_S1_DIPR2   0x410E
 
#define W5200_S1_DIPR3   0x410F
 
#define W5200_S1_DPORT0   0x4110
 
#define W5200_S1_DPORT1   0x4111
 
#define W5200_S1_MSSR0   0x4112
 
#define W5200_S1_MSSR1   0x4113
 
#define W5200_S1_PROTO   0x4114
 
#define W5200_S1_TOS   0x4115
 
#define W5200_S1_TTL   0x4116
 
#define W5200_S1_RXMEM_SIZE   0x411E
 
#define W5200_S1_TXMEM_SIZE   0x411F
 
#define W5200_S1_TX_FSR0   0x4120
 
#define W5200_S1_TX_FSR1   0x4121
 
#define W5200_S1_TX_RD0   0x4122
 
#define W5200_S1_TX_RD1   0x4123
 
#define W5200_S1_TX_WR0   0x4124
 
#define W5200_S1_TX_WR1   0x4125
 
#define W5200_S1_RX_RSR0   0x4126
 
#define W5200_S1_RX_RSR1   0x4127
 
#define W5200_S1_RX_RD0   0x4128
 
#define W5200_S1_RX_RD1   0x4129
 
#define W5200_S1_RX_WR0   0x412A
 
#define W5200_S1_RX_WR1   0x412B
 
#define W5200_S1_IMR   0x412C
 
#define W5200_S1_FRAG0   0x412D
 
#define W5200_S1_FRAG1   0x412E
 
#define W5200_S2_MR   0x4200
 
#define W5200_S2_CR   0x4201
 
#define W5200_S2_IR   0x4202
 
#define W5200_S2_SR   0x4203
 
#define W5200_S2_PORT0   0x4204
 
#define W5200_S2_PORT1   0x4205
 
#define W5200_S2_DHAR0   0x4206
 
#define W5200_S2_DHAR1   0x4207
 
#define W5200_S2_DHAR2   0x4208
 
#define W5200_S2_DHAR3   0x4209
 
#define W5200_S2_DHAR4   0x420A
 
#define W5200_S2_DHAR5   0x420B
 
#define W5200_S2_DIPR0   0x420C
 
#define W5200_S2_DIPR1   0x420D
 
#define W5200_S2_DIPR2   0x420E
 
#define W5200_S2_DIPR3   0x420F
 
#define W5200_S2_DPORT0   0x4210
 
#define W5200_S2_DPORT1   0x4211
 
#define W5200_S2_MSSR0   0x4212
 
#define W5200_S2_MSSR1   0x4213
 
#define W5200_S2_PROTO   0x4214
 
#define W5200_S2_TOS   0x4215
 
#define W5200_S2_TTL   0x4216
 
#define W5200_S2_RXMEM_SIZE   0x421E
 
#define W5200_S2_TXMEM_SIZE   0x421F
 
#define W5200_S2_TX_FSR0   0x4220
 
#define W5200_S2_TX_FSR1   0x4221
 
#define W5200_S2_TX_RD0   0x4222
 
#define W5200_S2_TX_RD1   0x4223
 
#define W5200_S2_TX_WR0   0x4224
 
#define W5200_S2_TX_WR1   0x4225
 
#define W5200_S2_RX_RSR0   0x4226
 
#define W5200_S2_RX_RSR1   0x4227
 
#define W5200_S2_RX_RD0   0x4228
 
#define W5200_S2_RX_RD1   0x4229
 
#define W5200_S2_RX_WR0   0x422A
 
#define W5200_S2_RX_WR1   0x422B
 
#define W5200_S2_IMR   0x422C
 
#define W5200_S2_FRAG0   0x422D
 
#define W5200_S2_FRAG1   0x422E
 
#define W5200_S3_MR   0x4300
 
#define W5200_S3_CR   0x4301
 
#define W5200_S3_IR   0x4302
 
#define W5200_S3_SR   0x4303
 
#define W5200_S3_PORT0   0x4304
 
#define W5200_S3_PORT1   0x4305
 
#define W5200_S3_DHAR0   0x4306
 
#define W5200_S3_DHAR1   0x4307
 
#define W5200_S3_DHAR2   0x4308
 
#define W5200_S3_DHAR3   0x4309
 
#define W5200_S3_DHAR4   0x430A
 
#define W5200_S3_DHAR5   0x430B
 
#define W5200_S3_DIPR0   0x430C
 
#define W5200_S3_DIPR1   0x430D
 
#define W5200_S3_DIPR2   0x430E
 
#define W5200_S3_DIPR3   0x430F
 
#define W5200_S3_DPORT0   0x4310
 
#define W5200_S3_DPORT1   0x4311
 
#define W5200_S3_MSSR0   0x4312
 
#define W5200_S3_MSSR1   0x4313
 
#define W5200_S3_PROTO   0x4314
 
#define W5200_S3_TOS   0x4315
 
#define W5200_S3_TTL   0x4316
 
#define W5200_S3_RXMEM_SIZE   0x431E
 
#define W5200_S3_TXMEM_SIZE   0x431F
 
#define W5200_S3_TX_FSR0   0x4320
 
#define W5200_S3_TX_FSR1   0x4321
 
#define W5200_S3_TX_RD0   0x4322
 
#define W5200_S3_TX_RD1   0x4323
 
#define W5200_S3_TX_WR0   0x4324
 
#define W5200_S3_TX_WR1   0x4325
 
#define W5200_S3_RX_RSR0   0x4326
 
#define W5200_S3_RX_RSR1   0x4327
 
#define W5200_S3_RX_RD0   0x4328
 
#define W5200_S3_RX_RD1   0x4329
 
#define W5200_S3_RX_WR0   0x432A
 
#define W5200_S3_RX_WR1   0x432B
 
#define W5200_S3_IMR   0x432C
 
#define W5200_S3_FRAG0   0x432D
 
#define W5200_S3_FRAG1   0x432E
 
#define W5200_S4_MR   0x4400
 
#define W5200_S4_CR   0x4401
 
#define W5200_S4_IR   0x4402
 
#define W5200_S4_SR   0x4403
 
#define W5200_S4_PORT0   0x4404
 
#define W5200_S4_PORT1   0x4405
 
#define W5200_S4_DHAR0   0x4406
 
#define W5200_S4_DHAR1   0x4407
 
#define W5200_S4_DHAR2   0x4408
 
#define W5200_S4_DHAR3   0x4409
 
#define W5200_S4_DHAR4   0x440A
 
#define W5200_S4_DHAR5   0x440B
 
#define W5200_S4_DIPR0   0x440C
 
#define W5200_S4_DIPR1   0x440D
 
#define W5200_S4_DIPR2   0x440E
 
#define W5200_S4_DIPR3   0x440F
 
#define W5200_S4_DPORT0   0x4410
 
#define W5200_S4_DPORT1   0x4411
 
#define W5200_S4_MSSR0   0x4412
 
#define W5200_S4_MSSR1   0x4413
 
#define W5200_S4_PROTO   0x4414
 
#define W5200_S4_TOS   0x4415
 
#define W5200_S4_TTL   0x4416
 
#define W5200_S4_RXMEM_SIZE   0x441E
 
#define W5200_S4_TXMEM_SIZE   0x441F
 
#define W5200_S4_TX_FSR0   0x4420
 
#define W5200_S4_TX_FSR1   0x4421
 
#define W5200_S4_TX_RD0   0x4422
 
#define W5200_S4_TX_RD1   0x4423
 
#define W5200_S4_TX_WR0   0x4424
 
#define W5200_S4_TX_WR1   0x4425
 
#define W5200_S4_RX_RSR0   0x4426
 
#define W5200_S4_RX_RSR1   0x4427
 
#define W5200_S4_RX_RD0   0x4428
 
#define W5200_S4_RX_RD1   0x4429
 
#define W5200_S4_RX_WR0   0x442A
 
#define W5200_S4_RX_WR1   0x442B
 
#define W5200_S4_IMR   0x442C
 
#define W5200_S4_FRAG0   0x442D
 
#define W5200_S4_FRAG1   0x442E
 
#define W5200_S5_MR   0x4500
 
#define W5200_S5_CR   0x4501
 
#define W5200_S5_IR   0x4502
 
#define W5200_S5_SR   0x4503
 
#define W5200_S5_PORT0   0x4504
 
#define W5200_S5_PORT1   0x4505
 
#define W5200_S5_DHAR0   0x4506
 
#define W5200_S5_DHAR1   0x4507
 
#define W5200_S5_DHAR2   0x4508
 
#define W5200_S5_DHAR3   0x4509
 
#define W5200_S5_DHAR4   0x450A
 
#define W5200_S5_DHAR5   0x450B
 
#define W5200_S5_DIPR0   0x450C
 
#define W5200_S5_DIPR1   0x450D
 
#define W5200_S5_DIPR2   0x450E
 
#define W5200_S5_DIPR3   0x450F
 
#define W5200_S5_DPORT0   0x4510
 
#define W5200_S5_DPORT1   0x4511
 
#define W5200_S5_MSSR0   0x4512
 
#define W5200_S5_MSSR1   0x4513
 
#define W5200_S5_PROTO   0x4514
 
#define W5200_S5_TOS   0x4515
 
#define W5200_S5_TTL   0x4516
 
#define W5200_S5_RXMEM_SIZE   0x451E
 
#define W5200_S5_TXMEM_SIZE   0x451F
 
#define W5200_S5_TX_FSR0   0x4520
 
#define W5200_S5_TX_FSR1   0x4521
 
#define W5200_S5_TX_RD0   0x4522
 
#define W5200_S5_TX_RD1   0x4523
 
#define W5200_S5_TX_WR0   0x4524
 
#define W5200_S5_TX_WR1   0x4525
 
#define W5200_S5_RX_RSR0   0x4526
 
#define W5200_S5_RX_RSR1   0x4527
 
#define W5200_S5_RX_RD0   0x4528
 
#define W5200_S5_RX_RD1   0x4529
 
#define W5200_S5_RX_WR0   0x452A
 
#define W5200_S5_RX_WR1   0x452B
 
#define W5200_S5_IMR   0x452C
 
#define W5200_S5_FRAG0   0x452D
 
#define W5200_S5_FRAG1   0x452E
 
#define W5200_S6_MR   0x4600
 
#define W5200_S6_CR   0x4601
 
#define W5200_S6_IR   0x4602
 
#define W5200_S6_SR   0x4603
 
#define W5200_S6_PORT0   0x4604
 
#define W5200_S6_PORT1   0x4605
 
#define W5200_S6_DHAR0   0x4606
 
#define W5200_S6_DHAR1   0x4607
 
#define W5200_S6_DHAR2   0x4608
 
#define W5200_S6_DHAR3   0x4609
 
#define W5200_S6_DHAR4   0x460A
 
#define W5200_S6_DHAR5   0x460B
 
#define W5200_S6_DIPR0   0x460C
 
#define W5200_S6_DIPR1   0x460D
 
#define W5200_S6_DIPR2   0x460E
 
#define W5200_S6_DIPR3   0x460F
 
#define W5200_S6_DPORT0   0x4610
 
#define W5200_S6_DPORT1   0x4611
 
#define W5200_S6_MSSR0   0x4612
 
#define W5200_S6_MSSR1   0x4613
 
#define W5200_S6_PROTO   0x4614
 
#define W5200_S6_TOS   0x4615
 
#define W5200_S6_TTL   0x4616
 
#define W5200_S6_RXMEM_SIZE   0x461E
 
#define W5200_S6_TXMEM_SIZE   0x461F
 
#define W5200_S6_TX_FSR0   0x4620
 
#define W5200_S6_TX_FSR1   0x4621
 
#define W5200_S6_TX_RD0   0x4622
 
#define W5200_S6_TX_RD1   0x4623
 
#define W5200_S6_TX_WR0   0x4624
 
#define W5200_S6_TX_WR1   0x4625
 
#define W5200_S6_RX_RSR0   0x4626
 
#define W5200_S6_RX_RSR1   0x4627
 
#define W5200_S6_RX_RD0   0x4628
 
#define W5200_S6_RX_RD1   0x4629
 
#define W5200_S6_RX_WR0   0x462A
 
#define W5200_S6_RX_WR1   0x462B
 
#define W5200_S6_IMR   0x462C
 
#define W5200_S6_FRAG0   0x462D
 
#define W5200_S6_FRAG1   0x462E
 
#define W5200_S7_MR   0x4700
 
#define W5200_S7_CR   0x4701
 
#define W5200_S7_IR   0x4702
 
#define W5200_S7_SR   0x4703
 
#define W5200_S7_PORT0   0x4704
 
#define W5200_S7_PORT1   0x4705
 
#define W5200_S7_DHAR0   0x4706
 
#define W5200_S7_DHAR1   0x4707
 
#define W5200_S7_DHAR2   0x4708
 
#define W5200_S7_DHAR3   0x4709
 
#define W5200_S7_DHAR4   0x470A
 
#define W5200_S7_DHAR5   0x470B
 
#define W5200_S7_DIPR0   0x470C
 
#define W5200_S7_DIPR1   0x470D
 
#define W5200_S7_DIPR2   0x470E
 
#define W5200_S7_DIPR3   0x470F
 
#define W5200_S7_DPORT0   0x4710
 
#define W5200_S7_DPORT1   0x4711
 
#define W5200_S7_MSSR0   0x4712
 
#define W5200_S7_MSSR1   0x4713
 
#define W5200_S7_PROTO   0x4714
 
#define W5200_S7_TOS   0x4715
 
#define W5200_S7_TTL   0x4716
 
#define W5200_S7_RXMEM_SIZE   0x471E
 
#define W5200_S7_TXMEM_SIZE   0x471F
 
#define W5200_S7_TX_FSR0   0x4720
 
#define W5200_S7_TX_FSR1   0x4721
 
#define W5200_S7_TX_RD0   0x4722
 
#define W5200_S7_TX_RD1   0x4723
 
#define W5200_S7_TX_WR0   0x4724
 
#define W5200_S7_TX_WR1   0x4725
 
#define W5200_S7_RX_RSR0   0x4726
 
#define W5200_S7_RX_RSR1   0x4727
 
#define W5200_S7_RX_RD0   0x4728
 
#define W5200_S7_RX_RD1   0x4729
 
#define W5200_S7_RX_WR0   0x472A
 
#define W5200_S7_RX_WR1   0x472B
 
#define W5200_S7_IMR   0x472C
 
#define W5200_S7_FRAG0   0x472D
 
#define W5200_S7_FRAG1   0x472E
 
#define W5200_Sn_MR(n)   (0x4000 + ((n) * 0x0100))
 
#define W5200_Sn_CR(n)   (0x4001 + ((n) * 0x0100))
 
#define W5200_Sn_IR(n)   (0x4002 + ((n) * 0x0100))
 
#define W5200_Sn_SR(n)   (0x4003 + ((n) * 0x0100))
 
#define W5200_Sn_PORT0(n)   (0x4004 + ((n) * 0x0100))
 
#define W5200_Sn_PORT1(n)   (0x4005 + ((n) * 0x0100))
 
#define W5200_Sn_DHAR0(n)   (0x4006 + ((n) * 0x0100))
 
#define W5200_Sn_DHAR1(n)   (0x4007 + ((n) * 0x0100))
 
#define W5200_Sn_DHAR2(n)   (0x4008 + ((n) * 0x0100))
 
#define W5200_Sn_DHAR3(n)   (0x4009 + ((n) * 0x0100))
 
#define W5200_Sn_DHAR4(n)   (0x400A + ((n) * 0x0100))
 
#define W5200_Sn_DHAR5(n)   (0x400B + ((n) * 0x0100))
 
#define W5200_Sn_DIPR0(n)   (0x400C + ((n) * 0x0100))
 
#define W5200_Sn_DIPR1(n)   (0x400D + ((n) * 0x0100))
 
#define W5200_Sn_DIPR2(n)   (0x400E + ((n) * 0x0100))
 
#define W5200_Sn_DIPR3(n)   (0x400F + ((n) * 0x0100))
 
#define W5200_Sn_DPORT0(n)   (0x4010 + ((n) * 0x0100))
 
#define W5200_Sn_DPORT1(n)   (0x4011 + ((n) * 0x0100))
 
#define W5200_Sn_MSSR0(n)   (0x4012 + ((n) * 0x0100))
 
#define W5200_Sn_MSSR1(n)   (0x4013 + ((n) * 0x0100))
 
#define W5200_Sn_PROTO(n)   (0x4014 + ((n) * 0x0100))
 
#define W5200_Sn_TOS(n)   (0x4015 + ((n) * 0x0100))
 
#define W5200_Sn_TTL(n)   (0x4016 + ((n) * 0x0100))
 
#define W5200_Sn_RXMEM_SIZE(n)   (0x401E + ((n) * 0x0100))
 
#define W5200_Sn_TXMEM_SIZE(n)   (0x401F + ((n) * 0x0100))
 
#define W5200_Sn_TX_FSR0(n)   (0x4020 + ((n) * 0x0100))
 
#define W5200_Sn_TX_FSR1(n)   (0x4021 + ((n) * 0x0100))
 
#define W5200_Sn_TX_RD0(n)   (0x4022 + ((n) * 0x0100))
 
#define W5200_Sn_TX_RD1(n)   (0x4023 + ((n) * 0x0100))
 
#define W5200_Sn_TX_WR0(n)   (0x4024 + ((n) * 0x0100))
 
#define W5200_Sn_TX_WR1(n)   (0x4025 + ((n) * 0x0100))
 
#define W5200_Sn_RX_RSR0(n)   (0x4026 + ((n) * 0x0100))
 
#define W5200_Sn_RX_RSR1(n)   (0x4027 + ((n) * 0x0100))
 
#define W5200_Sn_RX_RD0(n)   (0x4028 + ((n) * 0x0100))
 
#define W5200_Sn_RX_RD1(n)   (0x4029 + ((n) * 0x0100))
 
#define W5200_Sn_RX_WR0(n)   (0x402A + ((n) * 0x0100))
 
#define W5200_Sn_RX_WR1(n)   (0x402B + ((n) * 0x0100))
 
#define W5200_Sn_IMR(n)   (0x402C + ((n) * 0x0100))
 
#define W5200_Sn_FRAG0(n)   (0x402D + ((n) * 0x0100))
 
#define W5200_Sn_FRAG1(n)   (0x402E + ((n) * 0x0100))
 
#define W5200_TX_BUFFER   0x8000
 
#define W5200_RX_BUFFER   0xC000
 
#define W5200_MR_RST   0x80
 
#define W5200_MR_WOL   0x20
 
#define W5200_MR_PB   0x10
 
#define W5200_MR_PPPOE   0x08
 
#define W5200_IR_CONFLICT   0x80
 
#define W5200_IR_PPPOE   0x20
 
#define W5200_IMR_S7_IMR   0x80
 
#define W5200_IMR_S6_IMR   0x40
 
#define W5200_IMR_S5_IMR   0x20
 
#define W5200_IMR_S4_IMR   0x10
 
#define W5200_IMR_S3_IMR   0x08
 
#define W5200_IMR_S2_IMR   0x04
 
#define W5200_IMR_S1_IMR   0x02
 
#define W5200_IMR_S0_IMR   0x01
 
#define W5200_VERSIONR_DEFAULT   0x03
 
#define W5200_IR2_S7_INT   0x80
 
#define W5200_IR2_S6_INT   0x40
 
#define W5200_IR2_S5_INT   0x20
 
#define W5200_IR2_S4_INT   0x10
 
#define W5200_IR2_S3_INT   0x08
 
#define W5200_IR2_S2_INT   0x04
 
#define W5200_IR2_S1_INT   0x02
 
#define W5200_IR2_S0_INT   0x01
 
#define W5200_PSTATUS_LINK   0x20
 
#define W5200_PSTATUS_POWERSAVE   0x10
 
#define W5200_PSTATUS_POWERDOWN   0x08
 
#define W5200_IMR2_IM_IR7   0x80
 
#define W5200_IMR2_IM_IR5   0x20
 
#define W5200_Sn_MR_MULTI   0x80
 
#define W5200_Sn_MR_MF   0x40
 
#define W5200_Sn_MR_ND   0x20
 
#define W5200_Sn_MR_MC   0x20
 
#define W5200_Sn_MR_PROTOCOL   0x0F
 
#define W5200_Sn_MR_PROTOCOL_CLOSED   0x00
 
#define W5200_Sn_MR_PROTOCOL_TCP   0x01
 
#define W5200_Sn_MR_PROTOCOL_UDP   0x02
 
#define W5200_Sn_MR_PROTOCOL_IPRAW   0x03
 
#define W5200_Sn_MR_PROTOCOL_MACRAW   0x04
 
#define W5200_Sn_MR_PROTOCOL_PPPOE   0x05
 
#define W5200_Sn_CR_OPEN   0x01
 
#define W5200_Sn_CR_LISTEN   0x02
 
#define W5200_Sn_CR_CONNECT   0x04
 
#define W5200_Sn_CR_DISCON   0x08
 
#define W5200_Sn_CR_CLOSE   0x10
 
#define W5200_Sn_CR_SEND   0x20
 
#define W5200_Sn_CR_SEND_MAC   0x21
 
#define W5200_Sn_CR_SEND_KEEP   0x22
 
#define W5200_Sn_CR_PCON   0x23
 
#define W5200_Sn_CR_PDISCON   0x24
 
#define W5200_Sn_CR_PCR   0x25
 
#define W5200_Sn_CR_PCN   0x26
 
#define W5200_Sn_CR_PCJ   0x27
 
#define W5200_Sn_CR_RECV   0x40
 
#define W5200_Sn_IR_PRECV   0x80
 
#define W5200_Sn_IR_PFAIL   0x40
 
#define W5200_Sn_IR_PNEXT   0x20
 
#define W5200_Sn_IR_SENDOK   0x10
 
#define W5200_Sn_IR_TIMEOUT   0x08
 
#define W5200_Sn_IR_RECV   0x04
 
#define W5200_Sn_IR_DISCON   0x02
 
#define W5200_Sn_IR_CON   0x01
 
#define W5200_Sn_SR_SOCK_CLOSED   0x00
 
#define W5200_Sn_SR_SOCK_ARP   0x01
 
#define W5200_Sn_SR_SOCK_INIT   0x13
 
#define W5200_Sn_SR_SOCK_LISTEN   0x14
 
#define W5200_Sn_SR_SOCK_SYNSENT   0x15
 
#define W5200_Sn_SR_SOCK_SYNRECV   0x16
 
#define W5200_Sn_SR_SOCK_ESTABLISHED   0x17
 
#define W5200_Sn_SR_SOCK_FIN_WAIT   0x18
 
#define W5200_Sn_SR_SOCK_CLOSING   0x1A
 
#define W5200_Sn_SR_SOCK_TIME_WAIT   0x1B
 
#define W5200_Sn_SR_SOCK_CLOSE_WAIT   0x1C
 
#define W5200_Sn_SR_SOCK_LAST_ACK   0x1D
 
#define W5200_Sn_SR_SOCK_UDP   0x22
 
#define W5200_Sn_SR_SOCK_IPRAW   0x32
 
#define W5200_Sn_SR_SOCK_MACRAW   0x42
 
#define W5200_Sn_SR_SOCK_PPPOE   0x5F
 
#define W5200_Sn_RXMEM_SIZE_0KB   0x00
 
#define W5200_Sn_RXMEM_SIZE_1KB   0x01
 
#define W5200_Sn_RXMEM_SIZE_2KB   0x02
 
#define W5200_Sn_RXMEM_SIZE_4KB   0x04
 
#define W5200_Sn_RXMEM_SIZE_8KB   0x08
 
#define W5200_Sn_RXMEM_SIZE_16KB   0x10
 
#define W5200_Sn_TXMEM_SIZE_0KB   0x00
 
#define W5200_Sn_TXMEM_SIZE_1KB   0x01
 
#define W5200_Sn_TXMEM_SIZE_2KB   0x02
 
#define W5200_Sn_TXMEM_SIZE_4KB   0x04
 
#define W5200_Sn_TXMEM_SIZE_8KB   0x08
 
#define W5200_Sn_TXMEM_SIZE_16KB   0x10
 
#define W5200_Sn_IMR_PRECV   0x80
 
#define W5200_Sn_IMR_PFAIL   0x40
 
#define W5200_Sn_IMR_PNEXT   0x20
 
#define W5200_Sn_IMR_SENDOK   0x10
 
#define W5200_Sn_IMR_TIMEOUT   0x08
 
#define W5200_Sn_IMR_RECV   0x04
 
#define W5200_Sn_IMR_DISCON   0x02
 
#define W5200_Sn_IMR_CON   0x01
 

Functions

error_t w5200Init (NetInterface *interface)
 W5200 controller initialization. More...
 
void w5200InitHook (NetInterface *interface)
 W5200 custom configuration. More...
 
void w5200Tick (NetInterface *interface)
 W5200 timer handler. More...
 
void w5200EnableIrq (NetInterface *interface)
 Enable interrupts. More...
 
void w5200DisableIrq (NetInterface *interface)
 Disable interrupts. More...
 
bool_t w5200IrqHandler (NetInterface *interface)
 W5200 interrupt service routine. More...
 
void w5200EventHandler (NetInterface *interface)
 W5200 event handler. More...
 
error_t w5200SendPacket (NetInterface *interface, const NetBuffer *buffer, size_t offset, NetTxAncillary *ancillary)
 Send a packet. More...
 
error_t w5200ReceivePacket (NetInterface *interface)
 Receive a packet. More...
 
error_t w5200UpdateMacAddrFilter (NetInterface *interface)
 Configure MAC address filtering. More...
 
void w5200WriteReg8 (NetInterface *interface, uint16_t address, uint8_t data)
 Write 8-bit register. More...
 
uint8_t w5200ReadReg8 (NetInterface *interface, uint16_t address)
 Read 8-bit register. More...
 
void w5200WriteReg16 (NetInterface *interface, uint16_t address, uint16_t data)
 Write 16-bit register. More...
 
uint16_t w5200ReadReg16 (NetInterface *interface, uint16_t address)
 Read 16-bit register. More...
 
void w5200WriteData (NetInterface *interface, const uint8_t *data, size_t length)
 Write data. More...
 
void w5200ReadData (NetInterface *interface, uint8_t *data, size_t length)
 Read data. More...
 
void w5200WriteBuffer (NetInterface *interface, uint16_t offset, const uint8_t *data, size_t length)
 Write TX buffer. More...
 
void w5200ReadBuffer (NetInterface *interface, uint16_t address, uint8_t *data, size_t length)
 Read RX buffer. More...
 
void w5200DumpReg (NetInterface *interface)
 Dump registers for debugging purpose. More...
 

Variables

const NicDriver w5200Driver
 W5200 driver. More...
 

Detailed Description

WIZnet W5200 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 w5200_driver.h.

Macro Definition Documentation

◆ W5200_ETH_RX_BUFFER_SIZE

#define W5200_ETH_RX_BUFFER_SIZE   1536

Definition at line 46 of file w5200_driver.h.

◆ W5200_ETH_TX_BUFFER_SIZE

#define W5200_ETH_TX_BUFFER_SIZE   1536

Definition at line 39 of file w5200_driver.h.

◆ W5200_GAR0

#define W5200_GAR0   0x01

Definition at line 57 of file w5200_driver.h.

◆ W5200_GAR1

#define W5200_GAR1   0x02

Definition at line 58 of file w5200_driver.h.

◆ W5200_GAR2

#define W5200_GAR2   0x03

Definition at line 59 of file w5200_driver.h.

◆ W5200_GAR3

#define W5200_GAR3   0x04

Definition at line 60 of file w5200_driver.h.

◆ W5200_IMR

#define W5200_IMR   0x16

Definition at line 76 of file w5200_driver.h.

◆ W5200_IMR2

#define W5200_IMR2   0x36

Definition at line 90 of file w5200_driver.h.

◆ W5200_IMR2_IM_IR5

#define W5200_IMR2_IM_IR5   0x20

Definition at line 500 of file w5200_driver.h.

◆ W5200_IMR2_IM_IR7

#define W5200_IMR2_IM_IR7   0x80

Definition at line 499 of file w5200_driver.h.

◆ W5200_IMR_S0_IMR

#define W5200_IMR_S0_IMR   0x01

Definition at line 478 of file w5200_driver.h.

◆ W5200_IMR_S1_IMR

#define W5200_IMR_S1_IMR   0x02

Definition at line 477 of file w5200_driver.h.

◆ W5200_IMR_S2_IMR

#define W5200_IMR_S2_IMR   0x04

Definition at line 476 of file w5200_driver.h.

◆ W5200_IMR_S3_IMR

#define W5200_IMR_S3_IMR   0x08

Definition at line 475 of file w5200_driver.h.

◆ W5200_IMR_S4_IMR

#define W5200_IMR_S4_IMR   0x10

Definition at line 474 of file w5200_driver.h.

◆ W5200_IMR_S5_IMR

#define W5200_IMR_S5_IMR   0x20

Definition at line 473 of file w5200_driver.h.

◆ W5200_IMR_S6_IMR

#define W5200_IMR_S6_IMR   0x40

Definition at line 472 of file w5200_driver.h.

◆ W5200_IMR_S7_IMR

#define W5200_IMR_S7_IMR   0x80

Definition at line 471 of file w5200_driver.h.

◆ W5200_INTLEVEL0

#define W5200_INTLEVEL0   0x30

Definition at line 86 of file w5200_driver.h.

◆ W5200_INTLEVEL1

#define W5200_INTLEVEL1   0x31

Definition at line 87 of file w5200_driver.h.

◆ W5200_IR

#define W5200_IR   0x15

Definition at line 75 of file w5200_driver.h.

◆ W5200_IR2

#define W5200_IR2   0x34

Definition at line 88 of file w5200_driver.h.

◆ W5200_IR2_S0_INT

#define W5200_IR2_S0_INT   0x01

Definition at line 491 of file w5200_driver.h.

◆ W5200_IR2_S1_INT

#define W5200_IR2_S1_INT   0x02

Definition at line 490 of file w5200_driver.h.

◆ W5200_IR2_S2_INT

#define W5200_IR2_S2_INT   0x04

Definition at line 489 of file w5200_driver.h.

◆ W5200_IR2_S3_INT

#define W5200_IR2_S3_INT   0x08

Definition at line 488 of file w5200_driver.h.

◆ W5200_IR2_S4_INT

#define W5200_IR2_S4_INT   0x10

Definition at line 487 of file w5200_driver.h.

◆ W5200_IR2_S5_INT

#define W5200_IR2_S5_INT   0x20

Definition at line 486 of file w5200_driver.h.

◆ W5200_IR2_S6_INT

#define W5200_IR2_S6_INT   0x40

Definition at line 485 of file w5200_driver.h.

◆ W5200_IR2_S7_INT

#define W5200_IR2_S7_INT   0x80

Definition at line 484 of file w5200_driver.h.

◆ W5200_IR_CONFLICT

#define W5200_IR_CONFLICT   0x80

Definition at line 467 of file w5200_driver.h.

◆ W5200_IR_PPPOE

#define W5200_IR_PPPOE   0x20

Definition at line 468 of file w5200_driver.h.

◆ W5200_MR

#define W5200_MR   0x00

Definition at line 56 of file w5200_driver.h.

◆ W5200_MR_PB

#define W5200_MR_PB   0x10

Definition at line 463 of file w5200_driver.h.

◆ W5200_MR_PPPOE

#define W5200_MR_PPPOE   0x08

Definition at line 464 of file w5200_driver.h.

◆ W5200_MR_RST

#define W5200_MR_RST   0x80

Definition at line 461 of file w5200_driver.h.

◆ W5200_MR_WOL

#define W5200_MR_WOL   0x20

Definition at line 462 of file w5200_driver.h.

◆ W5200_OP_READ

#define W5200_OP_READ   0x00

Definition at line 52 of file w5200_driver.h.

◆ W5200_OP_WRITE

#define W5200_OP_WRITE   0x80

Definition at line 53 of file w5200_driver.h.

◆ W5200_PATR0

#define W5200_PATR0   0x1C

Definition at line 80 of file w5200_driver.h.

◆ W5200_PATR1

#define W5200_PATR1   0x1D

Definition at line 81 of file w5200_driver.h.

◆ W5200_PMAGIC

#define W5200_PMAGIC   0x29

Definition at line 85 of file w5200_driver.h.

◆ W5200_PPPALGO

#define W5200_PPPALGO   0x1E

Definition at line 82 of file w5200_driver.h.

◆ W5200_PSTATUS

#define W5200_PSTATUS   0x35

Definition at line 89 of file w5200_driver.h.

◆ W5200_PSTATUS_LINK

#define W5200_PSTATUS_LINK   0x20

Definition at line 494 of file w5200_driver.h.

◆ W5200_PSTATUS_POWERDOWN

#define W5200_PSTATUS_POWERDOWN   0x08

Definition at line 496 of file w5200_driver.h.

◆ W5200_PSTATUS_POWERSAVE

#define W5200_PSTATUS_POWERSAVE   0x10

Definition at line 495 of file w5200_driver.h.

◆ W5200_PTIMER

#define W5200_PTIMER   0x28

Definition at line 84 of file w5200_driver.h.

◆ W5200_RCR

#define W5200_RCR   0x19

Definition at line 79 of file w5200_driver.h.

◆ W5200_RTR0

#define W5200_RTR0   0x17

Definition at line 77 of file w5200_driver.h.

◆ W5200_RTR1

#define W5200_RTR1   0x18

Definition at line 78 of file w5200_driver.h.

◆ W5200_RX_BUFFER

#define W5200_RX_BUFFER   0xC000

Definition at line 458 of file w5200_driver.h.

◆ W5200_S0_CR

#define W5200_S0_CR   0x4001

Definition at line 94 of file w5200_driver.h.

◆ W5200_S0_DHAR0

#define W5200_S0_DHAR0   0x4006

Definition at line 99 of file w5200_driver.h.

◆ W5200_S0_DHAR1

#define W5200_S0_DHAR1   0x4007

Definition at line 100 of file w5200_driver.h.

◆ W5200_S0_DHAR2

#define W5200_S0_DHAR2   0x4008

Definition at line 101 of file w5200_driver.h.

◆ W5200_S0_DHAR3

#define W5200_S0_DHAR3   0x4009

Definition at line 102 of file w5200_driver.h.

◆ W5200_S0_DHAR4

#define W5200_S0_DHAR4   0x400A

Definition at line 103 of file w5200_driver.h.

◆ W5200_S0_DHAR5

#define W5200_S0_DHAR5   0x400B

Definition at line 104 of file w5200_driver.h.

◆ W5200_S0_DIPR0

#define W5200_S0_DIPR0   0x400C

Definition at line 105 of file w5200_driver.h.

◆ W5200_S0_DIPR1

#define W5200_S0_DIPR1   0x400D

Definition at line 106 of file w5200_driver.h.

◆ W5200_S0_DIPR2

#define W5200_S0_DIPR2   0x400E

Definition at line 107 of file w5200_driver.h.

◆ W5200_S0_DIPR3

#define W5200_S0_DIPR3   0x400F

Definition at line 108 of file w5200_driver.h.

◆ W5200_S0_DPORT0

#define W5200_S0_DPORT0   0x4010

Definition at line 109 of file w5200_driver.h.

◆ W5200_S0_DPORT1

#define W5200_S0_DPORT1   0x4011

Definition at line 110 of file w5200_driver.h.

◆ W5200_S0_FRAG0

#define W5200_S0_FRAG0   0x402D

Definition at line 131 of file w5200_driver.h.

◆ W5200_S0_FRAG1

#define W5200_S0_FRAG1   0x402E

Definition at line 132 of file w5200_driver.h.

◆ W5200_S0_IMR

#define W5200_S0_IMR   0x402C

Definition at line 130 of file w5200_driver.h.

◆ W5200_S0_IR

#define W5200_S0_IR   0x4002

Definition at line 95 of file w5200_driver.h.

◆ W5200_S0_MR

#define W5200_S0_MR   0x4000

Definition at line 93 of file w5200_driver.h.

◆ W5200_S0_MSSR0

#define W5200_S0_MSSR0   0x4012

Definition at line 111 of file w5200_driver.h.

◆ W5200_S0_MSSR1

#define W5200_S0_MSSR1   0x4013

Definition at line 112 of file w5200_driver.h.

◆ W5200_S0_PORT0

#define W5200_S0_PORT0   0x4004

Definition at line 97 of file w5200_driver.h.

◆ W5200_S0_PORT1

#define W5200_S0_PORT1   0x4005

Definition at line 98 of file w5200_driver.h.

◆ W5200_S0_PROTO

#define W5200_S0_PROTO   0x4014

Definition at line 113 of file w5200_driver.h.

◆ W5200_S0_RX_RD0

#define W5200_S0_RX_RD0   0x4028

Definition at line 126 of file w5200_driver.h.

◆ W5200_S0_RX_RD1

#define W5200_S0_RX_RD1   0x4029

Definition at line 127 of file w5200_driver.h.

◆ W5200_S0_RX_RSR0

#define W5200_S0_RX_RSR0   0x4026

Definition at line 124 of file w5200_driver.h.

◆ W5200_S0_RX_RSR1

#define W5200_S0_RX_RSR1   0x4027

Definition at line 125 of file w5200_driver.h.

◆ W5200_S0_RX_WR0

#define W5200_S0_RX_WR0   0x402A

Definition at line 128 of file w5200_driver.h.

◆ W5200_S0_RX_WR1

#define W5200_S0_RX_WR1   0x402B

Definition at line 129 of file w5200_driver.h.

◆ W5200_S0_RXMEM_SIZE

#define W5200_S0_RXMEM_SIZE   0x401E

Definition at line 116 of file w5200_driver.h.

◆ W5200_S0_SR

#define W5200_S0_SR   0x4003

Definition at line 96 of file w5200_driver.h.

◆ W5200_S0_TOS

#define W5200_S0_TOS   0x4015

Definition at line 114 of file w5200_driver.h.

◆ W5200_S0_TTL

#define W5200_S0_TTL   0x4016

Definition at line 115 of file w5200_driver.h.

◆ W5200_S0_TX_FSR0

#define W5200_S0_TX_FSR0   0x4020

Definition at line 118 of file w5200_driver.h.

◆ W5200_S0_TX_FSR1

#define W5200_S0_TX_FSR1   0x4021

Definition at line 119 of file w5200_driver.h.

◆ W5200_S0_TX_RD0

#define W5200_S0_TX_RD0   0x4022

Definition at line 120 of file w5200_driver.h.

◆ W5200_S0_TX_RD1

#define W5200_S0_TX_RD1   0x4023

Definition at line 121 of file w5200_driver.h.

◆ W5200_S0_TX_WR0

#define W5200_S0_TX_WR0   0x4024

Definition at line 122 of file w5200_driver.h.

◆ W5200_S0_TX_WR1

#define W5200_S0_TX_WR1   0x4025

Definition at line 123 of file w5200_driver.h.

◆ W5200_S0_TXMEM_SIZE

#define W5200_S0_TXMEM_SIZE   0x401F

Definition at line 117 of file w5200_driver.h.

◆ W5200_S1_CR

#define W5200_S1_CR   0x4101

Definition at line 134 of file w5200_driver.h.

◆ W5200_S1_DHAR0

#define W5200_S1_DHAR0   0x4106

Definition at line 139 of file w5200_driver.h.

◆ W5200_S1_DHAR1

#define W5200_S1_DHAR1   0x4107

Definition at line 140 of file w5200_driver.h.

◆ W5200_S1_DHAR2

#define W5200_S1_DHAR2   0x4108

Definition at line 141 of file w5200_driver.h.

◆ W5200_S1_DHAR3

#define W5200_S1_DHAR3   0x4109

Definition at line 142 of file w5200_driver.h.

◆ W5200_S1_DHAR4

#define W5200_S1_DHAR4   0x410A

Definition at line 143 of file w5200_driver.h.

◆ W5200_S1_DHAR5

#define W5200_S1_DHAR5   0x410B

Definition at line 144 of file w5200_driver.h.

◆ W5200_S1_DIPR0

#define W5200_S1_DIPR0   0x410C

Definition at line 145 of file w5200_driver.h.

◆ W5200_S1_DIPR1

#define W5200_S1_DIPR1   0x410D

Definition at line 146 of file w5200_driver.h.

◆ W5200_S1_DIPR2

#define W5200_S1_DIPR2   0x410E

Definition at line 147 of file w5200_driver.h.

◆ W5200_S1_DIPR3

#define W5200_S1_DIPR3   0x410F

Definition at line 148 of file w5200_driver.h.

◆ W5200_S1_DPORT0

#define W5200_S1_DPORT0   0x4110

Definition at line 149 of file w5200_driver.h.

◆ W5200_S1_DPORT1

#define W5200_S1_DPORT1   0x4111

Definition at line 150 of file w5200_driver.h.

◆ W5200_S1_FRAG0

#define W5200_S1_FRAG0   0x412D

Definition at line 171 of file w5200_driver.h.

◆ W5200_S1_FRAG1

#define W5200_S1_FRAG1   0x412E

Definition at line 172 of file w5200_driver.h.

◆ W5200_S1_IMR

#define W5200_S1_IMR   0x412C

Definition at line 170 of file w5200_driver.h.

◆ W5200_S1_IR

#define W5200_S1_IR   0x4102

Definition at line 135 of file w5200_driver.h.

◆ W5200_S1_MR

#define W5200_S1_MR   0x4100

Definition at line 133 of file w5200_driver.h.

◆ W5200_S1_MSSR0

#define W5200_S1_MSSR0   0x4112

Definition at line 151 of file w5200_driver.h.

◆ W5200_S1_MSSR1

#define W5200_S1_MSSR1   0x4113

Definition at line 152 of file w5200_driver.h.

◆ W5200_S1_PORT0

#define W5200_S1_PORT0   0x4104

Definition at line 137 of file w5200_driver.h.

◆ W5200_S1_PORT1

#define W5200_S1_PORT1   0x4105

Definition at line 138 of file w5200_driver.h.

◆ W5200_S1_PROTO

#define W5200_S1_PROTO   0x4114

Definition at line 153 of file w5200_driver.h.

◆ W5200_S1_RX_RD0

#define W5200_S1_RX_RD0   0x4128

Definition at line 166 of file w5200_driver.h.

◆ W5200_S1_RX_RD1

#define W5200_S1_RX_RD1   0x4129

Definition at line 167 of file w5200_driver.h.

◆ W5200_S1_RX_RSR0

#define W5200_S1_RX_RSR0   0x4126

Definition at line 164 of file w5200_driver.h.

◆ W5200_S1_RX_RSR1

#define W5200_S1_RX_RSR1   0x4127

Definition at line 165 of file w5200_driver.h.

◆ W5200_S1_RX_WR0

#define W5200_S1_RX_WR0   0x412A

Definition at line 168 of file w5200_driver.h.

◆ W5200_S1_RX_WR1

#define W5200_S1_RX_WR1   0x412B

Definition at line 169 of file w5200_driver.h.

◆ W5200_S1_RXMEM_SIZE

#define W5200_S1_RXMEM_SIZE   0x411E

Definition at line 156 of file w5200_driver.h.

◆ W5200_S1_SR

#define W5200_S1_SR   0x4103

Definition at line 136 of file w5200_driver.h.

◆ W5200_S1_TOS

#define W5200_S1_TOS   0x4115

Definition at line 154 of file w5200_driver.h.

◆ W5200_S1_TTL

#define W5200_S1_TTL   0x4116

Definition at line 155 of file w5200_driver.h.

◆ W5200_S1_TX_FSR0

#define W5200_S1_TX_FSR0   0x4120

Definition at line 158 of file w5200_driver.h.

◆ W5200_S1_TX_FSR1

#define W5200_S1_TX_FSR1   0x4121

Definition at line 159 of file w5200_driver.h.

◆ W5200_S1_TX_RD0

#define W5200_S1_TX_RD0   0x4122

Definition at line 160 of file w5200_driver.h.

◆ W5200_S1_TX_RD1

#define W5200_S1_TX_RD1   0x4123

Definition at line 161 of file w5200_driver.h.

◆ W5200_S1_TX_WR0

#define W5200_S1_TX_WR0   0x4124

Definition at line 162 of file w5200_driver.h.

◆ W5200_S1_TX_WR1

#define W5200_S1_TX_WR1   0x4125

Definition at line 163 of file w5200_driver.h.

◆ W5200_S1_TXMEM_SIZE

#define W5200_S1_TXMEM_SIZE   0x411F

Definition at line 157 of file w5200_driver.h.

◆ W5200_S2_CR

#define W5200_S2_CR   0x4201

Definition at line 174 of file w5200_driver.h.

◆ W5200_S2_DHAR0

#define W5200_S2_DHAR0   0x4206

Definition at line 179 of file w5200_driver.h.

◆ W5200_S2_DHAR1

#define W5200_S2_DHAR1   0x4207

Definition at line 180 of file w5200_driver.h.

◆ W5200_S2_DHAR2

#define W5200_S2_DHAR2   0x4208

Definition at line 181 of file w5200_driver.h.

◆ W5200_S2_DHAR3

#define W5200_S2_DHAR3   0x4209

Definition at line 182 of file w5200_driver.h.

◆ W5200_S2_DHAR4

#define W5200_S2_DHAR4   0x420A

Definition at line 183 of file w5200_driver.h.

◆ W5200_S2_DHAR5

#define W5200_S2_DHAR5   0x420B

Definition at line 184 of file w5200_driver.h.

◆ W5200_S2_DIPR0

#define W5200_S2_DIPR0   0x420C

Definition at line 185 of file w5200_driver.h.

◆ W5200_S2_DIPR1

#define W5200_S2_DIPR1   0x420D

Definition at line 186 of file w5200_driver.h.

◆ W5200_S2_DIPR2

#define W5200_S2_DIPR2   0x420E

Definition at line 187 of file w5200_driver.h.

◆ W5200_S2_DIPR3

#define W5200_S2_DIPR3   0x420F

Definition at line 188 of file w5200_driver.h.

◆ W5200_S2_DPORT0

#define W5200_S2_DPORT0   0x4210

Definition at line 189 of file w5200_driver.h.

◆ W5200_S2_DPORT1

#define W5200_S2_DPORT1   0x4211

Definition at line 190 of file w5200_driver.h.

◆ W5200_S2_FRAG0

#define W5200_S2_FRAG0   0x422D

Definition at line 211 of file w5200_driver.h.

◆ W5200_S2_FRAG1

#define W5200_S2_FRAG1   0x422E

Definition at line 212 of file w5200_driver.h.

◆ W5200_S2_IMR

#define W5200_S2_IMR   0x422C

Definition at line 210 of file w5200_driver.h.

◆ W5200_S2_IR

#define W5200_S2_IR   0x4202

Definition at line 175 of file w5200_driver.h.

◆ W5200_S2_MR

#define W5200_S2_MR   0x4200

Definition at line 173 of file w5200_driver.h.

◆ W5200_S2_MSSR0

#define W5200_S2_MSSR0   0x4212

Definition at line 191 of file w5200_driver.h.

◆ W5200_S2_MSSR1

#define W5200_S2_MSSR1   0x4213

Definition at line 192 of file w5200_driver.h.

◆ W5200_S2_PORT0

#define W5200_S2_PORT0   0x4204

Definition at line 177 of file w5200_driver.h.

◆ W5200_S2_PORT1

#define W5200_S2_PORT1   0x4205

Definition at line 178 of file w5200_driver.h.

◆ W5200_S2_PROTO

#define W5200_S2_PROTO   0x4214

Definition at line 193 of file w5200_driver.h.

◆ W5200_S2_RX_RD0

#define W5200_S2_RX_RD0   0x4228

Definition at line 206 of file w5200_driver.h.

◆ W5200_S2_RX_RD1

#define W5200_S2_RX_RD1   0x4229

Definition at line 207 of file w5200_driver.h.

◆ W5200_S2_RX_RSR0

#define W5200_S2_RX_RSR0   0x4226

Definition at line 204 of file w5200_driver.h.

◆ W5200_S2_RX_RSR1

#define W5200_S2_RX_RSR1   0x4227

Definition at line 205 of file w5200_driver.h.

◆ W5200_S2_RX_WR0

#define W5200_S2_RX_WR0   0x422A

Definition at line 208 of file w5200_driver.h.

◆ W5200_S2_RX_WR1

#define W5200_S2_RX_WR1   0x422B

Definition at line 209 of file w5200_driver.h.

◆ W5200_S2_RXMEM_SIZE

#define W5200_S2_RXMEM_SIZE   0x421E

Definition at line 196 of file w5200_driver.h.

◆ W5200_S2_SR

#define W5200_S2_SR   0x4203

Definition at line 176 of file w5200_driver.h.

◆ W5200_S2_TOS

#define W5200_S2_TOS   0x4215

Definition at line 194 of file w5200_driver.h.

◆ W5200_S2_TTL

#define W5200_S2_TTL   0x4216

Definition at line 195 of file w5200_driver.h.

◆ W5200_S2_TX_FSR0

#define W5200_S2_TX_FSR0   0x4220

Definition at line 198 of file w5200_driver.h.

◆ W5200_S2_TX_FSR1

#define W5200_S2_TX_FSR1   0x4221

Definition at line 199 of file w5200_driver.h.

◆ W5200_S2_TX_RD0

#define W5200_S2_TX_RD0   0x4222

Definition at line 200 of file w5200_driver.h.

◆ W5200_S2_TX_RD1

#define W5200_S2_TX_RD1   0x4223

Definition at line 201 of file w5200_driver.h.

◆ W5200_S2_TX_WR0

#define W5200_S2_TX_WR0   0x4224

Definition at line 202 of file w5200_driver.h.

◆ W5200_S2_TX_WR1

#define W5200_S2_TX_WR1   0x4225

Definition at line 203 of file w5200_driver.h.

◆ W5200_S2_TXMEM_SIZE

#define W5200_S2_TXMEM_SIZE   0x421F

Definition at line 197 of file w5200_driver.h.

◆ W5200_S3_CR

#define W5200_S3_CR   0x4301

Definition at line 214 of file w5200_driver.h.

◆ W5200_S3_DHAR0

#define W5200_S3_DHAR0   0x4306

Definition at line 219 of file w5200_driver.h.

◆ W5200_S3_DHAR1

#define W5200_S3_DHAR1   0x4307

Definition at line 220 of file w5200_driver.h.

◆ W5200_S3_DHAR2

#define W5200_S3_DHAR2   0x4308

Definition at line 221 of file w5200_driver.h.

◆ W5200_S3_DHAR3

#define W5200_S3_DHAR3   0x4309

Definition at line 222 of file w5200_driver.h.

◆ W5200_S3_DHAR4

#define W5200_S3_DHAR4   0x430A

Definition at line 223 of file w5200_driver.h.

◆ W5200_S3_DHAR5

#define W5200_S3_DHAR5   0x430B

Definition at line 224 of file w5200_driver.h.

◆ W5200_S3_DIPR0

#define W5200_S3_DIPR0   0x430C

Definition at line 225 of file w5200_driver.h.

◆ W5200_S3_DIPR1

#define W5200_S3_DIPR1   0x430D

Definition at line 226 of file w5200_driver.h.

◆ W5200_S3_DIPR2

#define W5200_S3_DIPR2   0x430E

Definition at line 227 of file w5200_driver.h.

◆ W5200_S3_DIPR3

#define W5200_S3_DIPR3   0x430F

Definition at line 228 of file w5200_driver.h.

◆ W5200_S3_DPORT0

#define W5200_S3_DPORT0   0x4310

Definition at line 229 of file w5200_driver.h.

◆ W5200_S3_DPORT1

#define W5200_S3_DPORT1   0x4311

Definition at line 230 of file w5200_driver.h.

◆ W5200_S3_FRAG0

#define W5200_S3_FRAG0   0x432D

Definition at line 251 of file w5200_driver.h.

◆ W5200_S3_FRAG1

#define W5200_S3_FRAG1   0x432E

Definition at line 252 of file w5200_driver.h.

◆ W5200_S3_IMR

#define W5200_S3_IMR   0x432C

Definition at line 250 of file w5200_driver.h.

◆ W5200_S3_IR

#define W5200_S3_IR   0x4302

Definition at line 215 of file w5200_driver.h.

◆ W5200_S3_MR

#define W5200_S3_MR   0x4300

Definition at line 213 of file w5200_driver.h.

◆ W5200_S3_MSSR0

#define W5200_S3_MSSR0   0x4312

Definition at line 231 of file w5200_driver.h.

◆ W5200_S3_MSSR1

#define W5200_S3_MSSR1   0x4313

Definition at line 232 of file w5200_driver.h.

◆ W5200_S3_PORT0

#define W5200_S3_PORT0   0x4304

Definition at line 217 of file w5200_driver.h.

◆ W5200_S3_PORT1

#define W5200_S3_PORT1   0x4305

Definition at line 218 of file w5200_driver.h.

◆ W5200_S3_PROTO

#define W5200_S3_PROTO   0x4314

Definition at line 233 of file w5200_driver.h.

◆ W5200_S3_RX_RD0

#define W5200_S3_RX_RD0   0x4328

Definition at line 246 of file w5200_driver.h.

◆ W5200_S3_RX_RD1

#define W5200_S3_RX_RD1   0x4329

Definition at line 247 of file w5200_driver.h.

◆ W5200_S3_RX_RSR0

#define W5200_S3_RX_RSR0   0x4326

Definition at line 244 of file w5200_driver.h.

◆ W5200_S3_RX_RSR1

#define W5200_S3_RX_RSR1   0x4327

Definition at line 245 of file w5200_driver.h.

◆ W5200_S3_RX_WR0

#define W5200_S3_RX_WR0   0x432A

Definition at line 248 of file w5200_driver.h.

◆ W5200_S3_RX_WR1

#define W5200_S3_RX_WR1   0x432B

Definition at line 249 of file w5200_driver.h.

◆ W5200_S3_RXMEM_SIZE

#define W5200_S3_RXMEM_SIZE   0x431E

Definition at line 236 of file w5200_driver.h.

◆ W5200_S3_SR

#define W5200_S3_SR   0x4303

Definition at line 216 of file w5200_driver.h.

◆ W5200_S3_TOS

#define W5200_S3_TOS   0x4315

Definition at line 234 of file w5200_driver.h.

◆ W5200_S3_TTL

#define W5200_S3_TTL   0x4316

Definition at line 235 of file w5200_driver.h.

◆ W5200_S3_TX_FSR0

#define W5200_S3_TX_FSR0   0x4320

Definition at line 238 of file w5200_driver.h.

◆ W5200_S3_TX_FSR1

#define W5200_S3_TX_FSR1   0x4321

Definition at line 239 of file w5200_driver.h.

◆ W5200_S3_TX_RD0

#define W5200_S3_TX_RD0   0x4322

Definition at line 240 of file w5200_driver.h.

◆ W5200_S3_TX_RD1

#define W5200_S3_TX_RD1   0x4323

Definition at line 241 of file w5200_driver.h.

◆ W5200_S3_TX_WR0

#define W5200_S3_TX_WR0   0x4324

Definition at line 242 of file w5200_driver.h.

◆ W5200_S3_TX_WR1

#define W5200_S3_TX_WR1   0x4325

Definition at line 243 of file w5200_driver.h.

◆ W5200_S3_TXMEM_SIZE

#define W5200_S3_TXMEM_SIZE   0x431F

Definition at line 237 of file w5200_driver.h.

◆ W5200_S4_CR

#define W5200_S4_CR   0x4401

Definition at line 254 of file w5200_driver.h.

◆ W5200_S4_DHAR0

#define W5200_S4_DHAR0   0x4406

Definition at line 259 of file w5200_driver.h.

◆ W5200_S4_DHAR1

#define W5200_S4_DHAR1   0x4407

Definition at line 260 of file w5200_driver.h.

◆ W5200_S4_DHAR2

#define W5200_S4_DHAR2   0x4408

Definition at line 261 of file w5200_driver.h.

◆ W5200_S4_DHAR3

#define W5200_S4_DHAR3   0x4409

Definition at line 262 of file w5200_driver.h.

◆ W5200_S4_DHAR4

#define W5200_S4_DHAR4   0x440A

Definition at line 263 of file w5200_driver.h.

◆ W5200_S4_DHAR5

#define W5200_S4_DHAR5   0x440B

Definition at line 264 of file w5200_driver.h.

◆ W5200_S4_DIPR0

#define W5200_S4_DIPR0   0x440C

Definition at line 265 of file w5200_driver.h.

◆ W5200_S4_DIPR1

#define W5200_S4_DIPR1   0x440D

Definition at line 266 of file w5200_driver.h.

◆ W5200_S4_DIPR2

#define W5200_S4_DIPR2   0x440E

Definition at line 267 of file w5200_driver.h.

◆ W5200_S4_DIPR3

#define W5200_S4_DIPR3   0x440F

Definition at line 268 of file w5200_driver.h.

◆ W5200_S4_DPORT0

#define W5200_S4_DPORT0   0x4410

Definition at line 269 of file w5200_driver.h.

◆ W5200_S4_DPORT1

#define W5200_S4_DPORT1   0x4411

Definition at line 270 of file w5200_driver.h.

◆ W5200_S4_FRAG0

#define W5200_S4_FRAG0   0x442D

Definition at line 291 of file w5200_driver.h.

◆ W5200_S4_FRAG1

#define W5200_S4_FRAG1   0x442E

Definition at line 292 of file w5200_driver.h.

◆ W5200_S4_IMR

#define W5200_S4_IMR   0x442C

Definition at line 290 of file w5200_driver.h.

◆ W5200_S4_IR

#define W5200_S4_IR   0x4402

Definition at line 255 of file w5200_driver.h.

◆ W5200_S4_MR

#define W5200_S4_MR   0x4400

Definition at line 253 of file w5200_driver.h.

◆ W5200_S4_MSSR0

#define W5200_S4_MSSR0   0x4412

Definition at line 271 of file w5200_driver.h.

◆ W5200_S4_MSSR1

#define W5200_S4_MSSR1   0x4413

Definition at line 272 of file w5200_driver.h.

◆ W5200_S4_PORT0

#define W5200_S4_PORT0   0x4404

Definition at line 257 of file w5200_driver.h.

◆ W5200_S4_PORT1

#define W5200_S4_PORT1   0x4405

Definition at line 258 of file w5200_driver.h.

◆ W5200_S4_PROTO

#define W5200_S4_PROTO   0x4414

Definition at line 273 of file w5200_driver.h.

◆ W5200_S4_RX_RD0

#define W5200_S4_RX_RD0   0x4428

Definition at line 286 of file w5200_driver.h.

◆ W5200_S4_RX_RD1

#define W5200_S4_RX_RD1   0x4429

Definition at line 287 of file w5200_driver.h.

◆ W5200_S4_RX_RSR0

#define W5200_S4_RX_RSR0   0x4426

Definition at line 284 of file w5200_driver.h.

◆ W5200_S4_RX_RSR1

#define W5200_S4_RX_RSR1   0x4427

Definition at line 285 of file w5200_driver.h.

◆ W5200_S4_RX_WR0

#define W5200_S4_RX_WR0   0x442A

Definition at line 288 of file w5200_driver.h.

◆ W5200_S4_RX_WR1

#define W5200_S4_RX_WR1   0x442B

Definition at line 289 of file w5200_driver.h.

◆ W5200_S4_RXMEM_SIZE

#define W5200_S4_RXMEM_SIZE   0x441E

Definition at line 276 of file w5200_driver.h.

◆ W5200_S4_SR

#define W5200_S4_SR   0x4403

Definition at line 256 of file w5200_driver.h.

◆ W5200_S4_TOS

#define W5200_S4_TOS   0x4415

Definition at line 274 of file w5200_driver.h.

◆ W5200_S4_TTL

#define W5200_S4_TTL   0x4416

Definition at line 275 of file w5200_driver.h.

◆ W5200_S4_TX_FSR0

#define W5200_S4_TX_FSR0   0x4420

Definition at line 278 of file w5200_driver.h.

◆ W5200_S4_TX_FSR1

#define W5200_S4_TX_FSR1   0x4421

Definition at line 279 of file w5200_driver.h.

◆ W5200_S4_TX_RD0

#define W5200_S4_TX_RD0   0x4422

Definition at line 280 of file w5200_driver.h.

◆ W5200_S4_TX_RD1

#define W5200_S4_TX_RD1   0x4423

Definition at line 281 of file w5200_driver.h.

◆ W5200_S4_TX_WR0

#define W5200_S4_TX_WR0   0x4424

Definition at line 282 of file w5200_driver.h.

◆ W5200_S4_TX_WR1

#define W5200_S4_TX_WR1   0x4425

Definition at line 283 of file w5200_driver.h.

◆ W5200_S4_TXMEM_SIZE

#define W5200_S4_TXMEM_SIZE   0x441F

Definition at line 277 of file w5200_driver.h.

◆ W5200_S5_CR

#define W5200_S5_CR   0x4501

Definition at line 294 of file w5200_driver.h.

◆ W5200_S5_DHAR0

#define W5200_S5_DHAR0   0x4506

Definition at line 299 of file w5200_driver.h.

◆ W5200_S5_DHAR1

#define W5200_S5_DHAR1   0x4507

Definition at line 300 of file w5200_driver.h.

◆ W5200_S5_DHAR2

#define W5200_S5_DHAR2   0x4508

Definition at line 301 of file w5200_driver.h.

◆ W5200_S5_DHAR3

#define W5200_S5_DHAR3   0x4509

Definition at line 302 of file w5200_driver.h.

◆ W5200_S5_DHAR4

#define W5200_S5_DHAR4   0x450A

Definition at line 303 of file w5200_driver.h.

◆ W5200_S5_DHAR5

#define W5200_S5_DHAR5   0x450B

Definition at line 304 of file w5200_driver.h.

◆ W5200_S5_DIPR0

#define W5200_S5_DIPR0   0x450C

Definition at line 305 of file w5200_driver.h.

◆ W5200_S5_DIPR1

#define W5200_S5_DIPR1   0x450D

Definition at line 306 of file w5200_driver.h.

◆ W5200_S5_DIPR2

#define W5200_S5_DIPR2   0x450E

Definition at line 307 of file w5200_driver.h.

◆ W5200_S5_DIPR3

#define W5200_S5_DIPR3   0x450F

Definition at line 308 of file w5200_driver.h.

◆ W5200_S5_DPORT0

#define W5200_S5_DPORT0   0x4510

Definition at line 309 of file w5200_driver.h.

◆ W5200_S5_DPORT1

#define W5200_S5_DPORT1   0x4511

Definition at line 310 of file w5200_driver.h.

◆ W5200_S5_FRAG0

#define W5200_S5_FRAG0   0x452D

Definition at line 331 of file w5200_driver.h.

◆ W5200_S5_FRAG1

#define W5200_S5_FRAG1   0x452E

Definition at line 332 of file w5200_driver.h.

◆ W5200_S5_IMR

#define W5200_S5_IMR   0x452C

Definition at line 330 of file w5200_driver.h.

◆ W5200_S5_IR

#define W5200_S5_IR   0x4502

Definition at line 295 of file w5200_driver.h.

◆ W5200_S5_MR

#define W5200_S5_MR   0x4500

Definition at line 293 of file w5200_driver.h.

◆ W5200_S5_MSSR0

#define W5200_S5_MSSR0   0x4512

Definition at line 311 of file w5200_driver.h.

◆ W5200_S5_MSSR1

#define W5200_S5_MSSR1   0x4513

Definition at line 312 of file w5200_driver.h.

◆ W5200_S5_PORT0

#define W5200_S5_PORT0   0x4504

Definition at line 297 of file w5200_driver.h.

◆ W5200_S5_PORT1

#define W5200_S5_PORT1   0x4505

Definition at line 298 of file w5200_driver.h.

◆ W5200_S5_PROTO

#define W5200_S5_PROTO   0x4514

Definition at line 313 of file w5200_driver.h.

◆ W5200_S5_RX_RD0

#define W5200_S5_RX_RD0   0x4528

Definition at line 326 of file w5200_driver.h.

◆ W5200_S5_RX_RD1

#define W5200_S5_RX_RD1   0x4529

Definition at line 327 of file w5200_driver.h.

◆ W5200_S5_RX_RSR0

#define W5200_S5_RX_RSR0   0x4526

Definition at line 324 of file w5200_driver.h.

◆ W5200_S5_RX_RSR1

#define W5200_S5_RX_RSR1   0x4527

Definition at line 325 of file w5200_driver.h.

◆ W5200_S5_RX_WR0

#define W5200_S5_RX_WR0   0x452A

Definition at line 328 of file w5200_driver.h.

◆ W5200_S5_RX_WR1

#define W5200_S5_RX_WR1   0x452B

Definition at line 329 of file w5200_driver.h.

◆ W5200_S5_RXMEM_SIZE

#define W5200_S5_RXMEM_SIZE   0x451E

Definition at line 316 of file w5200_driver.h.

◆ W5200_S5_SR

#define W5200_S5_SR   0x4503

Definition at line 296 of file w5200_driver.h.

◆ W5200_S5_TOS

#define W5200_S5_TOS   0x4515

Definition at line 314 of file w5200_driver.h.

◆ W5200_S5_TTL

#define W5200_S5_TTL   0x4516

Definition at line 315 of file w5200_driver.h.

◆ W5200_S5_TX_FSR0

#define W5200_S5_TX_FSR0   0x4520

Definition at line 318 of file w5200_driver.h.

◆ W5200_S5_TX_FSR1

#define W5200_S5_TX_FSR1   0x4521

Definition at line 319 of file w5200_driver.h.

◆ W5200_S5_TX_RD0

#define W5200_S5_TX_RD0   0x4522

Definition at line 320 of file w5200_driver.h.

◆ W5200_S5_TX_RD1

#define W5200_S5_TX_RD1   0x4523

Definition at line 321 of file w5200_driver.h.

◆ W5200_S5_TX_WR0

#define W5200_S5_TX_WR0   0x4524

Definition at line 322 of file w5200_driver.h.

◆ W5200_S5_TX_WR1

#define W5200_S5_TX_WR1   0x4525

Definition at line 323 of file w5200_driver.h.

◆ W5200_S5_TXMEM_SIZE

#define W5200_S5_TXMEM_SIZE   0x451F

Definition at line 317 of file w5200_driver.h.

◆ W5200_S6_CR

#define W5200_S6_CR   0x4601

Definition at line 334 of file w5200_driver.h.

◆ W5200_S6_DHAR0

#define W5200_S6_DHAR0   0x4606

Definition at line 339 of file w5200_driver.h.

◆ W5200_S6_DHAR1

#define W5200_S6_DHAR1   0x4607

Definition at line 340 of file w5200_driver.h.

◆ W5200_S6_DHAR2

#define W5200_S6_DHAR2   0x4608

Definition at line 341 of file w5200_driver.h.

◆ W5200_S6_DHAR3

#define W5200_S6_DHAR3   0x4609

Definition at line 342 of file w5200_driver.h.

◆ W5200_S6_DHAR4

#define W5200_S6_DHAR4   0x460A

Definition at line 343 of file w5200_driver.h.

◆ W5200_S6_DHAR5

#define W5200_S6_DHAR5   0x460B

Definition at line 344 of file w5200_driver.h.

◆ W5200_S6_DIPR0

#define W5200_S6_DIPR0   0x460C

Definition at line 345 of file w5200_driver.h.

◆ W5200_S6_DIPR1

#define W5200_S6_DIPR1   0x460D

Definition at line 346 of file w5200_driver.h.

◆ W5200_S6_DIPR2

#define W5200_S6_DIPR2   0x460E

Definition at line 347 of file w5200_driver.h.

◆ W5200_S6_DIPR3

#define W5200_S6_DIPR3   0x460F

Definition at line 348 of file w5200_driver.h.

◆ W5200_S6_DPORT0

#define W5200_S6_DPORT0   0x4610

Definition at line 349 of file w5200_driver.h.

◆ W5200_S6_DPORT1

#define W5200_S6_DPORT1   0x4611

Definition at line 350 of file w5200_driver.h.

◆ W5200_S6_FRAG0

#define W5200_S6_FRAG0   0x462D

Definition at line 371 of file w5200_driver.h.

◆ W5200_S6_FRAG1

#define W5200_S6_FRAG1   0x462E

Definition at line 372 of file w5200_driver.h.

◆ W5200_S6_IMR

#define W5200_S6_IMR   0x462C

Definition at line 370 of file w5200_driver.h.

◆ W5200_S6_IR

#define W5200_S6_IR   0x4602

Definition at line 335 of file w5200_driver.h.

◆ W5200_S6_MR

#define W5200_S6_MR   0x4600

Definition at line 333 of file w5200_driver.h.

◆ W5200_S6_MSSR0

#define W5200_S6_MSSR0   0x4612

Definition at line 351 of file w5200_driver.h.

◆ W5200_S6_MSSR1

#define W5200_S6_MSSR1   0x4613

Definition at line 352 of file w5200_driver.h.

◆ W5200_S6_PORT0

#define W5200_S6_PORT0   0x4604

Definition at line 337 of file w5200_driver.h.

◆ W5200_S6_PORT1

#define W5200_S6_PORT1   0x4605

Definition at line 338 of file w5200_driver.h.

◆ W5200_S6_PROTO

#define W5200_S6_PROTO   0x4614

Definition at line 353 of file w5200_driver.h.

◆ W5200_S6_RX_RD0

#define W5200_S6_RX_RD0   0x4628

Definition at line 366 of file w5200_driver.h.

◆ W5200_S6_RX_RD1

#define W5200_S6_RX_RD1   0x4629

Definition at line 367 of file w5200_driver.h.

◆ W5200_S6_RX_RSR0

#define W5200_S6_RX_RSR0   0x4626

Definition at line 364 of file w5200_driver.h.

◆ W5200_S6_RX_RSR1

#define W5200_S6_RX_RSR1   0x4627

Definition at line 365 of file w5200_driver.h.

◆ W5200_S6_RX_WR0

#define W5200_S6_RX_WR0   0x462A

Definition at line 368 of file w5200_driver.h.

◆ W5200_S6_RX_WR1

#define W5200_S6_RX_WR1   0x462B

Definition at line 369 of file w5200_driver.h.

◆ W5200_S6_RXMEM_SIZE

#define W5200_S6_RXMEM_SIZE   0x461E

Definition at line 356 of file w5200_driver.h.

◆ W5200_S6_SR

#define W5200_S6_SR   0x4603

Definition at line 336 of file w5200_driver.h.

◆ W5200_S6_TOS

#define W5200_S6_TOS   0x4615

Definition at line 354 of file w5200_driver.h.

◆ W5200_S6_TTL

#define W5200_S6_TTL   0x4616

Definition at line 355 of file w5200_driver.h.

◆ W5200_S6_TX_FSR0

#define W5200_S6_TX_FSR0   0x4620

Definition at line 358 of file w5200_driver.h.

◆ W5200_S6_TX_FSR1

#define W5200_S6_TX_FSR1   0x4621

Definition at line 359 of file w5200_driver.h.

◆ W5200_S6_TX_RD0

#define W5200_S6_TX_RD0   0x4622

Definition at line 360 of file w5200_driver.h.

◆ W5200_S6_TX_RD1

#define W5200_S6_TX_RD1   0x4623

Definition at line 361 of file w5200_driver.h.

◆ W5200_S6_TX_WR0

#define W5200_S6_TX_WR0   0x4624

Definition at line 362 of file w5200_driver.h.

◆ W5200_S6_TX_WR1

#define W5200_S6_TX_WR1   0x4625

Definition at line 363 of file w5200_driver.h.

◆ W5200_S6_TXMEM_SIZE

#define W5200_S6_TXMEM_SIZE   0x461F

Definition at line 357 of file w5200_driver.h.

◆ W5200_S7_CR

#define W5200_S7_CR   0x4701

Definition at line 374 of file w5200_driver.h.

◆ W5200_S7_DHAR0

#define W5200_S7_DHAR0   0x4706

Definition at line 379 of file w5200_driver.h.

◆ W5200_S7_DHAR1

#define W5200_S7_DHAR1   0x4707

Definition at line 380 of file w5200_driver.h.

◆ W5200_S7_DHAR2

#define W5200_S7_DHAR2   0x4708

Definition at line 381 of file w5200_driver.h.

◆ W5200_S7_DHAR3

#define W5200_S7_DHAR3   0x4709

Definition at line 382 of file w5200_driver.h.

◆ W5200_S7_DHAR4

#define W5200_S7_DHAR4   0x470A

Definition at line 383 of file w5200_driver.h.

◆ W5200_S7_DHAR5

#define W5200_S7_DHAR5   0x470B

Definition at line 384 of file w5200_driver.h.

◆ W5200_S7_DIPR0

#define W5200_S7_DIPR0   0x470C

Definition at line 385 of file w5200_driver.h.

◆ W5200_S7_DIPR1

#define W5200_S7_DIPR1   0x470D

Definition at line 386 of file w5200_driver.h.

◆ W5200_S7_DIPR2

#define W5200_S7_DIPR2   0x470E

Definition at line 387 of file w5200_driver.h.

◆ W5200_S7_DIPR3

#define W5200_S7_DIPR3   0x470F

Definition at line 388 of file w5200_driver.h.

◆ W5200_S7_DPORT0

#define W5200_S7_DPORT0   0x4710

Definition at line 389 of file w5200_driver.h.

◆ W5200_S7_DPORT1

#define W5200_S7_DPORT1   0x4711

Definition at line 390 of file w5200_driver.h.

◆ W5200_S7_FRAG0

#define W5200_S7_FRAG0   0x472D

Definition at line 411 of file w5200_driver.h.

◆ W5200_S7_FRAG1

#define W5200_S7_FRAG1   0x472E

Definition at line 412 of file w5200_driver.h.

◆ W5200_S7_IMR

#define W5200_S7_IMR   0x472C

Definition at line 410 of file w5200_driver.h.

◆ W5200_S7_IR

#define W5200_S7_IR   0x4702

Definition at line 375 of file w5200_driver.h.

◆ W5200_S7_MR

#define W5200_S7_MR   0x4700

Definition at line 373 of file w5200_driver.h.

◆ W5200_S7_MSSR0

#define W5200_S7_MSSR0   0x4712

Definition at line 391 of file w5200_driver.h.

◆ W5200_S7_MSSR1

#define W5200_S7_MSSR1   0x4713

Definition at line 392 of file w5200_driver.h.

◆ W5200_S7_PORT0

#define W5200_S7_PORT0   0x4704

Definition at line 377 of file w5200_driver.h.

◆ W5200_S7_PORT1

#define W5200_S7_PORT1   0x4705

Definition at line 378 of file w5200_driver.h.

◆ W5200_S7_PROTO

#define W5200_S7_PROTO   0x4714

Definition at line 393 of file w5200_driver.h.

◆ W5200_S7_RX_RD0

#define W5200_S7_RX_RD0   0x4728

Definition at line 406 of file w5200_driver.h.

◆ W5200_S7_RX_RD1

#define W5200_S7_RX_RD1   0x4729

Definition at line 407 of file w5200_driver.h.

◆ W5200_S7_RX_RSR0

#define W5200_S7_RX_RSR0   0x4726

Definition at line 404 of file w5200_driver.h.

◆ W5200_S7_RX_RSR1

#define W5200_S7_RX_RSR1   0x4727

Definition at line 405 of file w5200_driver.h.

◆ W5200_S7_RX_WR0

#define W5200_S7_RX_WR0   0x472A

Definition at line 408 of file w5200_driver.h.

◆ W5200_S7_RX_WR1

#define W5200_S7_RX_WR1   0x472B

Definition at line 409 of file w5200_driver.h.

◆ W5200_S7_RXMEM_SIZE

#define W5200_S7_RXMEM_SIZE   0x471E

Definition at line 396 of file w5200_driver.h.

◆ W5200_S7_SR

#define W5200_S7_SR   0x4703

Definition at line 376 of file w5200_driver.h.

◆ W5200_S7_TOS

#define W5200_S7_TOS   0x4715

Definition at line 394 of file w5200_driver.h.

◆ W5200_S7_TTL

#define W5200_S7_TTL   0x4716

Definition at line 395 of file w5200_driver.h.

◆ W5200_S7_TX_FSR0

#define W5200_S7_TX_FSR0   0x4720

Definition at line 398 of file w5200_driver.h.

◆ W5200_S7_TX_FSR1

#define W5200_S7_TX_FSR1   0x4721

Definition at line 399 of file w5200_driver.h.

◆ W5200_S7_TX_RD0

#define W5200_S7_TX_RD0   0x4722

Definition at line 400 of file w5200_driver.h.

◆ W5200_S7_TX_RD1

#define W5200_S7_TX_RD1   0x4723

Definition at line 401 of file w5200_driver.h.

◆ W5200_S7_TX_WR0

#define W5200_S7_TX_WR0   0x4724

Definition at line 402 of file w5200_driver.h.

◆ W5200_S7_TX_WR1

#define W5200_S7_TX_WR1   0x4725

Definition at line 403 of file w5200_driver.h.

◆ W5200_S7_TXMEM_SIZE

#define W5200_S7_TXMEM_SIZE   0x471F

Definition at line 397 of file w5200_driver.h.

◆ W5200_SHAR0

#define W5200_SHAR0   0x09

Definition at line 65 of file w5200_driver.h.

◆ W5200_SHAR1

#define W5200_SHAR1   0x0A

Definition at line 66 of file w5200_driver.h.

◆ W5200_SHAR2

#define W5200_SHAR2   0x0B

Definition at line 67 of file w5200_driver.h.

◆ W5200_SHAR3

#define W5200_SHAR3   0x0C

Definition at line 68 of file w5200_driver.h.

◆ W5200_SHAR4

#define W5200_SHAR4   0x0D

Definition at line 69 of file w5200_driver.h.

◆ W5200_SHAR5

#define W5200_SHAR5   0x0E

Definition at line 70 of file w5200_driver.h.

◆ W5200_SIPR0

#define W5200_SIPR0   0x0F

Definition at line 71 of file w5200_driver.h.

◆ W5200_SIPR1

#define W5200_SIPR1   0x10

Definition at line 72 of file w5200_driver.h.

◆ W5200_SIPR2

#define W5200_SIPR2   0x11

Definition at line 73 of file w5200_driver.h.

◆ W5200_SIPR3

#define W5200_SIPR3   0x12

Definition at line 74 of file w5200_driver.h.

◆ W5200_Sn_CR

#define W5200_Sn_CR (   n)    (0x4001 + ((n) * 0x0100))

Definition at line 416 of file w5200_driver.h.

◆ W5200_Sn_CR_CLOSE

#define W5200_Sn_CR_CLOSE   0x10

Definition at line 520 of file w5200_driver.h.

◆ W5200_Sn_CR_CONNECT

#define W5200_Sn_CR_CONNECT   0x04

Definition at line 518 of file w5200_driver.h.

◆ W5200_Sn_CR_DISCON

#define W5200_Sn_CR_DISCON   0x08

Definition at line 519 of file w5200_driver.h.

◆ W5200_Sn_CR_LISTEN

#define W5200_Sn_CR_LISTEN   0x02

Definition at line 517 of file w5200_driver.h.

◆ W5200_Sn_CR_OPEN

#define W5200_Sn_CR_OPEN   0x01

Definition at line 516 of file w5200_driver.h.

◆ W5200_Sn_CR_PCJ

#define W5200_Sn_CR_PCJ   0x27

Definition at line 528 of file w5200_driver.h.

◆ W5200_Sn_CR_PCN

#define W5200_Sn_CR_PCN   0x26

Definition at line 527 of file w5200_driver.h.

◆ W5200_Sn_CR_PCON

#define W5200_Sn_CR_PCON   0x23

Definition at line 524 of file w5200_driver.h.

◆ W5200_Sn_CR_PCR

#define W5200_Sn_CR_PCR   0x25

Definition at line 526 of file w5200_driver.h.

◆ W5200_Sn_CR_PDISCON

#define W5200_Sn_CR_PDISCON   0x24

Definition at line 525 of file w5200_driver.h.

◆ W5200_Sn_CR_RECV

#define W5200_Sn_CR_RECV   0x40

Definition at line 529 of file w5200_driver.h.

◆ W5200_Sn_CR_SEND

#define W5200_Sn_CR_SEND   0x20

Definition at line 521 of file w5200_driver.h.

◆ W5200_Sn_CR_SEND_KEEP

#define W5200_Sn_CR_SEND_KEEP   0x22

Definition at line 523 of file w5200_driver.h.

◆ W5200_Sn_CR_SEND_MAC

#define W5200_Sn_CR_SEND_MAC   0x21

Definition at line 522 of file w5200_driver.h.

◆ W5200_Sn_DHAR0

#define W5200_Sn_DHAR0 (   n)    (0x4006 + ((n) * 0x0100))

Definition at line 421 of file w5200_driver.h.

◆ W5200_Sn_DHAR1

#define W5200_Sn_DHAR1 (   n)    (0x4007 + ((n) * 0x0100))

Definition at line 422 of file w5200_driver.h.

◆ W5200_Sn_DHAR2

#define W5200_Sn_DHAR2 (   n)    (0x4008 + ((n) * 0x0100))

Definition at line 423 of file w5200_driver.h.

◆ W5200_Sn_DHAR3

#define W5200_Sn_DHAR3 (   n)    (0x4009 + ((n) * 0x0100))

Definition at line 424 of file w5200_driver.h.

◆ W5200_Sn_DHAR4

#define W5200_Sn_DHAR4 (   n)    (0x400A + ((n) * 0x0100))

Definition at line 425 of file w5200_driver.h.

◆ W5200_Sn_DHAR5

#define W5200_Sn_DHAR5 (   n)    (0x400B + ((n) * 0x0100))

Definition at line 426 of file w5200_driver.h.

◆ W5200_Sn_DIPR0

#define W5200_Sn_DIPR0 (   n)    (0x400C + ((n) * 0x0100))

Definition at line 427 of file w5200_driver.h.

◆ W5200_Sn_DIPR1

#define W5200_Sn_DIPR1 (   n)    (0x400D + ((n) * 0x0100))

Definition at line 428 of file w5200_driver.h.

◆ W5200_Sn_DIPR2

#define W5200_Sn_DIPR2 (   n)    (0x400E + ((n) * 0x0100))

Definition at line 429 of file w5200_driver.h.

◆ W5200_Sn_DIPR3

#define W5200_Sn_DIPR3 (   n)    (0x400F + ((n) * 0x0100))

Definition at line 430 of file w5200_driver.h.

◆ W5200_Sn_DPORT0

#define W5200_Sn_DPORT0 (   n)    (0x4010 + ((n) * 0x0100))

Definition at line 431 of file w5200_driver.h.

◆ W5200_Sn_DPORT1

#define W5200_Sn_DPORT1 (   n)    (0x4011 + ((n) * 0x0100))

Definition at line 432 of file w5200_driver.h.

◆ W5200_Sn_FRAG0

#define W5200_Sn_FRAG0 (   n)    (0x402D + ((n) * 0x0100))

Definition at line 453 of file w5200_driver.h.

◆ W5200_Sn_FRAG1

#define W5200_Sn_FRAG1 (   n)    (0x402E + ((n) * 0x0100))

Definition at line 454 of file w5200_driver.h.

◆ W5200_Sn_IMR

#define W5200_Sn_IMR (   n)    (0x402C + ((n) * 0x0100))

Definition at line 452 of file w5200_driver.h.

◆ W5200_Sn_IMR_CON

#define W5200_Sn_IMR_CON   0x01

Definition at line 583 of file w5200_driver.h.

◆ W5200_Sn_IMR_DISCON

#define W5200_Sn_IMR_DISCON   0x02

Definition at line 582 of file w5200_driver.h.

◆ W5200_Sn_IMR_PFAIL

#define W5200_Sn_IMR_PFAIL   0x40

Definition at line 577 of file w5200_driver.h.

◆ W5200_Sn_IMR_PNEXT

#define W5200_Sn_IMR_PNEXT   0x20

Definition at line 578 of file w5200_driver.h.

◆ W5200_Sn_IMR_PRECV

#define W5200_Sn_IMR_PRECV   0x80

Definition at line 576 of file w5200_driver.h.

◆ W5200_Sn_IMR_RECV

#define W5200_Sn_IMR_RECV   0x04

Definition at line 581 of file w5200_driver.h.

◆ W5200_Sn_IMR_SENDOK

#define W5200_Sn_IMR_SENDOK   0x10

Definition at line 579 of file w5200_driver.h.

◆ W5200_Sn_IMR_TIMEOUT

#define W5200_Sn_IMR_TIMEOUT   0x08

Definition at line 580 of file w5200_driver.h.

◆ W5200_Sn_IR

#define W5200_Sn_IR (   n)    (0x4002 + ((n) * 0x0100))

Definition at line 417 of file w5200_driver.h.

◆ W5200_Sn_IR_CON

#define W5200_Sn_IR_CON   0x01

Definition at line 539 of file w5200_driver.h.

◆ W5200_Sn_IR_DISCON

#define W5200_Sn_IR_DISCON   0x02

Definition at line 538 of file w5200_driver.h.

◆ W5200_Sn_IR_PFAIL

#define W5200_Sn_IR_PFAIL   0x40

Definition at line 533 of file w5200_driver.h.

◆ W5200_Sn_IR_PNEXT

#define W5200_Sn_IR_PNEXT   0x20

Definition at line 534 of file w5200_driver.h.

◆ W5200_Sn_IR_PRECV

#define W5200_Sn_IR_PRECV   0x80

Definition at line 532 of file w5200_driver.h.

◆ W5200_Sn_IR_RECV

#define W5200_Sn_IR_RECV   0x04

Definition at line 537 of file w5200_driver.h.

◆ W5200_Sn_IR_SENDOK

#define W5200_Sn_IR_SENDOK   0x10

Definition at line 535 of file w5200_driver.h.

◆ W5200_Sn_IR_TIMEOUT

#define W5200_Sn_IR_TIMEOUT   0x08

Definition at line 536 of file w5200_driver.h.

◆ W5200_Sn_MR

#define W5200_Sn_MR (   n)    (0x4000 + ((n) * 0x0100))

Definition at line 415 of file w5200_driver.h.

◆ W5200_Sn_MR_MC

#define W5200_Sn_MR_MC   0x20

Definition at line 506 of file w5200_driver.h.

◆ W5200_Sn_MR_MF

#define W5200_Sn_MR_MF   0x40

Definition at line 504 of file w5200_driver.h.

◆ W5200_Sn_MR_MULTI

#define W5200_Sn_MR_MULTI   0x80

Definition at line 503 of file w5200_driver.h.

◆ W5200_Sn_MR_ND

#define W5200_Sn_MR_ND   0x20

Definition at line 505 of file w5200_driver.h.

◆ W5200_Sn_MR_PROTOCOL

#define W5200_Sn_MR_PROTOCOL   0x0F

Definition at line 507 of file w5200_driver.h.

◆ W5200_Sn_MR_PROTOCOL_CLOSED

#define W5200_Sn_MR_PROTOCOL_CLOSED   0x00

Definition at line 508 of file w5200_driver.h.

◆ W5200_Sn_MR_PROTOCOL_IPRAW

#define W5200_Sn_MR_PROTOCOL_IPRAW   0x03

Definition at line 511 of file w5200_driver.h.

◆ W5200_Sn_MR_PROTOCOL_MACRAW

#define W5200_Sn_MR_PROTOCOL_MACRAW   0x04

Definition at line 512 of file w5200_driver.h.

◆ W5200_Sn_MR_PROTOCOL_PPPOE

#define W5200_Sn_MR_PROTOCOL_PPPOE   0x05

Definition at line 513 of file w5200_driver.h.

◆ W5200_Sn_MR_PROTOCOL_TCP

#define W5200_Sn_MR_PROTOCOL_TCP   0x01

Definition at line 509 of file w5200_driver.h.

◆ W5200_Sn_MR_PROTOCOL_UDP

#define W5200_Sn_MR_PROTOCOL_UDP   0x02

Definition at line 510 of file w5200_driver.h.

◆ W5200_Sn_MSSR0

#define W5200_Sn_MSSR0 (   n)    (0x4012 + ((n) * 0x0100))

Definition at line 433 of file w5200_driver.h.

◆ W5200_Sn_MSSR1

#define W5200_Sn_MSSR1 (   n)    (0x4013 + ((n) * 0x0100))

Definition at line 434 of file w5200_driver.h.

◆ W5200_Sn_PORT0

#define W5200_Sn_PORT0 (   n)    (0x4004 + ((n) * 0x0100))

Definition at line 419 of file w5200_driver.h.

◆ W5200_Sn_PORT1

#define W5200_Sn_PORT1 (   n)    (0x4005 + ((n) * 0x0100))

Definition at line 420 of file w5200_driver.h.

◆ W5200_Sn_PROTO

#define W5200_Sn_PROTO (   n)    (0x4014 + ((n) * 0x0100))

Definition at line 435 of file w5200_driver.h.

◆ W5200_Sn_RX_RD0

#define W5200_Sn_RX_RD0 (   n)    (0x4028 + ((n) * 0x0100))

Definition at line 448 of file w5200_driver.h.

◆ W5200_Sn_RX_RD1

#define W5200_Sn_RX_RD1 (   n)    (0x4029 + ((n) * 0x0100))

Definition at line 449 of file w5200_driver.h.

◆ W5200_Sn_RX_RSR0

#define W5200_Sn_RX_RSR0 (   n)    (0x4026 + ((n) * 0x0100))

Definition at line 446 of file w5200_driver.h.

◆ W5200_Sn_RX_RSR1

#define W5200_Sn_RX_RSR1 (   n)    (0x4027 + ((n) * 0x0100))

Definition at line 447 of file w5200_driver.h.

◆ W5200_Sn_RX_WR0

#define W5200_Sn_RX_WR0 (   n)    (0x402A + ((n) * 0x0100))

Definition at line 450 of file w5200_driver.h.

◆ W5200_Sn_RX_WR1

#define W5200_Sn_RX_WR1 (   n)    (0x402B + ((n) * 0x0100))

Definition at line 451 of file w5200_driver.h.

◆ W5200_Sn_RXMEM_SIZE

#define W5200_Sn_RXMEM_SIZE (   n)    (0x401E + ((n) * 0x0100))

Definition at line 438 of file w5200_driver.h.

◆ W5200_Sn_RXMEM_SIZE_0KB

#define W5200_Sn_RXMEM_SIZE_0KB   0x00

Definition at line 560 of file w5200_driver.h.

◆ W5200_Sn_RXMEM_SIZE_16KB

#define W5200_Sn_RXMEM_SIZE_16KB   0x10

Definition at line 565 of file w5200_driver.h.

◆ W5200_Sn_RXMEM_SIZE_1KB

#define W5200_Sn_RXMEM_SIZE_1KB   0x01

Definition at line 561 of file w5200_driver.h.

◆ W5200_Sn_RXMEM_SIZE_2KB

#define W5200_Sn_RXMEM_SIZE_2KB   0x02

Definition at line 562 of file w5200_driver.h.

◆ W5200_Sn_RXMEM_SIZE_4KB

#define W5200_Sn_RXMEM_SIZE_4KB   0x04

Definition at line 563 of file w5200_driver.h.

◆ W5200_Sn_RXMEM_SIZE_8KB

#define W5200_Sn_RXMEM_SIZE_8KB   0x08

Definition at line 564 of file w5200_driver.h.

◆ W5200_Sn_SR

#define W5200_Sn_SR (   n)    (0x4003 + ((n) * 0x0100))

Definition at line 418 of file w5200_driver.h.

◆ W5200_Sn_SR_SOCK_ARP

#define W5200_Sn_SR_SOCK_ARP   0x01

Definition at line 543 of file w5200_driver.h.

◆ W5200_Sn_SR_SOCK_CLOSE_WAIT

#define W5200_Sn_SR_SOCK_CLOSE_WAIT   0x1C

Definition at line 552 of file w5200_driver.h.

◆ W5200_Sn_SR_SOCK_CLOSED

#define W5200_Sn_SR_SOCK_CLOSED   0x00

Definition at line 542 of file w5200_driver.h.

◆ W5200_Sn_SR_SOCK_CLOSING

#define W5200_Sn_SR_SOCK_CLOSING   0x1A

Definition at line 550 of file w5200_driver.h.

◆ W5200_Sn_SR_SOCK_ESTABLISHED

#define W5200_Sn_SR_SOCK_ESTABLISHED   0x17

Definition at line 548 of file w5200_driver.h.

◆ W5200_Sn_SR_SOCK_FIN_WAIT

#define W5200_Sn_SR_SOCK_FIN_WAIT   0x18

Definition at line 549 of file w5200_driver.h.

◆ W5200_Sn_SR_SOCK_INIT

#define W5200_Sn_SR_SOCK_INIT   0x13

Definition at line 544 of file w5200_driver.h.

◆ W5200_Sn_SR_SOCK_IPRAW

#define W5200_Sn_SR_SOCK_IPRAW   0x32

Definition at line 555 of file w5200_driver.h.

◆ W5200_Sn_SR_SOCK_LAST_ACK

#define W5200_Sn_SR_SOCK_LAST_ACK   0x1D

Definition at line 553 of file w5200_driver.h.

◆ W5200_Sn_SR_SOCK_LISTEN

#define W5200_Sn_SR_SOCK_LISTEN   0x14

Definition at line 545 of file w5200_driver.h.

◆ W5200_Sn_SR_SOCK_MACRAW

#define W5200_Sn_SR_SOCK_MACRAW   0x42

Definition at line 556 of file w5200_driver.h.

◆ W5200_Sn_SR_SOCK_PPPOE

#define W5200_Sn_SR_SOCK_PPPOE   0x5F

Definition at line 557 of file w5200_driver.h.

◆ W5200_Sn_SR_SOCK_SYNRECV

#define W5200_Sn_SR_SOCK_SYNRECV   0x16

Definition at line 547 of file w5200_driver.h.

◆ W5200_Sn_SR_SOCK_SYNSENT

#define W5200_Sn_SR_SOCK_SYNSENT   0x15

Definition at line 546 of file w5200_driver.h.

◆ W5200_Sn_SR_SOCK_TIME_WAIT

#define W5200_Sn_SR_SOCK_TIME_WAIT   0x1B

Definition at line 551 of file w5200_driver.h.

◆ W5200_Sn_SR_SOCK_UDP

#define W5200_Sn_SR_SOCK_UDP   0x22

Definition at line 554 of file w5200_driver.h.

◆ W5200_Sn_TOS

#define W5200_Sn_TOS (   n)    (0x4015 + ((n) * 0x0100))

Definition at line 436 of file w5200_driver.h.

◆ W5200_Sn_TTL

#define W5200_Sn_TTL (   n)    (0x4016 + ((n) * 0x0100))

Definition at line 437 of file w5200_driver.h.

◆ W5200_Sn_TX_FSR0

#define W5200_Sn_TX_FSR0 (   n)    (0x4020 + ((n) * 0x0100))

Definition at line 440 of file w5200_driver.h.

◆ W5200_Sn_TX_FSR1

#define W5200_Sn_TX_FSR1 (   n)    (0x4021 + ((n) * 0x0100))

Definition at line 441 of file w5200_driver.h.

◆ W5200_Sn_TX_RD0

#define W5200_Sn_TX_RD0 (   n)    (0x4022 + ((n) * 0x0100))

Definition at line 442 of file w5200_driver.h.

◆ W5200_Sn_TX_RD1

#define W5200_Sn_TX_RD1 (   n)    (0x4023 + ((n) * 0x0100))

Definition at line 443 of file w5200_driver.h.

◆ W5200_Sn_TX_WR0

#define W5200_Sn_TX_WR0 (   n)    (0x4024 + ((n) * 0x0100))

Definition at line 444 of file w5200_driver.h.

◆ W5200_Sn_TX_WR1

#define W5200_Sn_TX_WR1 (   n)    (0x4025 + ((n) * 0x0100))

Definition at line 445 of file w5200_driver.h.

◆ W5200_Sn_TXMEM_SIZE

#define W5200_Sn_TXMEM_SIZE (   n)    (0x401F + ((n) * 0x0100))

Definition at line 439 of file w5200_driver.h.

◆ W5200_Sn_TXMEM_SIZE_0KB

#define W5200_Sn_TXMEM_SIZE_0KB   0x00

Definition at line 568 of file w5200_driver.h.

◆ W5200_Sn_TXMEM_SIZE_16KB

#define W5200_Sn_TXMEM_SIZE_16KB   0x10

Definition at line 573 of file w5200_driver.h.

◆ W5200_Sn_TXMEM_SIZE_1KB

#define W5200_Sn_TXMEM_SIZE_1KB   0x01

Definition at line 569 of file w5200_driver.h.

◆ W5200_Sn_TXMEM_SIZE_2KB

#define W5200_Sn_TXMEM_SIZE_2KB   0x02

Definition at line 570 of file w5200_driver.h.

◆ W5200_Sn_TXMEM_SIZE_4KB

#define W5200_Sn_TXMEM_SIZE_4KB   0x04

Definition at line 571 of file w5200_driver.h.

◆ W5200_Sn_TXMEM_SIZE_8KB

#define W5200_Sn_TXMEM_SIZE_8KB   0x08

Definition at line 572 of file w5200_driver.h.

◆ W5200_SUBR0

#define W5200_SUBR0   0x05

Definition at line 61 of file w5200_driver.h.

◆ W5200_SUBR1

#define W5200_SUBR1   0x06

Definition at line 62 of file w5200_driver.h.

◆ W5200_SUBR2

#define W5200_SUBR2   0x07

Definition at line 63 of file w5200_driver.h.

◆ W5200_SUBR3

#define W5200_SUBR3   0x08

Definition at line 64 of file w5200_driver.h.

◆ W5200_TX_BUFFER

#define W5200_TX_BUFFER   0x8000

Definition at line 457 of file w5200_driver.h.

◆ W5200_VERSIONR

#define W5200_VERSIONR   0x1F

Definition at line 83 of file w5200_driver.h.

◆ W5200_VERSIONR_DEFAULT

#define W5200_VERSIONR_DEFAULT   0x03

Definition at line 481 of file w5200_driver.h.

Function Documentation

◆ w5200DisableIrq()

void w5200DisableIrq ( NetInterface interface)

Disable interrupts.

Parameters
[in]interfaceUnderlying network interface

Definition at line 240 of file w5200_driver.c.

◆ w5200DumpReg()

void w5200DumpReg ( NetInterface interface)

Dump registers for debugging purpose.

Parameters
[in]interfaceUnderlying network interface

Definition at line 755 of file w5200_driver.c.

◆ w5200EnableIrq()

void w5200EnableIrq ( NetInterface interface)

Enable interrupts.

Parameters
[in]interfaceUnderlying network interface

Definition at line 225 of file w5200_driver.c.

◆ w5200EventHandler()

void w5200EventHandler ( NetInterface interface)

W5200 event handler.

Parameters
[in]interfaceUnderlying network interface

Definition at line 317 of file w5200_driver.c.

◆ w5200Init()

error_t w5200Init ( NetInterface interface)

W5200 controller initialization.

Parameters
[in]interfaceUnderlying network interface
Returns
Error code

Definition at line 71 of file w5200_driver.c.

◆ w5200InitHook()

void w5200InitHook ( NetInterface interface)

W5200 custom configuration.

Parameters
[in]interfaceUnderlying network interface

Definition at line 178 of file w5200_driver.c.

◆ w5200IrqHandler()

bool_t w5200IrqHandler ( NetInterface interface)

W5200 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 256 of file w5200_driver.c.

◆ w5200ReadBuffer()

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

Read RX buffer.

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

Definition at line 723 of file w5200_driver.c.

◆ w5200ReadData()

void w5200ReadData ( NetInterface interface,
uint8_t *  data,
size_t  length 
)

Read data.

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

Definition at line 641 of file w5200_driver.c.

◆ w5200ReadReg16()

uint16_t w5200ReadReg16 ( NetInterface interface,
uint16_t  address 
)

Read 16-bit register.

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

Definition at line 560 of file w5200_driver.c.

◆ w5200ReadReg8()

uint8_t w5200ReadReg8 ( NetInterface interface,
uint16_t  address 
)

Read 8-bit register.

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

Definition at line 498 of file w5200_driver.c.

◆ w5200ReceivePacket()

error_t w5200ReceivePacket ( NetInterface interface)

Receive a packet.

Parameters
[in]interfaceUnderlying network interface
Returns
Error code

Definition at line 395 of file w5200_driver.c.

◆ w5200SendPacket()

error_t w5200SendPacket ( 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 w5200_driver.c.

◆ w5200Tick()

void w5200Tick ( NetInterface interface)

W5200 timer handler.

Parameters
[in]interfaceUnderlying network interface

Definition at line 188 of file w5200_driver.c.

◆ w5200UpdateMacAddrFilter()

error_t w5200UpdateMacAddrFilter ( NetInterface interface)

Configure MAC address filtering.

Parameters
[in]interfaceUnderlying network interface
Returns
Error code

Definition at line 456 of file w5200_driver.c.

◆ w5200WriteBuffer()

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

Write TX buffer.

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

Definition at line 688 of file w5200_driver.c.

◆ w5200WriteData()

void w5200WriteData ( NetInterface interface,
const uint8_t *  data,
size_t  length 
)

Write data.

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

Definition at line 594 of file w5200_driver.c.

◆ w5200WriteReg16()

void w5200WriteReg16 ( NetInterface interface,
uint16_t  address,
uint16_t  data 
)

Write 16-bit register.

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

Definition at line 531 of file w5200_driver.c.

◆ w5200WriteReg8()

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

Write 8-bit register.

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

Definition at line 470 of file w5200_driver.c.

Variable Documentation

◆ w5200Driver

const NicDriver w5200Driver
extern

W5200 driver.

Definition at line 44 of file w5200_driver.c.