[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] Input Capture on Mega128
From: |
Frank Van Hooft |
Subject: |
[avr-gcc-list] Input Capture on Mega128 |
Date: |
Tue, 30 Dec 2003 18:26:44 -0800 |
Hello all,
Does anybody know if it's possible to automatically clear the timer/counter
register
(TCNT3) upon receipt of an input capture event?
I know it's possible to automatically clear the counter for an _output_ capture
event. But it
appears to me it's not possible for an input capture event. At the moment I'm
clearing
the TCNT3 counter in my input capture interrupt service routine. Just wondering
if anyone
knows of a way to clear it automatically.
Thanks very much.
Frank.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Open-source AVR harddisk-based MP3 player with USB 2.0 at
http://www.frankvh.com/mp3player
<a href="http://www.frankvh.com/mp3player">AVR MP3 Player Pages</a>
- [avr-gcc-list] Input Capture on Mega128,
Frank Van Hooft <=