tinyusb icon indicating copy to clipboard operation
tinyusb copied to clipboard

Prevent register race condition for DCD Synopsys

Open hathach opened this issue 5 years ago • 0 comments

Is your feature request related to a problem? Please describe. Several register of dcd synopsys e.g DIEPEMPMSK, are read-modify-write in both normal & ISR context which can have a race condition

Describe the solution you'd like use int disable/enable to prevent conflict.

https://github.com/hathach/tinyusb/pull/380#discussion_r415410615

hathach avatar Apr 27 '20 03:04 hathach