EasyManuals Logo
Home>Renesas>Microcontrollers>RL78/G1H

Renesas RL78/G1H User Manual

Renesas RL78/G1H
941 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #290 background imageLoading...
Page #290 background image
RL78/G1H CHAPTER 11 CLOCK OUTPUT/BUZZER OUTPUT CONTROLLER
R01UH0575EJ0120 Rev. 1.20 Page 272 of 920
Dec 22, 2016
11.4 Operations of Clock Output/Buzzer Output Controller
One pin can be used to output a clock or buzzer sound.
The PCLBUZ0 pin outputs a clock/buzzer selected by the clock output select register 0 (CKS0).
The PCLBUZ1 pin outputs a clock/buzzer selected by the clock output select register 1 (CKS1).
11.4.1 Operation as output pin
The PCLBUZn pin is output as the following procedures.
<1> Set 0 in the bit of the port mode register (PMxx) and port register (Pxx) which correspond to the port which
has a pin used as the PCLBUZ0 pin.
<2> Select the output frequency with bits 0 to 3 (CCSn0 to CCSn2, CSELn) of the clock output select register
(CKSn) of the PCLBUZn pin (output in disabled status).
<3> Set bit 7 (PCLOEn) of the CKSn register to 1 to enable clock/buzzer output.
Remark 1. The controller used for outputting the clock starts or stops outputting the clock one clock after
enabling or disabling clock output (PCLOEn bit) is switched. At this time, pulses with a narrow width
are not output. Figure 11 - 3 shows enabling or stopping output using the PCLOEn bit and the timing
of outputting the clock.
Remark 2. n = 0, 1
Figure 11 - 3 Timing of Outputting Clock from PCLBUZn Pin
11.5 Cautions of clock output/buzzer output controller
When the main system clock is selected for the PCLBUZn output (CSELn = 0), if STOP mode is entered within 1.5
clock cycles output from the PCLBUZn pin after the output is disabled (PCLOEn = 0), the PCLBUZn output width
becomes shorter.
PCLOEn
Clock output
Narrow pulses are not recognized
1 clock elapsed

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas RL78/G1H and is the answer not in the manual?

Renesas RL78/G1H Specifications

General IconGeneral
BrandRenesas
ModelRL78/G1H
CategoryMicrocontrollers
LanguageEnglish

Related product manuals