Renamed W5500 -> Device, added an Interface struct that should implement the embedded-nal traits, used it to internalize the mutability of the device

This commit is contained in:
Jonah Dahlquist 2020-11-19 19:28:12 -08:00
commit 3cad9cac57
7 changed files with 113 additions and 83 deletions

View file

@ -74,12 +74,14 @@ impl Default for Mode {
}
pub mod bus;
mod inactive_w5500;
mod inactive_device;
mod network;
pub mod register;
mod socket;
mod udp;
pub mod uninitialized_w5500;
mod w5500;
pub mod uninitialized_device;
mod device;
pub mod interface;
pub use bus::ActiveFourWire;
pub use interface::Interface;