Z8 Encore! XP® F08xA Series
Product Specification
36
Table 14. Port Alternate Function Mapping (Continued)(20/28-Pin Parts)
Alternate
Function Set
Register AFS1
Port
Pin
Mnemonic
Alternate Function Description
PC0
Reserved
AFS1[0]: 0
AFS1[0]: 1
Port C
ANA4/CINP/LED ADC or Comparator Input, or LED drive
Drive
PC1
Reserved
AFS1[1]: 0
AFS1[1]: 1
ANA5/CINN/ LED ADC or Comparator Input, or LED drive
Drive
PC2
PC3
PC4
PC5
PC6
PC7
Reserved
AFS1[2]: 0
AFS1[2]: 1
AFS1[3]: 0
AFS1[3]: 1
AFS1[4]: 0
AFS1[4]: 1
AFS1[5]: 0
AFS1[5]: 1
AFS1[6]: 0
AFS1[6]: 1
AFS1[7]: 0
AFS1[7]: 1
ANA6/LED
COUT
ADC Analog Input or LED Drive
Comparator Output
LED drive
LED
Reserved
LED
LED Drive
LED Drive
LED Drive
LED Drive
Reserved
LED
Reserved
LED
Reserved
LED
Note: Because there are at most two choices of alternate function for any pin of Port C, the Alternate
Function Set register AFS2 is implemented but not used to select the function. Also, alternate
function selection as described in “Port A–D Alternate Function Sub-Registers” on page 39 must
also be enabled.
GPIO Interrupts
Many of the GPIO port pins can be used as interrupt sources. Some port pins can be con-
figured to generate an interrupt request on either the rising edge or falling edge of the pin
input signal. Other port pin interrupt sources generate an interrupt when any edge occurs
(both rising and falling). Refer to the chapter “Interrupt Controller” on page 46 for more
information about interrupts using the GPIO pins.
PS024705-0405
P R E L I M I N A R Y
General-Purpose I/O