Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: SAM3U simple timer interrupt
PostPosted: Tue May 15, 2012 9:37 am 
Offline

Joined: Mon May 14, 2012 10:11 am
Posts: 1
Hi folks,

First things first, I'm new to all this! So I'm apologizing ahead of time if my question is simple.

I'm having a hard time finding timer interrupt examples for the SAM3U. I want a simple timer that goes off every 20ms and executes some code. I figure it's similar to most other microcontrollers where you attach a function to an interrupt. I'm not exactly sure where to start. Does anyone know where I can find a simple example?

I have a SAM3U and I'm programming it with the SAM-ICE. My environment is the latest Atmel Studio 6.


Top
 Profile  
 
 Post subject: Re: SAM3U simple timer interrupt
PostPosted: Thu May 31, 2012 2:49 am 
Offline

Joined: Sat Oct 30, 2010 6:04 pm
Posts: 784
For a regular timing interrupt on a Cortex-M3 the SysTick interrupt is the way to go.

Joseph Yiu's book on the Cortex-M3 might be helpful to understand the interrupts and core functions of the processor.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: