4.4 IO Port Setup

Figure 5-8 illustrates the IO Ports tab. It configures the IO port B and port C pins of the AVR microcontroller. The configuration of the pin direction and other features are only valid at start-up after a reset. These settings are configurable during run-time by the ROM firmware or the Flash application program.

The IO Ports tab allows the following pin settings:

  • Initial Start-up Function – Defines the direction and features for each available IO pin
  • PinChange Interrupt – Enables the interrupt generation for each pin
  • Debounce Enable – Defines the debounce behavior

The alternate settings for these pins mentioned in parentheses are controlled in the other related tabs and overwrite the port settings during run-time. In addition, the status window displays comments on pin usage.