every new uC family I touch has an increasingly more contrived way of operating GPIOs. in 2022 I expect to have to solve a sudokupic.twitter.com/pxvNYr8KxE
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
Well two drivers (I hope!) aren't going to use the same GPIO line to send/recv data simultaneously, so I don't understand >>
why this is a problem as long as each driver shifts GPIO locations to be changed/masks to the correct positions before writing.
A single mmio address hosts multiple (up to 32) gpio lines.
So each driver reserves a chunk of those lines ahead of time, and every time a write is required, shift to the appriopriate >>
GPIO lines to modify, then send a mask for the other lines to NOT modify them... oh, wait... that's not atomic
(why is it called "RMW" in the case where you send the mask at the same time? From the hardware POV, we're >>
doing a simultaneous W *and* mask at the same time in silicon. There's no intermediate read/modify.)
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.