P89LPC932 Timer/Counter

Started by Caleno, August 06, 2003, 07:57:22 AM

Previous topic - Next topic

Caleno

Hi there, I need help using the P89LPC932 as a counter. if I need to use the counter, which will increase in reponse to a 1-0 transition from the external input pin. Where is this incremented value located? The user manual says in the "register". Does anyone know which register is this? I need to keep track of the incremented number. Please help me.
Thank you

Andy Ayre

For general microcontroller questions, you may have more luck going to the Microcontroller discussion forum at www.philipsmcu.com. This forum is for the discussion of ISP software for Philips Microcontrollers.

When the timer is in modes 0 or 1 the count is stored in THn and TLn where n is the timer number. In modes 2, 3 and 6 the count is stored in TLn.

On the LPC932 datasheet refer to figures 21 - 25 (22 Nov 2002).

Embedded Systems Academy, Inc.
support at esacademy dot com