PFS122
8bit MTP MCU with 12-bit R-Type ADC
Pin Type &
Buffer Type
Pin Name
Description
The functions of this pin can be:
(1) Bit 5 of port A. It can be configured as digital input, two-state output with pull-high
/ pull-low resistor by software independently.
IO
PA5 /
ST /
PRSTB
(2) Hardware reset.
CMOS
This pin can be used to wake-up system during sleep mode; however, wake-up
function is also disabled if bit 5 of padier register is “0”.
The functions of this pin can be:
(1) Bit 4 of port A. It can be configured as digital input, two-state output with pull-high
/ pull-low resistor by software independently.
(2) Channel 9 of ADC analog input.
PA4 /
AD9 /
CIN+ /
CIN1- /
INT1
(3) Plus input source of comparator
IO
(4) Minus input source 1 of comparator
ST /
(5) External interrupt line 1. It can be used as an external interrupt line 1. Both rising
edge and falling edge are accepted to request interrupt service and configurable
by register setting.
CMOS /
Analog
When this pin is configured as analog input, please use bit 4 of register padier to
disable the digital input to prevent current leakage. The bit 4 of padier register can be
set to “0” to disable digital input; wake-up from power-down by toggling this pin is also
disabled.
The functions of this pin can be:
(1) Bit 3 of port A. It can be configured as digital input, two-state output with pull-high
/ pull-low resistor by software independently.
PA3 /
AD8 /
IO
(2) Channel 8 of ADC analog input
ST /
(3) Minus input source 0 of comparator
CIN0- /
TM2PWM
CMOS /
Analog
(4) PWM output from Timer2
When this pin is configured as analog input, please use bit 3 of register padier to
disable the digital input to prevent current leakage. The bit 3 of padier register can be
set to “0” to disable digital input; wake-up from power-down by toggling this pin is also
disabled.
The functions of this pin can be:
(1) Bit 0 of port A. It can be configured as digital input, two-state output with pull-high
/ pull-low resistor by software independently.
(2) Channel 10 of ADC analog input
PA0 /
AD10 /
CO /
(3) Output of comparator
IO
ST /
(4) External interrupt line 0. It can be used as an external interrupt line 0. Both rising
edge and falling edge are accepted to request interrupt service and configurable
by register setting.
CMOS /
Analog
INT0
When this pin is configured as analog input, please use bit 0 of register padier to
disable the digital input to prevent current leakage. The bit 0 of padier register can be
set to “0” to disable digital input; wake-up from power-down by toggling this pin is also
disabled.
©Copyright 2020, PADAUK Technology Co. Ltd
Page 13 of 93
PDK-DS-PFS122-EN_V000-May 28, 2020