4.9.5 Creating enumerations for use with a peripheral register
Describes how to create enumerations for use with a peripheral.
With more complex peripherals it can be useful to create and assign enumerations to particular peripheral bit patterns so that you can select from a list of enumerated values rather than write the equivalent hexadecimal value. (For example: Enabled/Disabled, On/Off).
Click on the Enumerations tab.
Enter the data as shown in the following figure.
Figure 4-14 Creating enumerations