Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7995

General discussion • RP2040 and/or RP2350 bit-banding

$
0
0
I'm porting some old Cortex-M3 and Cortex-M4 code to the RP2040. My old code made use of bit-banding for the GPIO pins. (Bit-banding is a Cortex-M3 and Cortex-M4 feature that maps certain I/O register bits to a special range of 32-bit words in the SRAM address space. It is really nifty for manipulating a single GPIO pin because you can just read from or write to the bit-band address instead of doing read/modify/write from and to the GPIO port data register.)

Does either the RP2040 or the RP2350 support bit-banding? A quick scan of the datasheets does not seem hopeful...

Statistics: Posted by pmunts — Thu Feb 19, 2026 2:31 am



Viewing all articles
Browse latest Browse all 7995

Trending Articles