Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: timer reset

2005-03-02 by peterburdine

--- In lpc2000@yahoogroups.com, "zvonkobharije" <zvonko@h...> wrote:
> 
> hello
> 
> i have a question regarding timer reset in lpc2138. (pclk = clk / 4)
> 
> then I want to reset timer and I set T0TCR = 1. 
> when I want to start timer again, I have to set T0TCR to 0 - do I have
> to wait for pclk or can I set T0TCR = 0 immediately? 
> 
> thx
> Zvonko

I think you may be reading it wrong.

To Reset
T0TCR = 0x2;

To Start
T0TCR = 0x1;

The numbers in the columns are the bit numbers, not values.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.