[][src]Crate w5500_ll

Platform agnostic rust driver for the Wiznet W5500 SPI internet offload chip.

This is a low-level (ll) crate, specifically limited in scope to register accessors only. Higher level functionality (such as socket operations) should be built on-top of what is provided here.

Modules

blocking

Blocking implementations of the crate::Registers trait using the embedded-hal blocking SPI traits.

net

Networking data types.

reg

W5500 register addresses.

spi

Helpers and functions relating to W5500 SPI transfers.

Structs

Interrupt

Interrupt and interrupt mask register.

Mode

Mode register (MR).

PhyCfg

PHY configuration register (PHYCFGR).

SocketInterrupt

Socket Interrupt Register.

SocketInterruptMask

Socket Interrupt Mask Register.

SocketMode

Socket Mode Register (Sn_MR).

Enums

BufferSize

RX and TX buffer sizes.

DuplexStatus

PHY duplex status.

LinkStatus

PHY link status.

OperationMode

PHY operation mode.

Protocol

Socket protocol.

Socket

W5500 sockets.

SocketCommand

Socket commands.

SocketStatus

Socket status.

SpeedStatus

PHY speed status.

Constants

COMMON_BLOCK_OFFSET

Common register block address offset.

SOCKETS

Array of all sockets.

VERSION

Value of the W5500 VERSIONR register.

Traits

Registers

W5500 register setters and getters.