How to reserve a GPIO pin

This guide provides a step-by-step procedure to set a GPIO pin in Reserved or Configured mode.

Step 1: Access the Pinout Tab

In the Pinout tab, view the microcontroller pins.

Step 2a: Set a GPIO in Reserved mode

2a-1: Reserve a GPIO Pin using the Detail view in the right of the screen

Left-click the desired pin in the MCU package graphic view. In the detail view on the right of the screen, select GPIO. By default, the pin is set as Configured. Select Reserved. The pin color appears in light green.

Follow the animation to reserve a pin using the right menu.

2a-2: Configure pin with the contextual menu

Right-click the desired pin in the MCU package graphic view to open its contextual menu. In the contextual menu, select GPIO. By default, the pin is set as Configured. Select Reserved. The pin color appears in light green.

Follow the animation to reserve a pin using the contextual menu.

Step 2b: Set a GPIO in Configured mode

2b-1: Configure a GPIO Pin using the Detail view in the right of the screen

Left-click the desired pin in the MCU package graphic view. In the detail view on the right of the screen, select GPIO. By default, the pin is set as Configured. If the pin has been previously Reserved, select Configured. The pin color appears in dark green.

Follow the animation to configure a pin using the right menu.

2b-2: Configure pin with the contextual menu

Right-click the desired pin in the MCU package graphic view to open its contextual menu.

In the contextual menu, select GPIO. By default, Configured is selected. If the pin was previously set as Reserved, select Configured. The pin color appears in dark green.

Follow the animation to configure a pin using the contextual menu.

Troubleshooting

If issues occur, consult the documentation or verify the pin configuration.