Yahoo Groups archive

Lpc2000

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

Message

Configuring the Timer 0

2004-12-21 by acetoel

Hello...

I'm configurin Timer 0... My Clock is a 10Mhz Crystal PLLed to 60Mhz
for the CCLK and the PCLK. 

If I set the P0PR (prescaler register) to 0xEA60 (decimal 60000), then
when I start the Timer 0, will I have an increment on T0TC (Timer
Counter) each 60000 cycles of clock? or what's more easy to
understand... will T0TC increment in one each 1ms?
My idea is to make a short rutine that start the timer, and stop it
when 1mS has passed...

Thanks
Ezequiel

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.