2. Port configuration
In this step, you configure the functions of the Port.
Double-click the [Code Generator (Design Tool)] > [Peripheral Functions] > [I/O Ports] in the Project Tree. This opens the panel for the port. |
Select the [PortA] tab and [PortB] tab and configure as shown below. |