LPC2138 timers
- From: Frank van Eijkelenburg <someone@xxxxxxxxxxxxxxxx>
- Date: Thu, 29 Jun 2006 17:27:53 +0200
I am using a capture pin in combination with a timer of the LPC2138 controller. Each time a rising/falling edge is detected the running timer value is captured and stored in a CAP register. I am using this method to measure timing between the edges and calculate the frequency of the signal (squarewave).
Each time I enter my interrupt service routine I reset the timer (to start a new measurement). Is there a way to do this automatically, because now I have a small gap between the edge and the start point of measurement. I saw that you can automatically reset the timer if a match value is reached, but could not find this possibility for the capture pins.
TIA,
Frank
.
- Follow-Ups:
- Re: LPC2138 timers
- From: Dave
- Re: LPC2138 timers
- From: Peter Dickerson
- Re: LPC2138 timers
- Prev by Date: Re: Wich 16-bit MCU?
- Next by Date: Re: Wich 16-bit MCU?
- Previous by thread: Transferring control to Linux (at address 00000000) ... kernel hangs
- Next by thread: Re: LPC2138 timers
- Index(es):