Skip to content

Commit

Permalink
Revert definition of SIE_STATUS.SUSPENDED
Browse files Browse the repository at this point in the history
Writing the SUSPENDED bit does not clear the bit itself. Instead,
it clears the DEV_SUSPENDED bit of the INTR register.

While oneToClear is not completely accurate, it's still better than read-only.
  • Loading branch information
jannic committed Aug 11, 2024
1 parent 80a0507 commit f831b51
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions svd/rp2040.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,10 @@ USBCTRL_REGS:
J: [1, "J"]
K: [2, "K"]
SE1: [3, "SE1"]
_modify:
SUSPENDED:
access: read-write
modifiedWriteValues: oneToClear

# The ADDR_ENDP* registers collected into the array HOST_ADDR_ENDP.
# This renaming is necessary to avoid collision with the "ADDR_ENDP" register used in device mode.
Expand Down

0 comments on commit f831b51

Please sign in to comment.