21.08.2013 Views

Embedded Systems Design with the Atmel AVR Microcontroller Part II

Embedded Systems Design with the Atmel AVR Microcontroller Part II

Embedded Systems Design with the Atmel AVR Microcontroller Part II

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

154 CHAPTER 6. TIMING SUBSYSTEM<br />

Timer/Counter 1 Control Register A (TCCR1A)<br />

COM1A1 COM1A0 COM1B1 COM1B0 --- --- WGM11 WGM10<br />

7<br />

Timer/Counter 1 Control Register B (TCCR1B)<br />

ICNC1 ICES1 --- WGM13 WGM12 CS12 CS11 CS10<br />

7<br />

Timer/Counter 1 Control Register C (TCCR1C)<br />

FOC1A FOC1B<br />

Timer Counter1 (TCNT1H/TCNT1L)<br />

15 8<br />

7<br />

Output Compare Register 1 A (OCR1AH/OCR1AL)<br />

15 8<br />

7<br />

Output Compare Register 1 B (OCR1BH/OCR1BL)<br />

Input Capture Register 1 (ICR1H/ICR1L)<br />

15 8<br />

7<br />

Timer/Counter Interrupt Mask Register 1 (TIMSK1)<br />

--- --- ICIE1 --- --- OCIE1B OCIE1A TOIE1<br />

7<br />

0<br />

Timer/Counter 1 Interrupt Flag REgister (TIFR1)<br />

--- ---<br />

ICF1 ------ OCF1B OCF1A<br />

TOV1<br />

Figure 6.11: Timer 1 registers.<br />

7<br />

7<br />

7<br />

--- ---<br />

--- --- --- ---<br />

15 8<br />

0<br />

0<br />

0<br />

0<br />

0<br />

0<br />

0<br />

0

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!