Commit graph

17 commits

Author SHA1 Message Date
Jonah Dahlquist
3cad9cac57 Renamed W5500 -> Device, added an Interface struct that should implement the embedded-nal traits, used it to internalize the mutability of the device 2021-02-18 19:16:16 -08:00
Jonah Dahlquist
f546ff2011 Re-wrote socket implementations to be more compatible with embedded-nal 2021-02-18 19:16:14 -08:00
Jonah Dahlquist
074e01e3a0 Removed nb from areas where it's not necessary 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
b6a52cbf8e Removed socket ownership checking, giving up on that effort for now 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
95ca1be001 Ran formatting 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
36df284dca Finished UDP socket init 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
65a9552816 Moved register addresses into register modules, fixed borrow error 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
b82bb92ead Added inactive UP socket state, added run-time socket ownership checking, added register addresses to sockets 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
715cdea318 Changed UdpSocket to store a socket reference 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
bd78b82b8e Comment for checking socket at run-time 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
e8c8e3c9cc Laid out concept for UdpSocket init 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
b30e4d0d34 Stubbed UdpSocket struct, added Socket structs 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
d2fb6b9996 fmt 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
fd9e861dde Added Network trait that keeps track of network settings and has DHCP/Manual options for setting up options 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
ce36644d9c Added module containing new register address representations, added chip mode init/reset 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
a43f86d744 Added bus model and InactiveW5500 state 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
03e30ef699 Began skeleton of new UninitializedW5500 struct and Bus trait/impls 2021-02-18 19:12:55 -08:00