From the Mastering STM32 book by Carmine Noviello, learned about the importance of bit banding. Which is using bit masking to save memory. Bit banding is mapping each bit of a "given area of memory" to a whole word in the aliased bit-banding memory regions.