Skip to content

fix(usb): correct endpoint register widths - #49

Open
rhgndf wants to merge 1 commit into
ch32-rs:mainfrom
rhgndf:correct-usb-widths
Open

fix(usb): correct endpoint register widths#49
rhgndf wants to merge 1 commit into
ch32-rs:mainfrom
rhgndf:correct-usb-widths

Conversation

@rhgndf

@rhgndf rhgndf commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

codex found it
citations:

  • CH32L103: CH32L103RM.PDF, PDF page 299, printed page 297, §20.2.2.12. RB_UEP_T_TOG occupies bit 2, while RB_UEP_T_AUTO_TOG separately occupies bit 3.
  • CH32V20x/V30x: CH32FV2x_V3xRM.PDF, PDF page 410, printed page 405, §23.2.2.6. It defines R32_UEPn_DMA as bits [31:0].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant