aboutsummaryrefslogtreecommitdiff
path: root/examples/std/src/bin
diff options
context:
space:
mode:
authorpennae <[email protected]>2023-04-25 23:17:57 +0200
committerpennae <[email protected]>2023-05-02 13:44:24 +0200
commit6cec6fa09b3bcc01ada4d5d5decd02cc2a3a8e4f (patch)
tree0060cd87b08c1cc150d4d3c909d514a0f23b930f /examples/std/src/bin
parent0d224a00e1023082f03610b74c37933506561c26 (diff)
rp/pio: don't use modify on shared registers
pio control registers are notionally shared between state machines as well. state machine operations that change these registers must use atomic accesses (or critical sections, which would be overkill). notably PioPin::set_input_sync_bypass was even wrong, enabling the bypass on a pin requires the corresponding bit to be set (not cleared). the PioCommon function got it right.
Diffstat (limited to 'examples/std/src/bin')
0 files changed, 0 insertions, 0 deletions