freescale 9s08gt16 timer

Jun 30, 2006 1 Replies

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



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.

formatting link

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

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required