![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/8/16/816d0657-8361-4e8d-b6e9-dedfd14d58ba/816d0657-8361-4e8d-b6e9-dedfd14d58ba-bg1f8.png)
488
Chapter 30 I/O Ports
3.Port Register Settings
■ P26: The functions of Port 26 are controlled by PFR26 and EPFR26
P26[7:0] is input/output for Stepper Motor PWM output signals and Comparator Inputs SMC2M, SMC2P,
SMC1M, SMC1P of channels 2 and 3, and A/D converter analogue inputs AN[31:24]. Otherwise, the port can be
used as general purpose port.
PFR26.7 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
EPFR26.7 0 - Resource function is SMC2M3 output, CMP3 and/or AN31 input if selected
1 - Resource function is AN31 input
PFR26.6 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
EPFR26.6 0 - Resource function is SMC2P3 output, CMP3 and/or AN30 input if selected
1 - Resource function is AN30 input
PFR26.5 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
EPFR26.5 0 - Resource function is SMC1M3 output, CMP3 and/or AN29 input if selected
1 - Resource function is AN29 input
PFR26.4 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
EPFR26.4 0 - Resource function is SMC1P3 output, CMP3 and/or AN28 input if selected
1 - Resource function is AN28 input
PFR26.3 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
EPFR26.3 0 - Resource function is SMC2M2 output, CMP2 and/or AN27 input if selected
1 - Resource function is AN27 input
PFR26.2 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
EPFR26.2 0 - Resource function is SMC2P2 output, CMP2 and/or AN26 input if selected
1 - Resource function is AN26 input
PFR26.1 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
EPFR26.1 0 - Resource function is SMC1M2 output, CMP2 and/or AN25 input if selected
1 - Resource function is AN25 input
PFR26.0 0 - Port is in general purpose port mode.
1 - Port is in resource function mode:
EPFR26.0 0 - Resource function is SMC1P2 output, CMP2 and/or AN24 input if selected
1 - Resource function is AN24 input
Addr 7 6 5 4 3 2 1 0 initial
PFR26 0D9Ah PFR26.7 PFR26.6 PFR26.5 PFR26.4 PFR26.3 PFR26.2 PFR26.1 PFR26.0 0000 0000
EPFR26 0DDAh EPFR26.7 EPFR26.6 EPFR26.5 EPFR26.4 EPFR26.3 EPFR26.2 EPFR26.1 EPFR26.0 0000 0000
R/W R/W R/W R/W R/W R/W R/W R/W