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

Maxence Chotard maxence.chotard at xsoen.com
Mon Oct 27 22:51:53 CET 2014


It answers my question ! Thank you Hauke !

 

Cheers,

Maxence

 

De : devel [mailto:devel-bounces at riot-os.org] De la part de Hauke Petersen
Envoyé : lundi 27 octobre 2014 16:37
À : RIOT OS kernel developers
Objet : Re: [riot-devel] RIOT OS for the Atmel SAM R21 (Interruptions)

 

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?

Cheers,
Hauke

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 <mailto: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/c1ea6f40/attachment-0001.html>


More information about the devel mailing list