SN8P2977
8-Bit Micro-Controller with Regulator, PGIA, 24-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 93
Version 1.7
1
1
1
0
0
0
BUZZER FUNCTION
10.1 OVERVIEW
Buzzer function is controlled by BZRENB bit, which be configured as GPIO mode or Buzzer mode. Buzzer output
square wave signal through P0.3 Pin with 50% duty, and output frequency is controllable by setting the BZRCKS[1:0]
register.
Buzzer frequency Table
BZRCKS1 BZRCKS0
Buzzer frequency
Note
0
0
0.98k Hz
Buzzer clock source
From IHRC= 8MHz
0
1
1.96k Hz
1
0
3.9k Hz
1
1
7.8k Hz
10.2 BUZZER CONTROL REGISTER
08DH
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
BZRM
-
-
-
-
-
BZRENB
BZRCKS1 BZRCKS0
Read/Write
-
-
-
-
-
W
W
W
After reset
-
-
-
-
-
0
1
1
Bit [1:0]
URS[1:0]:
Buzzer output frequency.
00 = 0.98 KHz.
01 = 1.96 KHz.
10 = 3.9 KHz.
11 = 7.8 KHz.
Bit 2
BZRENB:
Buzzer output control bit.
0 : P03 as GPIO Mode.
1 : P03 as Buzzer Mode. Output Buzzer signal