| поискавой системы для электроныых деталей |
|
ATmega162 датащи(PDF) 156 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
ATmega162 датащи(HTML) 156 Page - ATMEL Corporation |
|
156 / 324 page ![]() 156 2513K–AVR–07/09 ATmega162/V Timer/Counter Prescaler Figure 70. Prescaler for Timer/Counter2 The clock source for Timer/Counter2 is named clk T2S. clkT2S is by default connected to the main system I/O clock clk IO. By setting the AS2 bit in ASSR, Timer/Counter2 is asynchronously clocked from the TOSC1 pin. This enables use of Timer/Counter2 as a Real Time Counter (RTC). When AS2 is set, pins TOSC1 and TOSC2 are disconnected from Port D. A crystal can then be connected between the TOSC1 and TOSC2 pins to serve as an independent clock source for Timer/Counter2. The Oscillator is optimized for use with a 32.768 kHz crystal. Apply- ing an external clock source to TOSC1 is not recommended. For Timer/Counter2, the possible prescaled selections are: clk T2S/8, clkT2S/32, clkT2S/64, clk T2S/128, clkT2S/256, and clkT2S/1024. Additionally, clkT2S as well as 0 (stop) may be selected. Setting the PSR2 bit in SFIOR resets the prescaler. This allows the user to operate with a pre- dictable prescaler. Special Function IO Register – SFIOR • Bit 1 – PSR2: Prescaler Reset Timer/Counter2 When this bit is one, the Timer/Counter2 prescaler will be reset. This bit is normally cleared immediately by hardware. If this bit is written when Timer/Counter2 is operating in asynchronous mode, the bit will remain one until the prescaler has been reset. The bit will not be cleared by hardware if the TSM bit is set. Refer to the description of the “Bit 7 – TSM: Timer/Counter Syn- chronization Mode” on page 105 for a description of the Timer/Counter Synchronization mode. 10-BIT T/C PRESCALER TIMER/COUNTER2 CLOCK SOURCE clk I/O clk T2S TOSC1 AS2 CS20 CS21 CS22 0 PSR2 Clear clk T2 Bit 7 6 5 4 3 2 1 0 TSM XMBK XMM2 XMM1 XMM0 PUD PSR2 PSR310 SFIOR Read/Write R/W R/W R/W R/W R/W R/W R/W R/W Initial Val- ue 00 0 0 0 0 0 0 |
|
ссылки 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 |