pub fn rx_packet_recv_interrupt_set(&mut self) -> bool {
        self.regs()
            .int_st()
            .read()
            .serial_out_recv_pkt()
            .bit_is_set()
    }
Checks if RX-PACKET-RECV interrupt is set
esp-hal/src/usb_serial_jtag.rs