#[repr(u16)]pub enum SnReg {
Show 40 variants
MR,
CR,
IR,
SR,
PORT0,
PORT1,
DHAR0,
DHAR1,
DHAR2,
DHAR3,
DHAR4,
DHAR5,
DIPR0,
DIPR1,
DIPR2,
DIPR3,
DPORT0,
DPORT1,
MSSR0,
MSSR1,
TOS,
TTL,
RXBUF_SIZE,
TXBUF_SIZE,
TX_FSR0,
TX_FSR1,
TX_RD0,
TX_RD1,
TX_WR0,
TX_WR1,
RX_RSR0,
RX_RSR1,
RX_RD0,
RX_RD1,
RX_WR0,
RX_WR1,
IMR,
FRAG0,
FRAG1,
KPALVTR,
}
Expand description
W5500 socket register addresses.
Variants§
MR
Address of the SN_MR register.
CR
Address of the SN_CR register.
IR
Address of the SN_IR register.
SR
Address of the SN_SR register.
PORT0
Address of the SN_PORT register, index 0.
PORT1
Address of the SN_PORT register, index 1.
DHAR0
Address of the SN_DHAR register, index 0.
DHAR1
Address of the SN_DHAR register, index 1.
DHAR2
Address of the SN_DHAR register, index 2.
DHAR3
Address of the SN_DHAR register, index 3.
DHAR4
Address of the SN_DHAR register, index 4.
DHAR5
Address of the SN_DHAR register, index 5.
DIPR0
Address of the SN_DIPR register, index 0.
DIPR1
Address of the SN_DIPR register, index 1.
DIPR2
Address of the SN_DIPR register, index 2.
DIPR3
Address of the SN_DIPR register, index 3.
DPORT0
Address of the SN_DPORT register, index 0.
DPORT1
Address of the SN_DPORT register, index 1.
MSSR0
Address of the SN_MSSR register, index 0.
MSSR1
Address of the SN_MSSR register, index 1.
TOS
Address of the SN_TOS register.
TTL
Address of the SN_TTL register.
RXBUF_SIZE
Address of the SN_RXBUF_SIZE register.
TXBUF_SIZE
Address of the SN_TXBUF_SIZE register.
TX_FSR0
Address of the SN_TX_FSR register, index 0.
TX_FSR1
Address of the SN_TX_FSR register, index 1.
TX_RD0
Address of the SN_TX_RD register, index 0.
TX_RD1
Address of the SN_TX_RD register, index 1.
TX_WR0
Address of the SN_TX_WR register, index 0.
TX_WR1
Address of the SN_TX_WR register, index 1.
RX_RSR0
Address of the SN_RX_RSR register, index 0.
RX_RSR1
Address of the SN_RX_RSR register, index 1.
RX_RD0
Address of the SN_RX_RD register, index 0.
RX_RD1
Address of the SN_RX_RD register, index 1.
RX_WR0
Address of the SN_RX_WR register, index 0.
RX_WR1
Address of the SN_RX_WR register, index 1.
IMR
Address of the SN_IMR register.
FRAG0
Address of the SN_FRAG register, index 0.
FRAG1
Address of the SN_FRAG register, index 1.
KPALVTR
Address of the SN_KPALVTR register.