EM6603 EM Microelectronic, EM6603 Datasheet - Page 15

no-image

EM6603

Manufacturer Part Number
EM6603
Description
Ultra Low Power Multi I/O Microcontroller
Manufacturer
EM Microelectronic
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
EM6603
Quantity:
92
7
The EM6603 has one 50% duty cycle output with three different frequencies which can be used to drive a
buzzer. I/O terminal PB0 is used for this function when the buzzer is enabled by setting the BUen bit to 1 .
Table 22 below shows how to select the frequency by writing to the BCF1 and BCF0 control flags in the BEEP
register.
After writing to the buzzer control register BEEP, the
chosen
immediately. With the BUen bit set to 1, the selected
frequency is output at PB0. When the BUen is set to
0 PB0 is used as a normal I/O terminal of PortB. The
BUen bit has a higher priority over the I/O control bit
CIOPB0 in the CIOPortB register.
7.1 Buzzer Register
Table 23.Buzzer control register - BEEP
Copyright  2002, EM Microelectronic-Marin SA
BUZZER
Bit
3
2
1
0
frequency
Name
TimEn
BUen
BCF1
BCF0
(or
silence)
Reset
0
0
0
0
is
selected
R/W
R/W
R/W
R/W
R/W
15
Table 22.Buzzer frequency selection
Tone frequency
silence
1024 Hz
2048 Hz
2667 Hz
Description
Timer/counter enable
Buzzer enable
Buzzer Frequency control
Buzzer Frequency control
BCF1
0
0
1
1
www.emmicroelectronic.com
EM6603
BCF0
0
1
0
1
03/02 REV. G/439

Related parts for EM6603