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...
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