128
CHAPTER 9 BUZZER OUTPUT CONTROLLLER
User’s Manual U15104EJ2V0UD
9.2 Configuration of Buzzer Output Controllers
The buzzer output controllers consist of the following hardware.
Table 9-1. Configuration of Buzzer Output Controllers
(1) BEEP0
Item
Configuration
Control register
BEEP clock select register 0 (BEEPCL0)
(2) BUZ
Item
Configuration
Control register
Clock output select register (CKS)
9.3 Registers Controlling Buzzer Output Controllers
9.3.1 BEEP0
BEEP0 is controlled by the following register.
• BEEP clock select register 0 (BEEPCL0)
(1) BEEP clock select register 0 (BEEPCL0)
This register selects the frequency of the buzzer output.
BEEPCL0 is set with a 1-bit or 8-bit memory manipulation instruction.
Reset input clears this register to 00H.
Figure 9-3. Format of BEEP Clock Select Register 0 (BEEPCL0)
BEEP
BEEP
BEEP
Selection of frequency of BEEP0 output
CL02
CL01
CL00
0
×
×
Disables buzzer output (port function)
1
0
0
1 kHz
0
0
1
3 kHz
1
1
0
4 kHz
1
1
1
1.5 kHz
Caution
The selected clock may not be correctly output during the period of 1 cycle immediately after
the output clock has been changed.
7
6
5
4
3
0
0
0
0
0
2
BEEP
CL02
1
BEEP
CL01
0
BEEP
CL00
Symbol
BEEP
CL0
Address
FF41H
After reset
00H
R/W
R/W