![](http://datasheet.mmic.net.cn/390000/TC9324F_datasheet_16837284/TC9324F_83.png)
TC9324F
2002-02-08
83
Buzzer Output
The buzzer output is used for such purposes as audible alarms or to issue audible confirmation for
key-input or Tuning Scan mode. The buzzer frequency can be set from combinations of four output modes
and eight frequencies.
. Buzzer Control Port
The buzzer output uses the P5-0 I/O port. To switch the port over to buzzer output, set the BUZR ON bit
to 1 and set the port to an output using the P5-0 I/O control port.
After setting the buzzer frequency, mode, and logic, setting the buzzer enable bit to 1 outputs the buzzer.
When setting the buzzer conditions, set the buzzer enable bit to 0.
In continuous output (mode A), setting the buzzer enable bit to 1 outputs buzzer frequency continuously.
Setting the bit to 0 terminates the buzzer output.
In one-shot output (mode B), a 50 ms sound is output every time the buzzer enable bit is set to 1. In this
mode, setting the bit to 1 again during the buzzer output (50 ms) lengthens the buzzer output by 50 ms, to
100 ms. The buzzer output time can be easily adjusted. Setting the buzzer enable bit again during the 100
ms of buzzer output lengthens the output to 150 ms,
In 10-Hz intermittent output (mode C), setting the buzzer enable bit to 1 sets repetition of output for 50
ms then pause for 50 ms. Setting the bit to 0 terminates the buzzer output.
Y1
Y2
Y4
Y8
φ
L19P3
BF0
BF1
BF2
BEN
Buzzer frequency selection
data
0: Fixes buzzer output (L level when POL
=
0; H level when POL
=
1).
1: Enables buzzer output.
Buzzer output enable bit
BF2
BF1
BF0
Buzzer frequency
Duty
0
0
0
0.625 kHz
1/2
0
0
1
0.75 kHz
1/2
0
1
0
1 kHz
2/3
0
1
1
1.25 kHz
1/2
1
0
0
1.5 kHz
1/2
1
0
1
2.08 kHz
2/3
1
1
0
2.5 kHz
1/2
1
1
1
3 kHz
2/3
Y1
Y2
Y4
Y8
φ
L1AP3
BM0
BM1
BUZR
ON
POL
Buzzer output mode
selection
BM1
BM0
Buzzer output mode
0
0
Continuous output
(mode A)
0
1
One-shot output
(mode B)
1
0
10-Hz intermittent output
(mode C)
1
1
10-Hz intermittent output
with 1-Hz intervals
(mode D)
0: Positive logic output (buzzer frequency output from L level on positive logic)
1: Negative logic output (buzzer frequency output from H level on negative
Buzzer output logic setting
0: Selects I/O port 5 (P5-0).
1: Selects buzzer output.
I/O port 5 P5-0/buzzer output selection