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 allows to creates multiple functions that can be used to configure pin muxing.
The usage of pins is indicated by 50% opacity in Pins, Peripheral Signals, 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:
- Call function from BOARD_InitBootPins - Sets the function which is called from the default initialization function BOARD_InitBootPins.
- Delete - Removes the function. It is available only if more than one function is present.
- Properties - Invokes a dialog, and allows you to change the function properties.