| Os motores de busca de Datasheet de Componentes eletrônicos |
|
EM6607 Folha de dados(PDF) 20 Page - EM Microelectronic - MARIN SA |
|
|
|||||||||||||||||||||||||||||
EM6607 Folha de dados(HTML) 20 Page - EM Microelectronic - MARIN SA |
|
20 / 47 page ![]() R EM6607 Copyright © 2005, EM Microelectronic-Marin SA 20 www.emmicroelectronic.com 8 BUZZER The EM6607 has one 50% duty cycle output with three different frequencies, which can be used to drive a buzzer. I/O terminal PB0 in 24-pin package or PE0 in 28-pin package (BuzzerPE0 option) 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 frequency (or silence) is selected immediately. With the BUen bit set to 1, the selected frequency is output at PB0 when BuzzerPE0 is 0. 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. In case when BuzzerPE0 is 1 and BUen is set to 1 PE0 becomes output and PB0 is not influenced by buzzer function. Tone frequency BCF1 BCF0 silence 0 0 1024 Hz 0 1 2048 Hz 1 0 2667 Hz 1 1 Table 2. Buzzer frequency selection 8.1 Buzzer Register Table 27. Buzzer control register - BEEP Bit Name Reset R/W Description 3 TimEn 0 R/W Timer/counter enable 2 BUen 0 R/W Buzzer enable 1 BCF1 0 R/W Buzzer Frequency control 0 BCF0 0 R/W Buzzer Frequency control Table 28. Buzzer output pad allocation Buzzer on PB0 or PE0 BuzzerPE0 in register Option2 Buzzer output on PE0 1 Buzzer output on PB0 0 Table 29. PB0 & PE0 function used with BUen and BuzzerPE0 control bits CIOPB0 CIOPE0 BUen BuzzerPE0 Function distributions on PB0 and PE0 pads 0 0 0 X PB0 and PE0 are Inputs 1 1 0 X PB0 and PE0 are independent outputs X 0 1 0 PB0 is Buzzer output, PE0 is input 0 X 1 1 PB0 is input, PE0 is Buzzer output 1 X 1 1 PB0 is general output, PE0 is Buzzer output |
|
Ligação URL |
| ALLDATASHEET é útil para você? [ DONATE ] |
Sobre Alldatasheet | Publicidade | Contato conosco | Privacy Policy | Link para a ficha técnica | roca de Link | Lista de Fabricantes All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |