Jump to content
Bernard

Timer interrupt on LM4F120 using TimerIntRegister issue

Recommended Posts

Thank you!

Now the sketch runs without problems, I even started 2 timers simultaneously (TIMER0 and TIMER1) with different HZ and it works like a charm! (tested with an oscilloscope). Is there an easy description for the tiva timers and the indifferences with energia (think of delay, PWM, tone and so on)? The Arduino community has something the good way, as an example: http://arduino-info.wikispaces.com/Timers-Arduino

Share this post


Link to post
Share on other sites

Thank you for your hint with the TI-API document (shame on me not reading this before).

One thing is not clear to me: The "ROM_" prefix.

As I read for example the part of the timer description I see:

TimerConfigure(uint32_t ui32Base, uint32_t ui32Config)

but in a energia example code (above) i see:

 ROM_TimerConfigure(TIMER0_BASE, TIMER_CFG_PERIODIC); 

 

So how is this "ROM_" prefix to understand?

 

thank you

Matthias

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...