summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJacek Fedorynski <[email protected]>2023-04-13 20:04:04 +0200
committerJacek Fedorynski <[email protected]>2023-04-20 20:23:31 +0200
commit9bf97e3e52c09e2f7279ee37a86ec0b38275c494 (patch)
tree678fe35dc93738d30a7b89cbb3f9bcd0d7277b4f /tools
parent9771c76f25d0c28612abb7afbd6202f7fe5e85c1 (diff)
[rp2040] Make writes to SIE_CTRL aware of concurrent access
This commit makes it so that when setting the START_TRANS bit in the SIE_CTRL register, along with some other bits, we first set all the other bits, then wait some cycles, and then set the START_TRANS bit. Doing so protects against a situation where the USB controller is reading the register at the same time and gets an incorrect value. This mirrors the procedure already applied to buffer control registers.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions