aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorpennae <[email protected]>2023-05-02 12:52:29 +0200
committerpennae <[email protected]>2023-05-03 11:25:28 +0200
commit62841dd5b958fa2458aceb638a17d243e72d987f (patch)
tree1d11fb4edb9c2165bf6ae901002c7a1555514d9d /examples
parent1e8da91defc2b5b328d733dedffc25893c786c1f (diff)
rp/pio: revert pio pin funcsel to null on pio+sms drop
once all sharing owners of pio pins have been dropped we should reset the pin for use by other hal objects. unfortunately this needs an atomic state per pio block because PioCommon and all of the state machines really do share ownership of any wrapped pins. only PioCommon can create them, but all state machines can keep them alive. since state machines can be moved to core1 we can't do reference counting in relaxed mode, but we *can* do relaxed pin accounting (since only common and the final drop can modify this).
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions