| Crates.io | w5500-ll |
| lib.rs | w5500-ll |
| version | 0.13.0 |
| created_at | 2021-01-02 21:26:34.595293+00 |
| updated_at | 2024-06-09 19:52:49.376145+00 |
| description | Low level driver for the Wiznet W5500 internet offload chip. |
| homepage | https://github.com/newAM/w5500-rs |
| repository | https://github.com/newAM/w5500-rs |
| max_upload_size | |
| id | 330753 |
| size | 356,964 |
Platform agnostic rust driver for the Wiznet W5500 SPI internet offload chip.
This is a low-level (ll) crate. The scope of this crate is:
Higher level functionality (such as socket operations) should be built on-top of what is provided here.
Reading the VERSIONR register (a constant value).
use w5500_ll::{eh1::vdm::W5500, Registers};
let mut w5500 = W5500::new(spi);
let version: u8 = w5500.version()?;
assert_eq!(version, 0x04);
All features are disabled by default.
defmt: Enable formatting most types with defmt.eh0: Enables the eh0 module which contains
implementations of the Registers trait
using the embedded-hal version 0.2 traits.eh1: Enables the eh1 module which contains
implementations of the Registers trait
using the embedded-hal version 1 traits.eha1:
Implements the aio::Registers trait for types in the eh1 module
using the embedded-hal-async traits.