| поискавой системы для электроныых деталей |
|
AT89LP428 датащи(PDF) 58 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AT89LP428 датащи(HTML) 58 Page - ATMEL Corporation |
|
58 / 149 page ![]() 58 3654A–MICRO–8/09 AT89LP428/828 The timer overflow/underflow rate for up-down counting mode is the same as for up counting mode, provided that the count direction does not change. Changes to the count direction may result in longer or shorter periods between time-outs. Figure 12-5. Timer 2 Waveform: Auto-reload Mode (DCEN = 1) 12.3.3 Dual Slope Counter When Timer 2 Auto-reload mode uses Count Mode 2 (T2CM 1-0 = 10B) or Count Mode 3 (T2CM 1-0 = 11B), the timer operates in a dual slope fashion. The timer counts up from MIN to TOP and then counts down from TOP to MIN, following a sawtooth waveform as shown in Figure 12-6. The EXF2 bit is set/cleared by hardware to reflect the current count direction (Up = 0 and Down = 1). The value of TOP stored in RCAP2H and RCAP2L is double-buffered such that a new TOP value takes affect only after an underflow. The only difference between Mode 2 and Mode 3 is when the interrupt flag is set. In Mode 2, TF2 is set once per count period when the timer underflows at MIN. In Mode 3, TF2 is set twice per count period, once when the timer overflows at TOP and once when the timer underflows at MIN. The interrupt service routine can check the EXF2 bit to determine if TF2 was set at TOP or MIN. These count modes are pro- vided to support variable precision symmetrical PWM in the CCA. DCEN has no effect when using dual slope operation. The Timer 2 overflow rate for this mode is given in the following equation: Max Min Bottom T2CM1-0 = 00B, DCEN = 1 Max Min Top T2CM1-0 = 01B, DCEN = 1 T2EX TF2 Set TF2 Set EXF2 Auto-Reload Mode: DCEN = 0, T2CM = 10B Time-out Period RCAP2H RCAP2L {, } 2 × Oscillator Frequency ------------------------------------------------------------------- TPS 1 + () × = |
|
ссылки 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 |