Socket APIs
|
Classes | |
struct | __WIZCHIP |
The set of callback functions for W5500:WIZCHIP I/O functions W5200:WIZCHIP I/O functions. More... | |
union | __WIZCHIP::_IF |
struct | __WIZCHIP::_CS |
struct | __WIZCHIP::_CRIS |
struct | wiz_PhyConf_t |
struct | wiz_NetInfo_t |
struct | wiz_NetTimeout_t |
Typedefs | |
typedef struct __WIZCHIP | _WIZCHIP |
The set of callback functions for W5500:WIZCHIP I/O functions W5200:WIZCHIP I/O functions. More... | |
typedef struct wiz_PhyConf_t | wiz_PhyConf |
typedef struct wiz_NetInfo_t | wiz_NetInfo |
typedef struct wiz_NetTimeout_t | wiz_NetTimeout |
Detailed Description
Typedef Documentation
The set of callback functions for W5500:WIZCHIP I/O functions W5200:WIZCHIP I/O functions.
typedef struct wiz_PhyConf_t wiz_PhyConf |
It configures PHY configuration when CW_SET PHYCONF or CW_GET_PHYCONF in W5500, and it indicates the real PHY status configured by HW or SW in all WIZCHIP.
Valid only in W5500.
typedef struct wiz_NetInfo_t wiz_NetInfo |
Network Information for WIZCHIP
typedef struct wiz_NetTimeout_t wiz_NetTimeout |
Used in CN_SET_TIMEOUT or CN_GET_TIMEOUT of ctlwizchip() for timeout configruation.
Enumeration Type Documentation
enum sockint_kind |
The kind of Socket Interrupt.
- See also
- Sn_IR, Sn_IMR, setSn_IR(), getSn_IR(), setSn_IMR(), getSn_IMR()
Enumerator | |
---|---|
SIK_CONNECTED |
connected |
SIK_DISCONNECTED |
disconnected |
SIK_RECEIVED |
data received |
SIK_TIMEOUT |
timeout occurred |
SIK_SENT |
send ok |
SIK_ALL |
all interrupt |
enum ctlsock_type |
The type of ctlsocket().
Enumerator | |
---|---|
CS_SET_IOMODE |
set socket IO mode with SOCK_IO_BLOCK or SOCK_IO_NONBLOCK |
CS_GET_IOMODE |
get socket IO mode |
CS_GET_MAXTXBUF |
get the size of socket buffer allocated in TX memory |
CS_GET_MAXRXBUF |
get the size of socket buffer allocated in RX memory |
CS_CLR_INTERRUPT |
clear the interrupt of socket with sockint_kind |
CS_GET_INTERRUPT |
get the socket interrupt. refer to sockint_kind |
CS_SET_INTMASK |
set the interrupt mask of socket with sockint_kind, Not supported in W5100 |
CS_GET_INTMASK |
get the masked interrupt of socket. refer to sockint_kind, Not supported in W5100 |
enum sockopt_type |
The type of socket option in setsockopt() or getsockopt()
Enumerator | |
---|---|
SO_FLAG |
Valid only in getsockopt(), For set flag of socket refer to flag in socket(). |
SO_TTL |
Set TTL. Sn_TTL ( setSn_TTL(), getSn_TTL() ) |
SO_TOS |
Set TOS. Sn_TOS ( setSn_TOS(), getSn_TOS() ) |
SO_MSS |
Set MSS. Sn_MSSR ( setSn_MSSR(), getSn_MSSR() ) |
SO_DESTIP |
Set the destination IP address. Sn_DIPR ( setSn_DIPR(), getSn_DIPR() ) |
SO_DESTPORT |
Set the destination Port number. Sn_DPORT ( setSn_DPORT(), getSn_DPORT() ) |
SO_KEEPALIVESEND |
Valid only in setsockopt. Manually send keep-alive packet in TCP mode, Not supported in W5100. |
SO_KEEPALIVEAUTO |
Set/Get keep-alive auto transmission timer in TCP mode, Not supported in W5100, W5200. |
SO_SENDBUF |
Valid only in getsockopt. Get the free data size of Socekt TX buffer. Sn_TX_FSR, getSn_TX_FSR() |
SO_RECVBUF |
Valid only in getsockopt. Get the received data size in socket RX buffer. Sn_RX_RSR, getSn_RX_RSR() |
SO_STATUS |
Valid only in getsockopt. Get the socket status. Sn_SR, getSn_SR() |
SO_REMAINSIZE |
Valid only in getsockopt. Get the remained packet size in other then TCP mode. |
SO_PACKINFO |
Valid only in getsockopt. Get the packet information as PACK_FIRST, PACK_REMAINED, and PACK_COMPLETED in other then TCP mode. |
enum ctlwizchip_type |
WIZCHIP control type enumration used in ctlwizchip().
Definition at line 262 of file wizchip_conf.h.
enum ctlnetwork_type |
Network control type enumration used in ctlnetwork().
Enumerator | |
---|---|
CN_SET_NETINFO |
Set Network with wiz_NetInfo. |
CN_GET_NETINFO |
Get Network with wiz_NetInfo. |
CN_SET_NETMODE |
Set network mode as WOL, PPPoE, Ping Block, and Force ARP mode. |
CN_GET_NETMODE |
Get network mode as WOL, PPPoE, Ping Block, and Force ARP mode. |
CN_SET_TIMEOUT |
Set network timeout as retry count and time. |
CN_GET_TIMEOUT |
Get network timeout as retry count and time. |
Definition at line 293 of file wizchip_conf.h.
enum intr_kind |
Interrupt kind when CW_SET_INTRRUPT, CW_GET_INTERRUPT, CW_SET_INTRMASK and CW_GET_INTRMASK is used in ctlnetwork(). It can be used with OR operation.
Definition at line 309 of file wizchip_conf.h.
enum dhcp_mode |
It used in setting dhcp_mode of wiz_NetInfo.
Enumerator | |
---|---|
NETINFO_STATIC |
Static IP configuration by manually. |
NETINFO_DHCP |
Dynamic IP configruation from a DHCP sever. |
Definition at line 379 of file wizchip_conf.h.
enum netmode_type |
Network mode
Enumerator | |
---|---|
NM_FORCEARP |
Force to APP send whenever udp data is sent. Valid only in W5500. |
NM_WAKEONLAN |
Wake On Lan. |
NM_PINGBLOCK |
Block ping-request. |
NM_PPPOE |
PPPoE mode. |
Definition at line 403 of file wizchip_conf.h.
Generated on Wed May 4 2016 16:43:59 for Socket APIs by 1.8.9.1