W3150A+ WIZnet, W3150A+ Datasheet - Page 42

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
}
First method :
{
}
Second method :
{
}
{
}
First method :
{
}
/* increase Sn_TX_WR as length of send_size */
Sn_TX_WR += send_size;
/* set SEND command */
Sn_CR = SEND;
If (Sn_IR(DISCON bit) == ‘1’) goto CLOSED stage;
/* In this case, if the interrupt of Socket n is activated, interrupt occurs. Refer to Interrupt
If (Sn_SR == SOCK_CLOSE_WAIT) goto CLOSED stage;
/* set DISCON command */
Sn_CR = DISCON;
If (Sn_IR(DISCON bit) == ‘1’) goto CLOSED stage;
/* In this case, if the interrupt of Socket n is activated, interrupt occurs. Refer to Interrupt
Waiting for a connection termination request from remote peer.
It can be checked as below if it received connection termination request of remote peer.
Check if user requests to terminate this connection.
To terminate the connection, proceed as below,
No connection state at all. It can be checked as below,
Register(IR), Interrupt Mask Register (IMR) and Socket n Interrupt Register (Sn_IR). */
/* copy send_size bytes of source_addr to get_start_address */
memcpy(source_addr, get_start_address, send_size);
ESTABLISHED : Received FIN?
ESTABLISHED : Disconnect ? / Disconnecting Process
ESTABLISHED : CLOSED ?
© Copyright 2006 WIZnet Co., Inc. All rights reserved.
- 41 -

Related parts for W3150A+