lpcware

Beginner question for timer

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by MCU on Tue Apr 02 02:53:08 MST 2013
Hi,
I'm beginner for LPC,
I using LPCxpresso LPC1200 Rev B

I want to do a simple program, enable the 32bit timer counter and output the high low in port

So, I need to know how to set up the CT32B0,
I already enable the counter, but I don;t know the system clock speed.
If I not change the CMISS, did the system clock 24MHZ?
So the timer counter will update every 1/24MHZ?

1) Any sample code for it?
If I use the Blinky sample code as a base.
2) did I need to disable all the interrupt?
3) did I need to reset the watch dog?

Outcomes