[riot-devel] RIOT OS for the Atmel SAM R21 (Interruptions)

Hauke Petersen hauke.petersen at fu-berlin.de
Mon Oct 27 16:37:28 CET 2014

Hi Maxence,

the current design does not provide functionality for defining 
priorities. Actually all of our Cortex-Mx based implementations do not 
make use of different Interrupt priorities. Our design rationale in this 
context is simple: we expect all interrupts to be (very) short, 
something in the order of 10th of instructions. A typical interrupt 
would just call a `msg_send_int()`. Priorities are then resolved by the 
scheduler, as if more then one message is send (by two interrupts 
triggering at almost the same time), the receiving task with the higher 
priority will be scheduled.

Does this answer your question?


On 27.10.2014 16:00, Maxence Chotard wrote:
> Hi,
> I  would like to know what is done to deal with external interruption 
> coming from external pins on AT SAM R21 ? Is there a file to create to 
> configure priorities between interruptions ?
> Cheers,
> Maxence
> _______________________________________________
> devel mailing list
> devel at riot-os.org
> http://lists.riot-os.org/mailman/listinfo/devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/devel/attachments/20141027/5d72cbe8/attachment.html>

More information about the devel mailing list