BAT32G1x9 user manual | Chapter 17 Comparator
550 / 1149
Rev.1.02
17.3.11
Registers that control the function of the analog input pin port
When using the VCIN0 pin, VCIN10-VCIN1 3 pin, and VREF0 pin pin as analog inputs to the comparator, the
corresponding port mode register (PMxx) must be used for each port) and the position of the port control register
(PMCxx) is "1".
When using the VCOUT0 and VCOUT1 functions, control registers for port functions that are multiplexed with
the object channel (port mode registers (PMxx) and port registers (Pxx)) and peripheral IO redirect registers (Pxx)
must be set PIOR2,PIOR3)
。
For details, please refer to "2.3.1 Port Mode Register (PMxx)", "2.3.2" Port Register
(Pxx)","2.3. 9 Peripheral IO redirect registers (PIOR2) and 2.3 10 Peripheral IO Redirect Register (PIOR3)".