PMS132/PMS132B
8bit OTP MCU with 12-bit ADC
Pin Type &
Pin Name
Buffer Type
Description
PB4 /
AD4 /
TM2PWM /
PG0PWM
IO
ST /
CMOS /
Analog
The functions of this pin can be:
(1) Bit 4 of port B. It can be configured as digital input or two-state output, with
pull-high resistor independently by software
(2) Channel 4 of ADC analog input
(3) PWM output from Timer2
(4) Output of 11-bit PWM generator PWMG0.
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.
PB3 /
AD3 /
PG2PWM
IO
ST /
CMOS /
Analog
The functions of this pin can be:
(1) Bit 3 of port B. It can be configured as digital input or two-state output, with
pull-high resistor independently by software
(2) Channel 3 of ADC analog input
(3) Output of 11-bit PWM generator PWMG2
When this pin is configured as analog input, please use bit 3 of register pbdier to
disable the digital input to prevent current leakage. The bit 3 of pbdier register can
be set to “0” to disable digital input; wake-up from power-down by toggling this pin is
also disabled.
PB2 /
AD2 /
TM2PWM /
PG2PWM
IO
ST /
CMOS /
Analog
The functions of this pin can be:
(1) Bit 2 of port B. It can be configured as digital input or two-state output, with
pull-high resistor independently by software
(2) Channel 2 of ADC analog input
(3) PWM output from Timer2
(4) Output of 11-bit PWM generator PWMG2
When this pin is configured as analog input, please use bit 2 of register pbdier to
disable the digital input to prevent current leakage. The bit 2 of pbdier register can
be set to “0” to disable digital input; wake-up from power-down by toggling this pin is
also disabled.
PB1 /
AD1 /
Vref
IO
ST /
CMOS /
Analog
The functions of this pin can be:
(1) Bit 1 of port B. It can be configured as digital input or two-state output, with
pull-high resistor independently by software
(2) Channel 1 of ADC analog input
(3) External reference high voltage for ADC.
When this pin is configured as analog input, please use bit 1 of register pbdier to
disable the digital input to prevent current leakage. The bit 1 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 16 of 100
PDK-DS-PMS132(B)-EN_V104 – Jun. 2, 2020