Renesas rl78 User Manual

Page of 1004
 
RL78/G1A 
CHAPTER  9   CLOCK  OUTPUT/BUZZER  OUTPUT  CONTROLLER 
9.3.2  Registers controlling port functions of pins to be used for clock or buzzer output  
<R> 
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. P140/INTP6/PCLBUZ0, 
P141/INTP7/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 P140/INTP6/PCLBUZ0 is to be used for clock or buzzer output  
Set the PM140 bit of port mode register 14 to 0. 
Set the P140 bit of port register 14 to 0. 
 
R01UH0305EJ0200  Rev.2.00 
 
 
331  
Jul 04, 2013