| |||
Home > Configuring Custom Memory Maps, Registers and Peripherals > About configuring custom memory maps, registers, and peripherals > Suggested naming convention for memory map related settings groups |
When creating registers, peripherals, and concatenated registers you can:
specify the addresses relative to a memory map block
set up enumerations to use for setting the values
define rules for activating memory blocks depending on a register value
define bit fields.
Table 4.1 lists suggested prefixes for the names of these entities. This helps you to distinguish the names when referencing them from other settings.
Table 4.1. Suggested naming convention
Setting group type | Setting group | Prefix |
---|---|---|
Memory blocks | Memory_block | M_ |
Enumerations for register values | Register_Enum | E_ |
Register bit fields | Bit_fields | B_ |
Concatenated registers | Concat_Register | C_ |
Rules for mapping memory blocks depending on a register value | Map_rule | R_ |