Registers Controlling Port Functions Of Pins To Be Used For Clock Or Buzzer Output - Renesas RL78/G1P Hardware User Manual

16-bit single-chip microcontroller
Hide thumbs Also See for RL78/G1P:
Table of Contents

Advertisement

RL78/G1P

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.
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019
CHAPTER 7 CLOCK OUTPUT/BUZZER OUTPUT CONTROLLER
231

Advertisement

Table of Contents
loading

Table of Contents