[][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

Implementation of the W5500 crate::Registers trait using the embedded-hal blocking SPI traits.

net

Networking data types.

reg

W5500 register addresses.

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

SOCKETS

Array of all sockets.

SPI_MODE

Recommended W5500 SPI mode.

VERSION

Value of the W5500 VERSIONR register.

Traits

Registers

W5500 register setters and getters.