Skyward boardcore
Loading...
Searching...
No Matches
Boardcore::Wiz::Socket Namespace Reference

Namespaces

namespace  Irq
 

Enumerations

enum  Command {
  CMD_OPEN = 0x01 , CMD_LISTEN = 0x02 , CMD_CONNECT = 0x04 , CMD_DISCON = 0x08 ,
  CMD_CLOSE = 0x10 , CMD_SEND = 0x20 , CMD_SEND_MAC = 0x21 , CMD_SEND_KEEP = 0x22 ,
  CMD_RECV = 0x40
}
 
enum  Status {
  STAT_CLOSED = 0x00 , STAT_INIT = 0x13 , STAT_LISTEN = 0x14 , STAT_SYNSENT = 0x15 ,
  STAT_SYNRECV = 0x16 , STAT_ESTABLISHED = 0x17 , STAT_FIN_WAIT = 0x18 , STAT_CLOSING = 0x1A ,
  STAT_TIME_WAIT = 0x1B , STAT_CLOSE_WAIT = 0x1C , STAT_LAST_ACK = 0x1D , STAT_UDP = 0x22 ,
  STAT_MACRAW = 0x42
}
 
enum  Registers {
  REG_MR = 0x0000 , REG_CR = 0x0001 , REG_IR = 0x0002 , REG_SR = 0x0003 ,
  REG_PORT = 0x0004 , REG_DHAR = 0x0006 , REG_DIPR = 0x000C , REG_DPORT = 0x0010 ,
  REG_MSSR = 0x0012 , REG_TOS = 0x0015 , REG_TTL = 0x0016 , REG_RXBUF_SIZE = 0x001E ,
  REG_TXBUF_SIZE = 0x001F , REG_TX_FSR = 0x0020 , REG_TX_RD = 0x0022 , REG_TX_WR = 0x0024 ,
  REG_RX_RSR = 0x0026 , REG_RX_RD = 0x0028 , REG_RX_WR = 0x002A , REG_IMR = 0x002C ,
  REG_FRAG = 0x002D , REG_KPALVTR = 0x002F
}
 

Functions

uint8_t buildModeUdp (bool enable_multicast, bool block_broadcast, bool multicast_use_igmp_v1, bool block_unicast)
 
uint8_t buildModeTcp (bool enable_no_delayed_ack)
 
uint8_t buildModeMacraw (bool enable_mac_filter, bool block_broadcast, bool block_multicast, bool block_ipv6)
 

Enumeration Type Documentation

◆ Command

Enumerator
CMD_OPEN 
CMD_LISTEN 
CMD_CONNECT 
CMD_DISCON 
CMD_CLOSE 
CMD_SEND 
CMD_SEND_MAC 
CMD_SEND_KEEP 
CMD_RECV 

Definition at line 95 of file WIZ5500Defs.h.

◆ Registers

Enumerator
REG_MR 
REG_CR 
REG_IR 
REG_SR 
REG_PORT 
REG_DHAR 
REG_DIPR 
REG_DPORT 
REG_MSSR 
REG_TOS 
REG_TTL 
REG_RXBUF_SIZE 
REG_TXBUF_SIZE 
REG_TX_FSR 
REG_TX_RD 
REG_TX_WR 
REG_RX_RSR 
REG_RX_RD 
REG_RX_WR 
REG_IMR 
REG_FRAG 
REG_KPALVTR 

Definition at line 125 of file WIZ5500Defs.h.

◆ Status

Enumerator
STAT_CLOSED 
STAT_INIT 
STAT_LISTEN 
STAT_SYNSENT 
STAT_SYNRECV 
STAT_ESTABLISHED 
STAT_FIN_WAIT 
STAT_CLOSING 
STAT_TIME_WAIT 
STAT_CLOSE_WAIT 
STAT_LAST_ACK 
STAT_UDP 
STAT_MACRAW 

Definition at line 108 of file WIZ5500Defs.h.

Function Documentation

◆ buildModeMacraw()

uint8_t Boardcore::Wiz::Socket::buildModeMacraw ( bool enable_mac_filter,
bool block_broadcast,
bool block_multicast,
bool block_ipv6 )
inline

Definition at line 164 of file WIZ5500Defs.h.

◆ buildModeTcp()

uint8_t Boardcore::Wiz::Socket::buildModeTcp ( bool enable_no_delayed_ack)
inline

Definition at line 159 of file WIZ5500Defs.h.

◆ buildModeUdp()

uint8_t Boardcore::Wiz::Socket::buildModeUdp ( bool enable_multicast,
bool block_broadcast,
bool multicast_use_igmp_v1,
bool block_unicast )
inline

Definition at line 151 of file WIZ5500Defs.h.