English
Language : 

Z8F042AHJ020SG Datasheet, PDF (60/282 Pages) Zilog, Inc. – High-Performance 8-Bit Microcontrollers
Z8 Encore! XP® F082A Series
Product Specification
43
Table 16. Port Alternate Function Mapping (8-Pin Parts)
Port
Pin
Port A PA0
Mnemonic
T0IN
Alternate Function
Description
Timer 0 Input
Alternate
Function
Alternate
Select
Function Select Register
Register AFS1 AFS2
AFS1[0]: 0
AFS2[0]: 0
Reserved
AFS1[0]: 0
AFS2[0]: 1
Reserved
AFS1[0]: 1
AFS2[0]: 0
T0OUT
Timer 0 Output Complement AFS1[0]: 1
AFS2[0]: 1
PA1 T0OUT
Timer 0 Output
AFS1[1]: 0
AFS2[1]: 0
Reserved
AFS1[1]: 0
AFS2[1]: 1
CLKIN
External Clock Input
Analog Functions1 ADC Analog Input/VREF
PA2 DE0
UART 0 Driver Enable
AFS1[1]: 1
AFS1[1]: 1
AFS1[2]: 0
AFS2[1]: 0
AFS2[1]: 1
AFS2[2]: 0
RESET
External Reset
AFS1[2]: 0
AFS2[2]: 1
T1OUT
Timer 1 Output
AFS1[2]: 1
AFS2[2]: 0
Reserved
AFS1[2]: 1
AFS2[2]: 1
PA3 CTS0
UART 0 Clear to Send
AFS1[3]: 0
AFS2[3]: 0
COUT
Comparator Output
AFS1[3]: 0
AFS2[3]: 1
T1IN
Timer 1 Input
AFS1[3]: 1
Analog Functions2 ADC Analog Input/LPO Input (P) AFS1[3]: 1
AFS2[3]: 0
AFS2[3]: 1
PA4 RXD0
UART 0 Receive Data
AFS1[4]: 0
AFS2[4]: 0
Reserved
AFS1[4]: 0
AFS2[4]: 1
Reserved
AFS1[4]: 1
Analog Functions2 ADC/Comparator Input (N)/LPO AFS1[4]: 1
Input (N)
AFS2[4]: 0
AFS2[4]: 1
PA5 TXD0
UART 0 Transmit Data
AFS1[5]: 0
AFS2[5]: 0
T1OUT
Timer 1 Output Complement AFS1[5]: 0
AFS2[5]: 1
Reserved
AFS1[5]: 1
Analog Functions2 ADC/Comparator Input (P) LPO AFS1[5]: 1
Output
AFS2[5]: 0
AFS2[5]: 1
Notes:
1. Analog functions include ADC inputs, ADC reference, comparator inputs and LPO ports.
2. The alternate function selection must be enabled; see the Port A–D Alternate Function Subregisters (PxAF) sec-
tion on page 47 for details.
PS022827-1212
PRELIMINARY
External Clock Setup