From a1883e93c1094ed34c21e018d34993e2a9e80506 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Fri, 21 Feb 2025 12:23:09 -0700 Subject: Complete TODO comments and documentation --- libhw/rp2040_include/libhw/w5500.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'libhw/rp2040_include') 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); -- cgit v1.2.3-2-g168b