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).


  1. Click on the Enumerations tab.
  2. Enter the data as shown in the following figure.
    Figure 4-14 Creating enumerations
    Creating enumerations

Related tasks
4.9.1 Creating a memory map
4.9.2 Creating a peripheral
4.9.3 Creating a standalone register
4.9.4 Creating a peripheral register
4.9.6 Assigning enumerations to a peripheral register
4.9.7 Creating remapping rules for a control register
4.9.8 Creating a memory region for remapping by a control register
4.9.9 Applying the map rules to the overlapping memory regions
Related reference
4.9 Scenario demonstrating how to create a new target configuration file
4.5 Target configuration editor - Registers tab
4.7 Target configuration editor - Enumerations tab
Non-ConfidentialPDF file icon PDF versionARM DUI0446W
Copyright © 2010-2015 ARM. All rights reserved.