
RL78/G1P
CHAPTER 7 CLOCK OUTPUT/BUZZER OUTPUT CONTROLLER
R01UH0895EJ0100 Rev.1.00
231
Nov 29, 2019
7.3.2 Registers controlling port functions of pins to be used for clock or buzzer output
Using a port pin for clock or buzzer output requires setting of the registers that control the port functions multiplexed on
the target pin (port mode register (PMxx), port register (Pxx)). For details, see 4.3.1 Port mode registers (PMxx) and 4.3.2
Port registers (Pxx).
Specifically, using a port pin with a multiplexed clock or buzzer output function (e.g. P12/TI03/TO03/INTP4/PCLBUZ0,
P15/PCLBUZ1) for clock or buzzer output, requires setting the corresponding bits in the port mode register (PMxx) and
port register (Pxx) to 0.
Example: When P12/TI03/TO03/INTP4/PCLBUZ0 is to be used for clock or buzzer output
Set the PM12 bit of port mode register 1 to 0.
Set the P12 bit of port register 1 to 0.