--- In lpc2000@yahoogroups.com, "peterburdine" <lordofdawn@h...> wrote:
>
> --- 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.
damn... yeah, you're right. I feel very embarassed... :(
ok, again: if I reset timer (T0TCR = 0x2) and then start it again
(T0TCR = 0x1), do I have to wait for pclk before I set T0TCR to 0x1 or
not?