Functions

'Functions' are used to group a set of routed pins, and they create code for the configuration in a function which then can be called by the application.

The tool creates multiple functions that can be used to configure pin muxing.

Figure 1. Functional group properties
Figure 2. Add new function

The usage of pins is indicated by 50% opacity in Pins, Peripherals, and Package views. Each function can define a set of routed pins or re-configure already routed pins.

When multiple functions are specified in the configuration, the package view primarily shows the pins and the peripherals for the selected function. Pins and peripherals for different functions are shown with light transparency and cannot be configured, until switched to this function.

Right-click on the function tab to show a context menu with the following commands:

Figure 3. Pins and peripherals