| 전자부품 데이터시트 검색엔진 |
|
EM6821 데이터시트(PDF) 28 Page - EM Microelectronic - MARIN SA |
|
|
|||||||||||||||||||||||||||||
EM6821 데이터시트(HTML) 28 Page - EM Microelectronic - MARIN SA |
|
28 / 68 page ![]() R EM6821 Copyright © 2005, EM Microelectronic-Marin SA 28 www.emmicroelectronic.com 7.1.1 Single Run Mode The RegMelPeri value and the selected timer frequency in RegMelTim control the timer duration. The timer is counting down from its previously charged value until it reaches 0. On 0 the timer stops and generates an interrupt request. The buzzer frequency output is enabled after the next positive timer clock edge and remains enabled until the timer reaches 0. 7.1.2 Continuos Run Mode This is almost the same as the single run mode only that in this case the timer after reaching 0 reloads itself automatically with the register RegMelPeri value. Every time the timer reaches 0 an interrupt request is send. There are 2 ways to stop the continuos mode. • First, changing the mode to single run mode. As the timer reaches 0 it stops. The last period after Auto=0 is of length RegMelPeri + 1. • Second, loading 0 into the timer period register RegMelPeri stops the timer immediately, no interrupt is generated and the Auto flag is reset. The buzzer frequency output is enabled directly by writing Auto=1. Figure 20. Single Run Mode 2 10 0 1 µP writes 2 into RegMelPeri µP writes 1 into RegMelPeri Tim er Clock Tim er Value Buzzer IRQBz Figure 21. Continuos Run Mode 2 21 0 1 2 0 0 1 µP writes Auto = 0 µP writes Auto = 1 µP writes 2 into RegMelPeri Timer Clock n periods n+1 periods Timer Value Buzzer IRQBz |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |