Labels and identifiers

It's possible to define label of any pin that can be shown in UI for easy pin identification.

The boards and kits have pre-defined labels. However, it is also possible to define a pin label listed in the Routed Pins view. To set\update the Labels and Identifier columns visibility, select Edit > Preferences.

The pin identifier is used to generate the #define in the pin_mux.h file. However, it's an optional parameter. If the parameter is not defined, the code for #define is not generated. Additionally, you can define multiple identifiers, using the “;” character as a separator. You can also set the identifier by typing it directly into the cell in the Identifier column in the Routed Pins view.
Figure 1. Pin Identifier

In this case it's possible to select from values if the pin is routed. See Routed pins table.

Figure 2. Identifier in Routed Pins table
A check is implemented to ensure whether the generated defines are duplicated in the pin_mux.h file. These duplications are indicated in the identifier column as errors. See Identifier errors.
Figure 3. Identifier errors
You can also select the pin to use in a given routing from the Routed Pins view. However, the identifier must be a valid C identifier and should be used in the source code.
Figure 4. Pins macros prefix
If multiple functions are used, each individual function can include a special prefix. Check the Pins > Functional Group Properties > Set custome #define prefix checkbox to enter prefix of macros in particular function used in the generated code of the pin_mux.h file. Entered prefix text must be a C identifier. If unchecked, the Function name is used as a default prefix.