I wonder if these bit field macros could be more general purpose than MMIO. Perhaps they should be a Swift language feature?
@mgriebling previously brought up a use case unrelated to MMIO and the Swift evolution pitch by @Douglas_Gregor and @Ben_Cohen for an @OptionSet
macro feels like a subset of a general bit field macro.