This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52 address of single pin's input/output register

Hi,

On STM32 and some other platforms I'm able to get an address that I can write to in order to set the value of a single pin. While (like on nRF) there is one output register per bank of pins, you can use bit banding to get an address that'll change just a single pin at once. I notice from the datasheet that it seems bit banding isn't implemented - is there another way of getting an address that is associated with a single pin?

While not the end of the world if not, I target a few different platforms and I have a 'fast path' for some operations if a pin can be accessed by address alone. It'd be nice to be able to use those fast paths on nRF52.

thanks!

Parents Reply Children
No Data
Related