| поискавой системы для электроныых деталей |
|
AT89LP51 датащи(PDF) 53 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AT89LP51 датащи(HTML) 53 Page - ATMEL Corporation |
|
53 / 113 page ![]() 53 3709B–MICRO–12/10 AT89LP51/52 - Preliminary Figure 12-2. Timer 2 Diagram: Auto-Reload Mode (DCEN = 0) Figure 12-3. Timer 2 Waveform: Auto-Reload Mode (DCEN = 0) 12.3.2 Up or Down Counter Setting DCEN = 1 enables Timer 2 to count up or down, as shown in Figure 12-5. In this mode, the T2EX pin controls the direction of the count (if EXEN2 = 1). A logic 1 at T2EX makes Timer 2 count up. When T2CM 1-0 = 00B, the timer will overflow at MAX and set the TF2 bit. This overflow also causes BOTTOM, the 16-bit value in RCAP2H and RCAP2L, to be reloaded into the timer registers, TH2 and TL2, respectively. A logic 0 at T2EX makes Timer 2 count down. The timer underflows when TH2 and TL2 equal BOTTOM, the 16-bit value stored in RCAP2H and RCAP2L. The underflow sets the TF2 bit and causes MAX to be reloaded into the timer regis- ters. The EXF2 bit toggles whenever Timer 2 overflows or underflows and can be used as a 17th bit of resolution. In this operating mode, EXF2 does not flag an interrupt. The behavior of Timer 2 when DCEN is enabled is shown in Figure 12-4. Figure 12-4. Timer 2 Waveform: Auto-Reload Mode (DCEN = 1) ÷CDV TL2 TH2 OSC ÷TPS MAX MIN BOTTOM TF2 Set MAX MIN BOTTOM T2EX TF2 Set EXF2 |
|
ссылки 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 |