2 Overview

The instances of the PORT peripheral registers control the I/O pins of the device. Each port instance has up to eight I/O pins. The ports are named PORTA, PORTB, PORTC, etc. All pin functions are configurable individually per pin.

For best power consumption, disable the input of unused pins, pins used as analog input, and pins used as outputs.

Specific pins, such as those used for connecting a debugger, may be configured differently, as required by their special function.

Figure 2-1. Port Block Diagram