Figure 11.4 Buzzer Register (Bzcr); Buzzer Register (Bzcr) - Fujitsu F2MC-8L MB89620 Series Hardware Manual

8-bit microcontroller
Table of Contents

Advertisement

4
11.

Buzzer Register (BZCR)

The buzzer register (BZCR) is used to select the buzzer output frequency and also
enables buzzer output.
n Buzzer Register (BZCR)
Address
000F
H
R/W : Readable and writable
— : Unused
X
: Indeterminate
: Initial value
Table 11.4 Buzzer Register (BZCR) Bits
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
MB89620 series
Bit 7
Bit 6
Bit 5
Bit 4
BZ1 BZ0
0
0
1
1

Figure 11.4 Buzzer Register (BZCR)

Bit
• The read value is indeterminate.
Unused bits
• Writing to these bits has no effect on the operation.
These bits select the buzzer output and enable output.
Setting "00
BZ1, BZ0:
general-purpose port (P44). Setting other than "00
Buzzer selection bits
output (BZ) pin and outputs a square wave of the selected frequency.
The three types of the timebase timer division output is provided as the buzzer
output.
Bit 3
Bit 2
Bit 1
Bit 0
BZ1
BZ0
R/W
R/W
Buzzer selection bits (for a 10-MHz source oscillation)
0
Functions as a general-purpose port (P44).
1
Source oscillation/8192 (Output a 1.221 kHz to the BZ pin.)
0
Source oscillation/4096 (Output a 2.441 kHz to the BZ pin.)
1
Source oscillation/2048 (Output a 4.883 kHz to the BZ pin.)
Function
" to these bits disables the buzzer output and sets the pin as a
B
CHAPTER 11 BUZZER OUTPUT
Initial value
XXXXXX00
B
" sets the pin as the buzzer
B
11
229

Advertisement

Table of Contents
loading

Table of Contents