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 7 of port B. It can be configured as digital input, two-state output with pull-high
/ pull-low resistor by software independently.
PB7 /
AD7 /
(2) Channel 7 of ADC analog input
IO
ST /
(3) Minus input source 5 of comparator
CIN5- /
TM3PWM
CMOS /
Analog
(4) PWM output from Timer3
When this pin is configured as analog input, please use bit 7 of register pbdier to
disable the digital input to prevent current leakage. The bit 7 of pbdier 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 6 of port B. It can be configured as digital input, two-state output with pull-high
/ pull-low resistor by software independently.
(2) Channel 6 of ADC analog input
PB6 /
AD6 /
IO
ST /
(3) Minus input source 4 of comparator
CIN4- /
TM3PWM
CMOS /
Analog
(4) PWM output from Timer3
When this pin is configured as analog input, please use bit 6 of register pbdier to
disable the digital input to prevent current leakage. The bit 6 of pbdier 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 5 of port B. It can be configured as digital input, two-state output with pull-high
/ pull-low resistor by software independently.
(2) Channel 5 of ADC analog input
PB5 /
AD5 /
IO
(3) 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.
ST /
INT0 /
CMOS /
Analog
(4) PWM output from Timer3
TM3PWM
When this pin is configured as analog input, please use bit 5 of register pbdier to
disable the digital input to prevent current leakage. The bit 5 of pbdier 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 4 of port B. It can be configured as digital input, two-state output with pull-high
/ pull-low resistor by software independently.
IO
PB4 /
AD4 /
(2) Channel 4 of ADC analog input
ST /
(3) PWM output from Timer2
CMOS /
Analog
When this pin is configured as analog input, please use bit 4 of register pbdier to
disable the digital input to prevent current leakage. The bit 4 of pbdier register can
be set to “0” to disable digital input; wake-up from power-down by toggling this pin is
also disabled.
TM2PWM
©Copyright 2020, PADAUK Technology Co. Ltd
Page 14 of 93
PDK-DS-PFS122-EN_V000-May 28, 2020