GH-3: Refactor to allow to state tracking of sockets, take an &mut SPI while 'activated'

The activated mode allows one to call functions without passing the SPI reference
each time, while not consuming it for the lifetime of W5500.
This commit is contained in:
Michael Watzko 2019-02-12 23:09:34 +01:00
commit 1415adbae0
2 changed files with 407 additions and 346 deletions

View file

@ -1,6 +1,6 @@
[package]
name = "w5500"
version = "0.1.6"
version = "0.2.0"
authors = ["Michael Watzko <michael@watzko.de>"]
repository = "https://github.com/kellerkindt/w5500.git"
description = "W5500 IoT Controller implementation. Currently UDP sending and receiving is working. WIP"