W3150A+ WIZnet, W3150A+ Datasheet - Page 39

no-image

W3150A+

Manufacturer Part Number
W3150A+
Description
Ethernet ICs ENET CONTR TCP/IP+MAC
Manufacturer
WIZnet
Datasheet

Specifications of W3150A+

Rohs
yes
Product
Ethernet Transceivers
Supply Voltage - Max
3.6 V
Supply Voltage - Min
3 V
Maximum Operating Temperature
+ 80 C
Package / Case
LQFP-64
Ethernet Connection Type
10Base-T, 100Base-TX
Minimum Operating Temperature
- 40 C
Mounting Style
SMD/SMT
{
START:
}
{
}
First method :
{
}
Second method :
{
}
/* sets TCP mode */
Sn_MR = 0x01;
/* sets source port number */
Sn_PORT = source_port;
/* sets OPEN command */
Sn_CR = OPEN;
if (Sn_SR != SOCK_INIT) Sn_CR = CLOSE; goto START;
/* listen socket */
Sn_CR = LISTEN;
if (Sn_SR != SOCK_LISTEN) Sn_CR = CLOSE; goto START;
If (Sn_IR(CON bit) == ‘1’) goto ESTABLISHED stage;
/* In this case, if the interrupt of Socket n is activated, interrupt occurs. Refer to Interrupt
If (Sn_SR == SOCK_ESTABLISHED) goto ESTABLISHED stage;
It initializes the socket n as TCP,
In order to wait for a connection request
If received connection request from remote peer (the stauts of SOCK_SYNRECV), W3150A+ sends ACK
packet and changes to SOCK_ESTABLISHED status. This status can be checked as below.
Register(IR), Interrupt Mask Register (IMR) and Socket n Interrupt Register (Sn_IR). */
Socket Initialization
LISTEN
ESTABLISHED ?
© Copyright 2006 WIZnet Co., Inc. All rights reserved.
from peer
- 38 -
host.
// check socket status

Related parts for W3150A+