Bitfields

There is a special kind of enums: bitfields.
A bitfield is an enum where the 32bits are divided into groups. When you define a new symbolic constant
in a bitfield, you need to specify the group to which the constant will belong
to. By default, IDA proposes groups containing one bit each.
If a group is not defined yet, it is automatically created when the first
constant in the group is defined. For example:

name CONST1
value 0x1
mask 0x1

will define a constant named CONST1 with value 1 and will create a group containing
only one bit. Another example. Let's consider the following definitions: