diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-11-19 23:18:45 -0700 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-11-23 13:53:35 -0700 |
commit | aeff3e7d735a8313762c9e5d5689708cff02676a (patch) | |
tree | 79875e7690f25c0d50c8ced406eb5e83ec905eb0 /libhw/w5500_ll.h | |
parent | 70ba86d426accc06696402a8d3928ee5845b8f89 (diff) |
w5500 & timeout fixes
Diffstat (limited to 'libhw/w5500_ll.h')
-rw-r--r-- | libhw/w5500_ll.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libhw/w5500_ll.h b/libhw/w5500_ll.h index 9098dd1..c70da0d 100644 --- a/libhw/w5500_ll.h +++ b/libhw/w5500_ll.h @@ -218,10 +218,10 @@ static_assert(sizeof(struct w5500ll_block_sock_reg) == 0x30); #define _SOCKINTR_SEND_UNUSED7 ((uint8_t)1<<7) #define _SOCKINTR_SEND_UNUSED6 ((uint8_t)1<<6) #define _SOCKINTR_SEND_UNUSED5 ((uint8_t)1<<5) -#define SOCKINTR_SEND_OK ((uint8_t)1<<4) -#define SOCKINTR_TIMEOUT ((uint8_t)1<<3) -#define SOCKINTR_RECV ((uint8_t)1<<2) -#define SOCKINTR_FIN ((uint8_t)1<<1) +#define SOCKINTR_SEND_OK ((uint8_t)1<<4) /* TODO: determine precise meaning */ +#define SOCKINTR_SEND_TIMEOUT ((uint8_t)1<<3) /* ARP or TCP */ +#define SOCKINTR_RECV_DAT ((uint8_t)1<<2) /* received data */ +#define SOCKINTR_RECV_FIN ((uint8_t)1<<1) /* received FIN */ #define SOCKINTR_CONN ((uint8_t)1<<1) /* first for SYN, then when SOCKMODE_ESTABLISHED */ #define STATE_CLOSED ((uint8_t)0x00) |