Fix for error where USB host could send NAK, but isn't considered in jackdaw, resulting in jackdaw hanging
This commit is contained in:
parent
123c612614
commit
15ffaeed86
2 changed files with 25 additions and 14 deletions
|
@ -530,6 +530,8 @@ typedef enum endpoint_parameter{ep_num, ep_type, ep_direction, ep_size, ep_bank,
|
|||
#define Usb_ack_nak_out() (UEINTX &= ~(1<<NAKOUTI))
|
||||
//! acks receive SETUP
|
||||
#define Usb_ack_receive_setup() (UEINTX &= ~(1<<RXSTPI))
|
||||
//! tests if NAK IN received
|
||||
#define Is_usb_receive_nak_in() (UEINTX &(1<<NAKINI))
|
||||
//! acks reveive OUT
|
||||
#define Usb_ack_receive_out() (UEINTX &= ~(1<<RXOUTI), Usb_ack_fifocon())
|
||||
//! acks STALL sent
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue