Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] Timer/counter suggestion need

2008-03-18 by David Kelly

On Mar 18, 2008, at 9:54 AM, rakesh modi wrote:

> Hello
> Can i use a 16-bit timer/counter as an 8-bit in atmega32? Reply me plz

Yes. Clearly you haven't tried. Set an output compare register to  
0x00ff and run it in one of the modes that interrupts and/or resets on  
the chosen OCR rather than the overflow interrupt you might use on an  
8 bit timer. It might "overflow" on OCR also, read the book.

--
David Kelly N4HHE, dkelly@HiWAAY.net
============================================================
Whom computers would destroy, they must first drive mad.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.