The bit access functions are not tied to Cortex-M CPUs, here they only provide optimisations via bit-banding. But the functions are generally useful - so move them to an arch independent location.