w5500 0.6.0

W5500 IoT Controller implementation.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use core::fmt::Debug;

mod four_wire;
mod three_wire;

pub use self::four_wire::FourWire;
pub use self::three_wire::ThreeWire;
pub use self::three_wire::ThreeWireError;

pub trait Bus {
    type Error: Debug;

    fn read_frame(&mut self, block: u8, address: u16, data: &mut [u8]) -> Result<(), Self::Error>;

    fn write_frame(&mut self, block: u8, address: u16, data: &[u8]) -> Result<(), Self::Error>;
}