# Timer

**URL:** <https://forums.digi.com/t/timer/10939>\
**Category:** Rabbit\
**Created:** [May 21, 2009, 9:15am UTC](https://forums.digi.com/t/timer/10939 "2009-05-21T09:15:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![siericko](https://avatars.discourse-cdn.com/v4/letter/s/45deac/32.png) [@siericko](https://forums.digi.com/u/siericko)\
**Post date:** [May 21, 2009, 9:15am UTC](https://forums.digi.com/t/timer/10939/1 "2009-05-21T09:15:39Z")

</div>

Hi all, nice to meet you all…

I am a new user on Rabbit, in fact Im a beginner in microprocessor kind of thing…

I have a problem that I hope there is someone that can help me, and prevent me jump out of window:)

My problem is, I would like to determine the timing for 1 clock pulse, the timing that I want is between 1st falling edge and 1st rising edge…

anyone can make me enlighten? Thank you…

---

<div class="post-metadata">

**Author:** ![agepativenkatasudhak](https://avatars.discourse-cdn.com/v4/letter/a/a9a28c/32.png) [@agepativenkatasudhak](https://forums.digi.com/u/agepativenkatasudhak)\
**Post date:** [May 29, 2009, 8:49am UTC](https://forums.digi.com/t/timer/10939/2 "2009-05-29T08:49:26Z")

</div>

Hi,

its not clear whether you are trying to measure timer clock pulse width or system clock pulse width or any external clock pulse. if external clock you can use external interrupts with edge trigger selection and a timercounter.

---

<div class="post-metadata">

**Author:** ![sgt](https://avatars.discourse-cdn.com/v4/letter/s/df705f/32.png) [@sgt](https://forums.digi.com/u/sgt)\
**Post date:** [May 29, 2009, 4:58pm UTC](https://forums.digi.com/t/timer/10939/3 "2009-05-29T16:58:14Z")

</div>

> [@siericko;3432](#):
>
> My problem is, I would like to determine the timing for 1 clock pulse, the timing that I want is between 1st falling edge and 1st rising edge…

Read up on ther Input Capture peripheral. This will likely provide the functionality that you need.

---

<div class="post-metadata">

**Author:** ![siericko](https://avatars.discourse-cdn.com/v4/letter/s/45deac/32.png) [@siericko](https://forums.digi.com/u/siericko)\
**Post date:** [May 30, 2009, 1:59am UTC](https://forums.digi.com/t/timer/10939/4 "2009-05-30T01:59:46Z")

</div>

thanks for the reply…

the clock i measure is external clock. i know how to set the interrupt,but i dont know about the timer,what timer is suitable for that??  
can you give a brief explanation?

and where can I read about the input capture peripheral? Thank you…

---

<div class="post-metadata">

**Author:** ![sgt](https://avatars.discourse-cdn.com/v4/letter/s/df705f/32.png) [@sgt](https://forums.digi.com/u/sgt)\
**Post date:** [May 30, 2009, 3:10am UTC](https://forums.digi.com/t/timer/10939/5 "2009-05-30T03:10:12Z")

</div>

The input capture device is described in the Microprocessor User’s Manual for your processor(by the way, it would help if, when asking a question like this, you would indicate what processor or core module you’re using). Go here:  
[http://www.rabbit.com/docs/](http://www.rabbit.com/docs/)  
and find the manual for the processor you’re using.

---

<div class="post-metadata">

**Author:** ![siericko](https://avatars.discourse-cdn.com/v4/letter/s/45deac/32.png) [@siericko](https://forums.digi.com/u/siericko)\
**Post date:** [May 30, 2009, 4:16am UTC](https://forums.digi.com/t/timer/10939/6 "2009-05-30T04:16:17Z")

</div>

oh ok sorry for that,im using the RCM5700… Ok thanks for the answer,i’ll try to read it…
