EmbeddedRelated.com
Forums
Jacob Beningo
Live online course · Jacob Beningo
AI for Embedded Developers
$100 off for EmbeddedRelated readers until Nov 1 · 5 live sessions, Dec 7-11
Discount ends in
15days 20hrs 07min 43sec
Learn More →

freescale 9s08gt16 timer

Started by Ralph ●June 29, 2006
I am new to programming this device and I want to have a timer that
once I start it, lasts 250 ms.  Is anyone there familiar with how to
initialize the timer?

I realize that this is a very basic question please help anyway.

Thanks in advance,
Ralph

"Ralph" <ralph.riggs@comcast.net> wrote in message
news:1151635831.625139.191840@75g2000cwc.googlegroups.com...
> I am new to programming this device and I want to have a timer that > once I start it, lasts 250 ms. Is anyone there familiar with how to > initialize the timer?
See AN2494 and it's associated file in AN2494SW. The latter is a nice Excel spreadsheet to find values for all 9S08 peripherals once parameters are set for the peripheral. http://www.freescale.com/files/microcontrollers/doc/app_note/AN2494.pdf Also, CodeWarrior has a Processor Expert which adds the drivers and the proper initialization for the peripheral once the dialog is populated with appropriate values. Bill Softools