| поискавой системы для электроныых деталей |
|
EM6821 датащи(PDF) 29 Page - EM Microelectronic - MARIN SA |
|
|
|||||||||||||||||||||||||||||
EM6821 датащи(HTML) 29 Page - EM Microelectronic - MARIN SA |
|
29 / 68 page ![]() R EM6821 Copyright © 2005, EM Microelectronic-Marin SA 29 www.emmicroelectronic.com 7.2 Programming Order Single run mode usage 1st, selecting the buzzer frequency into RegMelFSel. 2nd, selecting the timer clock frequency in RegMelTim. 3rd, selecting the timer period in RegMelPeri. --> On the next positive clock edge the buzzer output is enabled. Continuos run mode usage 1st, selecting the buzzer frequency into RegMelFSel. 2nd, selecting the timer clock frequency in RegMelTim (Auto=0). 3rd, selecting the timer period in RegMelPeri. 4th, set bit Auto in RegMelTim. --> Immediately the buzzer output is active. Avoid timer clock frequency switch during buzzer operation. 7.3 Melody Registers Table 7.3.1 Register RegMelFSel Bit Name Reset R/W Description 3 BzOutEn 0 R/W Buzzer Output tristate 2 MelFSel[2] 0 R/W Buzzer frequency select 1 MelFSel[1] 0 R/W Buzzer frequency select 0 MelFSel[0] 0 R/W Buzzer frequency select Default : Buzzer tristate, silence Table 7.3.2 Buzzer Output Frequency Selection with MelFSel[2..0] MelFSel[2] MelFSel[1] MelFSel[0] Frequency 0 0 0 VSS (silence) 0 0 1 SysClock/8 DO8 0 1 0 SysClock/10 SOL7# 0 1 1 SysClock/12 FA7 1 0 0 SysClock/14 RE7 1 0 1 SysClock/16 DO7 1 1 0 SysClock/20 SOL6# 1 1 1 SysClock/24 FA6 Table 7.3.3 Register RegMelTim Bit Name Reset R/W Description 3 SwBuzzer FlBuzzer 0 0 W R Write: switch buzzer Read: flag buzzer 2 Auto 0 R/W Single or continuos run mode 1 FTimSel1 0 R/W Timer clock frequency select 0 FTimSel0 0 R/W Timer clock frequency select Default : Single run mode, Ck[3] from prescaler as timer clock |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |