summaryrefslogtreecommitdiff
path: root/libhw/rp2040_include
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-02-23 10:58:41 -0700
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-02-23 10:58:41 -0700
commit53723a43e50863968bb040f5ad4f2f9005bac041 (patch)
tree7ffd6ab41a2ecf7754d3db0eded4c31257613a48 /libhw/rp2040_include
parent19a41387633e53d64d8a0ae69f3d3d3e35641c8d (diff)
parentc2f977be6492fd93b359c97dee9b2968fe56fef6 (diff)
Merge branch 'lukeshu/docs'
Diffstat (limited to 'libhw/rp2040_include')
-rw-r--r--libhw/rp2040_include/libhw/w5500.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/libhw/rp2040_include/libhw/w5500.h b/libhw/rp2040_include/libhw/w5500.h
index ab9f50e..98e54ec 100644
--- a/libhw/rp2040_include/libhw/w5500.h
+++ b/libhw/rp2040_include/libhw/w5500.h
@@ -86,12 +86,18 @@ void _w5500_init(struct w5500 *self,
struct net_eth_addr addr);
/**
- * TODO.
+ * Perform a hard reset on the chip (pull the reset line low).
+ *
+ * If you have any in-use sockets when you call this, you're going to
+ * have a bad time.
*/
void w5500_hard_reset(struct w5500 *self);
/**
- * TODO.
+ * Perform a soft reset on the chip (send the RST command).
+ *
+ * If you have any in-use sockets when you call this, you're going to
+ * have a bad time.
*/
void w5500_soft_reset(struct w5500 *self);