fix:(port/ch58x/usb_ch58x_dc_usbfs.c) fix out endpoint cannot receive…#327
Conversation
WalkthroughThe update changes the sequence in which the RX NAK state is set during USB OUT token interrupt handling in the Changes
Sequence Diagram(s)sequenceDiagram
participant USB_Device
participant USBD_IRQHandler
participant Endpoint_0
participant Endpoint_4
USB_Device->>USBD_IRQHandler: OUT token interrupt
USBD_IRQHandler->>Endpoint_0: Toggle endpoint control register (if ep 0)
USBD_IRQHandler->>Endpoint_0: Set RX NAK (if ep 0)
USBD_IRQHandler->>Endpoint_4: Toggle endpoint control register (if ep 4)
USBD_IRQHandler->>Endpoint_4: Set RX NAK (if ep 4)
Possibly related PRs
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🔇 Additional comments (2)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
… bug
Summary by CodeRabbit