Skip to content

Commit

Permalink
fix(ch32l1): wrong usb reg size
Browse files Browse the repository at this point in the history
  • Loading branch information
andelf committed Jun 1, 2024
1 parent 6a2fa44 commit 9839bac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/registers/usb_l1fs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ block/USBD:
- name: UEP_CTRL
description: endpoint control.
byte_offset: 50 # 0x32
bit_size: 8
bit_size: 16
array:
len: 8
stride: 4
Expand Down Expand Up @@ -428,7 +428,7 @@ fieldset/UEP_T_LEN:
bit_size: 10
fieldset/UEP_CTRL:
description: endpoint control.
bit_size: 8
bit_size: 16
fields:
- name: MASK_T_RES
description: bit mask of handshake response type for USB endpoint X transmittal (IN).
Expand Down

0 comments on commit 9839bac

Please sign in to comment.