| Electronic Components Datasheet Search |
|
ATtiny48 Datasheet(PDF) 80 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
ATtiny48 Datasheet(HTML) 80 Page - ATMEL Corporation |
|
80 / 266 page ![]() 80 8008C–AVR–03/09 ATtiny48/88 Figure 11-7. Timer/Counter Timing Diagram, Setting of OCF0x, with Prescaler (f clk_I/O/8) Figure 11-8 shows the setting of OCF0A and the clearing of TCNT0 in CTC mode where OCR0A is TOP. Figure 11-8. Timer/Counter Timing Diagram, Clear Timer on Compare Match mode, with Pres- caler (f clk_I/O/8) 11.8 8-bit Timer/Counter Register Description 11.8.1 TCCR0A – Timer/Counter Control Register A– • Bits 7:4 – Res: Reserved Bits These bits are reserved and will always read zero. • Bit 3 – CTC0: Clear Timer on Compare Match Mode This bit control the counting sequence of the counter, the source for maximum (TOP) counter value, see Table 11-2. Modes of operation supported by the Timer/Counter unit are: Normal mode (counter), Clear Timer on Compare Match (CTC) mode (see “Modes of Operation” on page 78). OCFnx OCRnx TCNTn OCRnx Value OCRnx - 1 OCRnx OCRnx + 1 OCRnx + 2 clk I/O clk Tn (clk I/O/8) OCFnx OCRnx TCNTn (CTC) TOP TOP - 1 TOP BOTTOM BOTTOM + 1 clk I/O clk Tn (clk I/O/8) Bit 7 6 5 4 3 2 1 0 - - – – CTC0 CS02 CS01 CS00 TCCR0A Read/Write R R R R R/W R/W R/W R/W Initial Value 0 0 0 0 0 0 0 0 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |