English
Language : 

Z8F082ASH020SC Datasheet, PDF (54/244 Pages) Zilog, Inc. – Z8 Encore XP-R F08xA Series with eXtended Peripherals
Z8 Encore! XP® F08xA Series
Product Specification
36
Table 14. Port Alternate Function Mapping (Continued)(20/28-Pin Parts)
Port
Pin Mnemonic
Alternate Function Description
Alternate
Function Set
Register AFS1
Port C PC0 Reserved
AFS1[0]: 0
ANA4/CINP/LED ADC or Comparator Input, or LED drive AFS1[0]: 1
Drive
PC1 Reserved
AFS1[1]: 0
ANA5/CINN/ LED ADC or Comparator Input, or LED drive AFS1[1]: 1
Drive
PC2 Reserved
AFS1[2]: 0
ANA6/LED
ADC Analog Input or LED Drive
AFS1[2]: 1
PC3 COUT
Comparator Output
AFS1[3]: 0
LED
LED drive
AFS1[3]: 1
PC4 Reserved
AFS1[4]: 0
LED
LED Drive
AFS1[4]: 1
PC5 Reserved
AFS1[5]: 0
LED
LED Drive
AFS1[5]: 1
PC6 Reserved
AFS1[6]: 0
LED
LED Drive
AFS1[6]: 1
PC7 Reserved
AFS1[7]: 0
LED
LED Drive
AFS1[7]: 1
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
PRELIMINARY
General-Purpose I/O