Level-triggered w6300 interrupt, drain until empty, rearm after drain
This commit is contained in:
@@ -41,6 +41,7 @@ extern volatile bool irq_pending;
|
||||
|
||||
void clear_interrupt(intr_kind intr);
|
||||
void set_interrupt_mask(intr_kind intr);
|
||||
void rearm_gpio_irq();
|
||||
|
||||
std::expected<socket_id, sock_error> open_socket(socket_id sn, protocol proto, sock_flag flag);
|
||||
std::expected<uint16_t, sock_error> send(socket_id sn, std::span<const uint8_t> buf);
|
||||
|
||||
Reference in New Issue
Block a user