English
Language : 

Z8F0113HJ005EG Datasheet, PDF (53/245 Pages) Zilog, Inc. – High-Performance 8-Bit Microcontrollers
Z8 Encore! XP® F0823 Series
Product Specification
38
Table 17. Port Alternate Function Mapping (Non 8-Pin Parts) (Continued)
Port
Pin
Port C4 PC0
Mnemonic
Reserved
Alternate Function Description
Alternate Function
Set Register AFS1
AFS1[0]: 0
ANA4/CINP
ADC or Comparator Input
AFS1[0]: 1
PC1 Reserved
AFS1[1]: 0
ANA5/CINN
ADC or Comparator Input
AFS1[1]: 1
PC2
Reserved
ANA6/VREF6
AFS1[2]: 0
ADC Analog Input or ADC Voltage Refer- AFS1[2]: 1
ence
PC3 COUT
Comparator Output
AFS1[3]: 0
Reserved
AFS1[3]: 1
PC4 Reserved
AFS1[4]: 0
AFS1[4]: 1
PC5 Reserved
AFS1[5]: 0
AFS1[5]: 1
PC6 Reserved
AFS1[6]: 0
AFS1[6]: 1
PC7 Reserved
AFS1[7]: 0
AFS1[7]: 1
Notes:
1. Because there is only a single alternate function for each Port A pin, the Alternate Function Set registers are not
implemented for Port A. Enabling alternate function selections as described in the Port A–C Alternate Function
Subregisters section on page 43 automatically enables the associated alternate function.
2. Whether PA0/PA6 take on the timer input or timer output complement function depends on the timer configura-
tion as described in the Timer Pin Signal Operation section on page 83.
3. Because there are at most two choices of alternate function for any pin of Port B, the Alternate Function Set reg-
ister AFS2 is implemented but not used to select the function. Also, alternate function selection as described in
the Port A–C Alternate Function Subregisters section on page 43 must also be enabled.
4. VREF is available on PB5 in 28-pin products only.
5. Because there are at most two choices of alternate function for any pin of Port C, the Alternate Function Set reg-
ister AFS2 is implemented but not used to select the function. Also, Alternate Function selection as described in
the Port A–C Alternate Function Subregisters section on page 43 must also be enabled.
6. VREF is available on PC2 in 20-pin parts only.
Direct LED Drive
The Port C pins provide a current sinked output capable of driving an LED without requir-
ing an external resistor. The output sinks current at programmable levels of 3 mA, 7 mA,
13 mA, and 20 mA. This mode is enabled through the LED control registers. The LED
Drive Enable (LEDEN) register turns on the drivers. The LED Drive Level (LEDLVLH
and LEDLVLL) registers select the sink current.
PS024315-1011
PRELIMINARY
Direct LED Drive