BAT32G1x9 user manual | Chapter 8 Timer B
272 / 1149
Rev.1.02
8.3.10 Port registers and port mode registers
When using the multiplex port of the timer output pin as the output of the timer, the bit of the corresponding port
mode register (PMxx) and the position of the port register (Pxx) of each port must be "0".
(Example) The P50/TBIO0 is used as a timer output in the case of the PM50 position "0" of the port mode
register 5. Place the P50 position of port register 5 "0".
When using the multiplex port of the timer input pin as the input to the timer, the position of the port mode
register (PMxx) corresponding to each port must be "1". At this point, the bit of the port register (Pxx) can be "0" or
"1".
(Example) P50/TBIO0 as a timer input
Place the PORT mode register 5 at PM50 position "1".
Place the P50 position of port register 5 "0" or "1".
For details, please refer to "2.3.1 Port Mode Register (PMxx)", "2.3.2 Port Register (Pxx)" and " 2.3.6 Port Mode Control
The set port mode registers (PMxx), port registers (Pxx), and port mode control registers (PMCxx) vary by product.
For details, please refer to "Register Settings when Using the Multiplexing Function in 2.5".