Greetings.
I need help in:
Case:
Micro: Atmega 8
Timer event source: TDC1011
I need to start and timer on Event.
Event is change of state on External Pin.
So:
>---START--- [----------------]
[ ]
from TDC [ OR GATE ]------------AVR PINx------>
[ ]
>---STOP-----[----------------]
<--TRIGGER-------------------------------AVR PINx---------
<--RETART--------------------------------AVR PINx----------
<--ENABLE--------------------------------AVR PINx---------
Im using TDC1011 to measure water level in glass.
TDC sends START bit at the begging of measure(here we start the timer) [it sends the ultrasonic signal], when TDC recieves the ultrasonic signal it sends STOP bit(here we stop the timer).
As im new in Timer capture mode, i need help (this is for my collage diploma project).
Best Regards.
Thanks.