PMS132/PMS132B
8bit OTP MCU with 12-bit ADC
Pin Type &
Pin Name
Buffer Type
Description
PB7 /
AD7 /
CIN5- /
TM3PWM/
PG1PWM
IO
ST /
CMOS /
Analog
The functions of this pin can be:
(1) Bit 7 of port B. It can be configured as digital input or two-state output, with
pull-high resistor independently by software
(2) Channel 7 of ADC analog input
(3) Minus input source 5 of comparator
(4) PWM output from Timer3
(5) Output of 11-bit PWM generator PWMG1
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.
PB6 /
AD6 /
CIN4- /
TM3PWM/
PG1PWM
IO
ST /
CMOS /
Analog
The functions of this pin can be:
(1) Bit 6 of port B. It can be configured as digital input or two-state output, with
pull-high resistor independently by software
(2) Channel 6 of ADC analog input
(3) Minus input source 4 of comparator.
(4) PWM output from Timer3
(5) Output of 11-bit PWM generator PWMG1
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.
PB5 /
AD5 /
TM3PWM /
PG0PWM /
INT0A
IO
ST /
CMOS /
Analog
The functions of this pin can be:
(1) Bit 5 of port B. It can be configured as digital input or two-state output, with
pull-high resistor independently by software
(2) Channel 5 of ADC analog input
(3) PWM output from Timer3
(4) Output of 11-bit PWM generator PWMG0.
(5) External interrupt line 0A. 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.
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.
©Copyright 2020, PADAUK Technology Co. Ltd
Page 15 of 100
PDK-DS-PMS132(B)-EN_V104 – Jun. 2, 2020