 | Discussion Forum |  |
|
|
NEW USER --- HOW to use timers.Next Thread | Thread List | Previous Thread Start a Thread | Settings | Details | Message |
|---|
Read-Only Author Sandeepani ESD Posted 20-Nov-2009 04:55 GMT Toolset ARM |  NEW USER --- HOW to use timers. Sandeepani ESD I am new to the LPC2378 microcontroller. Please tell me how to use the timers on the processors and what register i need to look into. | | Read-Only Author Dan Henry Posted 20-Nov-2009 05:12 GMT Toolset ARM |  RE: NEW USER --- HOW to use timers. Dan Henry Read the data sheet. | | Read-Only Author Andy Neil Posted 20-Nov-2009 07:24 GMT Toolset ARM |  RE: NEW USER --- HOW to use timers. Andy Neil Look at the examples provided by both Keil & NXP on their respective websites | | Read-Only Author Sandeepani ESD Posted 20-Nov-2009 09:39 GMT Toolset ARM |  RE: NEW USER --- HOW to use timers. Sandeepani ESD I want to generate an interrupt using a timer at the end of 3 msec. How do I calculate the value to be put into the MR0 Register???? I referred the user manual, but I dint find any formula to calculate this. | | Read-Only Author Per Westermark Posted 20-Nov-2009 11:25 GMT Toolset ARM |  RE: NEW USER --- HOW to use timers. Per Westermark No formula in the user manual, but quite descriptive text. Decide what clock speed to use for the PCLK. Decide what prescaling. Then it follows directly what compare/match value to use. | |
Next Thread | Thread List | Previous Thread Start a Thread | Settings |
|